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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x417e52
sub esp, 0x4c
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 0x417d7b
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x417d7b
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x417d7b
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x417911
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417911
mov dword [eax + 8], 0xfffffade
jmp 0x417911
inc dword [0xdc3a1c]
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
call fcn.00417770
movzx eax, byte [esp + 0x10]
test al, al
jne 0x417d6a
xor eax, eax
test al, al
jne 0x41790b
nop
lea eax, [0xdc4460]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043def0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
call fcn.00417770
movzx eax, byte [esp + 0x10]
test al, al
je 0x417d4a
mov eax, dword [esp + 0x50]
cmp eax, 2
sete al
mov byte [0xdc4474], al
mov eax, dword [0xdd803c]
cmp eax, 1
jne 0x417d34
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0xd811ec]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043def0
movzx eax, byte [0xdcf9a8]
test al, al
jne 0x417cc3
mov eax, dword [0xdc3698]
mov dword [esp + 0x40], eax
mov ecx, dword [0xdc369c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x417a1e
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x417a53
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.00401f10
mov eax, dword [esp + 4]
mov ecx, dword [0xdc954c]
cmp eax, ecx
je 0x417a0f
jmp 0x417d9d
call fcn.00419000
lea eax, [0x9b29fc]
mov dword [esp], eax
call fcn.00455680
mov eax, dword [0xdd7b44]
mov dword [0xdc44a0], eax
mov dword [0xdc44a4], eax
mov ecx, dword [0xdd7b4c]
cmp eax, ecx
jle 0x417a88
mov dword [0xdc44a0], ecx
lea eax, [0xddb4e0]
mov dword [esp], eax
call fcn.00402110
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0xdc44d8], eax
mov dword [0xdc44dc], ecx
mov dword [0xdc44c8], 0
mov dword [0xdc44cc], 0
mov eax, dword [esp + 0x14]
mov dword [0xdc4470], eax
call fcn.00457f50
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [0xdc44a8], ecx
mov dword [0xdc44ac], eax
mov dword [0xdc44d0], ecx
mov dword [0xdc44d4], eax
movzx eax, byte [0xdcf9a8]
test al, al
jne 0x417c74
lea eax, [0x9b2ae0]
mov dword [esp], eax
call fcn.00455680
lea eax, [0x9b2a00]
mov dword [esp], eax
call fcn.00455680
call fcn.00419f00
inc dword [0xdc449c]
lea eax, [0xdd8400]
mov dword [esp], eax
call fcn.00415f90
mov eax, dword [0xdd9f4c]
mov ecx, dword [0xdd9f48]
mov dword [0xdc44f0], ecx
mov dword [0xdc44f4], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x417c66
nop
lea eax, [0xdd7b40]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020f0
mov eax, dword [0xdd7b40]
cmp eax, 1
jne 0x417c5b
mov eax, 1
mov byte [0xdd7ec4], al
test al, al
je 0x417c4f
mov eax, 1
mov byte [0xdd7ec0], al
nop
mov dword [0xdc4438], 0xffffffff
mov dword [0xdc4444], 0xffffffff
call fcn.0041aff0
call fcn.0041e5b0
lea eax, [0xdd7b34]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020f0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [0xdd8430], ecx
mov dword [0xdd8434], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x452680]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.00455680
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x417c3e
lea eax, [0xdc4460]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043e200
add esp, 0x4c
ret
nop
lea eax, [0x9b2a10]
mov dword [esp], eax
call fcn.00455620
jmp 0x417c1f
movzx eax, byte [0xdd7ec5]
jmp 0x417b9a
cmp eax, 2
sete al
jmp 0x417b87
mov byte [esp], 0
call fcn.004391c0
jmp 0x417b5c
nop
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.004499d0
jmp 0x417b03
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0xdcf9dc]
mov ecx, dword [0xdcf9d8]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
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.004499d0
mov eax, dword [0xdcf9d8]
add eax, 1
mov ecx, dword [0xdcf9dc]
mov dword [0xdcf9d8], eax
adc ecx, 0
mov dword [0xdcf9dc], ecx
jmp 0x4179f7
cmp eax, 2
jne 0x417d43
mov eax, 2
jmp 0x4179c1
xor eax, eax
jmp 0x4179c1
nop
lea eax, [0xdc4460]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043e200
add esp, 0x4c
ret
call fcn.0041f8b0
cmp dword [esp], 0xffffffff
setne al
jmp 0x417944
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x417d99
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417d99
mov dword [eax + 8], 0xfffffade
add esp, 0x4c
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.0042e420
lea eax, [0x98813b]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0042ecc0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042eb00
lea eax, [0x986e6e]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0042ecc0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042e9d0
lea eax, [0x988da7]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0042ecc0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042e9d0
call fcn.0042e640
call fcn.0042e490
lea eax, [0x98ee44]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0042d520
nop
call fcn.004557a0
jmp fcn.00417890