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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x417332
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 0x417259
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x417259
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x417259
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x416e01
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416e01
mov dword [eax + 8], 0xfffffade
jmp 0x416e01
inc dword [0xb7df5c]
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.00416c40
movzx eax, byte [esp + 0x10]
test al, al
jne 0x417248
xor eax, eax
test al, al
jne 0x416dfb
nop
lea eax, [0xb7e7c0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004382b0
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.00416c40
movzx eax, byte [esp + 0x10]
test al, al
je 0x417230
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x417225
mov eax, 1
mov byte [0xb7e7d4], al
mov eax, dword [0xb9129c]
cmp eax, 1
jne 0x41720f
mov eax, 1
mov dword [esp + 0x14], eax
nop
lea ecx, [0xb4a1b0]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004382b0
movzx eax, byte [0xb88d08]
test al, al
jne 0x41719e
mov eax, dword [0xb7dd98]
mov dword [esp + 0x40], eax
mov ecx, dword [0xb7dd9c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x416f06
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x416f3d
mov dword [esp + 0x24], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x3c], ecx
mov ebx, dword [ecx + 0x34]
test byte [ebx], al
test byte [ecx], al
add ebx, 0x358
mov dword [esp], ebx
call fcn.00402200
mov eax, dword [esp + 4]
mov ecx, dword [0xb828ec]
cmp eax, ecx
je 0x416ef7
jmp 0x41727b
call fcn.00418480
call fcn.00419210
mov eax, dword [0xb90ed0]
mov dword [0xb7e800], eax
mov dword [0xb7e804], eax
mov ecx, dword [0xb90ed8]
cmp eax, ecx
jle 0x416f69
mov dword [0xb7e800], ecx
lea eax, [0xb945b0]
mov dword [esp], eax
call fcn.00402400
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0xb7e838], eax
mov dword [0xb7e83c], ecx
mov dword [0xb7e828], 0
mov dword [0xb7e82c], 0
mov eax, dword [esp + 0x14]
mov dword [0xb7e7d0], eax
call fcn.0044fe50
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [0xb7e808], eax
mov dword [0xb7e80c], ecx
mov dword [0xb7e830], eax
mov dword [0xb7e834], ecx
movzx eax, byte [0xb88d08]
test al, al
jne 0x41714f
lea eax, [0x835e2c]
mov dword [esp], eax
call fcn.0044d760
lea eax, [0x835d50]
mov dword [esp], eax
call fcn.0044d760
call fcn.00419390
inc dword [0xb7e7fc]
lea eax, [0xb915e0]
mov dword [esp], eax
call fcn.00415350
mov eax, dword [0xb9302c]
mov ecx, dword [0xb93028]
mov dword [0xb7e850], ecx
mov dword [0xb7e854], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x417141
nop
lea eax, [0xb90ecc]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004023e0
mov eax, dword [0xb90ecc]
cmp eax, 1
jne 0x417136
mov eax, 1
mov byte [0xb91184], al
test al, al
je 0x41712a
mov eax, 1
mov byte [0xb91180], al
nop
mov dword [0xb7e798], 0xffffffff
mov dword [0xb7e7a4], 0xffffffff
call fcn.0041a010
call fcn.0041d580
lea eax, [0xb90ec0]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004023e0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [0xb91610], ecx
mov dword [0xb91614], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea eax, [0x44ae00]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.0044d760
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x417118
nop
lea eax, [0xb7e7c0]
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.004385c0
add esp, 0x4c
ret
nop
nop
lea eax, [0x835d60]
mov dword [esp], eax
call fcn.0044d700
jmp 0x417100
movzx eax, byte [0xb91185]
jmp 0x41707b
cmp eax, 2
sete al
jmp 0x417068
mov byte [esp], 0
call fcn.00434a60
jmp 0x41703d
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.00442e20
jmp 0x416fe4
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0xb88d3c]
mov ecx, dword [0xb88d38]
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.00442e20
mov eax, dword [0xb88d38]
add eax, 1
mov ecx, dword [0xb88d3c]
mov dword [0xb88d38], eax
adc ecx, 0
mov dword [0xb88d3c], ecx
jmp 0x416edf
cmp eax, 2
jne 0x41721e
mov eax, 2
jmp 0x416eb0
xor eax, eax
jmp 0x416eb0
cmp eax, 3
sete al
jmp 0x416e96
nop
lea eax, [0xb7e7c0]
mov dword [esp], eax
mov byte [esp + 4], 0
call fcn.004385c0
add esp, 0x4c
ret
call fcn.0041ddb0
cmp dword [esp], 0xffffffff
setne al
jmp 0x416e34
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x417277
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x417277
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 + 4]
mov dword [esp + 0x1c], eax
call fcn.0042a350
lea eax, [0x8169a9]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0042abe0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0042aa30
lea eax, [0x815deb]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0042abe0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042a900
lea eax, [0x817155]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0042abe0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042a900
call fcn.0042a570
call fcn.0042a3c0
lea eax, [0x81b2b1]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00429ac0
ud2
call fcn.0044d880
jmp fcn.00416d80