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

Disassembly:
mov ecx, dword [0x52fb9c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x41810f
sub esp, 0x84
call fcn.0044c240
mov eax, dword [esp]
mov ecx, dword [0x52fb9c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x417c29
cmp dword [eax + 0x7c], 1
jg 0x417c29
mov eax, dword [eax + 0x78]
test eax, eax
jne 0x417c29
call fcn.0044c260
jmp 0x417c35
call fcn.0044c260
add esp, 0x84
ret
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0xc], ebx
call fcn.00417a70
movzx eax, byte [esp + 0x10]
test al, al
jne 0x417c72
xor eax, eax
jmp 0x417c7e
call fcn.00425ad0
cmp dword [esp], 0xffffffff
setne al
test al, al
jne 0x417c35
lea eax, [0x5106b8]
mov dword [esp], eax
call fcn.0044c830
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0xc], ebx
call fcn.00417a70
movzx eax, byte [esp + 0x10]
test al, al
je 0x417d82
mov eax, dword [0x52fec0]
cmp eax, 1
jne 0x417cdf
mov eax, 1
jmp 0x417ced
cmp eax, 2
jne 0x417ceb
mov eax, 2
jmp 0x417ced
xor eax, eax
mov dword [esp + 0x44], eax
lea ecx, [0x50c290]
mov dword [esp], ecx
call fcn.0044c830
lea eax, [0x50c28c]
mov dword [esp], eax
call fcn.0044c830
mov eax, dword [esp + 0x88]
cmp eax, 2
sete cl
mov byte [0x5106c8], cl
call fcn.0045e570
mov eax, dword [esp]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x5c], ecx
call fcn.0045e6e0
movzx eax, byte [esp + 8]
test al, al
je 0x417d6a
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
call fcn.0045eac0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.0045e6f0
mov eax, dword [0x510188]
mov dword [esp + 0x68], eax
mov ecx, dword [0x51018c]
mov dword [esp + 0x58], ecx
xor edx, edx
jmp 0x417da6
lea eax, [0x5106b8]
mov dword [esp], eax
call fcn.0044cb60
add esp, 0x84
ret
mov ebx, dword [esp + 0x54]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
cmp edx, ecx
jge 0x417ddb
mov dword [esp + 0x54], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x60], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x24c
mov dword [esp], ebx
call fcn.00474ad0
mov eax, dword [esp + 4]
mov ecx, dword [0x517b90]
cmp ecx, eax
je 0x417d97
jmp 0x41805a
call fcn.00419800
lea eax, [0x4a97cc]
mov dword [esp], eax
call fcn.0046ede0
mov eax, dword [0x52fb58]
mov dword [0x5106ec], eax
mov dword [0x5106f0], eax
mov ecx, dword [0x52fb5c]
cmp ecx, eax
jge 0x417e10
mov dword [0x5106ec], ecx
lea eax, [0x530488]
mov dword [esp], eax
call fcn.00474be0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x51071c], eax
mov dword [0x510720], ecx
mov dword [0x510714], 0
mov dword [0x510718], 0
mov eax, dword [esp + 0x44]
mov dword [0x5106c4], eax
call fcn.0046d9f0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [0x5106f4], eax
mov dword [0x5106f8], ecx
lea edi, [esp + 0x20]
xor eax, eax
call fcn.004703b9
lea eax, [0x4181e0]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x80], eax
lea ecx, [esp + 0x7c]
mov dword [esp], ecx
call fcn.0046ede0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
lea edx, [0x510734]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
call fcn.00433ac0
lea eax, [0x4a97d4]
mov dword [esp], eax
call fcn.0046ede0
call fcn.0041a800
lea eax, [0x5106e8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00474bb0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [0x52fb58]
lea ebx, [0x530420]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x1c], eax
call fcn.0041fb70
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea edx, [0x52fe40]
mov dword [esp], edx
mov byte [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0041ad20
mov eax, dword [esp + 0x44]
test eax, eax
je 0x417f73
mov byte [esp], 0
call fcn.00448070
mov dword [esp], 1
call fcn.00417910
call fcn.00419940
call fcn.0041bc40
call fcn.0041fa20
lea eax, [0x52fad8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00475190
call fcn.0044c240
mov eax, dword [esp]
mov dword [esp + 0x64], eax
call fcn.0046d9f0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [0x5106f0]
lea esi, [0x510734]
mov dword [esp], esi
sub eax, edx
mov dword [esp + 4], eax
sbb ecx, ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
call fcn.00433ac0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x418120]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
call fcn.0046ede0
lea eax, [0x50c28c]
mov dword [esp], eax
call fcn.0044cb60
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.0044c260
mov eax, dword [esp + 0x44]
test eax, eax
je 0x418045
call fcn.0043ba00
lea eax, [0x5106b8]
mov dword [esp], eax
call fcn.0044cb60
add esp, 0x84
ret
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x60]
mov eax, dword [eax]
mov dword [esp + 0x4c], eax
call fcn.0043a8c0
lea eax, [0x4a1612]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043b0d0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0043af20
lea eax, [0x4a12c6]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043b0d0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043adf0
lea eax, [0x4a1d40]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0043b0d0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043adf0
call fcn.0043aaa0
call fcn.0043a920
lea eax, [0x4a3754]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0046b0d0
nop
call fcn.0046eed0
jmp fcn.00417be0