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

Disassembly:
push 0xffffffffffffffff
push 0x50bd18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
push ebx
mov ebx, dword [esp + 0xfc]
mov dword [esp + 0x14], ecx
push ebp
mov ecx, dword [ebx + 0x10]
push 0
call fcn.0043e340
mov ebp, dword [eax]
mov ecx, dword [ebx + 0x10]
push 1
mov eax, dword [ebp + 8]
mov dword [esp + 0x54], eax
call fcn.0043e340
mov ecx, dword [eax]
mov dword [esp + 8], ecx
mov ecx, ebx
call fcn.004303c0
test eax, eax
mov dword [esp + 0x10], eax
je 0x4489d8
push esi
lea edx, [eax*8]
push edi
push edx
call fcn.004dc4af
add esp, 4
mov ecx, ebx
mov dword [esp + 0x34], eax
push eax
call fcn.00430410
lea eax, [esp + 0x5c]
mov ecx, ebx
push eax
mov dword [esp + 0x6c], 0x3f800000
mov dword [esp + 0x60], 0x3f800000
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
call fcn.0042fd60
mov ecx, 6
lea esi, [esp + 0x5c]
lea edi, [esp + 0xe0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x118]
push ecx
lea ecx, [esp + 0xe4]
call fcn.0042e9f0
mov eax, dword [ebp + 0x5c]
mov ecx, dword [esp + 0x20]
push eax
call fcn.00449440
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x5c]
push edx
mov dword [esp + 0x50], eax
call fcn.0042e6f0
fld dword [esp + 0x3c]
fmul dword [esp + 0x10]
lea ecx, [esp + 0x8c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fmul dword [esp + 0x10]
fstp dword [esp + 0x40]
fld dword [esp + 0x44]
fmul dword [esp + 0x10]
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fmul dword [esp + 0x10]
fstp dword [esp + 0x48]
call fcn.00430a30
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x114]
xor esi, esi
mov dword [esp + 0x90], eax
mov eax, dword [ebx + 0xc]
neg edx
sbb edx, edx
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x110]
mov dword [esp + 0x98], eax
mov eax, dword [ebx + 0x3c]
and edx, 2
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xbc], esi
mov dword [esp + 0x28], esi
mov ecx, dword [eax]
mov eax, dword [esp + 0x18]
cmp eax, esi
mov dword [esp + 0x100], esi
mov edx, dword [ecx - 8]
mov dword [esp + 0x30], edx
jle 0x44898f
mov edx, dword [esp + 0x34]
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
jmp 0x448788
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
cmp edx, eax
jl 0x4487ac
mov edx, dword [ebx + 0x3c]
add ecx, 4
mov dword [esp + 0x38], ecx
mov eax, dword [ecx + edx]
mov edx, dword [eax - 8]
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], edx
mov eax, dword [ebx + 0x3c]
mov edx, dword [ebp]
mov eax, dword [ecx + eax]
lea ecx, [esp + 0x28]
push ecx
push eax
mov ecx, ebp
call dword [edx + 0xc]
mov edi, eax
mov eax, dword [ebp + 8]
cmp eax, 3
je 0x4487e1
cmp dword [ebp + 0x18], esi
jne 0x4487e1
mov edx, dword [ebp]
mov eax, edi
and eax, 0xffff
mov ecx, ebp
push eax
call dword [edx + 0x28]
jmp 0x4487e3
xor eax, eax
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, dword [esp + 0x54]
push ebp
push edi
call fcn.00449f00
cmp eax, esi
mov dword [esp + 0x50], eax
je 0x448975
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
mov eax, 4
mov dword [esp + 0x14], 0
fld dword [edx]
cmp ecx, eax
jne 0x4488ad
mov edx, dword [ebp + 8]
xor ecx, ecx
cmp edx, eax
setne cl
dec ecx
and ecx, ebp
mov esi, ecx
mov eax, dword [esi + 0x88]
test eax, eax
je 0x4488ab
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4488ab
and edi, 0xffff
mov ecx, esi
push edi
fstp st(0)
call fcn.00435cf0
mov edi, eax
lea edx, [esp + 0x26]
lea eax, [esp + 0x2e]
push edx
push eax
push edi
mov ecx, esi
call fcn.00435cc0
movsx ecx, word [esp + 0x2e]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x1c]
fild dword [esp + 0x14]
movsx edx, word [esp + 0x26]
fmul dword [esp + 0x10]
mov dword [esp + 0x14], edx
push edi
mov ecx, esi
fmul dword [0x516020]
fstp dword [esp + 0x58]
fild dword [esp + 0x18]
fmul dword [esp + 0x14]
fmul dword [0x512a58]
fsubr dword [eax]
fstp dword [esp + 0x18]
call fcn.00435d10
fld dword [esp + 0x54]
xor esi, esi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
fstp dword [esp + 0x84]
mov dword [esp + 0x74], ecx
mov edx, ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x78], 0
push ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], edx
mov dword [esp + 0x8c], eax
call fcn.0042e9f0
mov edi, dword [esp + 0x50]
lea edx, [esp + 0x74]
push edx
mov ecx, edi
call fcn.00430980
cmp dword [esp + 0x114], esi
jne 0x448913
cmp dword [esp + 0x110], esi
je 0x44893f
lea ecx, [esp + 0x8c]
mov dword [esp + 0xbc], edi
call fcn.00430b90
mov eax, dword [esp + 0x118]
lea ecx, [esp + 0x8c]
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00449240
cmp dword [esp + 0x10c], esi
je 0x44895c
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
mov edx, dword [esp + 0x118]
push edx
push edi
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [edi + 0x10]
dec eax
mov dword [edi + 0x10], eax
jne 0x448975
mov ecx, edi
call fcn.00430740
push edi
call fcn.004dc4d8
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add ecx, 8
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jne 0x448784
mov eax, dword [esp + 0x34]
mov dword [esp + 0x90], esi
push eax
mov dword [esp + 0xa4], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xc0], esi
call fcn.004dc4d8
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0x100], 0xffffffff
call fcn.00430a90
pop edi
pop esi
mov ecx, dword [esp + 0xf0]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xf4
ret 0x14