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

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 0xb0
mov eax, dword [esp + 0xc4]
mov dword [esp], ecx
mov dword [eax + 0x78], 0
mov eax, ecx
movsx eax, word [eax + 0xa]
fldz
fldz
mov dword [esp + 0x78], eax
mov eax, dword [esp]
movsx eax, word [eax + 8]
fild dword [esp + 0x78]
mov dword [esp + 0x78], eax
mov eax, dword [esp]
fstp st(1)
fild dword [esp + 0x78]
movsx eax, word [eax + 6]
fstp st(2)
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
fstp dword [esp + 0x80]
lea eax, [esp + 0x80]
mov dword [esp + 8], 0x7e4ef8
fld st(1)
push eax
lea eax, [esp + 0x9c]
fstp dword [esp + 0x88]
fst dword [esp + 0x8c]
fcompp
push dword [esp + 0xc]
push eax
call fcn.004dff20
fldz
fldz
fldz
fldz
fldz
fld dword [esp + 0xa4]
fstp dword [0x9b6e10]
fld dword [esp + 0xa8]
fstp dword [0x9b6e14]
fld dword [esp + 0xac]
fstp dword [0x9b6e18]
fld dword [0x9b6e18]
fstp st(5)
add esp, 0xc
fld st(4)
fcomp dword [0x6dc430]
fnstsw ax
test ah, 0x45
jne 0x6359e2
fld dword [0x6dc430]
fdiv st(5)
fstp st(5)
fild dword [0x9b48e4]
mov al, 1
fmul st(5)
fstp st(4)
fld dword [0x9b6e10]
fmul st(4)
fstp dword [0x9b6e10]
fild dword [0x9b48e8]
fmul st(5)
fstp st(5)
fld dword [0x9b6e14]
fmul st(5)
fstp dword [0x9b6e14]
jmp 0x6359e4
xor al, al
test al, al
jne 0x635a00
fcompp
fcompp
xor al, al
add esp, 0xb0
fstp st(0)
pop ebp
pop edi
pop esi
pop ebx
ret 4
fld dword [0x9b6e18]
fstp st(5)
fld st(4)
fcomp dword [0x6dc458]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x635a30
fcompp
fcompp
xor al, al
add esp, 0xb0
fstp st(0)
pop ebp
pop edi
pop esi
pop ebx
ret 4
fld st(4)
fcomp dword [0x6dc45c]
fnstsw ax
test ah, 0x45
jne 0x635a54
fcompp
fcompp
xor al, al
add esp, 0xb0
fstp st(0)
pop ebp
pop edi
pop esi
pop ebx
ret 4
mov eax, dword [esp]
mov si, word [eax]
mov bp, word [eax + 2]
cmp si, bp
jg 0x635a65
mov esi, ebp
movsx eax, si
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc4]
fild dword [esp + 0x78]
fmul dword [0x6dc460]
fadd st(5)
fstp dword [eax + 0x7c]
mov eax, dword [esp]
mov ax, word [eax + 0xc]
and eax, 0xffff
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
fmul dword [0x6dc464]
fsin
fnstsw ax
test eax, 0x400
je 0x635aae
call fcn.00642920
fsin
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
mov eax, dword [esp]
mov ax, word [eax + 0xc]
and eax, 0xffff
mov dword [esp + 0x78], eax
fstp st(5)
fild dword [esp + 0x78]
fmul dword [0x6dc464]
fcos
fnstsw ax
test eax, 0x400
je 0x635ae4
call fcn.00642920
fcos
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
mov eax, dword [esp]
mov dx, word [eax]
movsx eax, dx
fstp st(3)
neg eax
mov dword [esp + 0x78], eax
fild dword [esp + 0x78]
movsx eax, dx
mov edx, 0x7e46b8
fmul dword [0x6dc448]
mov dword [esp + 0x78], eax
mov eax, dword [esp]
mov edi, edx
fmul st(3)
fstp dword [esp + 0x4c]
fild dword [esp + 0x78]
movsx eax, word [eax + 2]
fmul dword [0x6dc448]
mov dword [esp + 0x78], eax
mov eax, dword [esp]
fmul st(5)
fstp st(4)
fild dword [esp + 0x78]
fmul dword [0x6dc448]
fstp st(2)
fld st(1)
fmul st(5)
fstp dword [esp + 0x58]
fld st(1)
fmul st(3)
fstp dword [esp + 0x54]
movsx eax, word [eax + 4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
fild dword [esp + 0x78]
fmul dword [0x6dc448]
fstp st(3)
fld dword [esp + 0x80]
fadd st(4)
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x88]
fstp st(1)
fld dword [esp + 0x50]
fadd dword [esp + 0x4c]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x1c]
fstp st(5)
fld dword [esp + 0x5c]
fadd dword [0x6dc444]
xor eax, dword [esp + 0x1c]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fstp st(2)
fld st(1)
fsub dword [edi + 8]
fstp st(2)
fld st(4)
fsub dword [edi + 4]
fstp st(5)
fsub dword [edi]
fld st(4)
fmul dword [esp + 0x4c]
fld st(1)
fmul st(5)
faddp st(1)
fld st(2)
fmul dword [0x6dc444]
mov dword [esp + 0x1c], eax
faddp st(1)
fcomp dword [0x6dc444]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x635bfc
inc dword [esp + 0x1c]
fld dword [0x6dc444]
fchs
fstp st(5)
mov ebx, edx
fld st(4)
fstp dword [esp + 0x48]
fld dword [esp + 0x80]
fsub st(4)
fstp dword [esp + 0x74]
fld dword [esp + 0x74]
fstp st(1)
fld dword [esp + 0x50]
fsub dword [esp + 0x4c]
fstp dword [esp + 0x70]
fld dword [esp + 0x70]
fstp st(2)
fld dword [esp + 0x5c]
fsub dword [0x6dc444]
fstp dword [esp + 0x60]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
fld dword [esp + 0x38]
fsub dword [ebx + 8]
xor eax, dword [esp + 0x2c]
fstp dword [esp + 0x44]
fld st(1)
fsub dword [ebx + 4]
fstp st(2)
fsub dword [ebx]
fld dword [esp + 0x4c]
fchs
fmul st(2)
fld st(4)
fchs
fmul st(2)
faddp st(1)
fld dword [esp + 0x44]
fmul dword [esp + 0x48]
mov dword [esp + 0x2c], eax
faddp st(1)
fcomp dword [0x6dc444]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x635c97
inc dword [esp + 0x2c]
fld dword [esp + 0x80]
fadd dword [esp + 0x54]
mov eax, edx
fstp st(1)
fld dword [esp + 0x64]
fsub dword [eax + 8]
fstp st(2)
fld dword [esp + 0x50]
fadd dword [esp + 0x58]
fsub dword [eax + 4]
fstp st(4)
fsub dword [eax]
fld st(3)
fmul dword [esp + 0x58]
fld st(1)
fmul dword [esp + 0x54]
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x14]
faddp st(1)
fld st(2)
fmul dword [0x6dc444]
mov dword [esp + 0x14], eax
faddp st(1)
fcomp dword [0x6dc444]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x635cf6
inc dword [esp + 0x14]
fld dword [esp + 0x80]
fsub dword [esp + 0x54]
mov eax, edx
fstp st(1)
fld dword [esp + 0x60]
fsub dword [eax + 8]
fstp st(2)
fld dword [esp + 0x50]
fsub dword [esp + 0x58]
fsub dword [eax + 4]
fstp st(4)
fsub dword [eax]
fld dword [esp + 0x58]
fchs
fmul st(4)
fld dword [esp + 0x54]
mov eax, dword [esp + 0x20]
fchs
fmul st(2)
faddp st(1)
fld st(2)
xor eax, dword [esp + 0x20]
fmul st(6)
faddp st(1)
fcomp dword [0x6dc444]
mov dword [esp + 0x20], eax
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x635d55
inc dword [esp + 0x20]
fld dword [esp + 0x80]
fadd dword [0x6dc444]
mov ecx, edx
mov eax, dword [esp + 0x24]
xor eax, dword [esp + 0x24]
fstp st(1)
fld dword [esp + 0x5c]
fadd st(3)
fsub dword [ecx + 8]
fstp st(2)
fld dword [esp + 0x50]
fadd dword [0x6dc444]
fsub dword [ecx + 4]
fstp st(4)
fsub dword [ecx]
fld st(3)
fmul dword [0x6dc444]
fld st(1)
fmul dword [0x6dc444]
mov dword [esp + 0x24], eax
faddp st(1)
fld st(2)
fmul st(4)
faddp st(1)
fcomp dword [0x6dc444]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x635dba
inc dword [esp + 0x24]
fld dword [esp + 0x80]
fsub dword [0x6dc444]
mov eax, dword [esp + 0x28]
xor eax, dword [esp + 0x28]
fstp st(1)
fld dword [esp + 0x5c]
fsub st(3)
fsub dword [edx + 8]
fstp st(2)
fld dword [esp + 0x50]
fsub dword [0x6dc444]
fsub dword [edx + 4]
fstp st(4)
fsub dword [edx]
fld st(3)
fmul st(5)
fld st(1)
fmul st(6)
faddp st(1)
fld st(3)
fchs
fmul st(3)
faddp st(1)
fcomp dword [0x6dc444]
mov dword [esp + 0x28], eax
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x635e17
inc dword [esp + 0x28]
fld dword [esp + 0x6c]
fadd dword [esp + 0x54]
xor ebx, ebx
xor ebp, ebp
fstp st(5)
fld st(4)
fadd dword [0x6dc444]
fstp dword [0x933b60]
fld dword [esp + 0x68]
fadd dword [esp + 0x58]
fstp st(4)
fld st(3)
fadd dword [0x6dc444]
fstp dword [0x933b64]
fld dword [esp + 0x64]
fadd dword [0x6dc444]
fadd st(3)
fstp dword [0x933b68]
fld dword [esp + 0x74]
fadd dword [esp + 0x54]
fstp st(2)
fld st(1)
fadd dword [0x6dc444]
fstp dword [0x933b6c]
fld dword [esp + 0x70]
fadd dword [esp + 0x58]
fst st(1)
fadd dword [0x6dc444]
fstp dword [0x933b70]
fld dword [esp + 0x60]
fadd dword [0x6dc444]
fadd st(3)
fstp dword [0x933b74]
fld dword [esp + 0x6c]
fsub dword [esp + 0x54]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fadd dword [0x6dc444]
fstp dword [0x933b78]
fld dword [esp + 0x68]
fsub dword [esp + 0x58]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fadd dword [0x6dc444]
fstp dword [0x933b7c]
fld dword [esp + 0x64]
fsub dword [0x6dc444]
fadd st(3)
fstp dword [0x933b80]
fld dword [esp + 0x74]
fsub dword [esp + 0x54]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fadd dword [0x6dc444]
fstp dword [0x933b84]
fld dword [esp + 0x70]
fsub dword [esp + 0x58]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fadd dword [0x6dc444]
fstp dword [0x933b88]
fld dword [esp + 0x60]
fsub dword [0x6dc444]
fadd st(3)
fstp dword [0x933b8c]
fld st(4)
fsub dword [0x6dc444]
fstp dword [0x933b90]
fld st(3)
fsub dword [0x6dc444]
fstp dword [0x933b94]
fld dword [esp + 0x64]
fadd dword [0x6dc444]
fsub st(3)
fstp dword [0x933b98]
fld st(1)
fsub dword [0x6dc444]
fstp dword [0x933b9c]
fld st(0)
fsub dword [0x6dc444]
fstp dword [0x933ba0]
fld dword [esp + 0x60]
fadd dword [0x6dc444]
fsub st(3)
fstp dword [0x933ba4]
fld dword [esp + 0x30]
fsub dword [0x6dc444]
fstp dword [0x933ba8]
fld dword [esp + 0x34]
fsub dword [0x6dc444]
fstp dword [0x933bac]
fld dword [esp + 0x64]
fsub dword [0x6dc444]
fsub st(3)
fstp dword [0x933bb0]
fld dword [esp + 0x3c]
fsub dword [0x6dc444]
fstp dword [0x933bb4]
fld dword [esp + 0x40]
fsub dword [0x6dc444]
fstp dword [0x933bb8]
fld dword [esp + 0x60]
fsub dword [0x6dc444]
fsub st(3)
fstp dword [0x933bbc]
fcompp
fcompp
fstp st(0)
lea esi, [ebp + 0x933b60]
lea edi, [esp + 0x8c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0xa8]
push dword [esp + 0xc]
push eax
call fcn.004dff20
fldz
fldz
fld dword [esp + 0xb0]
fstp dword [ebp + 0x7d1548]
fld dword [esp + 0xb4]
fstp dword [ebp + 0x7d154c]
fld dword [esp + 0xb8]
fstp dword [ebp + 0x7d1550]
fld dword [ebp + 0x7d1550]
fstp st(2)
add esp, 0xc
fld st(1)
fcomp dword [0x6dc430]
fnstsw ax
test ah, 0x45
jne 0x6360a3
fld dword [0x6dc430]
fdiv st(2)
fstp st(2)
fild dword [0x9b48e4]
mov al, 1
fmul st(2)
fstp st(1)
fld dword [ebp + 0x7d1548]
fmul st(1)
fstp dword [ebp + 0x7d1548]
fild dword [0x9b48e8]
fmul st(2)
fstp st(2)
fld dword [ebp + 0x7d154c]
fmul st(2)
fstp dword [ebp + 0x7d154c]
jmp 0x6360a5
xor al, al
mov byte [ebx + 0x94c030], al
inc ebx
add ebp, 0xc
cmp ebx, 8
jl 0x6363c6
movzx eax, byte [esp + 0x14]
movzx ebx, byte [esp + 0x1c]
mov dword [0xa0dad4], 0x497423fe
mov dword [0xa0dad0], 0xc97423fe
fld dword [0xa0dad4]
mov dword [esp + 0x18], eax
mov eax, ebx
fstp dword [0x9b5f14]
fld dword [0xa0dad0]
xor eax, dword [esp + 0x18]
fstp dword [0x9b5f10]
je 0x6363d0
fcompp
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 4
push 0
call fcn.00635270
test al, al
je 0x636126
xor al, al
add esp, 0xb0
pop ebp
pop edi
pop esi
pop ebx
ret 4
movzx eax, byte [esp + 0x20]
mov dword [esp + 0xc], eax
mov eax, ebx
xor eax, dword [esp + 0xc]
je 0x636160
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 6
push 2
call fcn.00635270
test al, al
je 0x636160
xor al, al
add esp, 0xb0
pop ebp
pop edi
pop esi
pop ebx
ret 4
movzx eax, byte [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, ebx
xor eax, dword [esp + 0x10]
je 0x636197
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 2
push 0
call fcn.00635270
test al, al
je 0x636197
xor al, al
add esp, 0xb0
pop ebp
pop edi
pop esi
pop ebx
ret 4
movzx eax, byte [esp + 0x28]
mov dword [esp + 4], eax
xor ebx, dword [esp + 4]
je 0x6361d0
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 6
push 4
call fcn.00635270
test al, al
je 0x6361d0
xor al, al
add esp, 0xb0
pop ebp
pop edi
pop esi
pop ebx
ret 4
movzx ebx, byte [esp + 0x2c]
mov eax, ebx
xor eax, dword [esp + 0x18]
je 0x636203
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 5
push 1
call fcn.00635270
test al, al
je 0x636203
xor al, al
add esp, 0xb0
pop ebp
pop edi
pop esi
pop ebx
ret 4
mov eax, ebx
xor eax, dword [esp + 0xc]
je 0x636231
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 7
push 3
call fcn.00635270
test al, al
je 0x636231
xor al, al
add esp, 0xb0
pop ebp
pop edi
pop esi
pop ebx
ret 4
mov eax, ebx
xor eax, dword [esp + 0x10]
je 0x636260
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 3
push 1
call fcn.00635270
test al, al
je 0x636260
xor al, al
add esp, 0xb0
pop ebp
pop edi
pop esi
pop ebx
ret 4
xor ebx, dword [esp + 4]
je 0x636290
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 7
push 5
call fcn.00635270
test al, al
je 0x636290
xor al, al
add esp, 0xb0
pop ebp
pop edi
pop esi
pop ebx
ret 4
mov eax, dword [esp + 0x18]
xor eax, dword [esp + 0x10]
je 0x6362c0
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 1
push 0
call fcn.00635270
test al, al
je 0x6362c0
xor al, al
add esp, 0xb0
pop ebp
pop edi
pop esi
pop ebx
ret 4
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0xc]
test eax, eax
mov dword [esp + 0x10], eax
je 0x6362f6
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 3
push 2
call fcn.00635270
test al, al
je 0x6362f6
xor al, al
add esp, 0xb0
pop ebp
pop edi
pop esi
pop ebx
ret 4
mov eax, dword [esp + 0xc]
xor eax, dword [esp + 4]
test eax, eax
mov dword [esp + 0xc], eax
je 0x636330
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 7
push 6
call fcn.00635270
test al, al
je 0x636330
xor al, al
add esp, 0xb0
pop ebp
pop edi
pop esi
pop ebx
ret 4
mov eax, dword [esp + 4]
xor eax, dword [esp + 0x18]
test eax, eax
mov dword [esp + 4], eax
je 0x636366
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 5
push 4
call fcn.00635270
test al, al
je 0x636366
xor al, al
add esp, 0xb0
pop ebp
pop edi
pop esi
pop ebx
ret 4
fld dword [0x9b5f10]
fsub dword [0x9b5f14]
fild dword [0x9b48e4]
fmul dword [0x6dc468]
fcompp
fnstsw ax
test ah, 0x45
je 0x6363a8
fld dword [0xa0dad0]
fsub dword [0xa0dad4]
fild dword [0x9b48e8]
fmul dword [0x6dc46c]
fcompp
fnstsw ax
test ah, 0x45
jne 0x6363b7
xor al, al
add esp, 0xb0
pop ebp
pop edi
pop esi
pop ebx
ret 4
add esp, 0xb0
mov al, 1
pop ebp
pop edi
pop esi
pop ebx
ret 4
fcompp
jmp 0x635ff7
fcompp
jmp 0x636126