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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x414c0e
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 0x414b35
mov edx, dword [ecx + 0x78]
cmp edx, 1
jg 0x414b35
mov ebx, dword [ecx + 0x74]
test ebx, ebx
jne 0x414b35
nop
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x414631
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x414631
mov dword [eax + 8], 0xfffffade
jmp 0x414631
inc dword [0x7e04bc]
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
call fcn.00414490
movzx eax, byte [esp + 0x10]
test al, al
jne 0x414b24
xor eax, eax
test al, al
jne 0x41462b
nop
lea eax, [0x7fd2dc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043d780
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
call fcn.00414490
movzx eax, byte [esp + 0x10]
test al, al
je 0x414b04
mov eax, dword [esp + 0x54]
cmp eax, 2
sete al
mov byte [0x7fd2f0], al
mov eax, dword [0x7fccb8]
cmp eax, 1
jne 0x414aee
mov eax, 1
mov dword [esp + 0x14], eax
lea ecx, [0x4f8054]
mov dword [esp], ecx
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043d780
nop
lea eax, [0x4f8074]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0043d780
movzx eax, byte [0x7e8da8]
test al, al
jne 0x414a7d
mov eax, dword [0x7e03f0]
mov dword [esp + 0x44], eax
mov ecx, dword [0x7e03f4]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x414762
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
jle 0x414797
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, 0x24c
mov dword [esp], ebx
call fcn.00402430
mov eax, dword [esp + 4]
mov ecx, dword [0x7e482c]
cmp eax, ecx
je 0x414753
jmp 0x414b57
call fcn.00415fc0
lea eax, [0x515810]
mov dword [esp], eax
call fcn.004534b0
mov eax, dword [0x7fca6c]
mov dword [0x7fd31c], eax
mov dword [0x7fd320], eax
mov ecx, dword [0x7fca80]
cmp eax, ecx
jle 0x4147cc
mov dword [0x7fd31c], ecx
lea eax, [0x7ff9d8]
mov dword [esp], eax
call fcn.00402610
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x7fd358], eax
mov dword [0x7fd354], ecx
mov dword [0x7fd344], 0
mov dword [0x7fd348], 0
mov eax, dword [esp + 0x14]
mov dword [0x7fd2ec], eax
call fcn.00455b00
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [0x7fd328], eax
mov dword [0x7fd324], ecx
mov dword [0x7fd350], eax
mov dword [0x7fd34c], ecx
movzx eax, byte [0x7e8da8]
test al, al
jne 0x414a2e
lea eax, [0x5158c0]
mov dword [esp], eax
call fcn.004534b0
lea eax, [0x515814]
mov dword [esp], eax
call fcn.004534b0
call fcn.00416e80
inc dword [0x7fd318]
lea eax, [0x7fd040]
mov dword [esp], eax
call fcn.00412c80
mov eax, dword [0x7fe428]
mov ecx, dword [0x7fe42c]
mov dword [0x7fd36c], eax
mov dword [0x7fd370], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x414a20
nop
lea eax, [0x7fca68]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004025f0
mov eax, dword [0x7fca68]
cmp eax, 1
jne 0x414a15
mov eax, 1
mov byte [0x7fcb94], al
test al, al
je 0x414a09
mov eax, 1
mov byte [0x7fcb90], al
nop
mov dword [0x7fd2b8], 0xffffffff
mov dword [0x7fd2c4], 0xffffffff
call fcn.004174c0
call fcn.0041af60
lea eax, [0x7fca5c]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004025f0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [0x7fd070], eax
mov dword [0x7fd074], 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, [0x44f320]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.004534b0
nop
lea eax, [0x4f8074]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043da90
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 0x414a01
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x4149f9
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4149e8
lea eax, [0x7fd2dc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043da90
add esp, 0x50
ret
nop
lea eax, [0x515828]
mov dword [esp], eax
call fcn.00453450
jmp 0x4149c9
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x4149c7
mov eax, dword [esp + 0x14]
test eax, eax
jmp 0x4149c7
movzx eax, byte [0x7fcb95]
jmp 0x4148de
cmp eax, 2
sete al
jmp 0x4148cb
mov byte [esp], 0
call fcn.0043b330
jmp 0x4148a0
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.00447410
jmp 0x414847
nop
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x7e8dd8]
mov ecx, dword [0x7e8ddc]
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.00447410
mov eax, dword [0x7e8dd8]
add eax, 1
mov ecx, dword [0x7e8ddc]
mov dword [0x7e8dd8], eax
adc ecx, 0
mov dword [0x7e8ddc], ecx
jmp 0x41473b
cmp eax, 2
jne 0x414afd
mov eax, 2
jmp 0x4146e1
xor eax, eax
jmp 0x4146e1
nop
lea eax, [0x7fd2dc]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0043da90
add esp, 0x50
ret
call fcn.0041d3f0
cmp dword [esp], 0xffffffff
setne al
jmp 0x414664
nop
mov edx, dword [ecx + 0x78]
lea ebx, [edx - 1]
mov dword [ecx + 0x78], ebx
cmp edx, 1
jne 0x414b53
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x414b53
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.0042f920
lea eax, [0x50ee47]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00430220
mov eax, dword [esp + 0x1c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00430030
lea eax, [0x50e9f6]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00430220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0042fec0
lea eax, [0x50f17c]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00430220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.0042fec0
call fcn.0042fb40
call fcn.0042f990
lea eax, [0x510996]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.0042e560
nop
call fcn.004535d0
jmp fcn.004145b0