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

Disassembly:
sub esp, 0x88
fld dword [esp + 0x90]
push ebx
fadd qword [0x5826f0]
push ebp
push esi
push edi
call fcn.005383c0
mov edi, dword [esp + 0xa8]
mov ebx, eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb0]
sub eax, edi
lea ecx, [ebx + ebx]
cmp ecx, eax
mov dword [esp + 0x38], eax
jle 0x47aec8
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0xb4]
mov esi, dword [esp + 0xac]
sub eax, esi
lea edx, [ebx + ebx]
cmp edx, eax
mov dword [esp + 0x5c], eax
jle 0x47aeee
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov dword [esp + 0x10], ebx
lea eax, [ebx + ebx]
xor ebp, ebp
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x70], ebp
mov word [esp + 0x84], 1
mov word [esp + 0x86], bp
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x94], ebp
mov dword [esp + 0x80], ebp
call fcn.00458300
or ecx, 0xffffffff
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
or edx, ecx
mov dword [eax + 4], edx
or ecx, ecx
mov dword [eax + 8], ecx
or ecx, 0xffffffff
mov dword [eax + 0xc], ecx
lea eax, [esp + 0x80]
push eax
call fcn.004585a0
fild dword [esp + 0x10]
or ecx, 0xffffffff
sub esp, 0x10
fstp dword [esp + 0x34]
mov eax, esp
fld dword [esp + 0x34]
mov dword [eax], ecx
fst dword [esp + 0x38]
or edx, ecx
fstp dword [esp + 0x3c]
mov dword [eax + 4], edx
fild dword [esp + 0x20]
or ecx, ecx
mov dword [eax + 8], ecx
or ecx, 0xffffffff
fadd qword [0x54cdc8]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0xb4]
push ecx
fstp dword [esp + 0x38]
push ecx
fld dword [esp + 0x3c]
lea edx, [esp + 0x88]
fstp dword [esp]
push edx
lea eax, [esp + 0x44]
call fcn.0047b310
add esp, 0x1c
xor eax, eax
lea ecx, [esi + ebx]
mov dword [esp + 0x10], eax
lea ebp, [edi + ebx]
mov dword [esp + 0x24], ecx
jmp 0x47afe4
mov eax, dword [esp + 0x10]
cmp eax, 1
mov ecx, dword [esp + 0x24]
mov edx, ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], edi
mov ecx, esi
je 0x47b00a
cmp eax, 3
jne 0x47b034
mov edx, dword [esp + 0xb0]
sub edx, dword [esp + 0x78]
mov eax, dword [esp + 0x38]
sub eax, ebx
mov dword [esp + 0x28], edx
lea edx, [eax + edi]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x1c]
add edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
cmp eax, 1
je 0x47b03e
cmp eax, 2
jne 0x47b05e
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0xb4]
sub ecx, dword [esp + 0x7c]
sub eax, ebx
add dword [esp + 0x20], eax
lea edx, [eax + esi]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x8c], ecx
or ecx, 0xffffffff
cmp eax, ecx
jne 0x47b099
cmp dword [esp + 0xc0], ecx
jne 0x47b099
cmp dword [esp + 0xc4], ecx
jne 0x47b099
cmp dword [esp + 0xbc], ecx
je 0x47b0d2
cmp dword [esp + 0x14], eax
jge 0x47b0a3
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xbc]
cmp dword [esp + 0x18], eax
jge 0x47b0b4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc0]
cmp edx, eax
jle 0x47b0c1
mov edx, eax
mov eax, dword [esp + 0xc4]
cmp dword [esp + 0x20], eax
jle 0x47b0d2
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x14]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xac]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x80]
push eax
push ecx
call fcn.00459a20
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, 4
mov dword [esp + 0x10], eax
jb 0x47afe0
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x38]
invalid