Function at 0x635920
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], 0x7e4f00
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.004dff40
fldz
fldz
fldz
fldz
fldz
fld dword [esp + 0xa4]
fstp dword [0x9b6e18]
fld dword [esp + 0xa8]
fstp dword [0x9b6e1c]
fld dword [esp + 0xac]
fstp dword [0x9b6e20]
fld dword [0x9b6e20]
fstp st(5)
add esp, 0xc
fld st(4)
fcomp dword [0x6dc420]
fnstsw ax
test ah, 0x45
jne 0x635a32
fld dword [0x6dc420]
fdiv st(5)
fstp st(5)
fild dword [0x9b48ec]
mov al, 1
fmul st(5)
fstp st(4)
fld dword [0x9b6e18]
fmul st(4)
fstp dword [0x9b6e18]
fild dword [0x9b48f0]
fmul st(5)
fstp st(5)
fld dword [0x9b6e1c]
fmul st(5)
fstp dword [0x9b6e1c]
jmp 0x635a34
xor al, al
test al, al
jne 0x635a50
fcompp
fcompp
xor al, al
add esp, 0xb0
fstp st(0)
pop ebp
pop edi
pop esi
pop ebx
ret 4
fld dword [0x9b6e20]
fstp st(5)
fld st(4)
fcomp dword [0x6dc448]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x635a80
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 [0x6dc44c]
fnstsw ax
test ah, 0x45
jne 0x635aa4
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 0x635ab5
mov esi, ebp
movsx eax, si
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xc4]
fild dword [esp + 0x78]
fmul dword [0x6dc450]
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 [0x6dc454]
fsin
fnstsw ax
test eax, 0x400
je 0x635afe
call fcn.00642970
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 [0x6dc454]
fcos
fnstsw ax
test eax, 0x400
je 0x635b34
call fcn.00642970
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, 0x7e46c0
fmul dword [0x6dc438]
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 [0x6dc438]
mov dword [esp + 0x78], eax
mov eax, dword [esp]
fmul st(5)
fstp st(4)
fild dword [esp + 0x78]
fmul dword [0x6dc438]
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 [0x6dc438]
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 [0x6dc434]
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 [0x6dc434]
mov dword [esp + 0x1c], eax
faddp st(1)
fcomp dword [0x6dc434]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x635c4c
inc dword [esp + 0x1c]
fld dword [0x6dc434]
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 [0x6dc434]
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 [0x6dc434]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x635ce7
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 [0x6dc434]
mov dword [esp + 0x14], eax
faddp st(1)
fcomp dword [0x6dc434]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x635d46
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 [0x6dc434]
mov dword [esp + 0x20], eax
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x635da5
inc dword [esp + 0x20]
fld dword [esp + 0x80]
fadd dword [0x6dc434]
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 [0x6dc434]
fsub dword [ecx + 4]
fstp st(4)
fsub dword [ecx]
fld st(3)
fmul dword [0x6dc434]
fld st(1)
fmul dword [0x6dc434]
mov dword [esp + 0x24], eax
faddp st(1)
fld st(2)
fmul st(4)
faddp st(1)
fcomp dword [0x6dc434]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x635e0a
inc dword [esp + 0x24]
fld dword [esp + 0x80]
fsub dword [0x6dc434]
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 [0x6dc434]
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 [0x6dc434]
mov dword [esp + 0x28], eax
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x635e67
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 [0x6dc434]
fstp dword [0x933b68]
fld dword [esp + 0x68]
fadd dword [esp + 0x58]
fstp st(4)
fld st(3)
fadd dword [0x6dc434]
fstp dword [0x933b6c]
fld dword [esp + 0x64]
fadd dword [0x6dc434]
fadd st(3)
fstp dword [0x933b70]
fld dword [esp + 0x74]
fadd dword [esp + 0x54]
fstp st(2)
fld st(1)
fadd dword [0x6dc434]
fstp dword [0x933b74]
fld dword [esp + 0x70]
fadd dword [esp + 0x58]
fst st(1)
fadd dword [0x6dc434]
fstp dword [0x933b78]
fld dword [esp + 0x60]
fadd dword [0x6dc434]
fadd st(3)
fstp dword [0x933b7c]
fld dword [esp + 0x6c]
fsub dword [esp + 0x54]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fadd dword [0x6dc434]
fstp dword [0x933b80]
fld dword [esp + 0x68]
fsub dword [esp + 0x58]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fadd dword [0x6dc434]
fstp dword [0x933b84]
fld dword [esp + 0x64]
fsub dword [0x6dc434]
fadd st(3)
fstp dword [0x933b88]
fld dword [esp + 0x74]
fsub dword [esp + 0x54]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fadd dword [0x6dc434]
fstp dword [0x933b8c]
fld dword [esp + 0x70]
fsub dword [esp + 0x58]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fadd dword [0x6dc434]
fstp dword [0x933b90]
fld dword [esp + 0x60]
fsub dword [0x6dc434]
fadd st(3)
fstp dword [0x933b94]
fld st(4)
fsub dword [0x6dc434]
fstp dword [0x933b98]
fld st(3)
fsub dword [0x6dc434]
fstp dword [0x933b9c]
fld dword [esp + 0x64]
fadd dword [0x6dc434]
fsub st(3)
fstp dword [0x933ba0]
fld st(1)
fsub dword [0x6dc434]
fstp dword [0x933ba4]
fld st(0)
fsub dword [0x6dc434]
fstp dword [0x933ba8]
fld dword [esp + 0x60]
fadd dword [0x6dc434]
fsub st(3)
fstp dword [0x933bac]
fld dword [esp + 0x30]
fsub dword [0x6dc434]
fstp dword [0x933bb0]
fld dword [esp + 0x34]
fsub dword [0x6dc434]
fstp dword [0x933bb4]
fld dword [esp + 0x64]
fsub dword [0x6dc434]
fsub st(3)
fstp dword [0x933bb8]
fld dword [esp + 0x3c]
fsub dword [0x6dc434]
fstp dword [0x933bbc]
fld dword [esp + 0x40]
fsub dword [0x6dc434]
fstp dword [0x933bc0]
fld dword [esp + 0x60]
fsub dword [0x6dc434]
fsub st(3)
fstp dword [0x933bc4]
fcompp
fcompp
fstp st(0)
lea esi, [ebp + 0x933b68]
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.004dff40
fldz
fldz
fld dword [esp + 0xb0]
fstp dword [ebp + 0x7d1550]
fld dword [esp + 0xb4]
fstp dword [ebp + 0x7d1554]
fld dword [esp + 0xb8]
fstp dword [ebp + 0x7d1558]
fld dword [ebp + 0x7d1558]
fstp st(2)
add esp, 0xc
fld st(1)
fcomp dword [0x6dc420]
fnstsw ax
test ah, 0x45
jne 0x6360f3
fld dword [0x6dc420]
fdiv st(2)
fstp st(2)
fild dword [0x9b48ec]
mov al, 1
fmul st(2)
fstp st(1)
fld dword [ebp + 0x7d1550]
fmul st(1)
fstp dword [ebp + 0x7d1550]
fild dword [0x9b48f0]
fmul st(2)
fstp st(2)
fld dword [ebp + 0x7d1554]
fmul st(2)
fstp dword [ebp + 0x7d1554]
jmp 0x6360f5
xor al, al
mov byte [ebx + 0x94c038], al
inc ebx
add ebp, 0xc
cmp ebx, 8
jl 0x636416
movzx eax, byte [esp + 0x14]
movzx ebx, byte [esp + 0x1c]
mov dword [0xa0dadc], 0x497423fe
mov dword [0xa0dad8], 0xc97423fe
fld dword [0xa0dadc]
mov dword [esp + 0x18], eax
mov eax, ebx
fstp dword [0x9b5f1c]
fld dword [0xa0dad8]
xor eax, dword [esp + 0x18]
fstp dword [0x9b5f18]
je 0x636420
fcompp
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 4
push 0
call fcn.006352c0
test al, al
je 0x636176
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 0x6361b0
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 6
push 2
call fcn.006352c0
test al, al
je 0x6361b0
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 0x6361e7
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 2
push 0
call fcn.006352c0
test al, al
je 0x6361e7
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 0x636220
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 6
push 4
call fcn.006352c0
test al, al
je 0x636220
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 0x636253
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 5
push 1
call fcn.006352c0
test al, al
je 0x636253
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 0x636281
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 7
push 3
call fcn.006352c0
test al, al
je 0x636281
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 0x6362b0
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 3
push 1
call fcn.006352c0
test al, al
je 0x6362b0
xor al, al
add esp, 0xb0
pop ebp
pop edi
pop esi
pop ebx
ret 4
xor ebx, dword [esp + 4]
je 0x6362e0
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 7
push 5
call fcn.006352c0
test al, al
je 0x6362e0
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 0x636310
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 1
push 0
call fcn.006352c0
test al, al
je 0x636310
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 0x636346
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 3
push 2
call fcn.006352c0
test al, al
je 0x636346
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 0x636380
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 7
push 6
call fcn.006352c0
test al, al
je 0x636380
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 0x6363b6
mov ecx, dword [esp]
push dword [esp + 0xc4]
push 5
push 4
call fcn.006352c0
test al, al
je 0x6363b6
xor al, al
add esp, 0xb0
pop ebp
pop edi
pop esi
pop ebx
ret 4
fld dword [0x9b5f18]
fsub dword [0x9b5f1c]
fild dword [0x9b48ec]
fmul dword [0x6dc458]
fcompp
fnstsw ax
test ah, 0x45
je 0x6363f8
fld dword [0xa0dad8]
fsub dword [0xa0dadc]
fild dword [0x9b48f0]
fmul dword [0x6dc45c]
fcompp
fnstsw ax
test ah, 0x45
jne 0x636407
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 0x636047
fcompp
jmp 0x636176