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

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x3c]
add eax, eax
push edi
push eax
call fcn.0040eca0
mov ecx, dword [esp + 0x70]
fld dword [ecx + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x11c]
fstp dword [esp + 0x54]
shl eax, 4
push eax
call fcn.0040eca0
fldz
xor ecx, ecx
add esp, 8
xor ebx, ebx
cmp dword [esi + 0x11c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
jbe 0x54f14d
mov edi, dword [esp + 0x68]
mov dword [esp + 0x10], eax
test ebx, ebx
jne 0x54f020
mov eax, dword [edi + 0xc]
jmp 0x54f02c
cmp dword [edi], 0
jne 0x54f048
mov edx, dword [edi + 8]
lea eax, [edx + ebx - 1]
mov ecx, dword [edi + 4]
cmp eax, dword [ecx + 0x1c]
jae 0x54f041
lea eax, [eax + eax*8]
shl eax, 4
add eax, dword [ecx + 0x24]
mov al, byte [eax]
jmp 0x54f05a
mov eax, dword [ecx + 0x24]
mov al, byte [eax]
jmp 0x54f05a
mov ecx, dword [0x1aeac30]
lea eax, [ebx*8]
sub eax, ebx
mov al, byte [ecx + eax*8]
test al, al
je 0x54f13a
mov eax, dword [esi + 0x124]
mov edx, dword [esi + 0x124]
lea ecx, [ebx + ebx*4]
add ecx, ecx
add ecx, ecx
movzx ebp, word [eax + ecx + 0xe]
add ebp, dword [eax + ecx + 8]
mov edx, dword [ecx + edx + 8]
add eax, ecx
cmp edx, ebp
jae 0x54f104
mov ebp, dword [esp + 0x70]
mov eax, dword [esi + 0x130]
movzx edi, word [eax + edx*2]
mov eax, edi
and eax, 0xffff7fff
cmp eax, dword [esi + 0x3c]
jl 0x54f0a7
mov eax, dword [esi + 0x44]
jmp 0x54f0ad
shl eax, 4
add eax, dword [esi + 0x44]
fld dword [eax + 4]
fmul dword [ebp + 4]
fld dword [ebp]
fmul dword [eax]
faddp st(1)
fld dword [eax + 8]
fmul dword [ebp + 8]
faddp st(1)
fadd dword [eax + 0xc]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 1
mov eax, dword [esp + 0x14]
jne 0x54f0e2
mov word [eax + edi*2], 0x8000
jmp 0x54f0e8
mov word [eax + edi*2], 0
mov eax, dword [esi + 0x124]
movzx edi, word [eax + ecx + 0xe]
add edi, dword [eax + ecx + 8]
add eax, ecx
add edx, 1
cmp edx, edi
jb 0x54f08c
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x10]
add dword [esp + 0x18], 1
mov ebp, dword [esi + 0x13c]
mov eax, edx
add edx, 8
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x124]
mov edx, dword [ecx + edx + 4]
lea edx, [ebp + edx*2]
mov dword [eax], edx
mov edx, dword [esi + 0x124]
movzx ecx, word [ecx + edx + 0xc]
mov dword [eax + 4], ecx
add ebx, 1
cmp ebx, dword [esi + 0x11c]
jb 0x54f017
mov ecx, dword [esp + 0x18]
xor eax, eax
fstp st(0)
cmp ecx, 1
mov dword [esp + 0x68], ecx
jbe 0x54f1e9
mov edi, edi
mov edx, dword [esp + 0x68]
lea ecx, [eax + 1]
cmp ecx, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
jae 0x54f1d2
mov edi, dword [esp + 0x20]
lea ebx, [edi + edx*8]
mov dword [esp + 0x1c], ecx
lea edi, [edi + eax*8 + 8]
mov eax, dword [esi + 0xf8]
add dword [esp + 0x10], 1
add eax, eax
mov ebp, ebx
push eax
add ebx, 8
call fcn.0040eca0
mov dword [ebp], eax
mov ecx, dword [edi + 4]
mov edx, dword [edi]
add ebp, 4
push ebp
push eax
mov eax, dword [edi - 4]
push ecx
mov ecx, dword [edi - 8]
push edx
push eax
push ecx
call fcn.0054d1e0
mov eax, dword [esp + 0x38]
add dword [esp + 0x34], 2
add eax, 2
add esp, 0x1c
add edi, 0x10
cmp eax, dword [esp + 0x68]
mov dword [esp + 0x1c], eax
jb 0x54f182
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], ecx
sub ecx, eax
cmp ecx, 1
ja 0x54f160
mov edx, dword [esi + 0x11c]
add edx, edx
cmp eax, edx
jae 0x54fd30
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 4]
mov edi, dword [esp + 0x70]
push edi
lea ecx, [esp + 0x40]
lea ebx, [esi + 0x14]
push ecx
mov ecx, ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
call fcn.00437a30
fld dword [esp + 0x3c]
fsub dword [edi]
fstp dword [esp + 0x24]
fld dword [esp + 0x40]
fsub dword [edi + 4]
fstp dword [esp + 0x28]
fld dword [esp + 0x44]
fsub dword [edi + 8]
mov edi, dword [esp + 0x80]
fstp dword [esp + 0x2c]
fld dword [esp + 0x24]
fmul dword [edi]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul dword [edi + 4]
fstp dword [esp + 0x28]
fld dword [edi + 8]
fmul dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x28]
fld dword [esp + 0x24]
fld dword [esp + 0x2c]
fld st(2)
fmulp st(3)
fld st(1)
fmulp st(2)
fxch st(2)
faddp st(1)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
call fcn.0074c5a0
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fstp dword [esp + 0x70]
fldz
fcomp dword [esp + 0x70]
fnstsw ax
test ah, 0x44
jnp 0x54f2c6
fld dword [esp + 0x24]
lea edx, [esp + 0x54]
fstp dword [esp + 0x54]
push edx
fld dword [esp + 0x2c]
fstp dword [esp + 0x5c]
fld dword [esp + 0x30]
jmp 0x54f2df
mov eax, dword [esp + 0x74]
fld dword [eax]
fstp dword [esp + 0x54]
fld dword [eax + 4]
fstp dword [esp + 0x58]
fld dword [eax + 8]
lea eax, [esp + 0x54]
push eax
fstp dword [esp + 0x60]
call dword [0x97e20c]
fld dword [esp + 0x44]
add esp, 4
fld dword [esp + 0x58]
mov ecx, 1
fld st(0)
lea eax, [esp + 0x2c]
fmulp st(2)
fld dword [esp + 0x3c]
fld dword [esp + 0x54]
fld st(0)
fmulp st(2)
fxch st(3)
faddp st(1)
fld dword [esp + 0x44]
fld dword [esp + 0x5c]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fchs
fstp dword [esp + 0x60]
fld dword [edi]
fdivp st(3)
fxch st(2)
fstp dword [esp + 0x54]
fdiv dword [edi + 4]
fstp dword [esp + 0x58]
fdiv dword [edi + 8]
fstp dword [esp + 0x5c]
fld dword [0x798570]
fstp dword [esp + 0x68]
fldz
fst dword [eax - 8]
add eax, 0xc
sub ecx, 1
fst dword [eax - 0x10]
fst dword [eax - 0xc]
jns 0x54f34b
mov ecx, dword [ebx]
fstp st(0)
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x28], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
xor ebx, ebx
test bl, 1
je 0x54f39c
fld dword [esp + 0x24]
jmp 0x54f3a0
fld dword [esp + 0x30]
test bl, 2
fstp dword [esp + 0x3c]
je 0x54f3af
fld dword [esp + 0x28]
jmp 0x54f3b3
fld dword [esp + 0x34]
test bl, 4
fstp dword [esp + 0x40]
je 0x54f3c2
fld dword [esp + 0x2c]
jmp 0x54f3c6
fld dword [esp + 0x38]
fstp dword [esp + 0x44]
sub esp, 8
fld dword [edi]
mov ecx, ebp
fld dword [esp + 0x44]
fld st(0)
fmulp st(2)
fld dword [edi + 4]
fld dword [esp + 0x48]
fld st(0)
fmulp st(2)
fxch st(3)
faddp st(1)
fld dword [edi + 8]
fld dword [esp + 0x4c]
fld st(0)
fmulp st(2)
fxch st(2)
faddp st(1)
fstp dword [esp + 0x88]
fld dword [esp + 0x60]
fmulp st(3)
fld dword [esp + 0x5c]
fmulp st(2)
fxch st(2)
faddp st(1)
fld dword [esp + 0x64]
fmulp st(2)
faddp st(1)
fadd dword [esp + 0x68]
fstp dword [esp + 0x7c]
fld dword [esp + 0x88]
fadd dword [esp + 0x84]
fsub dword [esp + 0x58]
fstp dword [esp + 0x88]
fld dword [esp + 0x88]
fstp dword [esp + 4]
fld dword [esp + 0x7c]
fabs
fstp dword [esp + 0x88]
fld dword [esp + 0x88]
fadd dword [esp + 0x78]
fstp dword [esp + 0x88]
fld dword [esp + 0x88]
fstp dword [esp]
call fcn.00585dc0
fstp dword [esp + 0x80]
fld dword [esp + 0x80]
fld dword [esp + 0x68]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x54f491
fstp dword [esp + 0x68]
jmp 0x54f493
fstp st(0)
add ebx, 1
cmp ebx, 8
jb 0x54f391
fld dword [esp + 0x68]
mov byte [0x1aeab6f], 0
fcomp qword [0x88df20]
fnstsw ax
test ah, 5
jnp 0x54f4be
mov byte [0x1aeab6f], 1
mov eax, dword [esi + 0x48]
push eax
call fcn.0040eca0
mov ecx, dword [esi + 0x48]
push ecx
xor ebp, ebp
mov ebx, eax
push ebp
push ebx
call fcn.0074d440
mov eax, dword [esi + 0xf8]
lea edx, [eax*4]
push edx
call fcn.0040eca0
mov dword [0x1aeab70], eax
mov eax, dword [esi + 0xf8]
add eax, eax
add eax, eax
push eax
call fcn.0040eca0
mov dword [0x1aeab78], eax
mov eax, dword [esi + 0xf8]
lea ecx, [eax*4]
push ecx
call fcn.0040eca0
mov dword [0x1aeab80], eax
mov eax, dword [esi + 0x48]
lea edx, [eax*8]
push edx
call fcn.0040eca0
add esp, 0x20
cmp byte [0xab77ca], 0
mov dword [0x1aeab88], eax
mov dword [0x1aeab74], ebp
mov dword [0x1aeab7c], ebp
mov dword [0x1aeab84], ebp
je 0x54f56c
cmp byte [0xab781b], 0
jne 0x54f56c
cmp byte [0x97b640], 0
je 0x54f56c
cmp dword [esi + 0xc4], ebp
je 0x54f56c
mov al, 1
jmp 0x54f56e
xor al, al
cmp byte [0x1aeab6f], 0
je 0x54fc0f
cmp byte [0xab77d1], 0
je 0x54f8de
cmp byte [0xab781c], 0
jne 0x54f8de
cmp byte [0x1aeab6e], 0
jne 0x54f8de
test al, al
je 0x54f760
xor eax, eax
cmp dword [esp + 0x10], ebp
mov dword [esp + 0x68], eax
jbe 0x54fd30
lea ebx, [ebx]
mov ecx, dword [esp + 0x18]
movzx eax, word [ecx + eax*2]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x80], eax
movzx eax, ax
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esi + 0x100]
lea ecx, [eax + edx*4]
movzx eax, word [ecx + 4]
mov edx, eax
and edx, 0x7fff
mov dx, word [ebp + edx*2]
xor dx, ax
test dx, dx
mov dword [esp + 0x20], ecx
jns 0x54f741
mov eax, dword [0x1aeab70]
mov dx, word [esp + 0x80]
mov ebp, dword [0x1aeab74]
mov word [eax + ebp*2], dx
add dword [0x1aeab74], 1
movzx eax, word [ecx + 6]
mov edx, dword [esi + 0xb4]
cmp dword [edx + eax*4], 0
je 0x54f65b
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x18]
mov ax, word [eax + edx*2]
mov edx, dword [0x1aeab7c]
mov ebp, dword [0x1aeab78]
mov word [ebp + edx*2], ax
add dword [0x1aeab7c], 1
mov edx, dword [ecx]
movzx eax, byte [ecx + 0xf]
add eax, edx
cmp edx, eax
mov dword [esp + 0x80], edx
jae 0x54f741
mov eax, dword [esi + 0xd0]
mov eax, dword [eax + edx*4]
cmp byte [eax + ebx], 0
jne 0x54f729
mov byte [eax + ebx], 1
mov edx, dword [esi + 0x50]
shl eax, 4
mov ecx, eax
fld dword [ecx + edx + 4]
lea eax, [ecx + edx]
fmul dword [edi + 4]
sub esp, 8
fld dword [eax]
mov ebp, edx
fmul dword [edi]
add ebp, ecx
mov ecx, dword [esp + 0x74]
faddp st(1)
fld dword [eax + 8]
fmul dword [edi + 8]
faddp st(1)
fstp dword [esp + 0x7c]
fld dword [eax + 4]
fmul dword [esp + 0x60]
fld dword [eax]
fmul dword [esp + 0x5c]
faddp st(1)
fld dword [eax + 8]
fmul dword [esp + 0x64]
faddp st(1)
fadd dword [esp + 0x68]
fstp dword [esp + 0x80]
fld dword [esp + 0x7c]
fadd dword [esp + 0x84]
fsub dword [esp + 0x58]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fstp dword [esp + 4]
fld dword [esp + 0x80]
fabs
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fadd dword [esp + 0x78]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fstp dword [esp]
call fcn.00585dc0
mov edx, dword [esp + 0x80]
fstp dword [ebp + 0xc]
mov ecx, dword [esp + 0x20]
movzx eax, byte [ecx + 0xf]
add eax, dword [ecx]
add edx, 1
cmp edx, eax
mov dword [esp + 0x80], edx
jb 0x54f672
mov eax, dword [esp + 0x68]
add eax, 1
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x68], eax
jb 0x54f5c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x1c
xor eax, eax
cmp dword [esp + 0x10], ebp
mov dword [esp + 0x68], eax
jbe 0x54fd30
mov ecx, dword [esp + 0x18]
movzx eax, word [ecx + eax*2]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x80], eax
movzx eax, ax
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esi + 0x100]
lea ecx, [eax + edx*4]
movzx eax, word [ecx + 4]
mov edx, eax
and edx, 0x7fff
mov dx, word [ebp + edx*2]
xor dx, ax
test dx, dx
mov dword [esp + 0x20], ecx
jns 0x54f8bf
mov dx, word [esp + 0x80]
mov eax, dword [0x1aeab70]
mov ebp, dword [0x1aeab74]
mov word [eax + ebp*2], dx
add dword [0x1aeab74], 1
mov edx, dword [ecx]
movzx eax, byte [ecx + 0xf]
add eax, edx
cmp edx, eax
mov dword [esp + 0x80], edx
jae 0x54f8bf
mov edi, edi
mov eax, dword [esi + 0xd0]
mov eax, dword [eax + edx*4]
cmp byte [eax + ebx], 0
jne 0x54f8a7
mov byte [eax + ebx], 1
mov edx, dword [esi + 0x50]
shl eax, 4
mov ecx, eax
fld dword [ecx + edx + 4]
lea eax, [ecx + edx]
fmul dword [edi + 4]
sub esp, 8
fld dword [eax]
mov ebp, edx
fmul dword [edi]
add ebp, ecx
mov ecx, dword [esp + 0x74]
faddp st(1)
fld dword [eax + 8]
fmul dword [edi + 8]
faddp st(1)
fstp dword [esp + 0x7c]
fld dword [eax + 4]
fmul dword [esp + 0x60]
fld dword [eax]
fmul dword [esp + 0x5c]
faddp st(1)
fld dword [eax + 8]
fmul dword [esp + 0x64]
faddp st(1)
fadd dword [esp + 0x68]
fstp dword [esp + 0x80]
fld dword [esp + 0x7c]
fadd dword [esp + 0x84]
fsub dword [esp + 0x58]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fstp dword [esp + 4]
fld dword [esp + 0x80]
fabs
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fadd dword [esp + 0x78]
fstp dword [esp + 0x7c]
fld dword [esp + 0x7c]
fstp dword [esp]
call fcn.00585dc0
mov edx, dword [esp + 0x80]
fstp dword [ebp + 0xc]
mov ecx, dword [esp + 0x20]
movzx eax, byte [ecx + 0xf]
add eax, dword [ecx]
add edx, 1
cmp edx, eax
mov dword [esp + 0x80], edx
jb 0x54f7f0
mov eax, dword [esp + 0x68]
add eax, 1
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x68], eax
jb 0x54f770
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x1c
test al, al
mov dword [esp + 0x68], ebp
je 0x54faa4
cmp dword [esp + 0x10], ebp
jbe 0x54fd30
mov eax, ebp
jmp 0x54f900
mov ecx, dword [esp + 0x18]
movzx eax, word [ecx + eax*2]
mov dword [esp + 0x80], eax
movzx eax, ax
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esi + 0x100]
lea ebp, [eax + edx*4]
movzx eax, word [ebp + 4]
mov edx, dword [esp + 0x14]
mov ecx, eax
and ecx, 0x7fff
mov cx, word [edx + ecx*2]
xor cx, ax
test cx, cx
jns 0x54fa85
mov edx, dword [0x1aeab70]
mov ax, word [esp + 0x80]
mov ecx, dword [0x1aeab74]
mov word [edx + ecx*2], ax
add dword [0x1aeab74], 1
movzx edx, word [ebp + 6]
mov eax, dword [esi + 0xb4]
cmp dword [eax + edx*4], 0
je 0x54f996
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x68]
mov ax, word [ecx + edx*2]
mov ecx, dword [0x1aeab7c]
mov edx, dword [0x1aeab78]
mov word [edx + ecx*2], ax
add dword [0x1aeab7c], 1
mov eax, dword [ebp]
movzx ecx, byte [ebp + 0xf]
add ecx, eax
cmp eax, ecx
mov dword [esp + 0x6c], eax
jae 0x54fa85
jmp 0x54f9b0
mov edx, dword [esi + 0xd0]
mov ecx, dword [edx + eax*4]
cmp byte [ecx + ebx], 0
jne 0x54fa6f
mov byte [ecx + ebx], 1
mov edx, dword [esi + 0x50]
mov eax, ecx
shl eax, 4
fld dword [eax + edx + 4]
add eax, edx
fmul dword [edi + 4]
mov edx, dword [0x1aeab88]
fld dword [eax]
lea ecx, [edx + ecx*8]
fmul dword [edi]
lea edx, [ecx + 4]
push edx
push ecx
faddp st(1)
sub esp, 8
fld dword [eax + 8]
mov ecx, dword [0x1b0242c]
fmul dword [edi + 8]
faddp st(1)
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fadd dword [esp + 0x8c]
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fstp dword [esp + 4]
fld dword [eax + 4]
fmul dword [esp + 0x68]
fld dword [eax]
fmul dword [esp + 0x64]
faddp st(1)
fld dword [eax + 8]
fmul dword [esp + 0x6c]
faddp st(1)
fadd dword [esp + 0x70]
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fadd dword [esp + 0x80]
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fstp dword [esp]
call fcn.0054c500
mov eax, dword [esp + 0x6c]
movzx ecx, byte [ebp + 0xf]
add ecx, dword [ebp]
add eax, 1
cmp eax, ecx
mov dword [esp + 0x6c], eax
jb 0x54f9b0
mov eax, dword [esp + 0x68]
add eax, 1
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x68], eax
jb 0x54f900
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x1c
cmp dword [esp + 0x10], ebp
jbe 0x54fd30
mov edi, edi
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x68]
movzx ecx, word [edx + eax*2]
mov ebp, dword [esp + 0x14]
movzx eax, cx
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esi + 0x100]
lea eax, [eax + edx*4]
mov dword [esp + 0x6c], eax
movzx eax, word [eax + 4]
mov edx, eax
and edx, 0x7fff
mov dx, word [ebp + edx*2]
xor dx, ax
test dx, dx
jns 0x54fbf0
mov eax, dword [0x1aeab70]
mov edx, dword [0x1aeab74]
mov word [eax + edx*2], cx
add dword [0x1aeab74], 1
mov eax, dword [esp + 0x6c]
movzx ecx, byte [eax + 0xf]
mov ebp, dword [eax]
add ecx, ebp
cmp ebp, ecx
jae 0x54fbf0
mov edx, dword [esi + 0xd0]
mov ecx, dword [edx + ebp*4]
cmp byte [ecx + ebx], 0
jne 0x54fbdf
mov byte [ecx + ebx], 1
mov edx, dword [esi + 0x50]
mov eax, ecx
shl eax, 4
fld dword [eax + edx + 4]
add eax, edx
fmul dword [edi + 4]
mov edx, dword [0x1aeab88]
fld dword [eax]
lea ecx, [edx + ecx*8]
fmul dword [edi]
lea edx, [ecx + 4]
push edx
push ecx
faddp st(1)
sub esp, 8
fld dword [eax + 8]
mov ecx, dword [0x1b0242c]
fmul dword [edi + 8]
faddp st(1)
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fadd dword [esp + 0x8c]
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fstp dword [esp + 4]
fld dword [eax + 4]
fmul dword [esp + 0x68]
fld dword [eax]
fmul dword [esp + 0x64]
faddp st(1)
fld dword [eax + 8]
fmul dword [esp + 0x6c]
faddp st(1)
fadd dword [esp + 0x70]
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fadd dword [esp + 0x80]
fstp dword [esp + 0x90]
fld dword [esp + 0x90]
fstp dword [esp]
call fcn.0054c500
mov eax, dword [esp + 0x6c]
movzx ecx, byte [eax + 0xf]
add ecx, dword [eax]
add ebp, 1
cmp ebp, ecx
jb 0x54fb20
mov eax, dword [esp + 0x68]
add eax, 1
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x68], eax
jb 0x54fab0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x1c
test al, al
je 0x54fcd0
xor eax, eax
cmp dword [esp + 0x10], ebp
jbe 0x54fd30
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x54fc30
movzx ecx, word [edx + eax*2]
lea ebx, [ecx*8]
sub ebx, ecx
mov ecx, dword [esi + 0x100]
lea ecx, [ecx + ebx*4]
movzx ecx, word [ecx + 4]
mov ebx, ecx
and ebx, 0x7fff
mov bx, word [edi + ebx*2]
xor bx, cx
test bx, bx
jns 0x54fcb9
mov cx, word [edx + eax*2]
mov ebx, dword [0x1aeab70]
mov ebp, dword [0x1aeab74]
mov word [ebx + ebp*2], cx
add dword [0x1aeab74], 1
movzx ecx, word [edx + eax*2]
lea ebx, [ecx*8]
sub ebx, ecx
mov ecx, dword [esi + 0x100]
movzx ecx, word [ecx + ebx*4 + 6]
mov ebx, dword [esi + 0xb4]
cmp dword [ebx + ecx*4], 0
je 0x54fcb9
mov cx, word [edx + eax*2]
mov ebx, dword [0x1aeab7c]
mov ebp, dword [0x1aeab78]
mov word [ebp + ebx*2], cx
add dword [0x1aeab7c], 1
add eax, 1
cmp eax, dword [esp + 0x10]
jb 0x54fc30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x1c
xor edx, edx
cmp dword [esp + 0x10], ebp
jbe 0x54fd30
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
movzx ecx, word [ebx + edx*2]
movzx eax, cx
lea ebp, [eax*8]
sub ebp, eax
mov eax, dword [esi + 0x100]
lea eax, [eax + ebp*4]
movzx eax, word [eax + 4]
mov ebp, eax
and ebp, 0x7fff
mov bp, word [edi + ebp*2]
xor bp, ax
test bp, bp
jns 0x54fd27
mov ebp, dword [0x1aeab74]
mov eax, dword [0x1aeab70]
mov word [eax + ebp*2], cx
add dword [0x1aeab74], 1
add edx, 1
cmp edx, dword [esp + 0x10]
jb 0x54fce0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x1c