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

Disassembly:
mov edx, dword [0x885b48]
push ebx
and edx, 0xfff
push esi
mov eax, edx
push edi
push ebp
sub esp, 0x88
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], edx
mov dword [esp + 0x50], eax
cmp byte [0x95cd9a], 0
fild qword [esp + 0x50]
fmul dword [0x602abc]
fstp dword [esp + 0x40]
jne 0x55772e
mov word [0x95cc9e], 0
mov byte [0x95cd9a], 1
call fcn.00542250
mov ecx, dword [0x95cbfc]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x28], eax
mov edx, dword [eax + 0x68]
mov ebx, dword [eax + 0x30]
mov edi, dword [eax + 0x34]
mov eax, dword [edx + 0x14]
push 0x1a
push dword [esp + 0x2c]
mov dword [esp + 0x14], eax
call fcn.005acc30
fldz
fldz
fldz
mov dword [esp + 0x1c], 0
pop ecx
pop ecx
mov eax, dword [esp + 0x14]
xor ebp, ebp
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fmul dword [0x602b7c]
fstp st(1)
lea eax, [eax]
mov dword [esp + 0x50], ebp
fild dword [esp + 0x50]
fmul dword [0x602b7c]
fadd dword [0x64d074]
fstp dword [edi + 4]
fld st(0)
fadd dword [0x64d078]
fstp dword [edi]
mov cl, byte [esi]
mov byte [ebx], cl
mov al, byte [esi + 1]
mov byte [ebx + 1], al
mov dl, byte [esi + 2]
mov byte [ebx + 2], dl
mov al, byte [esi + 3]
mov byte [ebx + 3], al
mov eax, ebp
sub eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fmul qword [0x602b80]
fld dword [0x602b60]
fmul dword [esp + 0x40]
faddp st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fsin
fnstsw ax
test eax, 0x400
je 0x557691
call fcn.005a0cb0
fsin
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp st(3)
fld dword [0x602b88]
fmul dword [0x8e2bf8]
mov eax, ebp
add eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
fmul st(3)
fstp st(3)
fild dword [esp + 0x50]
fmul dword [0x602b8c]
fadd dword [esp + 0x40]
fsin
fnstsw ax
test eax, 0x400
je 0x5576d5
call fcn.005a0cb0
fsin
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fstp st(2)
fld dword [0x602ac0]
fmul dword [0x8e2bf8]
inc ebp
mov eax, dword [esp + 0xc]
add edi, 8
add ebx, 4
fadd dword [0x602ac4]
fmul st(2)
fadd st(3)
fstp dword [eax + 8]
add dword [esp + 0xc], 0xc
cmp ebp, 9
jl 0x557620
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 9
jl 0x557607
fcompp
push dword [esp + 0x28]
fstp st(0)
call fcn.005acc60
pop ecx
fld dword [0x602b40]
fadd dword [esp + 0x9c]
cmp dword [0x6652e8], 0
mov dword [0x64d0ac], 0
mov dword [0x64d0b0], 0
mov dword [0x64d0b4], 0
fstp dword [esp + 0x58]
fld dword [0x602b40]
fadd dword [esp + 0xa0]
mov dword [0x64d0b8], 0
fstp dword [esp + 0x5c]
je 0x557bb6
cmp word [0x95cc9e], 8
jge 0x557bb6
push 0x64d0ac
push dword [0x602b40]
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.00542370
add esp, 0x10
test al, al
fldz
je 0x557c20
movzx ebx, byte [esi + 1]
movzx ecx, byte [esi]
movzx eax, byte [esi + 2]
add ebx, ecx
add ebx, eax
mov dword [esp + 0x50], ebx
fild dword [esp + 0x50]
fmul dword [0x602b90]
fsubr dword [0x602b18]
fst st(1)
fcomp dword [0x602b6c]
fnstsw ax
test ah, 0x45
jne 0x5577f2
fld dword [0x602b6c]
fstp st(1)
fld dword [0x602b68]
movsx edx, word [0x95cc9e]
mov edi, dword [0x95cbfc]
fsub st(1)
fstp dword [esp + 0x4c]
mov eax, dword [esi]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [edx*4 + 0x6652e8]
fstp st(0)
inc word [0x95cc9e]
mov dword [esp + 0x34], eax
call fcn.0059eeb0
push 0
push dword [esp + 0x38]
push eax
mov dword [esp + 0x44], eax
call fcn.0059efa0
add esp, 0xc
call fcn.005a1a00
mov dword [esp + 0x30], eax
mov eax, dword [0x95cbfc]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x30]
add edx, 0x10
fld dword [edx]
fstp dword [eax + 0x10]
mov eax, dword [esp + 0x30]
fld dword [edx + 4]
fstp dword [eax + 0x14]
mov eax, dword [esp + 0x30]
fld dword [edx + 8]
fstp dword [eax + 0x18]
mov eax, dword [esp + 0x30]
mov ebx, dword [edx + 0xc]
mov dword [eax + 0x1c], ebx
fld dword [edx + 0x10]
fstp dword [eax + 0x20]
mov eax, dword [esp + 0x30]
fld dword [edx + 0x14]
fstp dword [eax + 0x24]
mov eax, dword [esp + 0x30]
fld dword [edx + 0x18]
fstp dword [eax + 0x28]
mov eax, dword [esp + 0x30]
mov ecx, dword [edx + 0x1c]
mov dword [eax + 0x2c], ecx
fld dword [edx + 0x20]
fstp dword [eax + 0x30]
mov eax, dword [esp + 0x30]
fld dword [edx + 0x24]
fstp dword [eax + 0x34]
mov eax, dword [esp + 0x30]
fld dword [edx + 0x28]
fstp dword [eax + 0x38]
mov eax, dword [esp + 0x30]
mov edi, dword [edx + 0x2c]
mov dword [eax + 0x3c], edi
fld dword [edx + 0x30]
fstp dword [eax + 0x40]
mov eax, dword [esp + 0x30]
fld dword [edx + 0x34]
fstp dword [eax + 0x44]
mov eax, dword [esp + 0x30]
fld dword [edx + 0x38]
fstp dword [eax + 0x48]
mov eax, dword [esp + 0x30]
mov edx, dword [edx + 0x3c]
push eax
mov dword [eax + 0x4c], edx
push dword [esp + 0x3c]
call fcn.005a0600
pop ecx
pop ecx
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov ebp, dword [eax + 0x34]
mov eax, ecx
mov ecx, dword [eax + 0x68]
mov ebx, dword [eax + 0x30]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x68]
mov eax, dword [edi + 0x14]
push 0x1a
push dword [esp + 0x38]
mov dword [esp + 0x24], eax
call fcn.005acc30
mov dword [esp + 0x34], 0
pop ecx
pop ecx
mov eax, eax
lea eax, [eax]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fmul dword [0x602aac]
fadd dword [esp + 0x9c]
fstp dword [esp + 0x48]
mov eax, dword [esp + 4]
xor edi, edi
fld dword [ebp + 4]
fstp dword [eax + 4]
mov eax, dword [esp + 4]
fld dword [ebp]
fstp dword [eax]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x68], 0
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x50], eax
fild dword [esp + 0x50]
fmul dword [0x602aac]
fadd dword [esp + 0xa0]
fstp dword [esp + 0x64]
fld dword [0x602ae0]
fstp dword [esp + 0x44]
movsx eax, di
mov ecx, dword [eax*4 + 0x64d0ac]
test ecx, ecx
je 0x5579dc
push ecx
push dword [esp + 0x6c]
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.005424a0
fadd dword [esp + 0x54]
add esp, 0x10
fstp dword [esp + 0x44]
inc edi
cmp di, 4
jl 0x5579b1
fld dword [esp + 0x44]
fcomp dword [0x602ae0]
fnstsw ax
test ah, 0x45
jne 0x557af0
fld dword [esp + 0x44]
fmul dword [0x602b70]
fmul dword [esp + 0x4c]
fnstcw word [esp + 0x3c]
mov eax, dword [esp + 0x3c]
or byte [esp + 0x3d], 0xc
fldcw word [esp + 0x3c]
mov dword [esp + 0x3c], eax
fistp dword [esp + 0x50]
mov edx, dword [esp + 0x50]
fldcw word [esp + 0x3c]
movsx ecx, dx
movzx eax, byte [esi]
add ecx, eax
cmp ecx, 0xff
jle 0x557a3c
mov ecx, 0xff
fld dword [esp + 0x44]
fmul dword [0x602b74]
mov byte [esp + 0x6c], cl
fmul dword [esp + 0x4c]
fnstcw word [esp + 0x3c]
mov eax, dword [esp + 0x3c]
or byte [esp + 0x3d], 0xc
fldcw word [esp + 0x3c]
mov dword [esp + 0x3c], eax
fistp dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
fldcw word [esp + 0x3c]
movsx edx, cx
movzx eax, byte [esi + 1]
add edx, eax
cmp edx, 0xff
jle 0x557a85
mov edx, 0xff
fld dword [esp + 0x44]
fmul dword [0x602b78]
mov byte [esp + 0x6d], dl
fmul dword [esp + 0x4c]
fnstcw word [esp + 0x3c]
mov eax, dword [esp + 0x3c]
or byte [esp + 0x3d], 0xc
fldcw word [esp + 0x3c]
mov dword [esp + 0x3c], eax
fistp dword [esp + 0x50]
mov edi, dword [esp + 0x50]
fldcw word [esp + 0x3c]
movsx ecx, di
movzx eax, byte [esi + 2]
add ecx, eax
cmp ecx, 0xff
jle 0x557ace
mov ecx, 0xff
mov dl, byte [esp + 0x6c]
mov byte [esp + 0x6e], cl
mov byte [ebx], dl
mov al, byte [esp + 0x6d]
mov byte [ebx + 1], al
mov cl, byte [esp + 0x6e]
mov byte [ebx + 2], cl
mov al, byte [esp + 0x6f]
jmp 0x557b03
mov dl, byte [esi]
mov byte [ebx], dl
mov al, byte [esi + 1]
mov byte [ebx + 1], al
mov cl, byte [esi + 2]
mov byte [ebx + 2], cl
mov al, byte [esi + 3]
mov byte [ebx + 3], al
mov eax, dword [esp + 0x1c]
add ebp, 8
fld dword [eax + 8]
mov eax, dword [esp + 0x18]
add ebx, 4
fstp dword [eax + 8]
inc dword [esp + 0x20]
add dword [esp + 4], 8
add dword [esp + 0x1c], 0xc
add dword [esp + 0x18], 0xc
cmp dword [esp + 0x20], 9
jl 0x557965
inc dword [esp + 0x2c]
cmp dword [esp + 0x2c], 9
jl 0x557940
push dword [esp + 0x34]
call fcn.005acc60
mov esi, 0x64d0bc
pop ecx
lea edi, [esp + 0x70]
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x3c]
lea edi, [esp + 0x74]
mov dword [esp + 0x78], edx
mov eax, dword [eax + 4]
push edi
push eax
call fcn.005a2000
add esp, 0xc
mov ebx, dword [esp + 0x38]
push dword [esp + 0x38]
call dword [ebx + 0x48]
pop ecx
push dword [esp + 0x38]
call fcn.0059f020
pop ecx
push dword [esp + 0x30]
call fcn.005a1a30
jmp 0x557c13
mov esi, 0x64d0c8
lea edi, [esp + 0x7c]
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xa8]
mov esi, dword [0x95cbfc]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x84], ecx
push eax
mov eax, dword [esi + 4]
push eax
call fcn.005a2000
mov eax, dword [0x95cbfc]
add esp, 0xc
mov edi, eax
push eax
call dword [edi + 0x48]
pop ecx
add esp, 0x88
pop ebp
pop edi
pop esi
pop ebx
ret
fstp st(0)
jmp 0x557bb6