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

Disassembly:
mov ecx, dword [0x974b34]
push ebx
and ecx, 0xfff
push esi
mov eax, ecx
push edi
push ebp
sub esp, 0xd0
mov esi, dword [esp + 0xf0]
mov dword [esp + 0xcc], 0
mov edi, dword [esp + 0xfc]
mov ebx, dword [esp + 0x104]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xc8], eax
xor ebp, ebp
fild qword [esp + 0xc8]
fmul dword [0x69cc68]
fstp dword [esp + 0x1c]
lea eax, [eax]
cmp dword [0x978594], 0x3fa
jge 0x5bd7d8
cmp dword [0x9b5f7c], 0x1fc
jl 0x5bd82f
cmp dword [0x9b5f7c], 0
je 0x5bd81b
call fcn.004a9650
mov eax, dword [0x9b5f7c]
push 1
push 0
push eax
push 0x7e9e10
call fcn.0065aee0
add esp, 0x10
test eax, eax
je 0x5bd81b
mov eax, dword [0x978594]
push eax
push 0x933bc8
push 3
call fcn.0065afe0
add esp, 0xc
call fcn.0065afb0
mov dword [0x978594], 0
mov dword [0x9b5f7c], 0
mov ecx, dword [0x9b5f7c]
fldz
fldz
fldz
fldz
fldz
fld dword [ebp*4 + 0x69cc1c]
imul ecx, ecx, 0x24
fstp st(4)
fld dword [edi]
fmul st(4)
fnstcw word [esp + 4]
mov eax, dword [esp + 4]
or byte [esp + 5], 0xc
fldcw word [esp + 4]
fistp dword [esp + 0xc8]
mov edx, dword [esp + 0xc8]
mov dword [esp + 4], eax
movzx eax, dl
fldcw word [esp + 4]
fld dword [ebp*4 + 0x69cc20]
shl eax, 0x18
or eax, 0xffffff
fstp st(5)
mov dword [ecx + 0x7e9e28], eax
fld dword [edi]
fmul st(5)
fnstcw word [esp + 4]
mov eax, dword [esp + 4]
or byte [esp + 5], 0xc
fldcw word [esp + 4]
fistp dword [esp + 0xc8]
mov edx, dword [esp + 0xc8]
mov dword [esp + 4], eax
movzx eax, dl
fldcw word [esp + 4]
shl eax, 0x18
or eax, 0xffffff
mov dword [ecx + 0x7e9e4c], eax
mov eax, dword [esp + 0x100]
fld dword [eax]
fmul st(5)
fnstcw word [esp + 4]
mov eax, dword [esp + 4]
or byte [esp + 5], 0xc
fldcw word [esp + 4]
fistp dword [esp + 0xc8]
mov edx, dword [esp + 0xc8]
mov dword [esp + 4], eax
movzx eax, dl
fldcw word [esp + 4]
shl eax, 0x18
or eax, 0xffffff
mov dword [ecx + 0x7e9e70], eax
mov eax, dword [esp + 0x100]
fld dword [eax]
fmul st(4)
fnstcw word [esp + 4]
mov eax, dword [esp + 4]
or byte [esp + 5], 0xc
fldcw word [esp + 4]
fistp dword [esp + 0xc8]
mov edx, dword [esp + 0xc8]
mov dword [esp + 4], eax
movzx eax, dl
fldcw word [esp + 4]
mov dword [esp + 0xc8], ebp
fild dword [esp + 0xc8]
shl eax, 0x18
or eax, 0xffffff
fmul dword [0x69ccd0]
mov dword [ecx + 0x7e9e94], eax
mov eax, ebp
inc eax
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xe8]
fstp dword [esp + 8]
fild dword [esp + 0xc8]
fmul dword [0x69ccd0]
fstp st(5)
fld dword [eax]
fstp st(4)
mov eax, dword [esp + 0xe4]
fld dword [esp + 8]
fmul st(4)
fld dword [eax]
fstp st(4)
fld dword [0x69cc50]
fsub dword [esp + 8]
mov eax, dword [esp + 0xe8]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x80]
fld dword [eax + 4]
fstp st(2)
mov eax, dword [esp + 0xe4]
fld dword [esp + 8]
fmul st(2)
fld dword [eax + 4]
fstp st(2)
fld dword [esp + 0xc]
fmul st(2)
faddp st(1)
fstp dword [esp + 0x84]
fld st(4)
fmul st(4)
fld dword [0x69cc50]
fsub st(6)
fstp st(5)
mov eax, dword [esp + 0xec]
fld st(4)
fmul st(4)
faddp st(1)
fstp dword [esp + 0x88]
fld st(4)
fmul st(2)
fld st(4)
fmul st(2)
faddp st(1)
fstp dword [esp + 0x8c]
fld dword [eax]
fstp st(3)
fld st(4)
fmul st(3)
fld dword [esi]
fstp st(3)
mov eax, dword [esp + 0xec]
fld st(4)
fmul st(3)
faddp st(1)
fstp dword [esp + 0x90]
fld dword [eax + 4]
fstp st(1)
fld st(4)
fmul st(1)
fld dword [esi + 4]
fstp st(6)
fld st(4)
fmul st(6)
faddp st(1)
fstp dword [esp + 0x94]
fld dword [esp + 8]
fmul st(3)
fld dword [esp + 0xc]
fmul st(3)
faddp st(1)
fstp dword [esp + 0x98]
fld dword [esp + 8]
fmul st(1)
fld dword [esp + 0xc]
fmul st(6)
faddp st(1)
fstp dword [esp + 0x9c]
fld dword [esp + 0x80]
fmul dword [0x69ccd0]
fadd dword [0x77fa7c]
fstp dword [esp + 0x24]
fld dword [esp + 0x84]
fmul dword [0x69ccd0]
fadd dword [0x77fa80]
fstp dword [esp + 0x28]
fld dword [esp + 0x88]
fmul dword [0x69ccd0]
fadd dword [0x77fa7c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x8c]
fmul dword [0x69ccd0]
fadd dword [0x77fa80]
fstp dword [esp + 0x30]
fld dword [esp + 0x90]
fmul dword [0x69ccd0]
fadd dword [0x77fa7c]
fstp dword [esp + 0x34]
fld dword [esp + 0x94]
fmul dword [0x69ccd0]
fadd dword [0x77fa80]
fstp dword [esp + 0x38]
fld dword [esp + 0x98]
fmul dword [0x69ccd0]
fadd dword [0x77fa7c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x9c]
fmul dword [0x69ccd0]
fadd dword [0x77fa80]
fstp dword [esp + 0x40]
fld dword [esp + 0x34]
fcomp dword [esp + 0x3c]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdb51
fld dword [esp + 0x34]
jmp 0x5bdb55
fld dword [esp + 0x3c]
fstp st(5)
fld dword [esp + 0x2c]
fcomp st(5)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdb70
fld dword [esp + 0x2c]
jmp 0x5bdb90
fld dword [esp + 0x34]
fcomp dword [esp + 0x3c]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdb88
fld dword [esp + 0x34]
jmp 0x5bdb8c
fld dword [esp + 0x3c]
fstp st(5)
fld st(4)
fstp st(5)
fld dword [esp + 0x24]
fcomp st(5)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdba8
fld dword [esp + 0x24]
jmp 0x5bdc04
fld dword [esp + 0x34]
fcomp dword [esp + 0x3c]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdbc0
fld dword [esp + 0x34]
jmp 0x5bdbc4
fld dword [esp + 0x3c]
fstp st(5)
fld dword [esp + 0x2c]
fcomp st(5)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdbe0
fld dword [esp + 0x2c]
jmp 0x5bdc00
fld dword [esp + 0x34]
fcomp dword [esp + 0x3c]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdbf8
fld dword [esp + 0x34]
jmp 0x5bdbfc
fld dword [esp + 0x3c]
fstp st(5)
fld st(4)
fstp st(5)
fld st(4)
fstp st(5)
push eax
push eax
fld st(4)
fstp qword [esp]
fcompp
fcompp
fstp st(0)
call fcn.00642950
pop ecx
pop ecx
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [esp + 0x38]
fcomp dword [esp + 0x40]
mov dword [esp + 0x44], eax
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdc44
mov eax, dword [esp + 0x38]
jmp 0x5bdc48
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], eax
fldz
fld dword [esp + 0x30]
fcomp dword [esp + 0x48]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdc68
fld dword [esp + 0x30]
fstp st(1)
jmp 0x5bdc86
fld dword [esp + 0x38]
fcomp dword [esp + 0x40]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdc80
fld dword [esp + 0x38]
jmp 0x5bdc84
fld dword [esp + 0x40]
fstp st(1)
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdca0
fld dword [esp + 0x28]
fstp st(1)
jmp 0x5bdcf6
fld dword [esp + 0x38]
fcomp dword [esp + 0x40]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdcb8
fld dword [esp + 0x38]
jmp 0x5bdcbc
fld dword [esp + 0x40]
fstp st(1)
fld dword [esp + 0x30]
fcomp st(1)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdcd6
fld dword [esp + 0x30]
fstp st(1)
jmp 0x5bdcf6
fld dword [esp + 0x38]
fcomp dword [esp + 0x40]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdcf0
fld dword [esp + 0x38]
jmp 0x5bdcf4
fld dword [esp + 0x40]
fstp st(1)
push eax
push eax
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.00642950
pop ecx
pop ecx
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [esp + 0x24]
fsub dword [esp + 0x44]
mov dword [esp + 0x4c], eax
mov eax, dword [0x9b5f7c]
imul eax, eax, 0x24
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fsub dword [esp + 0x4c]
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fsub dword [esp + 0x44]
push eax
push eax
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fsub dword [esp + 0x54]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fsub dword [esp + 0x4c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x40]
fsub dword [esp + 0x54]
fstp dword [esp + 0x40]
fld dword [esp + 0x44]
fsub dword [esp + 0x4c]
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fsub dword [esp + 0x54]
fstp dword [esp + 0x48]
fld dword [esp + 0x2c]
fstp dword [eax + 0x7e9e2c]
fld dword [esp + 0x30]
fstp dword [eax + 0x7e9e30]
fld dword [esp + 0x34]
fstp dword [eax + 0x7e9e50]
fld dword [esp + 0x38]
fstp dword [eax + 0x7e9e54]
fld dword [esp + 0x3c]
fstp dword [eax + 0x7e9e74]
fld dword [esp + 0x40]
fstp dword [eax + 0x7e9e78]
fld dword [esp + 0x44]
fstp dword [eax + 0x7e9e98]
fld dword [esp + 0x48]
fstp dword [eax + 0x7e9e9c]
fld dword [esp + 0x88]
fadd dword [0x69ccd4]
fmul dword [0x69cc5c]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp qword [esp]
call fcn.00642950
pop ecx
pop ecx
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [esp + 0x10]
mov dword [esp + 0x50], eax
push eax
fsub dword [esp + 0x54]
push eax
fstp dword [esp + 0x18]
fld dword [esp + 0x8c]
fadd dword [0x69cc54]
fmul dword [0x69cc5c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp qword [esp]
call fcn.00642950
pop ecx
pop ecx
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [esp + 0x14]
mov dword [esp + 0x54], eax
fsub dword [esp + 0x54]
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fadd dword [esp + 0x14]
fmul dword [0x69ccd8]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fsin
fnstsw ax
test eax, 0x400
je 0x5bde86
call fcn.00642970
fsin
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [0x69cc6c]
fmul dword [0x9b6a9c]
mov dword [esp + 0x58], eax
mov eax, dword [0x9b5f7c]
imul eax, eax, 0x24
fadd dword [0x69cc70]
fmul dword [esp + 0x58]
fadd dword [ebx]
push eax
push eax
fstp dword [esp + 0x28]
fld dword [esp + 0x88]
fstp dword [eax + 0x7e9e10]
fld dword [esp + 0x8c]
fstp dword [eax + 0x7e9e14]
fld dword [esp + 0x28]
fstp dword [eax + 0x7e9e18]
fld dword [esp + 0x90]
fadd dword [0x69ccd4]
fmul dword [0x69cc5c]
fstp dword [esp + 0xb0]
fld dword [esp + 0xb0]
fstp qword [esp]
call fcn.00642950
pop ecx
pop ecx
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [esp + 0xa8]
mov dword [esp + 0x5c], eax
push eax
fsub dword [esp + 0x60]
push eax
fstp dword [esp + 0xb0]
fld dword [esp + 0x94]
fadd dword [0x69cc54]
fmul dword [0x69cc5c]
fstp dword [esp + 0xbc]
fld dword [esp + 0xbc]
fstp qword [esp]
call fcn.00642950
pop ecx
pop ecx
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [esp + 0xb4]
mov dword [esp + 0x60], eax
fsub dword [esp + 0x60]
fstp dword [esp + 0xb4]
fld dword [esp + 0xa8]
fadd dword [esp + 0xb4]
fmul dword [0x69ccd8]
fadd dword [esp + 0x1c]
fstp dword [esp + 0xb8]
fld dword [esp + 0xb8]
fsin
fnstsw ax
test eax, 0x400
je 0x5bdfba
call fcn.00642970
fsin
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [0x69cc6c]
fmul dword [0x9b6a9c]
mov dword [esp + 0x64], eax
mov eax, dword [0x9b5f7c]
imul eax, eax, 0x24
fadd dword [0x69cc70]
fmul dword [esp + 0x64]
fadd dword [ebx]
push eax
push eax
fstp dword [esp + 0xcc]
fld dword [esp + 0x90]
fstp dword [eax + 0x7e9e34]
fld dword [esp + 0x94]
fstp dword [eax + 0x7e9e38]
fld dword [esp + 0xcc]
fstp dword [eax + 0x7e9e3c]
fld dword [esp + 0x98]
fadd dword [0x69ccd4]
fmul dword [0x69cc5c]
fstp dword [esp + 0xac]
fld dword [esp + 0xac]
fstp qword [esp]
call fcn.00642950
pop ecx
pop ecx
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [esp + 0xa4]
mov dword [esp + 0x68], eax
push eax
fsub dword [esp + 0x6c]
push eax
fstp dword [esp + 0xac]
fld dword [esp + 0x9c]
fadd dword [0x69cc54]
fmul dword [0x69cc5c]
fstp dword [esp + 0xb8]
fld dword [esp + 0xb8]
fstp qword [esp]
call fcn.00642950
pop ecx
pop ecx
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [esp + 0xb0]
mov dword [esp + 0x6c], eax
fsub dword [esp + 0x6c]
fstp dword [esp + 0xb0]
fld dword [esp + 0xa4]
fadd dword [esp + 0xb0]
fmul dword [0x69ccd8]
fadd dword [esp + 0x1c]
fsin
fnstsw ax
test eax, 0x400
je 0x5be0e6
call fcn.00642970
fsin
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [0x69cc6c]
fmul dword [0x9b6a9c]
mov dword [esp + 0x70], eax
mov eax, dword [0x9b5f7c]
imul eax, eax, 0x24
fadd dword [0x69cc70]
fmul dword [esp + 0x70]
fadd dword [ebx]
push eax
push eax
fstp dword [esp + 0xc8]
fld dword [esp + 0x98]
fstp dword [eax + 0x7e9e58]
fld dword [esp + 0x9c]
fstp dword [eax + 0x7e9e5c]
fld dword [esp + 0xc8]
fstp dword [eax + 0x7e9e60]
fld dword [esp + 0xa0]
fadd dword [0x69ccd4]
fmul dword [0x69cc5c]
fstp dword [esp + 0xa8]
fld dword [esp + 0xa8]
fstp qword [esp]
call fcn.00642950
pop ecx
pop ecx
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [esp + 0xa0]
mov dword [esp + 0x74], eax
push eax
fsub dword [esp + 0x78]
push eax
fstp dword [esp + 0xa8]
fld dword [esp + 0xa4]
fadd dword [0x69cc54]
fmul dword [0x69cc5c]
fstp dword [esp + 0xb4]
fld dword [esp + 0xb4]
fstp qword [esp]
call fcn.00642950
pop ecx
pop ecx
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [esp + 0xac]
mov dword [esp + 0x78], eax
fsub dword [esp + 0x78]
fstp dword [esp + 0xac]
fld dword [esp + 0xa0]
fadd dword [esp + 0xac]
fmul dword [0x69ccd8]
fadd dword [esp + 0x1c]
fsin
fnstsw ax
test eax, 0x400
je 0x5be212
call fcn.00642970
fsin
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [0x69cc6c]
fmul dword [0x9b6a9c]
mov dword [esp + 0x7c], eax
mov eax, dword [0x9b5f7c]
imul eax, eax, 0x24
fadd dword [0x69cc70]
mov edx, dword [0x978594]
mov ecx, dword [0x978594]
inc ebp
fmul dword [esp + 0x7c]
fadd dword [ebx]
fstp dword [esp + 0xbc]
fld dword [esp + 0x98]
fstp dword [eax + 0x7e9e7c]
fld dword [esp + 0x9c]
fstp dword [eax + 0x7e9e80]
fld dword [esp + 0xbc]
fstp dword [eax + 0x7e9e84]
mov ax, word [0x9b5f7c]
mov word [edx*2 + 0x933bc8], ax
mov eax, dword [0x9b5f7c]
add eax, 2
mov edx, dword [0x978594]
mov word [ecx*2 + 0x933bca], ax
mov cx, word [0x9b5f7c]
inc ecx
mov word [edx*2 + 0x933bcc], cx
mov edx, dword [0x978594]
mov cx, word [0x9b5f7c]
mov word [edx*2 + 0x933bce], cx
mov cx, word [0x9b5f7c]
add ecx, 3
mov edx, dword [0x978594]
add dword [0x9b5f7c], 4
mov word [edx*2 + 0x933bd0], cx
mov edx, dword [0x978594]
add dword [0x978594], 6
cmp ebp, 4
mov word [edx*2 + 0x933bd2], ax
jl 0x5bd7c0
add esp, 0xd0
pop ebp
pop edi
pop esi
pop ebx
ret