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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41662b
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 0x416554
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x416554
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x416554
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x416051
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416051
mov dword [eax + 8], 0xfffffade
jmp 0x416051
inc dword [0x78036c]
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.00415ea0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x416543
xor eax, eax
test al, al
jne 0x41604b
nop
lea eax, [0x796360]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043fd70
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.00415ea0
movzx eax, byte [esp + 0x10]
test al, al
je 0x416523
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0x796374], al
mov eax, dword [0x795c3c]
cmp eax, 1
jne 0x41650d
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0x67e128]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043fd70
nop
lea eax, [0x67e148]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043fd70
movzx eax, byte [0x78d748]
test al, al
jne 0x41649c
mov eax, dword [0x7800e8]
mov dword [esp + 0x44], eax
mov ecx, dword [0x7800ec]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x416182
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
jle 0x4161b7
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 [0x786eec]
cmp eax, ecx
je 0x416173
jmp 0x416576
call fcn.00417880
lea eax, [0x59cb30]
mov dword [esp], eax
call fcn.00458a80
mov eax, dword [0x7958b0]
mov dword [0x7963a0], eax
mov dword [0x7963a4], eax
mov ecx, dword [0x7958c4]
cmp eax, ecx
jle 0x4161ec
mov dword [0x7963a0], ecx
lea eax, [0x798a40]
mov dword [esp], eax
call fcn.00402100
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [0x7963d8], eax
mov dword [0x7963dc], ecx
mov dword [0x7963c8], 0
mov dword [0x7963cc], 0
mov eax, dword [esp + 0x14]
mov dword [0x796370], eax
call fcn.0045b0d0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [0x7963a8], eax
mov dword [0x7963ac], ecx
mov dword [0x7963d0], eax
mov dword [0x7963d4], ecx
movzx eax, byte [0x78d748]
test al, al
jne 0x41644e
lea eax, [0x59cc18]
mov dword [esp], eax
call fcn.00458a80
lea eax, [0x59cb34]
mov dword [esp], eax
call fcn.00458a80
call fcn.004186f0
inc dword [0x79639c]
lea eax, [0x795fc0]
mov dword [esp], eax
call fcn.00414810
mov eax, dword [0x7974a8]
mov ecx, dword [0x7974ac]
mov dword [0x7963f0], eax
mov dword [0x7963f4], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x416440
nop
lea eax, [0x7958ac]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020e0
mov eax, dword [0x7958ac]
cmp eax, 1
jne 0x416435
mov eax, 1
mov byte [0x795b04], al
test al, al
je 0x416429
mov eax, 1
mov byte [0x795b00], al
nop
mov dword [0x796338], 0xffffffff
mov dword [0x796344], 0xffffffff
call fcn.00418b60
call fcn.0041c770
lea eax, [0x7958a0]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0x795ff0], eax
mov dword [0x795ff4], 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, [0x4528a0]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.00458a80
nop
lea eax, [0x67e148]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00440080
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 0x416421
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416419
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x416408
lea eax, [0x796360]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00440080
add esp, 0x50
ret
nop
lea eax, [0x59cb48]
mov dword [esp], eax
call fcn.00458a20
jmp 0x4163e9
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x4163e7
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x4163e7
movzx eax, byte [0x795b05]
jmp 0x4162fe
cmp eax, 2
sete al
jmp 0x4162eb
mov byte [esp], 0
call fcn.0043cae0
jmp 0x4162c0
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.0044a9f0
jmp 0x416267
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x78d778]
mov ecx, dword [0x78d77c]
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.0044a9f0
mov eax, dword [0x78d778]
add eax, 1
mov ecx, dword [0x78d77c]
mov dword [0x78d778], eax
adc ecx, 0
mov dword [0x78d77c], ecx
jmp 0x41615b
cmp eax, 2
jne 0x41651c
mov eax, 2
jmp 0x416101
xor eax, eax
jmp 0x416101
nop
lea eax, [0x796360]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00440080
add esp, 0x50
ret
call fcn.0041ed70
cmp dword [esp], 0xffffffff
setne al
jmp 0x416084
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x416572
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x416572
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.00431790
lea eax, [0x57bd82]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00432030
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.00431e60
lea eax, [0x57ae64]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00432030
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00431d30
lea eax, [0x57c7cf]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00432030
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00431d30
call fcn.004319b0
call fcn.00431800
lea eax, [0x580dde]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00430080
nop
call fcn.00458ba0
jmp fcn.00415fd0