Function at 0x415c40
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5351eb
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.0040db80
mov esi, dword [ebp + 0xc]
cmp byte [esi], 0x36
je 0x415e5d
push esi
call fcn.004c72c0
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 0x415c91
lea ecx, [ebp - 0x54]
call fcn.00470b30
push esi
mov dword [ebp - 4], 0
call fcn.004c7970
mov ebx, dword [ebp + 8]
add esp, 4
cmp eax, 1
jne 0x415d52
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x415e47
push eax
call fcn.004cfb80
add esp, 4
xor ecx, ecx
cmp eax, 0x10000000
sete cl
mov eax, ecx
test eax, eax
je 0x415e47
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.004d0460
test eax, eax
je 0x415e47
push 0x39
lea ecx, [ebp - 0x54]
call fcn.00470e70
push esi
lea ecx, [ebp - 0x54]
call fcn.00470df0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x40]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00470df0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
add edx, 0xfffffffb
lea ecx, [ebp - 0x54]
push edx
push eax
call fcn.004713f0
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 0x415dec
push esi
call fcn.004cfba0
add esp, 4
cmp eax, 0x5000000
jne 0x415dec
push esi
call fcn.004cfb80
add esp, 4
cmp eax, 0x10000000
jne 0x415dec
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
test eax, eax
je 0x415dec
push eax
call fcn.004cfb80
add esp, 4
xor ecx, ecx
cmp eax, 0x40000000
sete cl
mov eax, ecx
test eax, eax
je 0x415dec
push 0x39
lea ecx, [ebp - 0x54]
call fcn.00470e70
push esi
lea ecx, [ebp - 0x54]
call fcn.00470df0
mov edx, dword [ebx + 4]
lea ecx, [ebp - 0x54]
mov eax, dword [edx + 8]
push eax
call fcn.00470df0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
add ecx, 0xfffffffb
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.004713f0
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.004cfca0
mov esi, eax
test esi, esi
je 0x415e47
push esi
call fcn.004cfba0
add esp, 4
cmp eax, 0x5000000
je 0x4160ae
cmp eax, 0x2000000
jne 0x415e47
mov ecx, dword [ebp - 0x10]
push 0x10001
call fcn.00415bd0
test eax, eax
je 0x415e47
mov edx, dword [ebp - 0x10]
lea ecx, [ebp + 0xc]
push 0
push ecx
push esi
lea ecx, [edx + 0x244]
call fcn.004d0460
test eax, eax
jne 0x415e73
push 0x2732
push 0x5928f8
call fcn.004687a0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x54], 0x5477b0
lea ecx, [ebp - 0x54]
call fcn.00470d30
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 0x415ea7
mov eax, ecx
mov ecx, dword [eax + 1]
push ecx
call fcn.004cfb70
add esp, 4
cmp eax, 0x15000000
jne 0x415ea4
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 1]
lea eax, [edx + 1]
add eax, 8
mov dword [ebp - 0x14], eax
jmp 0x4160b1
mov ecx, dword [ebp - 0x14]
mov al, byte [ecx]
cmp al, 0x37
jne 0x415ed3
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.004cfca0
mov dword [edi + 0x14], eax
jmp 0x416d02
cmp al, 0x39
jne 0x415e47
mov ebx, dword [ecx + 1]
inc ecx
test ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp + 0x10], ebx
je 0x415e47
add ecx, 8
push ebx
mov dword [ebp - 0x14], ecx
call fcn.004cfba0
add esp, 4
cmp eax, 0x6000000
jne 0x415f68
mov ecx, dword [ebp + 0xc]
push 0
push 0
push ebx
add ecx, 0x14
mov dword [ebp + 8], ebx
call fcn.004cfd40
test eax, eax
je 0x415e47
mov ebx, dword [eax]
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.00415bd0
test eax, eax
je 0x415e47
mov ecx, dword [ebp - 0x14]
mov al, byte [ecx]
cmp al, 0x37
jne 0x415f52
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 0x416d02
inc ecx
cmp al, 0x39
jne 0x415e47
mov eax, dword [ecx]
add ecx, 8
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x14], ecx
jmp 0x415fa4
mov ecx, dword [ebp + 0xc]
push 0
push 0
add ecx, 0x14
call fcn.004cfc50
mov ebx, eax
test ebx, ebx
je 0x415e47
mov edx, dword [ebp + 0xc]
push 0
lea ecx, [edx + 0x14]
call fcn.004cfca0
mov ebx, dword [ebx]
mov ecx, dword [ebp - 0x10]
push ebx
mov dword [ebp + 8], eax
call fcn.00415bd0
test eax, eax
je 0x415e47
mov eax, dword [ebp + 0x10]
push eax
call fcn.004cfba0
add esp, 4
test eax, eax
jne 0x415e47
clc
jae 0x415fbc
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.0044e840
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.0044e070
push eax
mov eax, dword [ebp + 0x14]
push esi
push eax
call fcn.004dbcb0
add esp, 0xc
test eax, eax
jne 0x416019
mov ecx, dword [esi]
mov edx, dword [ebx]
mov eax, dword [ebp + 0x14]
push ecx
push edx
jmp 0x416b41
movsx edx, word [esi + 0xc]
push edx
call fcn.004db5f0
add esp, 4
mov dword [edi + 8], eax
test eax, eax
je 0x415e47
mov esi, dword [ebp - 0x14]
cmp eax, 0x10004
jne 0x4160a0
mov al, byte [esi]
cmp al, 0x37
je 0x4160a0
cmp al, 0x39
jne 0x415e47
cmp byte [esi + 9], 0x37
jne 0x415e47
mov eax, dword [esi + 1]
push eax
call fcn.004cfba0
add esp, 4
test eax, eax
jne 0x415e47
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.0044e840
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 0x416c0a
jmp 0x416bf9
cmp byte [esi], 0x37
jne 0x415e47
jmp 0x416d02
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 0x4162c1
push esi
call fcn.004cfb80
add esp, 4
mov dword [ebp - 0x28], 0
test eax, eax
je 0x41620a
cmp eax, 0x10000000
je 0x41618b
cmp eax, 0x20000000
jne 0x415e47
mov ecx, dword [ebx + 4]
push 0
push 0
push esi
add ecx, 0x14
call fcn.004cfd40
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x41617f
mov ecx, dword [ebx + 4]
push eax
push eax
push esi
add ecx, 0x34
call fcn.004cfd40
test eax, eax
mov dword [ebp + 0xc], eax
je 0x415e47
mov dword [edi + 4], 2
mov ecx, dword [ebx + 4]
push esi
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00415b70
cmp eax, 0xffffffff
mov dword [edi + 0x18], eax
je 0x415e47
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
push edx
call fcn.00413ad0
test eax, eax
je 0x416166
mov dword [edi + 0x1c], 1
mov eax, dword [ebp + 0xc]
test byte [eax + 4], 8
je 0x416227
mov dword [ebp - 0x28], 1
jmp 0x416227
mov dword [edi + 4], 3
jmp 0x416227
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.004d0460
test eax, eax
je 0x415e47
mov edx, dword [ebp - 0x34]
push 0
push 0
push esi
lea ecx, [edx + 0xc]
call fcn.004cfd40
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x416232
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.004d03c0
test eax, eax
je 0x416227
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x44]
test ecx, ecx
jne 0x4161d1
push 0
push 0
push esi
lea ecx, [eax + 0xc]
call fcn.004cfd40
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x416232
jmp 0x4161d1
mov edx, dword [ebp - 0x10]
push 0
push 0
push esi
lea ecx, [edx + 0x1d0]
mov dword [edi + 4], 4
call fcn.004cfd40
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x415e47
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x18], eax
call fcn.00415bd0
test eax, eax
je 0x415e47
mov eax, dword [ebp + 0xc]
lea edi, [eax + 6]
mov eax, dword [ebp - 0x28]
cmp eax, 1
jne 0x416259
lea edi, [ebp - 0x40]
mov ecx, dword [ebp - 0x18]
push edi
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040e120
mov edx, dword [ebp - 0x18]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [eax + 8], edx
call fcn.004c72a0
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 4]
cmp eax, 4
jne 0x4162a1
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebx + 8]
push esi
call fcn.0040e3f0
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x18], eax
jmp 0x4163a0
cmp eax, 3
jne 0x4163a0
mov eax, dword [ebp + 0xc]
mov ecx, ebx
push eax
push esi
call fcn.0040eb60
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 0x18], eax
jmp 0x4163a0
cmp byte [eax], 0x3a
jne 0x415e47
cmp byte [eax + 1], 0x21
jne 0x415e47
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.00412de0
mov esi, eax
cmp esi, 0xffffffff
je 0x415e47
mov ecx, dword [ebp - 0x10]
push edi
push ebx
call fcn.004176d0
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.00415bd0
test eax, eax
je 0x415e47
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 0x4163a3
cmp byte [esi], 0x37
je 0x4163a3
push 0x50
call fcn.005151e5
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
xor eax, eax
mov byte [ebp - 4], 1
cmp esi, eax
je 0x416367
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.0040db80
mov dword [ebp + 0xc], esi
jmp 0x41636a
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 0x416391
mov ecx, eax
push ecx
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.00412c90
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push edx
call fcn.00470df0
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 0x416d02
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
push 0
push 0
push 7
push 1
push eax
push ebx
call fcn.00419f70
cmp eax, 0xffffffff
je 0x415e47
jmp 0x4163d5
push edi
call fcn.004c72a0
mov dword [ebp + 8], eax
mov al, byte [ebp + 0xf]
add esp, 4
cmp al, 0x39
jne 0x416593
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x30], 0
push edi
call fcn.004dc2d0
add esp, 4
test edi, edi
je 0x415e47
cmp eax, 1
je 0x415e47
cmp dword [ebp + 8], 1
je 0x415e47
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 0x4164ec
push edi
call fcn.004db4a0
add esp, 4
cmp eax, 3
push 0
jne 0x41646c
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push eax
push edi
add ecx, 0x20c
call fcn.004d0460
test eax, eax
je 0x415e47
mov edx, dword [ebp - 0x38]
jmp 0x41648a
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
push edi
add ecx, 0x1b4
call fcn.004d0460
test eax, eax
je 0x415e47
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.004cfc50
test eax, eax
je 0x416aae
mov ecx, dword [eax]
push esi
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x24]
lea edi, [eax + 6]
call fcn.004cfca0
cmp eax, dword [ebp - 0x28]
je 0x4164d3
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push edi
push edx
call fcn.0040e120
mov ecx, dword [ebp + 8]
add ecx, eax
inc esi
mov dword [ebp + 8], ecx
jmp 0x416492
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push eax
call fcn.00415bd0
test eax, eax
je 0x415e47
jmp 0x416986
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x10]
push edi
call fcn.0044e840
test eax, eax
mov dword [ebp - 0x24], eax
je 0x415e47
mov edx, dword [ebp - 0x28]
cmp edi, 0x10003
lea ecx, [edx - 1]
mov dword [ebp - 0x28], ecx
je 0x416ab8
test dword [eax + 0x14], 0x800040
jne 0x416ab8
test ecx, ecx
jl 0x415e47
cmp ecx, dword [eax + 0x30]
jge 0x415e47
mov esi, dword [eax + 0x34]
xor edi, edi
mov eax, dword [esi]
mov edx, eax
shr edx, 0x10
jne 0x416555
mov edx, dword [ebp - 0x18]
and eax, 0xffff
shr edx, 0x10
shl edx, 0x10
or eax, edx
cmp edi, ecx
je 0x416577
mov ecx, dword [esi + 4]
push ecx
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0040e120
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
add edx, eax
add esi, 0x1c
mov dword [ebp + 8], edx
inc edi
jmp 0x41653c
mov ecx, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x18], eax
call fcn.00415bd0
test eax, eax
je 0x415e47
mov edi, dword [esi + 4]
jmp 0x416986
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], 1
cmp eax, 0x80000005
mov eax, dword [ebp + 8]
jne 0x4165b4
test eax, eax
jne 0x4165bc
mov dword [ebp - 0x18], 0x80000101
jmp 0x4165bc
test eax, eax
je 0x415e47
xor edi, edi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
call fcn.00470b30
mov dword [ebp - 0x68], 0x5478f0
mov al, byte [ebp + 0xf]
mov byte [ebp - 4], 2
cmp al, 0x3a
jne 0x41673e
push esi
lea ecx, [ebp - 0x68]
call fcn.00470df0
mov al, byte [esi]
cmp al, 0x21
je 0x416615
cmp al, 0x38
je 0x416602
cmp al, 0x3b
jne 0x416c51
add esi, 5
jmp 0x416627
mov edi, 1
push esi
mov dword [ebp - 0x28], edi
call fcn.004c72c0
add esp, 4
jmp 0x416625
inc esi
mov edi, 1
mov ecx, esi
mov dword [ebp - 0x28], edi
call fcn.004c7bc0
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 0x4165e2
cmp dword [ebp - 0x24], 0x7f
jge 0x416c3f
mov ecx, dword [ebp - 0x24]
mov eax, 1
cmp ecx, eax
jne 0x41673e
mov ecx, dword [ebx + 8]
cmp dword [ecx + 4], 3
jne 0x4166c1
cmp dword [0x591e00], eax
jne 0x4166c1
lea esi, [ebx + 0xc]
push 0xc1410b8b
mov ecx, esi
call fcn.00470df0
push 0xd90302e1
mov ecx, esi
call fcn.00470df0
test edi, edi
je 0x41668f
push 0x53
mov ecx, esi
call fcn.00470e70
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.00416d80
cmp eax, 0xffffffff
je 0x416c51
test edi, edi
je 0x41691f
push 0x5b
mov ecx, esi
call fcn.00470e70
jmp 0x41691f
push 0x20
push 0x57f740
push 9
call fcn.0040e370
push 9
mov ecx, ebx
call fcn.0040eb10
test edi, edi
je 0x4166e9
push 0x5153
lea ecx, [ebx + 0xc]
call fcn.00470e30
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.00416d80
cmp eax, 0xffffffff
je 0x416c51
test edi, edi
je 0x416716
push 0x5b59
lea ecx, [ebx + 0xc]
call fcn.00470e30
lea esi, [ebx + 0xc]
push 0x7cc13b
mov ecx, esi
call fcn.00470df0
mov edi, dword [ebx + 0x1c]
push 1
mov ecx, ebx
call fcn.0040e950
push edi
mov ecx, ebx
call fcn.0040eae0
jmp 0x41691f
clc
jae 0x416742
jne 0x6a4bdc46
test edi, edi
je 0x416750
push 0x53
push ebx
lea ecx, [ebx + 0xc]
call fcn.00470e70
mov esi, dword [ebp - 0x24]
push 1
mov ecx, ebx
lea edx, [esi*4 - 4]
push edx
call fcn.0040e970
dec esi
mov dword [ebp + 8], eax
test esi, esi
jl 0x4167ad
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.00416d80
cmp eax, 0xffffffff
je 0x416c51
test esi, esi
je 0x4167a7
mov edx, dword [ebp + 8]
mov eax, edi
push 1
push 1
sub eax, edx
push 1
push eax
mov ecx, ebx
call fcn.00413ed0
add edi, 4
dec esi
jns 0x41676e
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x4167bb
push 0x5b
lea ecx, [ebx + 0xc]
call fcn.00470e70
lea esi, [ebx + 0xc]
push 0xb8b
mov ecx, esi
call fcn.00470e30
push 0x8304c383
mov ecx, esi
call fcn.00470df0
push 0xf9
mov ecx, esi
call fcn.00470e70
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, esi
call fcn.00470e70
push 0x74
mov ecx, esi
call fcn.00470e30
mov edi, dword [ebx + 0x1c]
push 3
mov ecx, ebx
call fcn.0040e950
push edi
mov ecx, ebx
call fcn.0040eae0
push 0xd233
mov ecx, esi
call fcn.00470e30
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x28], edx
cmp dword [eax + 4], 3
jne 0x41682e
mov eax, dword [0x591e00]
test eax, eax
jne 0x416857
push 0x33b
mov ecx, esi
call fcn.00470e30
push 0x7c
mov ecx, esi
call fcn.00470e30
mov edi, dword [ebx + 0x1c]
push 1
mov ecx, ebx
call fcn.0040e950
push edi
mov ecx, ebx
call fcn.0040eae0
push 0x4904c383
mov ecx, esi
call fcn.00470df0
push 0x74
mov ecx, esi
call fcn.00470e30
mov ecx, dword [ebx + 0x1c]
push 0x14
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebx + 8]
push 0x57f760
push 0xa
call fcn.0040e370
push 0xa
mov ecx, ebx
call fcn.0040eb10
mov edx, dword [ebp + 8]
push 0x8b
add edx, 4
mov ecx, esi
mov dword [ebp + 8], edx
call fcn.00470e70
mov edi, dword [ebp + 8]
neg edi
cmp edi, 0xffffff80
jl 0x4168da
cmp edi, 0x7f
jg 0x4168da
push 0x8d44
mov ecx, esi
call fcn.00470e30
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0xd0]
push eax
call fcn.00470df0
mov eax, dword [ebp + 8]
mov ecx, esi
neg al
push eax
call fcn.00470e70
jmp 0x4168fd
push 0x8d84
mov ecx, esi
call fcn.00470e30
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0xbc]
push eax
call fcn.00470df0
push edi
mov ecx, esi
call fcn.00470df0
mov eax, dword [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0040dac0
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, ebx
call fcn.0040eae0
push 0xc203
mov ecx, esi
call fcn.00470e30
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push edx
call fcn.0040e150
mov edi, eax
cmp edi, 1
je 0x416962
cmp edi, 2
jne 0x416945
push 0xe0d1
mov ecx, esi
call fcn.00470e30
jmp 0x416962
push 0xe0c1
mov ecx, esi
call fcn.00470e30
cmp edi, 4
mov ecx, esi
setne al
add eax, 2
push eax
call fcn.00470e70
push 0xd803
mov ecx, esi
call fcn.00470e30
xor edi, edi
lea ecx, [ebp - 0x68]
mov dword [ebp + 8], edi
mov byte [ebp - 4], 0
mov dword [ebp - 0x68], 0x5477b0
call fcn.00470d30
cmp byte [ebp + 0xf], 0x37
je 0x416c74
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4169ad
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0040e150
test al, 3
jne 0x415e47
jmp 0x4169ba
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
push edi
push edx
call fcn.0040e120
shr eax, 2
cmp eax, 1
jl 0x415e47
cmp eax, 3
jge 0x415e47
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x416a78
cmp eax, 2
jne 0x416a2a
lea eax, [ecx + 4]
cmp eax, 0xffffff80
mov dword [ebp - 0x30], eax
jl 0x416a0d
cmp eax, 0x7f
jg 0x416a0d
lea esi, [ebx + 0xc]
push 0x538b
mov ecx, esi
call fcn.00470e30
mov al, byte [ebp + 8]
mov ecx, esi
add al, 4
push eax
or byte [ebx + 0x500404ce], cl
call fcn.00470e70
jmp 0x416a27
lea esi, [ebx + 0xc]
push 0x938b
mov ecx, esi
call fcn.00470e30
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, esi
call fcn.00470df0
mov ecx, dword [ebp + 8]
cmp ecx, 0xffffff80
jl 0x416a56
cmp ecx, 0x7f
jg 0x416a56
lea esi, [ebx + 0xc]
push 0x5b8b
mov ecx, esi
call fcn.00470e30
mov edx, dword [ebp + 8]
mov ecx, esi
push edx
call fcn.00470e70
mov esi, dword [ebp - 0x14]
jmp 0x4163d5
lea esi, [ebx + 0xc]
push 0x9b8b
mov ecx, esi
call fcn.00470e30
mov eax, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.00470df0
mov esi, dword [ebp - 0x14]
jmp 0x4163d5
stc
jb 0x416a7c
js 0x416a00
cmp eax, 2
jne 0x416a99
clc
add dh, byte [ebp + 0x18]
lea esi, [ebx + 0xc]
push 0x538b
mov ecx, esi
call fcn.00470e30
push 4
mov ecx, esi
call fcn.00470e70
push 0x1b8b
lea ecx, [ebx + 0xc]
call fcn.00470e30
mov esi, dword [ebp - 0x14]
jmp 0x4163d5
push 0x2733
jmp 0x415e3a
test ecx, ecx
jl 0x415e47
cmp ecx, dword [eax + 0x24]
jge 0x415e47
mov edi, dword [ebp + 0x10]
mov ecx, edi
call fcn.0040db80
push 1
push 8
mov ecx, ebx
call fcn.0040e970
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.00413ed0
mov edx, dword [ebp + 0x10]
mov ecx, 4
push 1
push 8
sub ecx, edx
push 1
push ecx
mov ecx, ebx
call fcn.00413ed0
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.0044e070
mov edx, dword [ebp - 0x34]
push eax
push ebx
push edx
call fcn.004dbcb0
add esp, 0xc
test eax, eax
jne 0x416b5c
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 0x5928f8
call fcn.004687a0
add esp, 0x14
jmp 0x415e47
movsx edx, word [ebx + 0xc]
push edx
call fcn.004db5f0
xor ebx, ebx
add esp, 4
cmp eax, ebx
mov dword [edi + 8], eax
je 0x415e47
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 0x416c32
cmp al, 0x37
je 0x416d02
cmp al, 0x39
jne 0x415e47
cmp byte [esi + 8], 0x37
jne 0x415e47
mov eax, dword [esi]
push eax
call fcn.004cfba0
add esp, 4
test eax, eax
jne 0x415e47
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.0044e840
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 0x416c0a
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.00415bd0
test eax, eax
je 0x415e47
mov dword [edi + 8], esi
mov eax, dword [ebx + 4]
push eax
call fcn.004c72a0
add esp, 4
mov dword [edi + 0xc], eax
jmp 0x416d02
cmp al, 0x37
je 0x416d02
jmp 0x415e47
push 0x2734
push 0x5928f8
call fcn.004687a0
add esp, 8
mov esi, 0x5477b0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0
mov dword [ebp - 0x68], esi
call fcn.00470d30
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x54], esi
jmp 0x415e55
mov eax, dword [ebp + 8]
test eax, eax
je 0x416cbb
cmp eax, 0xffffff80
jl 0x416ca1
cmp eax, 0x7f
jg 0x416ca1
lea esi, [ebx + 0xc]
push 0xc383
mov ecx, esi
call fcn.00470e30
mov ecx, dword [ebp + 8]
push ecx
mov ecx, esi
call fcn.00470e70
jmp 0x416cbb
lea esi, [ebx + 0xc]
push 0xc381
mov ecx, esi
call fcn.00470e30
mov edx, dword [ebp + 8]
mov ecx, esi
push edx
call fcn.00470df0
push 1
push 4
mov ecx, ebx
call fcn.0040e970
mov esi, eax
push 1
push 2
push 1
neg eax
push eax
mov ecx, ebx
call fcn.00413ed0
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
call fcn.0040db80
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.004c72a0
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], 0x5477b0
call fcn.00470d30
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