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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4183ab
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 0x4182d4
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x4182d4
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x4182d4
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x417dd1
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417dd1
mov dword [eax + 8], 0xfffffade
jmp 0x417dd1
inc dword [0x10e590c]
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.00417c20
movzx eax, byte [esp + 0x10]
test al, al
jne 0x4182c3
xor eax, eax
test al, al
jne 0x417dcb
nop
lea eax, [0x10fe0e0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00445150
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.00417c20
movzx eax, byte [esp + 0x10]
test al, al
je 0x4182a3
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0x10fe0f4], al
mov eax, dword [0x10fd71c]
cmp eax, 1
jne 0x41828d
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0x107923c]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00445150
nop
lea eax, [0x107925c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00445150
movzx eax, byte [0x10f4c08]
test al, al
jne 0x41821c
mov eax, dword [0x10e5098]
mov dword [esp + 0x44], eax
mov ecx, dword [0x10e509c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x417f02
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
jle 0x417f37
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 [0x10ee3ac]
cmp eax, ecx
je 0x417ef3
jmp 0x4182f6
call fcn.00419600
lea eax, [0xbd54a8]
mov dword [esp], eax
call fcn.0045f4d0
mov eax, dword [0x10fce80]
mov dword [0x10fe120], eax
mov dword [0x10fe124], eax
mov ecx, dword [0x10fce94]
cmp eax, ecx
jle 0x417f6c
mov dword [0x10fe120], ecx
lea eax, [0x1100fc0]
mov dword [esp], eax
call fcn.00402100
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x10fe158], eax
mov dword [0x10fe15c], ecx
mov dword [0x10fe148], 0
mov dword [0x10fe14c], 0
mov eax, dword [esp + 0x14]
mov dword [0x10fe0f0], eax
call fcn.00461b80
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [0x10fe128], eax
mov dword [0x10fe12c], ecx
mov dword [0x10fe150], eax
mov dword [0x10fe154], ecx
movzx eax, byte [0x10f4c08]
test al, al
jne 0x4181ce
lea eax, [0xbd5598]
mov dword [esp], eax
call fcn.0045f4d0
lea eax, [0xbd54ac]
mov dword [esp], eax
call fcn.0045f4d0
call fcn.0041a470
inc dword [0x10fe11c]
lea eax, [0x10fdb40]
mov dword [esp], eax
call fcn.004163f0
mov eax, dword [0x10ffa28]
mov ecx, dword [0x10ffa2c]
mov dword [0x10fe170], eax
mov dword [0x10fe174], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4181c0
nop
lea eax, [0x10fce7c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020e0
mov eax, dword [0x10fce7c]
cmp eax, 1
jne 0x4181b5
mov eax, 1
mov byte [0x10fd364], al
test al, al
je 0x4181a9
mov eax, 1
mov byte [0x10fd360], al
nop
mov dword [0x10fe0b8], 0xffffffff
mov dword [0x10fe0c4], 0xffffffff
call fcn.0041a8e0
call fcn.0041e4f0
lea eax, [0x10fce70]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0x10fdb70], eax
mov dword [0x10fdb74], 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, [0x457dd0]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.0045f4d0
nop
lea eax, [0x107925c]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00445460
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 0x4181a1
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x418199
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x418188
lea eax, [0x10fe0e0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00445460
add esp, 0x50
ret
nop
lea eax, [0xbd54c0]
mov dword [esp], eax
call fcn.0045f470
jmp 0x418169
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x418167
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x418167
movzx eax, byte [0x10fd365]
jmp 0x41807e
cmp eax, 2
sete al
jmp 0x41806b
mov byte [esp], 0
call fcn.00440c00
jmp 0x418040
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.0044fe80
jmp 0x417fe7
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x10f4c38]
mov ecx, dword [0x10f4c3c]
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.0044fe80
mov eax, dword [0x10f4c38]
add eax, 1
mov ecx, dword [0x10f4c3c]
mov dword [0x10f4c38], eax
adc ecx, 0
mov dword [0x10f4c3c], ecx
jmp 0x417edb
cmp eax, 2
jne 0x41829c
mov eax, 2
jmp 0x417e81
xor eax, eax
jmp 0x417e81
nop
lea eax, [0x10fe0e0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00445460
add esp, 0x50
ret
call fcn.00420af0
cmp dword [esp], 0xffffffff
setne al
jmp 0x417e04
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x4182f2
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4182f2
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.00435170
lea eax, [0xb96786]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00435a10
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00435840
lea eax, [0xb94d42]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00435a10
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00435710
lea eax, [0xb976ce]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00435a10
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00435710
call fcn.00435390
call fcn.004351e0
lea eax, [0xb9ef16]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.004338c0
nop
call fcn.0045f5f0
jmp fcn.00417d50