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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi + 0x23c], eax
mov ecx, dword [esi + 0x194]
mov edx, dword [esi + 0x198]
mov eax, dword [esi + 0x19c]
mov dword [ebp - 0x74], ecx
mov ecx, dword [esi + 0x1a0]
mov dword [ebp - 0x80], ecx
mov ecx, dword [esi + 0x244]
mov dword [ebp - 0x70], edx
mov edx, dword [esi + 0x1a4]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 0x1a8]
test ecx, ecx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], eax
je 0x6569a9
mov edx, dword [ebp + 8]
lea eax, [esi + 0x118]
push edx
push eax
call fcn.006513c0
push 0x5546e0
push 3
lea ecx, [ebp - 0xe0]
push 0xc
push ecx
call fcn.00401000
mov edi, 1
mov ecx, dword [esi + 0x244]
push 0x430560
push 3
push 0x10
mov eax, dword [ecx + 4]
add eax, edi
and eax, 0xf
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ecx]
mov ecx, dword [esi + 0x110]
lea ebx, [eax + edx*8]
lea edx, [ebp - 0x68]
push edx
mov dword [ebp - 4], ecx
call fcn.00401000
push ebx
add ebx, 0xc
push ebx
lea ecx, [ebp - 0x68]
call fcn.005f56d0
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0xe0]
add ecx, 4
push eax
lea edx, [ebp - 0x68]
push ecx
push edx
call fcn.006538d0
add esp, 0xc
inc edi
cmp edi, 0x10
jl 0x656945
fld dword [esi + 0x250]
fld dword [esi + 0x24c]
fld dword [esi + 0x248]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fcomp dword [0x7cf070]
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 0x41
fstp st(0)
jne 0x6569e9
mov eax, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.00653a50
mov edx, dword [esi + 0x38]
mov ecx, edx
and ecx, 0x8000
cmp ecx, 0x8000
jne 0x656a4f
mov ecx, dword [esi + 0x94]
test ecx, ecx
je 0x65717b
fld dword [ecx + 0xc]
fcomp dword [0x7cd7b4]
fnstsw ax
test ah, 0x40
je 0x656a49
fld dword [ecx + 8]
fld dword [ecx + 4]
fld dword [ecx]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fcomp dword [0x7cd7b4]
fstp st(0)
fnstsw ax
fstp st(0)
test ah, 0x40
fstp st(0)
jne 0x65717b
and dh, 0x7f
mov dword [esi + 0x38], edx
mov ecx, dword [esi + 0x38]
mov edx, ecx
and edx, 0x100
cmp edx, 0x100
je 0x65717b
mov eax, ecx
and ecx, 0xfffffff
shr eax, 0x1c
inc eax
shl eax, 0x1c
or ecx, eax
lea eax, [ebp - 0x50]
mov dword [esi + 0x38], ecx
mov ecx, dword [esi + 0x110]
push eax
call fcn.0066cb10
fld dword [esi + 0x194]
fmul dword [0x7ce394]
fld dword [esi + 0x198]
fmul dword [0x7ce394]
fstp dword [ebp - 0x2c]
fld dword [esi + 0x19c]
fmul dword [0x7ce394]
fstp dword [ebp - 0x28]
fmul dword [ebp + 8]
fld dword [ebp - 0x2c]
fmul dword [ebp + 8]
fstp dword [ebp - 0xc]
fld dword [ebp - 0x28]
fmul dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, edx
fstp dword [ebp - 8]
and eax, 0x7fffffff
fld st(0)
fmul dword [0x7cd778]
fld dword [ebp - 0xc]
fmul dword [0x7cd778]
fstp dword [ebp - 0x2c]
fld dword [ebp - 8]
fmul dword [0x7cd778]
fstp dword [ebp - 0x28]
fadd dword [ebp - 0x50]
fstp dword [ebp - 0x50]
fld dword [ebp - 0x4c]
fadd dword [ebp - 0x2c]
fstp dword [ebp - 0x4c]
fld dword [ebp - 0x48]
fadd dword [ebp - 0x28]
fstp dword [ebp - 0x48]
fstp dword [ebp - 4]
mov ecx, dword [ebp - 4]
and ecx, 0x7fffffff
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 8]
fld dword [ebp - 4]
fadd dword [ebp - 0x44]
mov dword [ebp - 4], edx
mov dword [ebp - 4], eax
fld dword [ebp - 4]
fadd dword [ebp - 0x40]
mov edx, ecx
mov dword [ebp - 4], ecx
and edx, 0x7fffffff
mov dword [ebp - 4], edx
fstp dword [ebp - 0x40]
fld dword [ebp - 4]
fadd dword [ebp - 0x3c]
fstp dword [ebp - 0x3c]
mov al, byte [esi + 0x38]
lea ecx, [ebp - 0x50]
fadd st(0), st(0)
and eax, 0xf
push eax
push ecx
mov ecx, dword [0x855444]
fstp dword [ebp - 0x44]
fld dword [ebp - 0x40]
fadd st(0), st(0)
fstp dword [ebp - 0x40]
fld dword [ebp - 0x3c]
fadd st(0), st(0)
fstp dword [ebp - 0x3c]
call fcn.006313d0
fld dword [ebp + 8]
fcomp dword [0x7cd7b4]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x14], edx
fnstsw ax
test ah, 0x41
jne 0x65706b
cmp dword [ebp - 0x34], 0xa
jge 0x65706b
lea ebx, [esi + 0x118]
lea ecx, [ebp - 0xd8]
push ebx
call fcn.00653990
test esi, esi
je 0x656bbc
lea eax, [esi + 0xc0]
jmp 0x656bbe
xor eax, eax
mov ecx, dword [ebp - 0x14]
push ecx
push eax
call fcn.0077cbc0
lea edi, [esi + 0x124]
add esp, 8
mov ecx, edi
call fcn.005f68d0
mov ecx, esi
call fcn.006553e0
mov ecx, dword [esi + 0x110]
push 1
push 1
push 0
call fcn.0066ccf0
test al, al
jne 0x656c0a
mov dword [ebp - 0x14], 0
mov dword [esi + 0x238], 0
jmp 0x657050
mov ecx, dword [esi + 0x238]
lea edx, [ebp - 0xd8]
inc ecx
push edx
mov dword [esi + 0x238], ecx
mov ecx, esi
call fcn.00657620
fild dword [esi + 0x238]
test al, al
fadd dword [0x7cd794]
fdivr dword [0x7cd794]
fld st(0)
fmul dword [esi + 0x140]
fstp dword [esi + 0x140]
fld st(0)
fmul dword [esi + 0x144]
fstp dword [esi + 0x144]
fmul dword [esi + 0x148]
fstp dword [esi + 0x148]
je 0x656fca
mov ecx, dword [esi + 0x110]
xor ebx, ebx
push ebx
call fcn.0066cf60
mov edi, dword [esi + 0x110]
mov eax, dword [edi + 0xa0]
cmp eax, ebx
jle 0x657050
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x38], ebx
mov ebx, 0x324
mov dword [ebp - 4], ebx
mov al, byte [0x89fe40]
test al, 1
jne 0x656ccb
mov dl, al
mov ecx, 0x89fe60
or dl, 1
mov byte [0x89fe40], dl
call fcn.004639e0
push 0x656250
call fcn.0078c854
add esp, 4
cmp ebx, 0x324
jl 0x656cec
mov eax, dword [ebp - 0x24]
mov ecx, dword [edi + 0xa0]
cmp eax, ecx
jge 0x656cec
mov ecx, dword [ebp - 0x38]
lea edi, [ecx + edi + 0xa4]
jmp 0x656cf1
mov edi, 0x89fe60
fld dword [edi + 0x10]
fmul dword [esi + 0x13c]
fld dword [edi + 0xc]
fmul dword [esi + 0x138]
faddp st(1)
fld dword [edi + 8]
fmul dword [esi + 0x134]
faddp st(1)
fcom dword [0x7cd7b4]
fnstsw ax
test ah, 1
je 0x656ea1
fmul dword [0x7e1658]
mov eax, dword [esi + 0x110]
cmp ebx, 0x324
fld st(0)
fmul dword [edi + 8]
fstp dword [ebp - 0x10]
fld st(0)
fmul dword [edi + 0xc]
fstp dword [ebp - 0xc]
fmul dword [edi + 0x10]
fstp dword [ebp - 8]
jl 0x656e72
mov edx, dword [ebp - 0x24]
mov ecx, dword [eax + 0xa0]
cmp edx, ecx
jge 0x656e72
mov ebx, dword [ebx + eax]
test ebx, ebx
je 0x656e72
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x78]
mov edx, dword [ebx]
mov ecx, ebx
test eax, eax
je 0x656e21
call dword [edx + 0x78]
fld dword [esi + 0x84]
fld dword [eax + 0x84]
fadd st(1)
lea ecx, [edi + 0x1c]
push ecx
lea ecx, [ebp - 0x98]
fdivp st(1)
push ecx
mov ecx, eax
fld dword [ebp - 0x10]
fmul st(1)
fld dword [ebp - 0xc]
fmul st(2)
fstp dword [ebp - 0x88]
fld dword [ebp - 8]
fmul st(2)
fstp dword [ebp - 0x84]
fadd dword [esi + 0x134]
fstp dword [esi + 0x134]
fld dword [ebp - 0x88]
fadd dword [esi + 0x138]
fstp dword [esi + 0x138]
fld dword [ebp - 0x84]
fadd dword [esi + 0x13c]
fstp dword [esi + 0x13c]
mov edx, dword [eax]
fsubr dword [0x7cd794]
fchs
fld st(0)
fmul dword [ebp - 0x10]
fstp dword [ebp - 0x98]
fld dword [ebp - 0xc]
fmul st(1)
fstp dword [ebp - 0x94]
fld dword [ebp - 8]
fmul st(1)
fstp dword [ebp - 0x90]
fstp st(0)
call dword [edx + 0x10c]
jmp 0x656ea3
call dword [edx + 0x70]
test eax, eax
je 0x656e72
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x70]
push eax
mov ecx, esi
call fcn.00657190
test al, al
jne 0x656e69
fld dword [ebp - 0x10]
fadd dword [esi + 0x134]
fstp dword [esi + 0x134]
fld dword [ebp - 0xc]
fadd dword [esi + 0x138]
fstp dword [esi + 0x138]
fld dword [ebp - 8]
fadd dword [esi + 0x13c]
fstp dword [esi + 0x13c]
mov dword [ebp - 0x14], 0
jmp 0x656ea3
fld dword [ebp - 0x10]
fadd dword [esi + 0x134]
fstp dword [esi + 0x134]
fld dword [ebp - 0xc]
fadd dword [esi + 0x138]
fstp dword [esi + 0x138]
fld dword [ebp - 8]
fadd dword [esi + 0x13c]
fstp dword [esi + 0x13c]
jmp 0x656ea3
fstp st(0)
fld dword [ebp - 0x20]
fadd dword [edi + 0x1c]
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 0x38]
inc eax
add ebx, 4
add edx, 0x28
fstp dword [ebp - 0x20]
fld dword [ebp - 0x1c]
fadd dword [edi + 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], edx
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x18]
fadd dword [edi + 0x24]
mov edi, dword [esi + 0x110]
mov ecx, dword [edi + 0xa0]
fstp dword [ebp - 0x18]
cmp eax, ecx
jl 0x656ca0
fld dword [esi + 0x134]
fsub dword [ebp - 0xbc]
fld dword [esi + 0x138]
fsub dword [ebp - 0xb8]
mov ecx, edi
fstp dword [ebp - 0xa0]
fld dword [esi + 0x13c]
fsub dword [ebp - 0xb4]
fstp dword [ebp - 0x9c]
fmul dword [0x7e1654]
fld dword [ebp - 0xa0]
fmul dword [0x7e1654]
fld dword [ebp - 0x9c]
fmul dword [0x7e1654]
fild dword [ecx + 0xa0]
fdivr dword [0x7cd794]
fld st(0)
fmul dword [ebp - 0x20]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x1c]
fmul st(1)
fstp dword [ebp - 0x1c]
fmul dword [ebp - 0x18]
fld dword [ebp - 0x20]
fsub dword [esi + 0x118]
fstp dword [ebp - 0x30]
fld dword [ebp - 0x1c]
fsub dword [esi + 0x11c]
fstp dword [ebp - 0x2c]
fsub dword [esi + 0x120]
fld dword [ebp - 0x2c]
fmul st(2)
fld st(1)
fmul st(4)
fsubp st(1)
fstp dword [ebp - 0x44]
fmul st(3)
fxch st(1)
fmul dword [ebp - 0x30]
fsubp st(1)
fstp dword [ebp - 0x40]
fmul dword [ebp - 0x30]
fld dword [ebp - 0x2c]
fmul st(2)
fsubp st(1)
fstp st(1)
fld dword [ebp - 0x44]
fadd dword [esi + 0x140]
fstp dword [esi + 0x140]
fld dword [ebp - 0x40]
fadd dword [esi + 0x144]
fstp dword [esi + 0x144]
fadd dword [esi + 0x148]
fstp dword [esi + 0x148]
jmp 0x657049
mov edx, dword [esi + 0x238]
mov eax, dword [ebp - 0xd8]
inc edx
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0xd0]
fild dword [ebp - 4]
mov dword [ebp - 0x14], 0
fdivr dword [0x7cd794]
fld st(0)
fmul dword [esi + 0x134]
fstp dword [esi + 0x134]
fld st(0)
fmul dword [esi + 0x138]
fstp dword [esi + 0x138]
fmul dword [esi + 0x13c]
fstp dword [esi + 0x13c]
mov dword [ebx], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0xc8]
mov dword [ebx + 8], edx
mov edx, dword [ebp - 0xc4]
mov dword [edi], eax
mov eax, dword [ebp - 0xc0]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov ecx, esi
call fcn.006553e0
fld dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
fcomp dword [0x7cd7b4]
inc eax
mov dword [ebp - 0x34], eax
fnstsw ax
test ah, 0x41
je 0x656b94
mov ecx, dword [esi + 0x38]
lea edx, [esi + 0x14c]
mov eax, ecx
and ecx, 0xfffffff
shr eax, 0x1c
dec eax
shl eax, 0x1c
or ecx, eax
mov dword [esi + 0x38], ecx
lea ecx, [esi + 0x118]
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.005f5680
mov ecx, dword [esi + 0x3c]
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x6570bd
mov eax, dword [ecx]
push 0
call dword [eax + 0xf0]
push eax
mov ecx, esi
call fcn.005fe850
mov ecx, esi
call fcn.0063d800
mov ecx, dword [0x855444]
call fcn.00631430
mov eax, dword [ebp + 8]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x11c]
test al, al
je 0x6570ea
mov eax, dword [esi + 0x38]
or ah, 0x80
mov dword [esi + 0x38], eax
fld dword [esi + 0x194]
fsub dword [ebp - 0x74]
fld dword [esi + 0x198]
fsub dword [ebp - 0x70]
fld dword [esi + 0x19c]
fsub dword [ebp - 0x6c]
fld dword [esi + 0x1a0]
fsub dword [ebp - 0x80]
fstp dword [ebp - 0x10]
fld dword [esi + 0x1a4]
fsub dword [ebp - 0x7c]
fstp dword [ebp - 0xc]
fld dword [esi + 0x1a8]
fsub dword [ebp - 0x78]
fstp dword [ebp - 8]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp dword [ebp + 8]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [ebp + 8]
fsqrt
fstp dword [ebp - 4]
fld dword [ebp - 4]
fcomp dword [0x7cef7c]
fnstsw ax
test ah, 0x41
je 0x65717b
fld dword [ebp - 8]
fmul dword [ebp - 8]
fld dword [ebp - 0xc]
fmul dword [ebp - 0xc]
faddp st(1)
fld dword [ebp - 0x10]
fmul dword [ebp - 0x10]
faddp st(1)
fstp dword [ebp + 8]
fld dword [ebp + 8]
fsqrt
fstp dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4