Function at 0x418510
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ac3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov ecx, edi
call fcn.004103d0
mov esi, dword [ebp + 0xc]
cmp byte [esi], 0x36
je 0x41872d
push esi
call fcn.004c9c70
mov dword [ebp - 0x20], eax
lea eax, [esi + 1]
add esp, 4
mov esi, dword [eax]
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x418561
lea ecx, [ebp - 0x54]
call fcn.004733a0
push esi
mov dword [ebp - 4], 0
call fcn.004ca320
mov ebx, dword [ebp + 8]
add esp, 4
cmp eax, 1
jne 0x418622
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x418717
push eax
call fcn.004d25a0
add esp, 4
xor ecx, ecx
cmp eax, 0x10000000
sete cl
mov eax, ecx
test eax, eax
je 0x418717
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x2c]
push 0
push edx
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x10]
push ecx
lea ecx, [edx + 0x20c]
call fcn.004d2e80
test eax, eax
je 0x418717
push 0x39
lea ecx, [ebp - 0x54]
call fcn.004736e0
push esi
lea ecx, [ebp - 0x54]
call fcn.00473660
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x40]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00473660
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
add edx, 0xfffffffb
lea ecx, [ebp - 0x54]
push edx
push eax
call fcn.00473c60
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x2c]
neg ecx
mov esi, dword [edx + 0x40]
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x14], ecx
jmp 0x4186bc
push esi
call fcn.004d25c0
add esp, 4
cmp eax, 0x5000000
jne 0x4186bc
push esi
call fcn.004d25a0
add esp, 4
cmp eax, 0x10000000
jne 0x4186bc
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x4186bc
push eax
call fcn.004d25a0
add esp, 4
xor ecx, ecx
cmp eax, 0x40000000
sete cl
mov eax, ecx
test eax, eax
je 0x4186bc
push 0x39
lea ecx, [ebp - 0x54]
call fcn.004736e0
push esi
lea ecx, [ebp - 0x54]
call fcn.00473660
mov edx, dword [ebx + 4]
lea ecx, [ebp - 0x54]
mov eax, dword [edx + 8]
push eax
call fcn.00473660
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
add ecx, 0xfffffffb
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.00473c60
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebx + 4]
push 0
neg eax
sbb eax, eax
add ecx, 0x34
and eax, edx
mov dword [ebp - 0x14], eax
call fcn.004d26c0
mov esi, eax
test esi, esi
je 0x418717
push esi
call fcn.004d25c0
add esp, 4
cmp eax, 0x5000000
je 0x41897e
cmp eax, 0x2000000
jne 0x418717
mov ecx, dword [ebp - 0x10]
push 0x10001
call fcn.004184a0
test eax, eax
je 0x418717
mov edx, dword [ebp - 0x10]
lea ecx, [ebp + 0xc]
push 0
push ecx
push esi
lea ecx, [edx + 0x244]
call fcn.004d2e80
test eax, eax
jne 0x418743
push 0x2732
push 0x59a520
call fcn.0046b030
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x54], 0x54d7d0
lea ecx, [ebp - 0x54]
call fcn.004735a0
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0x14]
cmp byte [ecx], 0x39
jne 0x418777
mov eax, ecx
mov ecx, dword [eax + 1]
push ecx
call fcn.004d2590
add esp, 4
cmp eax, 0x15000000
jne 0x418774
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 1]
lea eax, [edx + 1]
add eax, 8
mov dword [ebp - 0x14], eax
jmp 0x418981
mov ecx, dword [ebp - 0x14]
mov al, byte [ecx]
cmp al, 0x37
jne 0x4187a3
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi + 4], 6
mov dword [edi + 8], 0x10001
lea ecx, [eax + 0x14]
mov dword [edi + 0x10], esi
call fcn.004d26c0
mov dword [edi + 0x14], eax
jmp 0x4195d2
cmp al, 0x39
jne 0x418717
mov ebx, dword [ecx + 1]
inc ecx
test ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp + 0x10], ebx
je 0x418717
add ecx, 8
push ebx
mov dword [ebp - 0x14], ecx
call fcn.004d25c0
add esp, 4
cmp eax, 0x6000000
jne 0x418838
mov ecx, dword [ebp + 0xc]
push 0
push 0
push ebx
add ecx, 0x14
mov dword [ebp + 8], ebx
call fcn.004d2760
test eax, eax
je 0x418717
mov ebx, dword [eax]
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.004184a0
test eax, eax
je 0x418717
mov ecx, dword [ebp - 0x14]
mov al, byte [ecx]
cmp al, 0x37
jne 0x418822
mov edx, dword [ebp + 0x10]
mov dword [edi + 4], 6
mov dword [edi + 8], ebx
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], edx
jmp 0x4195d2
inc ecx
cmp al, 0x39
jne 0x418717
mov eax, dword [ecx]
add ecx, 8
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x14], ecx
jmp 0x418874
mov ecx, dword [ebp + 0xc]
push 0
push 0
add ecx, 0x14
call fcn.004d2670
mov ebx, eax
test ebx, ebx
je 0x418717
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [edx + 0x14]
call fcn.004d26c0
mov ebx, dword [ebx]
mov ecx, dword [ebp - 0x10]
push ebx
mov dword [ebp + 8], eax
call fcn.004184a0
test eax, eax
je 0x418717
mov eax, dword [ebp + 0x10]
push eax
call fcn.004d25c0
add esp, 4
test eax, eax
jne 0x418717
clc
jae 0x41888c
mov edx, 0x8b084d8b
push ebp
adc byte [ebp + 0x4f891445], cl
adc al, 0x8b
dec ebp
invalid
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
lea eax, [ebp + 0x14]
mov dword [edi + 0x14], ecx
mov ecx, dword [ebp - 0x10]
dec edx
push eax
push ebx
mov dword [edi + 4], 6
mov dword [edi + 0x10], esi
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], ebx
call fcn.00450cd0
mov ebx, eax
mov eax, dword [edi + 0x20]
mov edx, dword [ebx + 0x28]
lea ecx, [eax + eax*4]
lea esi, [edx + ecx*4]
mov ecx, dword [ebp - 0x10]
call fcn.004504f0
push eax
mov eax, dword [ebp + 0x14]
push esi
push eax
call fcn.004de6d0
add esp, 0xc
test eax, eax
jne 0x4188e9
mov ecx, dword [esi]
mov edx, dword [ebx]
mov eax, dword [ebp + 0x14]
push ecx
push edx
jmp 0x419411
movsx edx, word [esi + 0xc]
push edx
call fcn.004de010
add esp, 4
mov dword [edi + 8], eax
test eax, eax
je 0x418717
mov esi, dword [ebp - 0x14]
cmp eax, 0x10004
jne 0x418970
mov al, byte [esi]
cmp al, 0x37
je 0x418970
cmp al, 0x39
jne 0x418717
cmp byte [esi + 9], 0x37
jne 0x418717
mov eax, dword [esi + 1]
push eax
call fcn.004d25c0
add esp, 4
test eax, eax
jne 0x418717
mov ecx, dword [esi + 1]
mov edx, dword [edi + 8]
dec ecx
push eax
mov dword [edi + 0x28], ecx
mov ecx, dword [ebp - 0x10]
push edx
call fcn.00450cd0
mov ecx, dword [edi + 0x28]
mov eax, dword [eax + 0x34]
lea edx, [ecx*8]
sub edx, ecx
mov esi, dword [eax + edx*4]
lea ebx, [eax + edx*4]
mov ecx, esi
shr ecx, 0x10
jne 0x4194da
jmp 0x4194c9
cmp byte [esi], 0x37
jne 0x418717
jmp 0x4195d2
mov eax, dword [ebp - 0x14]
cmp esi, 0x500fffe
mov byte [ebp - 0x40], 1
mov byte [ebp - 0x3f], 0
mov byte [ebp - 0x3e], 0
mov byte [ebp - 0x3d], 0
mov byte [ebp - 0x3c], 0
je 0x418b91
push esi
call fcn.004d25a0
add esp, 4
mov dword [ebp - 0x28], 0
test eax, eax
je 0x418ada
cmp eax, 0x10000000
je 0x418a5b
cmp eax, 0x20000000
jne 0x418717
mov ecx, dword [ebx + 4]
push 0
push 0
push esi
add ecx, 0x14
call fcn.004d2760
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x418a4f
mov ecx, dword [ebx + 4]
push eax
push eax
push esi
add ecx, 0x34
call fcn.004d2760
test eax, eax
mov dword [ebp + 0xc], eax
je 0x418717
mov dword [edi + 4], 2
mov ecx, dword [ebx + 4]
push esi
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00418440
cmp eax, 0xffffffff
mov dword [edi + 0x18], eax
je 0x418717
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
push edx
call fcn.004163a0
test eax, eax
je 0x418a36
mov dword [edi + 0x1c], 1
mov eax, dword [ebp + 0xc]
test byte [eax + 4], 8
je 0x418af7
mov dword [ebp - 0x28], 1
jmp 0x418af7
mov dword [edi + 4], 3
jmp 0x418af7
mov ecx, dword [ebp - 0x10]
mov dword [edi + 4], 4
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x34]
lea edi, [ecx + 0x20c]
push 0
mov ecx, dword [eax + 8]
push edx
push ecx
mov ecx, edi
call fcn.004d2e80
test eax, eax
je 0x418717
mov edx, dword [ebp - 0x34]
push 0
push 0
push esi
lea ecx, [edx + 0xc]
call fcn.004d2760
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x418b02
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
mov eax, ecx
inc ecx
mov dword [ebp + 8], ecx
lea ecx, [ebp - 0x30]
push ecx
push eax
mov ecx, edi
call fcn.004d2de0
test eax, eax
je 0x418af7
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x44]
test ecx, ecx
jne 0x418aa1
push 0
push 0
push esi
lea ecx, [eax + 0xc]
call fcn.004d2760
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x418b02
jmp 0x418aa1
mov edx, dword [ebp - 0x10]
push 0
push 0
push esi
lea ecx, [edx + 0x1d0]
mov dword [edi + 4], 4
call fcn.004d2760
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x418717
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x18], eax
call fcn.004184a0
test eax, eax
je 0x418717
mov eax, dword [ebp + 0xc]
lea edi, [eax + 6]
mov eax, dword [ebp - 0x28]
cmp eax, 1
jne 0x418b29
lea edi, [ebp - 0x40]
mov ecx, dword [ebp - 0x18]
push edi
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00410970
mov edx, dword [ebp - 0x18]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [eax + 8], edx
call fcn.004c9c50
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 4]
cmp eax, 4
jne 0x418b71
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebx + 8]
push esi
call fcn.00410c40
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x18], eax
jmp 0x418c70
cmp eax, 3
jne 0x418c70
mov eax, dword [ebp + 0xc]
mov ecx, ebx
push eax
push esi
call fcn.004113b0
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x18], eax
jmp 0x418c70
cmp byte [eax], 0x3a
jne 0x418717
cmp byte [eax + 1], 0x21
jne 0x418717
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add eax, 2
push 0
push edi
push eax
push ebx
mov dword [ebp - 0x14], eax
call fcn.004156b0
mov esi, eax
cmp esi, 0xffffffff
je 0x418717
mov ecx, dword [ebp - 0x10]
push edi
push ebx
call fcn.00419fb0
mov eax, dword [ebp - 0x14]
mov edi, dword [edi + 8]
mov ecx, dword [ebp - 0x10]
add eax, esi
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
call fcn.004184a0
test eax, eax
je 0x418717
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
mov edi, dword [edx + 0xc]
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [ebp + 0x14]
test eax, eax
mov dword [ebp + 8], edi
je 0x418c73
cmp byte [esi], 0x37
je 0x418c73
push 0x50
call fcn.0051a8b5
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
xor eax, eax
mov byte [ebp - 4], 1
cmp esi, eax
je 0x418c37
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.004103d0
mov dword [ebp + 0xc], esi
jmp 0x418c3a
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ecx, 0x14
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 4]
mov byte [ebp - 4], 0
cmp ecx, 5
jne 0x418c61
mov ecx, eax
push ecx
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.00415560
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push edx
call fcn.00473660
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
mov al, byte [esi]
inc esi
cmp al, 0x37
mov byte [ebp + 0xf], al
mov dword [ebp - 0x14], esi
je 0x4195d2
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
push 0
push 0
push 7
push 1
push eax
push ebx
call fcn.0041c880
cmp eax, 0xffffffff
je 0x418717
jmp 0x418ca5
push edi
call fcn.004c9c50
mov dword [ebp + 8], eax
mov al, byte [ebp + 0xf]
add esp, 4
cmp al, 0x39
jne 0x418e63
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x30], 0
push edi
call fcn.004ded00
add esp, 4
test edi, edi
je 0x418717
cmp eax, 1
je 0x418717
cmp dword [ebp + 8], 1
je 0x418717
mov ecx, dword [esi]
mov dl, byte [esi + 8]
add esi, 8
mov dword [ebp - 0x28], ecx
inc esi
cmp eax, 2
mov byte [ebp + 0xf], dl
mov dword [ebp - 0x14], esi
mov dword [ebp + 8], 0
jne 0x418dbc
push edi
call fcn.004ddec0
add esp, 4
cmp eax, 3
push 0
jne 0x418d3c
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push eax
push edi
add ecx, 0x20c
call fcn.004d2e80
test eax, eax
je 0x418717
mov edx, dword [ebp - 0x38]
jmp 0x418d5a
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
push edi
add ecx, 0x1b4
call fcn.004d2e80
test eax, eax
je 0x418717
mov edx, dword [ebp - 0x1c]
add edx, 0xc
xor esi, esi
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x24]
push 0
push esi
call fcn.004d2670
test eax, eax
je 0x41937e
mov ecx, dword [eax]
push esi
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x24]
lea edi, [eax + 6]
call fcn.004d26c0
cmp eax, dword [ebp - 0x28]
je 0x418da3
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push edi
push edx
call fcn.00410970
mov ecx, dword [ebp + 8]
add ecx, eax
inc esi
mov dword [ebp + 8], ecx
jmp 0x418d62
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push eax
call fcn.004184a0
test eax, eax
je 0x418717
jmp 0x419256
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x10]
push edi
call fcn.00450cd0
test eax, eax
mov dword [ebp - 0x24], eax
je 0x418717
mov edx, dword [ebp - 0x28]
cmp edi, 0x10003
lea ecx, [edx - 1]
mov dword [ebp - 0x28], ecx
je 0x419388
test dword [eax + 0x14], 0x800040
jne 0x419388
test ecx, ecx
jl 0x418717
cmp ecx, dword [eax + 0x30]
jge 0x418717
mov esi, dword [eax + 0x34]
xor edi, edi
mov eax, dword [esi]
mov edx, eax
shr edx, 0x10
jne 0x418e25
mov edx, dword [ebp - 0x18]
and eax, 0xffff
shr edx, 0x10
shl edx, 0x10
or eax, edx
cmp edi, ecx
je 0x418e47
mov ecx, dword [esi + 4]
push ecx
mov ecx, dword [ebp - 0x10]
push eax
call fcn.00410970
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
add edx, eax
add esi, 0x1c
mov dword [ebp + 8], edx
inc edi
jmp 0x418e0c
mov ecx, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x18], eax
call fcn.004184a0
test eax, eax
je 0x418717
mov edi, dword [esi + 4]
jmp 0x419256
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], 1
cmp eax, 0x80000005
mov eax, dword [ebp + 8]
jne 0x418e84
test eax, eax
jne 0x418e8c
mov dword [ebp - 0x18], 0x80000101
jmp 0x418e8c
test eax, eax
je 0x418717
xor edi, edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
call fcn.004733a0
mov dword [ebp - 0x68], 0x54d910
mov al, byte [ebp + 0xf]
mov byte [ebp - 4], 2
cmp al, 0x3a
jne 0x41900e
push esi
lea ecx, [ebp - 0x68]
call fcn.00473660
mov al, byte [esi]
cmp al, 0x21
je 0x418ee5
cmp al, 0x38
je 0x418ed2
cmp al, 0x3b
jne 0x419521
add esi, 5
jmp 0x418ef7
mov edi, 1
push esi
mov dword [ebp - 0x28], edi
call fcn.004c9c70
add esp, 4
jmp 0x418ef5
inc esi
mov edi, 1
mov ecx, esi
mov dword [ebp - 0x28], edi
call fcn.004ca570
add esi, eax
mov eax, dword [ebp - 0x24]
inc eax
inc esi
mov dword [ebp - 0x24], eax
mov al, byte [esi - 1]
cmp al, 0x3a
mov byte [ebp + 0xf], al
mov dword [ebp - 0x14], esi
je 0x418eb2
cmp dword [ebp - 0x24], 0x7f
jge 0x41950f
mov ecx, dword [ebp - 0x24]
mov eax, 1
cmp ecx, eax
jne 0x41900e
mov ecx, dword [ebx + 8]
cmp dword [ecx + 4], 3
jne 0x418f91
cmp dword [0x599a20], eax
jne 0x418f91
lea esi, [ebx + 0xc]
push 0xc1410b8b
mov ecx, esi
call fcn.00473660
push 0xd90302e1
mov ecx, esi
call fcn.00473660
test edi, edi
je 0x418f5f
push 0x53
mov ecx, esi
call fcn.004736e0
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.00419650
cmp eax, 0xffffffff
je 0x419521
test edi, edi
je 0x4191ef
push 0x5b
mov ecx, esi
call fcn.004736e0
jmp 0x4191ef
push 0x20
push 0x586b90
push 9
call fcn.00410bc0
push 9
mov ecx, ebx
call fcn.00411360
test edi, edi
je 0x418fb9
push 0x5153
lea ecx, [ebx + 0xc]
call fcn.004736a0
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [eax]
push ecx
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.00419650
cmp eax, 0xffffffff
je 0x419521
test edi, edi
je 0x418fe6
push 0x5b59
lea ecx, [ebx + 0xc]
call fcn.004736a0
lea esi, [ebx + 0xc]
push 0x7cc13b
mov ecx, esi
call fcn.00473660
mov edi, dword [ebx + 0x1c]
push 1
mov ecx, ebx
call fcn.004111a0
push edi
mov ecx, ebx
call fcn.00411330
jmp 0x4191ef
clc
jae 0x419012
jne 0x6a4c0516
test edi, edi
je 0x419020
push 0x53
push ebx
lea ecx, [ebx + 0xc]
call fcn.004736e0
mov esi, dword [ebp - 0x24]
push 1
mov ecx, ebx
lea edx, [esi*4 - 4]
push edx
call fcn.004111c0
dec esi
mov dword [ebp + 8], eax
test esi, esi
jl 0x41907d
xor edi, edi
mov ecx, dword [ebp - 0x60]
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ecx + esi*4]
mov ecx, dword [ebp - 0x10]
push edx
push ebx
call fcn.00419650
cmp eax, 0xffffffff
je 0x419521
test esi, esi
je 0x419077
mov edx, dword [ebp + 8]
mov eax, edi
push 1
push 1
sub eax, edx
push 1
push eax
mov ecx, ebx
call fcn.004167a0
add edi, 4
dec esi
jns 0x41903e
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x41908b
push 0x5b
lea ecx, [ebx + 0xc]
call fcn.004736e0
lea esi, [ebx + 0xc]
push 0xb8b
mov ecx, esi
call fcn.004736a0
push 0x8304c383
mov ecx, esi
call fcn.00473660
push 0xf9
mov ecx, esi
call fcn.004736e0
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, esi
call fcn.004736e0
push 0x74
mov ecx, esi
call fcn.004736a0
mov edi, dword [ebx + 0x1c]
push 3
mov ecx, ebx
call fcn.004111a0
push edi
mov ecx, ebx
call fcn.00411330
push 0xd233
mov ecx, esi
call fcn.004736a0
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x28], edx
cmp dword [eax + 4], 3
jne 0x4190fe
mov eax, dword [0x599a20]
test eax, eax
jne 0x419127
push 0x33b
mov ecx, esi
call fcn.004736a0
push 0x7c
mov ecx, esi
call fcn.004736a0
mov edi, dword [ebx + 0x1c]
push 1
mov ecx, ebx
call fcn.004111a0
push edi
mov ecx, ebx
call fcn.00411330
push 0x4904c383
mov ecx, esi
call fcn.00473660
push 0x74
mov ecx, esi
call fcn.004736a0
mov ecx, dword [ebx + 0x1c]
push 0x14
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebx + 8]
push 0x586bb0
push 0xa
call fcn.00410bc0
push 0xa
mov ecx, ebx
call fcn.00411360
mov edx, dword [ebp + 8]
push 0x8b
add edx, 4
mov ecx, esi
mov dword [ebp + 8], edx
call fcn.004736e0
mov edi, dword [ebp + 8]
neg edi
cmp edi, 0xffffff80
jl 0x4191aa
cmp edi, 0x7f
jg 0x4191aa
push 0x8d44
mov ecx, esi
call fcn.004736a0
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0xd0]
push eax
call fcn.00473660
mov eax, dword [ebp + 8]
mov ecx, esi
neg al
push eax
call fcn.004736e0
jmp 0x4191cd
push 0x8d84
mov ecx, esi
call fcn.004736a0
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0xbc]
push eax
call fcn.00473660
push edi
mov ecx, esi
call fcn.00473660
mov eax, dword [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00410310
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, ebx
call fcn.00411330
push 0xc203
mov ecx, esi
call fcn.004736a0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push edx
call fcn.004109a0
mov edi, eax
cmp edi, 1
je 0x419232
cmp edi, 2
jne 0x419215
push 0xe0d1
mov ecx, esi
call fcn.004736a0
jmp 0x419232
push 0xe0c1
mov ecx, esi
call fcn.004736a0
cmp edi, 4
mov ecx, esi
setne al
add eax, 2
push eax
call fcn.004736e0
push 0xd803
mov ecx, esi
call fcn.004736a0
xor edi, edi
lea ecx, [ebp - 0x68]
mov dword [ebp + 8], edi
mov byte [ebp - 4], 0
mov dword [ebp - 0x68], 0x54d7d0
call fcn.004735a0
cmp byte [ebp + 0xf], 0x37
je 0x419544
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x41927d
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.004109a0
test al, 3
jne 0x418717
jmp 0x41928a
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push edi
push edx
call fcn.00410970
shr eax, 2
cmp eax, 1
jl 0x418717
cmp eax, 3
jge 0x418717
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x419348
cmp eax, 2
jne 0x4192fa
lea eax, [ecx + 4]
cmp eax, 0xffffff80
mov dword [ebp - 0x30], eax
jl 0x4192dd
cmp eax, 0x7f
jg 0x4192dd
lea esi, [ebx + 0xc]
push 0x538b
mov ecx, esi
call fcn.004736a0
mov al, byte [ebp + 8]
mov ecx, esi
add al, 4
push eax
or byte [ebx + 0x500404ce], cl
call fcn.004736e0
jmp 0x4192f7
lea esi, [ebx + 0xc]
push 0x938b
mov ecx, esi
call fcn.004736a0
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, esi
call fcn.00473660
mov ecx, dword [ebp + 8]
cmp ecx, 0xffffff80
jl 0x419326
cmp ecx, 0x7f
jg 0x419326
lea esi, [ebx + 0xc]
push 0x5b8b
mov ecx, esi
call fcn.004736a0
mov edx, dword [ebp + 8]
mov ecx, esi
push edx
call fcn.004736e0
mov esi, dword [ebp - 0x14]
jmp 0x418ca5
lea esi, [ebx + 0xc]
push 0x9b8b
mov ecx, esi
call fcn.004736a0
mov eax, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.00473660
mov esi, dword [ebp - 0x14]
jmp 0x418ca5
stc
jb 0x41934c
js 0x4192d0
cmp eax, 2
jne 0x419369
clc
add dh, byte [ebp + 0x18]
lea esi, [ebx + 0xc]
push 0x538b
mov ecx, esi
call fcn.004736a0
push 4
mov ecx, esi
call fcn.004736e0
push 0x1b8b
lea ecx, [ebx + 0xc]
call fcn.004736a0
mov esi, dword [ebp - 0x14]
jmp 0x418ca5
push 0x2733
jmp 0x41870a
test ecx, ecx
jl 0x418717
cmp ecx, dword [eax + 0x24]
jge 0x418717
mov edi, dword [ebp + 0x10]
mov ecx, edi
call fcn.004103d0
push 1
push 8
mov ecx, ebx
call fcn.004111c0
mov dword [ebp + 0x10], eax
mov dword [edi + 0x18], eax
push 1
push 2
neg eax
push 1
push eax
mov ecx, ebx
call fcn.004167a0
mov edx, dword [ebp + 0x10]
mov ecx, 4
push 1
push 8
sub ecx, edx
push 1
push ecx
mov ecx, ebx
call fcn.004167a0
mov eax, dword [ebp - 0x28]
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x28]
lea ebx, [ecx + edx*4]
mov ecx, dword [ebp - 0x10]
call fcn.004504f0
mov edx, dword [ebp - 0x34]
push eax
push ebx
push edx
call fcn.004de6d0
add esp, 0xc
test eax, eax
jne 0x41942c
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 0x34]
mov edx, dword [ecx]
push edx
mov ecx, dword [eax + 0x24]
push ecx
push 0x2776
push 0x59a520
call fcn.0046b030
add esp, 0x14
jmp 0x418717
movsx edx, word [ebx + 0xc]
push edx
call fcn.004de010
xor ebx, ebx
add esp, 4
cmp eax, ebx
mov dword [edi + 8], eax
je 0x418717
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmp eax, 0x10004
mov al, byte [ebp + 0xf]
mov dword [edi + 4], 1
mov dword [edi + 0x1c], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], edx
jne 0x419502
cmp al, 0x37
je 0x4195d2
cmp al, 0x39
jne 0x418717
cmp byte [esi + 8], 0x37
jne 0x418717
mov eax, dword [esi]
push eax
call fcn.004d25c0
add esp, 4
test eax, eax
jne 0x418717
mov ecx, dword [esi]
mov edx, dword [edi + 8]
dec ecx
push ebx
mov dword [edi + 0x28], ecx
mov ecx, dword [ebp - 0x10]
push edx
call fcn.00450cd0
mov ecx, dword [edi + 0x28]
mov eax, dword [eax + 0x34]
lea edx, [ecx*8]
sub edx, ecx
mov esi, dword [eax + edx*4]
lea ebx, [eax + edx*4]
mov ecx, esi
shr ecx, 0x10
jne 0x4194da
mov edx, dword [edi + 8]
and esi, 0xffff
shr edx, 0x10
shl edx, 0x10
or esi, edx
mov ecx, dword [ebp - 0x10]
push esi
call fcn.004184a0
test eax, eax
je 0x418717
mov dword [edi + 8], esi
mov eax, dword [ebx + 4]
push eax
call fcn.004c9c50
add esp, 4
mov dword [edi + 0xc], eax
jmp 0x4195d2
cmp al, 0x37
je 0x4195d2
jmp 0x418717
push 0x2734
push 0x59a520
call fcn.0046b030
add esp, 8
mov esi, 0x54d7d0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
mov dword [ebp - 0x68], esi
call fcn.004735a0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x54], esi
jmp 0x418725
mov eax, dword [ebp + 8]
test eax, eax
je 0x41958b
cmp eax, 0xffffff80
jl 0x419571
cmp eax, 0x7f
jg 0x419571
lea esi, [ebx + 0xc]
push 0xc383
mov ecx, esi
call fcn.004736a0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.004736e0
jmp 0x41958b
lea esi, [ebx + 0xc]
push 0xc381
mov ecx, esi
call fcn.004736a0
mov edx, dword [ebp + 8]
mov ecx, esi
push edx
call fcn.00473660
push 1
push 4
mov ecx, ebx
call fcn.004111c0
mov esi, eax
push 1
push 2
push 1
neg eax
push eax
mov ecx, ebx
call fcn.004167a0
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
call fcn.004103d0
mov ecx, dword [ebp - 0x18]
mov eax, 1
push edi
mov dword [ebx + 4], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 8], ecx
call fcn.004c9c50
add esp, 4
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x18], esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x54], 0x54d7d0
call fcn.004735a0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10