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

Disassembly:
mov ecx, dword [0x974b2c]
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 [0x97858c], 0x3fa
jge 0x5bd7b8
cmp dword [0x9b5f74], 0x1fc
jl 0x5bd80f
cmp dword [0x9b5f74], 0
je 0x5bd7fb
call fcn.004a9630
mov eax, dword [0x9b5f74]
push 1
push 0
push eax
push 0x7e9e08
call fcn.0065ae90
add esp, 0x10
test eax, eax
je 0x5bd7fb
mov eax, dword [0x97858c]
push eax
push 0x933bc0
push 3
call fcn.0065af90
add esp, 0xc
call fcn.0065af60
mov dword [0x97858c], 0
mov dword [0x9b5f74], 0
mov ecx, dword [0x9b5f74]
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 + 0x7e9e20], 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 + 0x7e9e44], 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 + 0x7e9e68], 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 + 0x7e9e8c], 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 0x5bdb31
fld dword [esp + 0x34]
jmp 0x5bdb35
fld dword [esp + 0x3c]
fstp st(5)
fld dword [esp + 0x2c]
fcomp st(5)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdb50
fld dword [esp + 0x2c]
jmp 0x5bdb70
fld dword [esp + 0x34]
fcomp dword [esp + 0x3c]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdb68
fld dword [esp + 0x34]
jmp 0x5bdb6c
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 0x5bdb88
fld dword [esp + 0x24]
jmp 0x5bdbe4
fld dword [esp + 0x34]
fcomp dword [esp + 0x3c]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdba0
fld dword [esp + 0x34]
jmp 0x5bdba4
fld dword [esp + 0x3c]
fstp st(5)
fld dword [esp + 0x2c]
fcomp st(5)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdbc0
fld dword [esp + 0x2c]
jmp 0x5bdbe0
fld dword [esp + 0x34]
fcomp dword [esp + 0x3c]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdbd8
fld dword [esp + 0x34]
jmp 0x5bdbdc
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.00642900
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 0x5bdc24
mov eax, dword [esp + 0x38]
jmp 0x5bdc28
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 0x5bdc48
fld dword [esp + 0x30]
fstp st(1)
jmp 0x5bdc66
fld dword [esp + 0x38]
fcomp dword [esp + 0x40]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdc60
fld dword [esp + 0x38]
jmp 0x5bdc64
fld dword [esp + 0x40]
fstp st(1)
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdc80
fld dword [esp + 0x28]
fstp st(1)
jmp 0x5bdcd6
fld dword [esp + 0x38]
fcomp dword [esp + 0x40]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdc98
fld dword [esp + 0x38]
jmp 0x5bdc9c
fld dword [esp + 0x40]
fstp st(1)
fld dword [esp + 0x30]
fcomp st(1)
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdcb6
fld dword [esp + 0x30]
fstp st(1)
jmp 0x5bdcd6
fld dword [esp + 0x38]
fcomp dword [esp + 0x40]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x5bdcd0
fld dword [esp + 0x38]
jmp 0x5bdcd4
fld dword [esp + 0x40]
fstp st(1)
push eax
push eax
fld st(0)
fstp qword [esp]
fstp st(0)
call fcn.00642900
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 [0x9b5f74]
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 + 0x7e9e24]
fld dword [esp + 0x30]
fstp dword [eax + 0x7e9e28]
fld dword [esp + 0x34]
fstp dword [eax + 0x7e9e48]
fld dword [esp + 0x38]
fstp dword [eax + 0x7e9e4c]
fld dword [esp + 0x3c]
fstp dword [eax + 0x7e9e6c]
fld dword [esp + 0x40]
fstp dword [eax + 0x7e9e70]
fld dword [esp + 0x44]
fstp dword [eax + 0x7e9e90]
fld dword [esp + 0x48]
fstp dword [eax + 0x7e9e94]
fld dword [esp + 0x88]
fadd dword [0x69ccd4]
fmul dword [0x69cc5c]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp qword [esp]
call fcn.00642900
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.00642900
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 0x5bde66
call fcn.00642920
fsin
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [0x69cc6c]
fmul dword [0x9b6a94]
mov dword [esp + 0x58], eax
mov eax, dword [0x9b5f74]
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 + 0x7e9e08]
fld dword [esp + 0x8c]
fstp dword [eax + 0x7e9e0c]
fld dword [esp + 0x28]
fstp dword [eax + 0x7e9e10]
fld dword [esp + 0x90]
fadd dword [0x69ccd4]
fmul dword [0x69cc5c]
fstp dword [esp + 0xb0]
fld dword [esp + 0xb0]
fstp qword [esp]
call fcn.00642900
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.00642900
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 0x5bdf9a
call fcn.00642920
fsin
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [0x69cc6c]
fmul dword [0x9b6a94]
mov dword [esp + 0x64], eax
mov eax, dword [0x9b5f74]
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 + 0x7e9e2c]
fld dword [esp + 0x94]
fstp dword [eax + 0x7e9e30]
fld dword [esp + 0xcc]
fstp dword [eax + 0x7e9e34]
fld dword [esp + 0x98]
fadd dword [0x69ccd4]
fmul dword [0x69cc5c]
fstp dword [esp + 0xac]
fld dword [esp + 0xac]
fstp qword [esp]
call fcn.00642900
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.00642900
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 0x5be0c6
call fcn.00642920
fsin
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [0x69cc6c]
fmul dword [0x9b6a94]
mov dword [esp + 0x70], eax
mov eax, dword [0x9b5f74]
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 + 0x7e9e50]
fld dword [esp + 0x9c]
fstp dword [eax + 0x7e9e54]
fld dword [esp + 0xc8]
fstp dword [eax + 0x7e9e58]
fld dword [esp + 0xa0]
fadd dword [0x69ccd4]
fmul dword [0x69cc5c]
fstp dword [esp + 0xa8]
fld dword [esp + 0xa8]
fstp qword [esp]
call fcn.00642900
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.00642900
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 0x5be1f2
call fcn.00642920
fsin
fstp dword [esp + 0xc8]
mov eax, dword [esp + 0xc8]
fld dword [0x69cc6c]
fmul dword [0x9b6a94]
mov dword [esp + 0x7c], eax
mov eax, dword [0x9b5f74]
imul eax, eax, 0x24
fadd dword [0x69cc70]
mov edx, dword [0x97858c]
mov ecx, dword [0x97858c]
inc ebp
fmul dword [esp + 0x7c]
fadd dword [ebx]
fstp dword [esp + 0xbc]
fld dword [esp + 0x98]
fstp dword [eax + 0x7e9e74]
fld dword [esp + 0x9c]
fstp dword [eax + 0x7e9e78]
fld dword [esp + 0xbc]
fstp dword [eax + 0x7e9e7c]
mov ax, word [0x9b5f74]
mov word [edx*2 + 0x933bc0], ax
mov eax, dword [0x9b5f74]
add eax, 2
mov edx, dword [0x97858c]
mov word [ecx*2 + 0x933bc2], ax
mov cx, word [0x9b5f74]
inc ecx
mov word [edx*2 + 0x933bc4], cx
mov edx, dword [0x97858c]
mov cx, word [0x9b5f74]
mov word [edx*2 + 0x933bc6], cx
mov cx, word [0x9b5f74]
add ecx, 3
mov edx, dword [0x97858c]
add dword [0x9b5f74], 4
mov word [edx*2 + 0x933bc8], cx
mov edx, dword [0x97858c]
add dword [0x97858c], 6
cmp ebp, 4
mov word [edx*2 + 0x933bca], ax
jl 0x5bd7a0
add esp, 0xd0
pop ebp
pop edi
pop esi
pop ebx
ret