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

Disassembly:
mov ecx, dword [0x1188680]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x450329
sub esp, 0x48
mov edx, dword [0x1188680]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov ebx, dword [edx + 0x18]
cmp dword [ebx], edx
jne 0x450312
mov edx, dword [esp + 0x4c]
lea ebp, [edx - 1]
test edx, ebp
jne 0x4502fc
mov ebp, dword [0x1188f50]
test ebp, ebp
jne 0x450072
cmp edx, 0x8000
jae 0x450067
mov eax, edx
xor ecx, ecx
jmp 0x450216
mov eax, edx
shr edx, 0xd
mov ecx, edx
xor ebx, ebx
jmp 0x4500c9
mov eax, dword [0x1188488]
lea ecx, [edx + eax - 1]
neg eax
and ecx, eax
mov dword [esp + 0x18], ecx
mov dword [esp], ecx
lea eax, [0x118e4d0]
mov dword [esp + 4], eax
call fcn.00412260
mov eax, dword [esp + 8]
test eax, eax
je 0x4500b0
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x54], eax
add esp, 0x48
ret
lea eax, [0xb1500c]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
call fcn.0046dfe0
shr edx, 1
inc ebx
cmp edx, 1
ja 0x4500c6
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], ebx
nop
nop
lea eax, [0x1189220]
mov dword [esp], eax
call fcn.0040a920
mov eax, dword [esp + 0x24]
cmp eax, 0x13
jae 0x450209
lea ecx, [0x1189224]
lea edx, [ecx + eax*8]
mov edx, dword [edx]
lea eax, [ecx + eax*8]
test edx, edx
jne 0x450109
xor eax, eax
jmp 0x45011d
mov dword [esp + 0x30], edx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00429110
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
nop
nop
lea ecx, [0x1189220]
mov dword [esp], ecx
call fcn.0040ab40
mov eax, dword [esp + 0x20]
test eax, eax
je 0x45013f
mov ecx, dword [esp + 0x4c]
jmp 0x45016d
lea eax, [0x1170460]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.00427b10
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4501f3
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x44], ecx
mov eax, dword [eax + 0xc]
nop
movzx edx, byte [0x116a311]
test dl, dl
je 0x4501e5
mov dword [esp + 0x3c], eax
movzx edx, byte [0x116a310]
test dl, dl
jne 0x450191
xor edx, edx
xor ebx, ebx
jmp 0x4501a9
call fcn.0045f320
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
test edx, edx
je 0x4501e5
mov dword [esp + 0x14], edx
mov dword [esp + 0x38], ebx
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004595e0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call fcn.0045f390
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
add eax, ecx
mov dword [esp + 0x54], eax
add esp, 0x48
ret
lea eax, [0xb06f8e]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.0046dfe0
mov ecx, 0x13
call fcn.00474d10
inc ecx
shr edx, 1
cmp edx, 0x1000
ja 0x450213
mov edx, dword [ebx + 0x58]
test edx, edx
je 0x45022c
mov ebx, dword [ebx + 0x78]
test ebx, ebx
je 0x450280
movzx edx, cl
cmp edx, 3
jae 0x4502f0
mov byte [esp + 0x13], cl
shl edx, 6
lea eax, [0x1189380]
add eax, edx
mov dword [esp + 0x40], eax
nop
mov dword [esp], eax
call fcn.0040a920
movzx eax, byte [esp + 0x13]
mov byte [esp], al
call fcn.0044fac0
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
nop
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
call fcn.0040ab40
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
jmp 0x4502db
movzx ebx, cl
cmp ebx, 3
jae 0x4502e4
mov edx, dword [edx + 0x30]
test byte [edx], al
lea ebp, [edx + ebx*8 + 0x234]
mov esi, dword [ebp]
mov edi, esi
test esi, esi
jne 0x4502cb
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x44], ebp
mov dword [esp], edx
mov byte [esp + 4], cl
call fcn.0044fd80
mov eax, dword [esp + 0x44]
mov esi, dword [eax]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, eax
mov edi, esi
mov eax, dword [esp + 0x4c]
lea ecx, [edx + ebx*8 + 0x238]
mov edx, edi
mov ebx, dword [edi]
mov dword [ebp], ebx
sub dword [ecx], eax
mov ecx, eax
mov eax, edx
jmp 0x450171
mov eax, ebx
mov ecx, 3
call fcn.00474d10
mov eax, edx
mov ecx, 3
call fcn.00474d10
lea eax, [0xb16555]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.0046dfe0
lea eax, [0xb1f047]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.0046dfe0
nop
call fcn.00470300
jmp fcn.00450010