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

Disassembly:
push 0xffffffffffffffff
push 0x510429
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov ebx, dword [esp + 0x230]
push 0
push ecx
add ebx, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push ebx
mov dword [esp + 0x22c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], ebx
call fcn.00401a40
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
call fcn.0044ffa0
mov ecx, dword [esp + 0x22c]
test cl, 2
je 0x450b0d
fild dword [esp + 0x20]
fsubr dword [esp + 0x14]
fstp dword [esp + 0x14]
test cl, 1
je 0x450b2b
mov eax, dword [esp + 0x20]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fsubr dword [esp + 0x14]
fstp dword [esp + 0x14]
test cl, 4
je 0x450b4b
mov eax, dword [ebp + 0x80]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
test cl, 8
je 0x450b5e
fild dword [ebp + 0x80]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
test ecx, 0x20000
je 0x450b74
fild dword [ebp + 0x84]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
lea ecx, [esp + 0x48]
call fcn.004947e0
mov esi, dword [esp + 0x228]
mov byte [esp + 0x91], 1
add esi, 0x134
mov ecx, 0x10
lea edi, [esp + 0x138]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x48]
mov byte [esp + 0x220], 1
call dword [edx + 0x54]
mov eax, dword [esp + 0x228]
mov ecx, dword [eax + 0x78]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc8], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xd0], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0xcc], eax
call dword [edx + 0x54]
mov al, byte [ebp + 0x90]
test al, al
je 0x450d77
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x868]
mov al, byte [ecx + 0x2f]
test al, al
je 0x450d77
test dword [esp + 0x22c], 0x10000
jne 0x450d77
mov esi, dword [esp + 0x230]
mov eax, dword [esi - 0xc]
cmp eax, 4
jl 0x450d77
cmp dword [esp + 0x20], 0x100
jl 0x450d2b
cdq
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x238]
call fcn.0041f7e0
mov ecx, dword [esi - 0xc]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x238]
mov byte [esp + 0x228], 2
call fcn.004501e0
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x228], 3
call fcn.00401da0
push 0
lea eax, [esp + 0x50]
push eax
mov ecx, ebp
call fcn.00450a80
push 1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00401da0
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
call fcn.0044ffa0
fild dword [eax]
mov eax, dword [esp + 0x18]
sub esp, 0xc
fadd dword [esp + 0x20]
mov ecx, esp
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov dword [ecx], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
lea ecx, [esp + 0x54]
call fcn.004012c0
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.00401da0
push 0
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
call fcn.00450a80
lea ecx, [esp + 0x28]
call fcn.00401d50
lea ecx, [esp + 0x10]
call fcn.00401d50
jmp 0x450e34
push ecx
lea edx, [esp + 0x234]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00401da0
lea eax, [esp + 0x4c]
push eax
mov ecx, ebp
call fcn.00450050
push ecx
lea edx, [esp + 0x234]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00401da0
mov ecx, ebp
call fcn.00450860
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
call fcn.004518f0
jmp 0x450e34
push ecx
mov dword [esp + 0x24], esp
mov esi, esp
push ebx
call fcn.00401a40
add esp, 4
lea edx, [esp + 0x4c]
add eax, 0x10
push edx
mov ecx, ebp
mov dword [esi], eax
call fcn.00450050
mov eax, dword [esp + 0x230]
mov ecx, dword [eax - 0xc]
xor ebx, ebx
test ecx, ecx
jle 0x450e30
lea esp, [esp]
mov ecx, dword [esp + 0x230]
mov al, byte [ebx + ecx]
mov byte [esp + 0x10], al
movzx eax, al
lea edx, [eax + eax*4]
lea esi, [ebp + edx*4 + 0x94]
mov ecx, 5
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x450dfa
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
push eax
lea ecx, [esp + 0x58]
call fcn.00495210
lea ecx, [esp + 0x48]
call fcn.00494a80
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, ebp
call fcn.0044fe20
mov ecx, dword [eax]
add ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x230]
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
inc ebx
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
mov eax, dword [edx - 0xc]
cmp ebx, eax
jl 0x450db0
mov ebx, dword [esp + 0x28]
lea ecx, [esp + 0x48]
mov byte [esp + 0x220], 0
call fcn.00494a10
mov dword [esp + 0x220], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x450e67
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x214
ret 0xc