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

Disassembly:
sub esp, 0xa14
push ebx
push ebp
mov ebp, dword [esp + 0xa20]
push esi
push edi
mov edx, dword [ebp]
test dl, 2
mov dword [esp + 0x1c], edx
je 0x646812
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x64653b
push ebx
call fcn.006449d0
add esp, 4
test eax, eax
jne 0x6464e2
push ebx
call fcn.00644d80
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0xa8]
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x1c]
mov esi, edx
and esi, 0x2000
mov dword [esp + 0x28], esi
je 0x6464a1
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0xa0]
test byte [eax + 3], 3
jne 0x6464a1
mov edx, dword [0x7870c0]
mov ecx, dword [edx + 0xbc]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0x14]
mov edx, dword [0x7870c0]
mov ecx, dword [eax + 0xa0]
add edx, 0xbc
mov dword [ecx + 0xc], edx
mov edx, dword [ebp + 0x14]
mov ecx, dword [0x7870c0]
mov eax, dword [edx + 0xa0]
mov edx, dword [ecx + 0xbc]
add eax, 8
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [0x7870c0]
mov ecx, dword [eax + 0xa0]
add ecx, 8
mov dword [edx + 0xbc], ecx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xa0]
or byte [eax + 3], 2
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x24], 0
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x38]
mov dword [esp + 0x44], ecx
lea ebx, [eax + 0x48]
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x264]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x10]
test eax, eax
mov dword [esp + 0x4c], edx
jle 0x646d40
add ecx, 8
mov dword [esp + 0x18], ecx
jmp 0x6465df
lea esi, [ebx + 0x10]
mov ecx, 0x10
lea edi, [esp + 0xa4]
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x646419
mov ecx, 0x10
lea esi, [esp + 0xa4]
lea edi, [esp + 0x1a4]
lea edx, [esp + 0x1a4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x10]
lea eax, [esp + 0xa4]
push ecx
push edx
push eax
call fcn.006437c0
mov ebx, dword [ebx + 4]
add esp, 0xc
test ebx, ebx
jne 0x6464fe
jmp 0x646419
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xcc], 0x3f800000
or eax, 0x20003
mov dword [esp + 0xb8], 0x3f800000
mov dword [esp + 0xa4], 0x3f800000
mov dword [esp + 0xb4], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xb0], eax
jmp 0x64641d
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
cmp edx, 0x66a8a0
jne 0x64670c
fld dword [ebx + 8]
fld dword [ebx + 0xc]
fld st(1)
fmul st(2)
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
fstp dword [esp + 0x38]
fld st(0)
fmul st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
fstp dword [esp + 0x40]
fld dword [esp + 0x10]
fmul st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x10]
fmul st(2)
fstp dword [esp + 0x30]
fld st(0)
fmul st(2)
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fmul st(2)
fstp dword [esp + 0x98]
fld dword [esp + 0x20]
fmul st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x20]
fmul dword [esp + 0x10]
fld dword [esp + 0x40]
fadd dword [esp + 0x3c]
fadd st(0), st(0)
fsubr dword [0x67e184]
fstp dword [esp + 0x54]
fld dword [esp + 0x34]
fadd st(1)
fadd st(0), st(0)
fstp dword [esp + 0x58]
fld dword [esp + 0x30]
fsub st(2)
fadd st(0), st(0)
fstp dword [esp + 0x5c]
fld dword [esp + 0x34]
fsub st(1)
fadd st(0), st(0)
fstp dword [esp + 0x64]
fstp st(0)
fld dword [esp + 0x40]
fadd dword [esp + 0x38]
fadd st(0), st(0)
fsubr dword [0x67e184]
fstp dword [esp + 0x68]
fld dword [esp + 0x98]
fadd dword [esp + 0x2c]
fadd st(0), st(0)
fstp dword [esp + 0x6c]
fadd dword [esp + 0x30]
fadd st(0), st(0)
fstp dword [esp + 0x74]
fld dword [esp + 0x2c]
fsub dword [esp + 0x98]
fadd st(0), st(0)
fstp dword [esp + 0x78]
fld dword [esp + 0x3c]
fadd dword [esp + 0x38]
fadd st(0), st(0)
fsubr dword [0x67e184]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x60], 3
fstp dword [esp + 0x7c]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
jmp 0x646717
lea ecx, [esp + 0x54]
push ebx
push ecx
call edx
add esp, 8
lea edx, [esp + 0xa4]
lea eax, [esp + 0x54]
push edx
lea ecx, [esp + 0x168]
push eax
push ecx
call fcn.006437c0
mov edx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [edx + 4]
test eax, eax
je 0x64678a
mov ecx, dword [esp + 0x1c]
test ch, 0x10
je 0x646769
lea edi, [eax + 0x10]
mov ecx, 0x10
lea esi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x64676d
push eax
call fcn.00644d00
add esp, 4
jmp 0x64678a
test esi, esi
je 0x64678a
lea edi, [eax + 0x50]
mov ecx, 0x10
lea esi, [esp + 0x164]
rep movsd dword es:[edi], dword [esi]
mov cl, byte [eax + 3]
and cl, 0xfb
or cl, 8
mov byte [eax + 3], cl
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
and eax, 3
sub eax, 0
je 0x6467bb
dec eax
je 0x646805
dec eax
jne 0x6467d0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
mov ecx, 0x10
lea esi, [esp + 0xa4]
add eax, 0x40
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x14], eax
lea esi, [esp + 0x164]
lea edi, [esp + 0xa4]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 4]
add ebx, edi
add esi, 0x10
inc eax
mov dword [esp + 0x18], esi
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x6465d7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa14
ret
mov esi, dword [esp + 0x14]
sub esi, 0x40
mov dword [esp + 0x14], esi
jmp 0x6467c2
test dl, 1
mov esi, 0x20003
je 0x64684b
mov eax, dword [ebp + 0x1c]
cmp eax, 0xffffffff
je 0x64684b
mov ecx, dword [ebp + 0x18]
shl eax, 6
add eax, dword [ecx + 8]
test dh, 0x20
mov dword [esp + 0x10], eax
je 0x646949
test dh, 0x40
je 0x646949
mov ecx, dword [ecx + 0x14]
jmp 0x646908
test dh, 0x40
je 0x6468fa
mov ecx, dword [esp + 0x130]
lea eax, [esp + 0x124]
or ecx, esi
mov dword [esp + 0x14c], 0x3f800000
test dh, 0x20
mov dword [esp + 0x138], 0x3f800000
mov dword [esp + 0x124], 0x3f800000
mov dword [esp + 0x134], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x130], ecx
mov dword [esp + 0x10], eax
je 0x646949
jmp 0x646905
lea eax, [esp + 0xe4]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x646a73
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x646a73
push ebx
call fcn.006449d0
add esp, 4
test eax, eax
jne 0x646a1a
push ebx
call fcn.00644d80
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0xe8]
add esp, 4
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x1c]
and edx, 0x2000
mov dword [esp + 0x44], edx
je 0x6469cb
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + 0xa0]
test byte [eax + 3], 3
jne 0x6469cb
mov edx, dword [0x7870c0]
mov ecx, dword [edx + 0xbc]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0x14]
mov edx, dword [0x7870c0]
mov ecx, dword [eax + 0xa0]
add edx, 0xbc
mov dword [ecx + 0xc], edx
mov edx, dword [ebp + 0x14]
mov ecx, dword [0x7870c0]
mov eax, dword [edx + 0xa0]
mov edx, dword [ecx + 0xbc]
add eax, 8
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [0x7870c0]
mov ecx, dword [eax + 0xa0]
add ecx, 8
mov dword [edx + 0xbc], ecx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xa0]
or byte [eax + 3], 2
mov eax, dword [ebp + 0x20]
mov esi, dword [ebp + 8]
mov dword [esp + 0x24], esi
mov dword [esp + 0x4c], 0
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x94], edx
lea edi, [eax + 0x48]
mov eax, dword [ebp + 4]
lea edx, [esp + 0x1a8]
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 0x10]
test eax, eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], edi
jle 0x646d40
add edx, 8
mov dword [esp + 0x20], edx
jmp 0x646b10
lea esi, [ebx + 0x10]
mov ecx, 0x10
lea edi, [esp + 0xe4]
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x646945
mov ecx, 0x10
lea esi, [esp + 0xe4]
lea edi, [esp + 0x1a4]
lea edx, [esp + 0x1a4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x10]
lea eax, [esp + 0xe4]
push ecx
push edx
push eax
call fcn.006437c0
mov ebx, dword [ebx + 4]
add esp, 0xc
test ebx, ebx
jne 0x646a36
jmp 0x646945
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x10c], 0x3f800000
or eax, esi
mov dword [esp + 0xf8], 0x3f800000
mov dword [esp + 0xe4], 0x3f800000
mov dword [esp + 0xf4], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0xf0], eax
jmp 0x646949
mov ecx, dword [esp + 0x50]
cmp ecx, 0x66a8a0
jne 0x646c3d
fld dword [edi + 8]
fld dword [edi + 0xc]
fld st(1)
fmul st(2)
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
fstp dword [esp + 0x2c]
fld st(0)
fmul st(1)
fstp dword [esp + 0x30]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
fstp dword [esp + 0x34]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x14]
fmul st(2)
fstp dword [esp + 0x3c]
fld st(0)
fmul st(2)
fstp dword [esp + 0x40]
fld dword [esp + 0x28]
fmul st(2)
fstp dword [esp + 0x98]
fld dword [esp + 0x28]
fmul st(1)
fstp st(2)
fstp st(0)
fld dword [esp + 0x28]
fmul dword [esp + 0x14]
fld dword [esp + 0x34]
fadd dword [esp + 0x30]
fadd st(0), st(0)
fsubr dword [0x67e184]
fstp dword [esp + 0x54]
fld dword [esp + 0x40]
fadd st(1)
fadd st(0), st(0)
fstp dword [esp + 0x58]
fld dword [esp + 0x3c]
fsub st(2)
fadd st(0), st(0)
fstp dword [esp + 0x5c]
fld dword [esp + 0x40]
fsub st(1)
fadd st(0), st(0)
fstp dword [esp + 0x64]
fstp st(0)
fld dword [esp + 0x34]
fadd dword [esp + 0x2c]
fadd st(0), st(0)
fsubr dword [0x67e184]
fstp dword [esp + 0x68]
fld dword [esp + 0x98]
fadd dword [esp + 0x38]
fadd st(0), st(0)
fstp dword [esp + 0x6c]
fadd dword [esp + 0x3c]
fadd st(0), st(0)
fstp dword [esp + 0x74]
fld dword [esp + 0x38]
fsub dword [esp + 0x98]
fadd st(0), st(0)
fstp dword [esp + 0x78]
fld dword [esp + 0x30]
fadd dword [esp + 0x2c]
fadd st(0), st(0)
fsubr dword [0x67e184]
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x60], 3
fstp dword [esp + 0x7c]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
jmp 0x646c48
lea edx, [esp + 0x54]
push edi
push edx
call ecx
add esp, 8
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x54]
push eax
push ecx
push esi
call fcn.006437c0
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x646ce4
mov eax, dword [esp + 0x1c]
test ah, 0x10
je 0x646c98
lea edi, [ebx + 0x10]
mov ecx, 0x10
lea esi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x44]
test ecx, ecx
jne 0x646ca2
push ebx
call fcn.00644d00
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x28]
add esp, 4
jmp 0x646ce4
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x646ce4
jmp 0x646caa
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x24]
test ah, 0x40
je 0x646cc6
lea eax, [esp + 0xe4]
lea ecx, [ebx + 0x50]
push eax
push esi
push ecx
call fcn.006437c0
add esp, 0xc
jmp 0x646cd8
lea edi, [ebx + 0x50]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x24]
mov dl, byte [ebx + 3]
and dl, 0xfb
or dl, 8
mov byte [ebx + 3], dl
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
and eax, 3
sub eax, 0
je 0x646d09
dec eax
je 0x646d50
dec eax
jne 0x646d0d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
add eax, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
add edi, ecx
mov ecx, dword [ebp + 4]
add esi, 0x40
add ebx, 0x10
inc eax
cmp eax, ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x4c], eax
jl 0x646b0c
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa14
ret
mov eax, dword [esp + 0x18]
sub eax, 4
mov dword [esp + 0x18], eax
mov edx, dword [eax]
mov dword [esp + 0x10], edx
jmp 0x646d0d