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

Disassembly:
push 0xffffffffffffffff
push 0x5c5db4
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x70a108]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a108]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd0]
push eax
lea ecx, [esp + 0x38]
call fcn.0042d290
xor ebx, ebx
mov dword [esp + 0xc0], ebx
cmp dword [esp + 0x48], ebx
jbe 0x4fa456
mov ebp, dword [esp + 0xcc]
xor esi, esi
cmp esi, dword [esp + 0x48]
jae 0x4fa456
push 1
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x20], 0x7c
call fcn.0042c5c0
mov esi, eax
cmp esi, ebx
jl 0x4fa456
push 2
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x5c]
push edx
lea ecx, [esp + 0x40]
call fcn.0042d260
push esi
push ebx
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xcc], 1
call fcn.0042d260
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
mov byte [esp + 0xc0], 2
jae 0x4fa285
lea eax, [esp + 0x58]
push eax
call fcn.00587dd0
mov edi, eax
add esp, 4
cmp edi, 0x37
ja 0x4fa346
lea ecx, [esp + 0x94]
call fcn.00430640
fld dword [0x5df490]
mov eax, dword [esp + 0x88]
fst dword [esp + 0x30]
lea ecx, [ebp - 2]
fstp dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
lea edx, [eax + eax*2]
add edx, edx
mov dword [esp + 0x18], edx
fstp dword [esp + 0x28]
mov byte [esp + 0xc0], 3
fild dword [esp + 0x18]
jns 0x4fa2e6
fadd dword [0x5cf690]
fild dword [esp + 0xc8]
push ebx
lea eax, [esp + 0x98]
push eax
fadd qword [0x5df488]
add edi, 0x94
push edi
mov ecx, 0x7197e8
faddp st(1)
fstp dword [esp + 0x30]
call fcn.00435b40
fldz
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
push ecx
push ecx
fstp dword [esp]
push ebx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0xa8]
call fcn.00430660
lea ecx, [esp + 0x94]
mov byte [esp + 0xc0], 2
call fcn.00430650
mov edi, 0x10
add esi, 2
cmp dword [esp + 0x8c], edi
jb 0x4fa364
mov eax, dword [esp + 0x78]
push eax
call fcn.00586e00
add esp, 4
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov byte [esp + 0xc0], 4
cmp dword [esp + 0x74], ebx
je 0x4fa3c2
push 3
lea ecx, [esp + 0x20]
call fcn.00585060
mov eax, dword [esp + 0x74]
cmp dword [eax + 4], ebx
je 0x4fa3b2
lea esp, [esp]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
cmp ecx, ebx
jne 0x4fa3a0
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x1c]
mov dword [edx + 4], ebx
call fcn.005850a0
mov eax, dword [esp + 0x74]
push eax
call fcn.00586e00
add esp, 4
mov dword [esp + 0x74], ebx
cmp dword [esp + 0x6c], edi
jb 0x4fa3e6
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00586e00
add esp, 4
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], bl
mov byte [esp + 0xc0], 5
cmp dword [esp + 0x54], ebx
je 0x4fa43a
push 3
lea ecx, [esp + 0x24]
call fcn.00585060
mov eax, dword [esp + 0x54]
cmp dword [eax + 4], ebx
je 0x4fa42a
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
cmp edx, ebx
jne 0x4fa418
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x20]
mov dword [eax + 4], ebx
call fcn.005850a0
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00586e00
add esp, 4
mov byte [esp + 0xc0], bl
cmp esi, ebx
jge 0x4fa218
cmp dword [esp + 0x4c], 0x10
jb 0x4fa46a
mov edx, dword [esp + 0x38]
push edx
call fcn.00586e00
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
lea ecx, [esp + 0x34]
mov dword [esp + 0xc0], 6
call fcn.0040a380
mov eax, dword [esp + 0x34]
push eax
call fcn.00586e00
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], ebx
mov dword [esp + 0xc0], 0xffffffff
call fcn.0040a380
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00586d40
add esp, 0xb0
ret 0xc