Function at 0x415660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x415c72
add esp, 0xffffff80
mov eax, dword [0x54cd48]
test eax, eax
jne 0x4158af
lea eax, [esp + 0x84]
mov dword [esp], eax
call fcn.00444db0
mov eax, dword [esp + 4]
mov ecx, dword [eax]
test ecx, ecx
je 0x415c5b
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp dl, 0x16
jne 0x415bff
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x415be9
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004109a0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x41570a
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 4]
lea ecx, [0x54cb14]
cmp eax, ecx
je 0x415706
lea ecx, [0x517280]
jmp 0x415ba1
sub esp, 0xffffff80
ret
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 4]
cmp edx, eax
je 0x415738
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x415b83
mov ebx, dword [edx + 4]
test ebx, ebx
jne 0x415b83
cmp dword [edx], 0x10
jae 0x415b83
lea eax, [esp + 0x8c]
mov dword [esp], eax
call fcn.00444db0
mov eax, dword [esp + 4]
mov ecx, dword [eax]
test ecx, ecx
jne 0x415783
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
lea eax, [0x415cf0]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
mov dword [esp], eax
call fcn.0045c390
sub esp, 0xffffff80
ret
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp dl, 0x13
jne 0x415b27
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], ecx
mov dword [esp], ecx
call fcn.004575a0
movzx eax, byte [esp + 4]
test al, al
jne 0x415a89
mov eax, dword [esp + 0x44]
cmp word [eax + 0x20], 1
jne 0x4159fd
mov dword [esp], eax
call fcn.00457460
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
test ecx, ecx
jbe 0x4159f6
mov eax, dword [eax]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x50]
cmp eax, ecx
je 0x41588d
movzx edx, byte [eax + 0xf]
and edx, 0x1f
cmp dl, 0x16
je 0x415842
cmp dl, 0x14
jne 0x4159ef
mov edx, dword [eax + 0x28]
test edx, edx
je 0x41588d
lea eax, [esp + 0x84]
mov dword [esp], eax
call fcn.00444db0
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x48]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00409090
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x41588d
jmp 0x4159e6
mov dword [esp], eax
call fcn.00456960
mov eax, dword [esp + 4]
test eax, eax
jne 0x415859
mov eax, 1
jmp 0x415871
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00456960
mov eax, dword [esp + 4]
test eax, eax
setne al
xor eax, 1
test al, al
je 0x4159dd
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x50]
cmp dword [edx + 0x20], ecx
jne 0x415955
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.004574e0
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
xor edx, edx
xor ebx, ebx
jmp 0x4158e7
sub esp, 0xffffff80
ret
mov dword [esp + 0x38], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x40], ecx
movzx ebp, byte [ecx + 0xd]
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.0044ca60
mov eax, dword [esp + 0x38]
lea edx, [eax + 1]
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0x40]
add ebx, dword [eax]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
jl 0x4158b3
mov dword [esp], ebx
mov dword [esp + 4], 4
call fcn.0044ca60
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
call fcn.00415220
lea edi, [esp + 0x68]
xor eax, eax
call fcn.0045daba
lea eax, [0x415c80]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
call fcn.0045c390
sub esp, 0xffffff80
ret
mov dword [esp], edx
call fcn.004568d0
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x44]
mov dword [esp], edx
call fcn.004568d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4b7496]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
lea edx, [0x4b26cf]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.0044ba60
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00434a60
mov edx, dword [esp + 0x50]
jmp 0x415955
mov edx, dword [esp + 0x50]
jmp 0x415955
mov edx, ecx
jmp 0x415955
xor eax, eax
call fcn.0045d960
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.004568d0
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x44]
mov dword [esp], edx
call fcn.004568d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4b7496]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
lea edx, [0x4b26cf]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.0044ba60
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00434a60
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.004568d0
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x44]
mov dword [esp], edx
call fcn.004568d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4b7496]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x22
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
lea edx, [0x4b26cf]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0xe
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
lea eax, [0x4b3455]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x12
call fcn.0044bb10
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00434a60
mov dword [esp], ecx
call fcn.004568d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4b8136]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x29
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x4b2cef]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x10
call fcn.0044b9c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00434a60
lea eax, [0x4b9689]
mov dword [esp], eax
mov dword [esp + 4], 0x41
call fcn.00434a60
mov ecx, dword [ecx + 0x108]
mov eax, edx
test ecx, ecx
je 0x415bd3
mov edx, eax
cmp dword [ecx + 0x60], eax
ja 0x415bb1
cmp dword [ecx + 0x64], eax
ja 0x415bcf
cmp dword [ecx + 0x68], eax
ja 0x415bbb
cmp dword [ecx + 0x6c], eax
ja 0x415bcf
cmp dword [ecx + 0x70], eax
ja 0x415bc5
cmp dword [ecx + 0x74], eax
ja 0x415bcf
cmp dword [ecx + 0x78], eax
ja 0x415b99
cmp dword [ecx + 0x7c], eax
jbe 0x415b99
sub esp, 0xffffff80
ret
lea eax, [0x4b8fbb]
mov dword [esp], eax
mov dword [esp + 4], 0x34
call fcn.00434a60
lea eax, [0x4b28b9]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.00434a60
mov dword [esp], ecx
call fcn.004568d0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x4b7fc9]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x28
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x4b245b]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0xd
call fcn.0044b9c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00434a60
lea eax, [0x4b8458]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.00434a60
nop
call fcn.0045c4a0
jmp fcn.00415660