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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41854b
sub esp, 0x50
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x78]
mov ecx, dword [eax + 0x18]
test byte [eax], al
mov eax, dword fs:[0x14]
mov eax, dword [eax]
cmp dword [ecx], eax
je 0x418474
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x418474
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x418474
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x417f71
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417f71
mov dword [eax + 8], 0xfffffade
jmp 0x417f71
inc dword [0xbf0e6c]
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
call fcn.00417dc0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x418463
xor eax, eax
test al, al
jne 0x417f6b
nop
lea eax, [0xc07c20]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00442020
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
call fcn.00417dc0
movzx eax, byte [esp + 0x10]
test al, al
je 0x418443
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0xc07c34], al
mov eax, dword [0xc0745c]
cmp eax, 1
jne 0x41842d
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0x7a1144]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00442020
nop
lea eax, [0x7a1164]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00442020
movzx eax, byte [0xbfeea8]
test al, al
jne 0x4183bc
mov eax, dword [0xbf0898]
mov dword [esp + 0x44], eax
mov ecx, dword [0xbf089c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x4180a2
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
jle 0x4180d7
mov dword [esp + 0x24], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x3c], ecx
mov ebx, dword [ecx + 0x30]
test byte [ebx], al
add ebx, 0x358
mov dword [esp], ebx
call fcn.00402780
mov eax, dword [esp + 4]
mov ecx, dword [0xbf864c]
cmp eax, ecx
je 0x418093
jmp 0x418496
call fcn.004197a0
lea eax, [0x97d300]
mov dword [esp], eax
call fcn.0045baa0
mov eax, dword [0xc0701c]
mov dword [0xc07c60], eax
mov dword [0xc07c64], eax
mov ecx, dword [0xc07030]
cmp eax, ecx
jle 0x41810c
mov dword [0xc07c60], ecx
lea eax, [0xc0ab00]
mov dword [esp], eax
call fcn.00402970
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0xc07c98], eax
mov dword [0xc07c9c], ecx
mov dword [0xc07c88], 0
mov dword [0xc07c8c], 0
mov eax, dword [esp + 0x14]
mov dword [0xc07c30], eax
call fcn.0045e180
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [0xc07c68], eax
mov dword [0xc07c6c], ecx
mov dword [0xc07c90], eax
mov dword [0xc07c94], ecx
movzx eax, byte [0xbfeea8]
test al, al
jne 0x41836e
lea eax, [0x97d3e8]
mov dword [esp], eax
call fcn.0045baa0
lea eax, [0x97d304]
mov dword [esp], eax
call fcn.0045baa0
call fcn.0041a610
inc dword [0xc07c5c]
lea eax, [0xc07880]
mov dword [esp], eax
call fcn.00416590
mov eax, dword [0xc09568]
mov ecx, dword [0xc0956c]
mov dword [0xc07cb0], eax
mov dword [0xc07cb4], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x418360
nop
lea eax, [0xc07018]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402950
mov eax, dword [0xc07018]
cmp eax, 1
jne 0x418355
mov eax, 1
mov byte [0xc072f4], al
test al, al
je 0x418349
mov eax, 1
mov byte [0xc072f0], al
nop
mov dword [0xc07bf8], 0xffffffff
mov dword [0xc07c04], 0xffffffff
call fcn.0041aa80
call fcn.0041e690
lea eax, [0xc0700c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402950
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0xc078b0], eax
mov dword [0xc078b4], ecx
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x78]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea ecx, [0x454c00]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.0045baa0
nop
lea eax, [0x7a1164]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00442330
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x418341
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x418339
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x418328
lea eax, [0xc07c20]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00442330
add esp, 0x50
ret
nop
lea eax, [0x97d318]
mov dword [esp], eax
call fcn.0045ba40
jmp 0x418309
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x418307
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x418307
movzx eax, byte [0xc072f5]
jmp 0x41821e
cmp eax, 2
sete al
jmp 0x41820b
mov byte [esp], 0
call fcn.0043ed40
jmp 0x4181e0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0
mov byte [esp], 9
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0044cd50
jmp 0x418187
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0xbfeed8]
mov ecx, dword [0xbfeedc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov byte [esp], 7
mov dword [esp + 4], 3
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.0044cd50
mov eax, dword [0xbfeed8]
add eax, 1
mov ecx, dword [0xbfeedc]
mov dword [0xbfeed8], eax
adc ecx, 0
mov dword [0xbfeedc], ecx
jmp 0x41807b
cmp eax, 2
jne 0x41843c
mov eax, 2
jmp 0x418021
xor eax, eax
jmp 0x418021
nop
lea eax, [0xc07c20]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00442330
add esp, 0x50
ret
call fcn.00420c90
cmp dword [esp], 0xffffffff
setne al
jmp 0x417fa4
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x418492
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x418492
mov dword [eax + 8], 0xfffffade
add esp, 0x50
ret
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
call fcn.004339f0
lea eax, [0x8afbd0]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00434290
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.004340c0
lea eax, [0x8aed44]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00434290
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00433f90
lea eax, [0x8b0556]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00434290
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00433f90
call fcn.00433c10
call fcn.00433a60
lea eax, [0x8b48ba]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00432140
nop
call fcn.0045bbc0
jmp fcn.00417ef0