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

Disassembly:
sub esp, 0x90
push ebx
push esi
push edi
lea eax, [esp + 0x68]
mov esi, ecx
fld dword [esi + 0xc]
push eax
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.0055cb30
fld dword [esp + 0x68]
fmul dword [esp + 0xa0]
fadd dword [esi + 0x24]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld st(0)
call fcn.005a0a00
mov edx, dword [esi + 0x68]
mov edi, eax
mov dword [esp + 0x14], edi
fisub dword [esp + 0x14]
mov ecx, esi
fstp dword [esi + 0x24]
mov ebx, dword [edx + 4]
call fcn.0054f350
fldz
add eax, edi
fst dword [esp + 0x28]
sub eax, ebx
fst dword [esp + 0x18]
mov ecx, 0
fst dword [esp + 0x30]
sets cl
fstp dword [esp + 0x34]
dec ecx
and eax, ecx
sub edi, eax
je 0x5500f5
fld dword [esi + 0xc]
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, edx
fstp dword [esp]
call fcn.0055cd80
fldz
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x44
jnp 0x550934
fld dword [esi + 0xc]
lea ecx, [esp + 0x18]
push ecx
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.0055bd80
fld dword [esi + 0xc]
lea edx, [esp + 0x78]
push edx
push ecx
mov ecx, dword [esi + 0x60]
fstp dword [esp]
call fcn.0055b040
fld dword [esi + 0xc]
lea eax, [esp + 0x6c]
push eax
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.0055c200
fld dword [esi + 0xc]
lea ecx, [esp + 0x70]
push ecx
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.0055c440
fld dword [esi + 0xc]
lea edx, [esp + 0x74]
push edx
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.0055c690
fld dword [esi + 0xc]
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.0055c8e0
fld dword [esi + 0xc]
lea ecx, [esp + 0x60]
push ecx
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.0055cfd0
fld dword [esi + 0xc]
lea edx, [esp + 0x64]
push edx
push ecx
mov ecx, dword [esi + 0x68]
fstp dword [esp]
call fcn.0055d220
mov eax, dword [esi + 0x64]
cmp byte [eax + 0x13], 3
jne 0x5500f5
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x5500f5
fld dword [ebx + 0x24]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul st(0), st(0)
fld1
fsubrp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
call fcn.0059fac0
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fcomp dword [0x6128bc]
fnstsw ax
test ah, 1
jne 0x5500f5
fld dword [ebx + 4]
fchs
fld dword [ebx + 0x14]
call fcn.005a422a
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul qword [0x5fe248]
fstp dword [esp + 0x34]
mov dword [esp + 0x2c], 0
test edi, edi
jle 0x550934
mov dword [esp + 0x14], edi
push ebp
lea ebx, [ebx]
call fcn.00555d60
mov ecx, dword [esi + 0x64]
mov edi, eax
mov dword [edi + 0x5c], ecx
mov edx, dword [esi + 0x68]
mov dword [edi + 0x60], edx
fld dword [esp + 0x2c]
fstp dword [edi + 0x54]
mov dword [esp + 0x48], edi
fld dword [esp + 0x2c]
fstp dword [edi + 0x58]
mov ecx, dword [esi + 0x68]
call fcn.0055bd60
movzx eax, al
cmp eax, 3
ja case.default.0x550149
jmp dword [eax*4 + 0x550940]
fldz
fst dword [edi + 0xc]
fst dword [edi + 0x10]
fstp dword [edi + 0x14]
jmp case.default.0x550149
fld dword [0x5fe190]
sub esp, 8
fstp dword [esp + 4]
lea ebx, [edi + 0xc]
fld dword [0x616d78]
fstp dword [esp]
call fcn.00519ed0
fstp dword [ebx]
fld dword [0x5fe190]
fstp dword [esp + 4]
fld dword [0x616d78]
fstp dword [esp]
call fcn.00519ed0
add esp, 8
fstp dword [edi + 0x10]
fldz
push ebx
push ebx
fstp dword [edi + 0x14]
call fcn.005679bf
mov ecx, dword [esi + 0x68]
call fcn.00546070
test eax, eax
je 0x5501dc
mov eax, dword [esi + 0x68]
fld dword [eax + 0x28]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x14]
fld dword [ebx]
fld dword [esp + 0x14]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [ebx]
fld st(0)
fmul dword [ebx + 4]
jmp 0x550381
mov ecx, dword [esi + 0x68]
fld dword [ecx + 0x28]
sub esp, 8
fstp dword [esp + 4]
fldz
fstp dword [esp]
call fcn.00519ed0
fadd dword [esp + 0x24]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld st(0)
fmul dword [ebx]
jmp 0x550377
mov eax, dword [esi + 0x68]
fld dword [eax + 0x1c]
sub esp, 8
fld qword [0x5fe2b8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fld dword [eax + 0x1c]
fchs
fmulp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.00519ed0
fadd dword [esp + 0x24]
fstp dword [edi + 0xc]
mov eax, dword [esi + 0x68]
fld dword [eax + 0x20]
fld qword [0x5fe2b8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fld dword [eax + 0x20]
fchs
fmulp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.00519ed0
fadd dword [esp + 0x24]
fstp dword [edi + 0x10]
mov eax, dword [esi + 0x68]
fld dword [eax + 0x24]
fld qword [0x5fe2b8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fld dword [eax + 0x24]
fchs
fmulp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.00519ed0
fadd dword [esp + 0x24]
add esp, 8
fstp dword [edi + 0x14]
jmp case.default.0x550149
fld dword [0x5fe190]
sub esp, 8
fstp dword [esp + 4]
lea ebx, [edi + 0xc]
fld dword [0x616d78]
fstp dword [esp]
call fcn.00519ed0
fstp dword [ebx]
fld dword [0x5fe190]
fstp dword [esp + 4]
fld dword [0x616d78]
fstp dword [esp]
call fcn.00519ed0
fstp dword [edi + 0x10]
fld dword [0x5fe190]
fstp dword [esp + 4]
fld dword [0x616d78]
fstp dword [esp]
call fcn.00519ed0
add esp, 8
fstp dword [edi + 0x14]
push ebx
push ebx
call fcn.005679bf
mov ecx, dword [esi + 0x68]
call fcn.00546070
test eax, eax
je 0x55034c
mov edx, dword [esi + 0x68]
fld dword [edx + 0x28]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld st(0)
fmul dword [ebx]
fstp dword [ebx]
fld st(0)
fmul dword [ebx + 4]
jmp 0x550381
mov eax, dword [esi + 0x68]
fld dword [eax + 0x28]
sub esp, 8
fstp dword [esp + 4]
fldz
fstp dword [esp]
call fcn.00519ed0
fadd dword [esp + 0x24]
fstp dword [esp + 0x1c]
fld dword [ebx]
fld dword [esp + 0x1c]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [ebx]
add esp, 8
fld dword [ebx + 4]
fmul st(1)
fstp dword [ebx + 4]
fmul dword [ebx + 8]
fstp dword [ebx + 8]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
lea ebx, [edi + 0xc]
mov dword [esp + 0x20], ecx
fld dword [ebx]
fadd dword [esp + 0x7c]
fstp dword [ebx]
fld dword [esp + 0x24]
fadd dword [ebx + 4]
fstp dword [ebx + 4]
fld dword [esp + 0x28]
fadd dword [ebx + 8]
fstp dword [ebx + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x5503f0
mov ecx, dword [esi + 0x64]
cmp dword [ecx + 0x20], 0
jne 0x5503f0
push eax
push ebx
push ebx
call fcn.00567cd2
mov edx, dword [esi + 4]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, eax
push ecx
call fcn.00567cd2
mov edx, dword [esp + 0x20]
fldz
mov dword [edi], edx
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x28]
mov dword [edi + 8], ecx
fst dword [edi + 0x24]
lea ebp, [edi + 0x24]
fst dword [edi + 0x28]
fstp dword [edi + 0x2c]
mov ecx, dword [esi + 0x68]
call fcn.0055bd70
cmp al, 2
jne 0x550473
fld dword [ebx + 4]
lea edx, [esp + 0x88]
fsub dword [esp + 0x24]
push edx
push ebp
fstp dword [esp + 0x1c]
fld dword [ebx + 8]
fsub dword [esp + 0x30]
fstp dword [esp + 0x18]
fld dword [ebx]
fsub dword [esp + 0x28]
fstp dword [esp + 0x90]
fld dword [esp + 0x1c]
fstp dword [esp + 0x94]
fld dword [esp + 0x18]
fstp dword [esp + 0x98]
call fcn.005679bf
fld dword [ebp]
fld qword [0x5fe010]
jmp 0x550538
mov ecx, dword [esi + 0x68]
call fcn.0055bd70
cmp al, 1
jne 0x55054d
mov ecx, dword [esi + 0x68]
call fcn.0055bd60
test al, al
jne 0x5504e8
fld dword [0x5fe270]
sub esp, 8
fstp dword [esp + 4]
fld dword [0x607938]
fstp dword [esp]
call fcn.00519ed0
fstp dword [ebp]
fld dword [0x5fe270]
fstp dword [esp + 4]
fld dword [0x607938]
fstp dword [esp]
call fcn.00519ed0
fstp dword [edi + 0x28]
fld dword [0x5fe270]
fstp dword [esp + 4]
fld dword [0x607938]
fstp dword [esp]
call fcn.00519ed0
fstp dword [edi + 0x2c]
add esp, 8
jmp 0x55054d
fld dword [ebx + 4]
lea eax, [esp + 0x94]
fsub dword [esp + 0x24]
push eax
push ebp
fstp dword [esp + 0x18]
fld dword [ebx + 8]
fsub dword [esp + 0x30]
fstp dword [esp + 0x1c]
fld dword [ebx]
fsub dword [esp + 0x28]
fstp dword [esp + 0x9c]
fld dword [esp + 0x18]
fstp dword [esp + 0xa0]
fld dword [esp + 0x1c]
fstp dword [esp + 0xa4]
call fcn.005679bf
fld dword [ebp]
fld qword [0x5fdf60]
fmul st(1), st(0)
fxch st(1)
fstp dword [ebp]
fld dword [ebp + 4]
fmul st(1)
fstp dword [ebp + 4]
fmul dword [ebp + 8]
fstp dword [ebp + 8]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
test eax, eax
je 0x550583
mov ecx, dword [esi + 0x64]
cmp dword [ecx + 0x20], 0
jne 0x550583
push eax
lea edx, [esp + 0x40]
push edx
mov eax, edx
push eax
call fcn.00567ce5
fld dword [esp + 0x3c]
fadd dword [ebp]
fstp dword [ebp]
fld dword [esp + 0x40]
fadd dword [ebp + 4]
fstp dword [ebp + 4]
fld dword [esp + 0x44]
fadd dword [ebp + 8]
fstp dword [ebp + 8]
mov ecx, dword [esi + 0x68]
fldz
fcomp dword [ecx + 0x2c]
fnstsw ax
test ah, 5
jp 0x5505f2
fld dword [ecx + 0x2c]
sub esp, 8
fld qword [0x5fe2b8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 4]
fld dword [ecx + 0x2c]
fchs
fmulp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
call fcn.00519ed0
fmul qword [0x5fdfa8]
add esp, 8
fadd dword [ebp]
fstp dword [ebp]
fldz
mov ecx, dword [esi + 0x68]
fcomp dword [ecx + 0x30]
fnstsw ax
test ah, 5
jp 0x550643
fld dword [ecx + 0x30]
sub esp, 8
fld qword [0x5fe2b8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 4]
fld dword [ecx + 0x30]
fchs
fmulp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
call fcn.00519ed0
fmul qword [0x5fdfa8]
add esp, 8
fadd dword [edi + 0x28]
fstp dword [edi + 0x28]
fldz
mov ecx, dword [esi + 0x68]
fcomp dword [ecx + 0x34]
fnstsw ax
test ah, 5
jp 0x550694
fld dword [ecx + 0x34]
sub esp, 8
fld qword [0x5fe2b8]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 4]
fld dword [ecx + 0x34]
fchs
fmulp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
call fcn.00519ed0
fmul qword [0x5fdfa8]
add esp, 8
fadd dword [edi + 0x2c]
fstp dword [edi + 0x2c]
fld dword [esp + 0x34]
sub esp, 8
fst dword [esp + 0x18]
fmul dword [ebp]
fstp dword [ebp]
fld dword [ebp + 4]
fld dword [esp + 0x18]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [ebp + 4]
fmul dword [ebp + 8]
fstp dword [ebp + 8]
mov ecx, dword [esp + 0x6c]
mov dword [edi + 0x30], ecx
mov edx, dword [esp + 0x70]
mov dword [edi + 0x34], edx
mov eax, dword [esi + 0x64]
movzx ecx, word [eax + 0x1c]
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fstp dword [edi + 0x40]
mov eax, dword [esi + 0x64]
movzx edx, word [eax + 0x1e]
movzx eax, word [eax + 0x1c]
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
fstp dword [esp + 4]
fild dword [esp + 0x18]
fstp dword [esp]
call fcn.00519ed0
fstp dword [edi + 0x40]
mov ecx, dword [esi + 0x64]
add esp, 8
cmp byte [ecx + 0x13], 3
jne 0x550721
cmp dword [esi + 4], 0
je 0x550721
fld dword [edi + 0x40]
fadd dword [esp + 0x38]
fstp dword [edi + 0x40]
mov byte [edi + 0x50], 0
mov edx, dword [esi + 0x64]
mov al, byte [edx + 4]
mov byte [edi + 0x48], al
mov eax, dword [esi + 0x64]
mov ecx, dword [eax + 0xc8]
sub ecx, dword [eax + 0xc4]
sar ecx, 2
cmp ecx, 1
jbe 0x5507a5
cmp byte [eax + 4], 4
jne 0x55077e
call fcn.00519e90
test al, 1
je 0x55075e
mov byte [edi + 0x50], 0
mov byte [edi + 0x48], 1
jmp 0x55077e
mov eax, dword [esi + 0x64]
mov edx, dword [eax + 0xc8]
sub edx, dword [eax + 0xc4]
add eax, 0xb8
sar edx, 2
dec dl
mov byte [edi + 0x50], dl
mov byte [edi + 0x48], 2
mov ecx, dword [esi + 0x64]
cmp dword [ecx + 0xc], 0
je 0x5507a5
mov eax, dword [ecx + 0xc8]
sub eax, dword [ecx + 0xc4]
sar eax, 2
dec eax
push eax
push 0
call fcn.00519f10
add esp, 8
mov byte [edi + 0x50], al
fld dword [ebp]
fld dword [esp + 0xa4]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x4c]
fld dword [ebp + 4]
fmul st(1)
fstp dword [esp + 0x50]
fmul dword [ebp + 8]
fstp dword [esp + 0x54]
fld dword [ebx]
fsub dword [esp + 0x4c]
fstp dword [esp + 0x58]
mov eax, dword [esp + 0x58]
fld dword [ebx + 4]
fsub dword [esp + 0x50]
fstp dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
fld dword [ebx + 8]
mov dword [edi + 0x18], eax
fsub dword [esp + 0x54]
mov dword [edi + 0x1c], ecx
fstp dword [esp + 0x60]
mov edx, dword [esp + 0x60]
mov dword [edi + 0x20], edx
mov ebx, dword [esi + 0x64]
mov ebp, dword [ebx + 0x64]
add ebx, 0x58
cmp ebp, dword [ebx + 0x10]
jbe 0x550811
call fcn.005a01dd
mov ebx, dword [ebx]
test ebx, ebx
jne 0x5508a9
call fcn.005a01dd
cmp ebp, dword [ebx + 0x10]
jb 0x55082a
call fcn.005a01dd
fld dword [ebp + 4]
fstp dword [edi + 0x38]
mov ebx, dword [esi + 0x64]
mov ebp, dword [ebx + 0x7c]
add ebx, 0x70
cmp ebp, dword [ebx + 0x10]
jbe 0x550843
call fcn.005a01dd
mov ebx, dword [ebx]
test ebx, ebx
jne 0x5508b0
call fcn.005a01dd
cmp ebp, dword [ebx + 0x10]
jb 0x550858
call fcn.005a01dd
fld dword [ebp + 4]
fstp dword [edi + 0x3c]
mov ebx, dword [esi + 0x64]
mov ebp, dword [ebx + 0x94]
add ebx, 0x88
cmp ebp, dword [ebx + 0x10]
jbe 0x550877
call fcn.005a01dd
mov ebx, dword [ebx]
test ebx, ebx
jne 0x5508b4
call fcn.005a01dd
cmp ebp, dword [ebx + 0x10]
jb 0x55088c
call fcn.005a01dd
mov eax, dword [ebp + 4]
mov dword [edi + 0x44], eax
mov eax, dword [esp + 0x30]
push edi
test eax, eax
jne 0x5508b8
mov ecx, dword [esi + 0x60]
call fcn.00559d70
mov dword [esp + 0x30], edi
jmp 0x5508c4
mov ebx, dword [ebx]
jmp 0x550820
mov ebx, dword [ebx]
jmp 0x55084e
mov ebx, dword [ebx]
jmp 0x550882
mov ecx, dword [eax + 0x70]
push eax
call fcn.0054f300
mov dword [edi + 0x70], eax
mov ecx, dword [esi + 0x40]
sub ecx, dword [esi + 0x3c]
movzx edi, byte [edi + 0x50]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x5508ea
call fcn.005a01dd
mov eax, dword [esi + 0x3c]
lea edx, [edi*8]
sub edx, edi
mov ebx, dword [eax + edx*4 + 0x14]
lea edi, [eax + edx*4]
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x48]
push ecx
push edx
push ebx
mov ecx, edi
call fcn.00536f90
push 1
mov ecx, edi
mov ebp, eax
call fcn.004c0210
mov dword [ebx + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov eax, 1
add dword [esi + 0x28], eax
sub dword [esp + 0x18], eax
jne 0x550110
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x90
ret 4