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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [0x108651fc]
push edi
mov bh, byte [esi + 8]
and bh, 1
mov byte [esi + 0x353], 0
test byte [esi + 8], 2
mov byte [ebp - 1], bh
je 0x10065528
test byte [esi + 0xc], 1
je 0x10065528
cmp dword [esi + 0x1d88], 3
lea ecx, [esi + 0x1d88]
mov bl, 1
xorps xmm1, xmm1
mov byte [ebp - 2], bl
je 0x10065536
movss xmm0, dword [esi + 0x300]
comiss xmm0, xmm1
ja 0x1006551c
movss xmm0, dword [esi + 0x308]
comiss xmm0, xmm1
ja 0x1006551c
movss xmm0, dword [esi + 0x304]
comiss xmm0, xmm1
ja 0x1006551c
movss xmm0, dword [esi + 0x30c]
comiss xmm0, xmm1
ja 0x1006551c
movss xmm0, dword [esi + 0x310]
comiss xmm0, xmm1
ja 0x1006551c
movss xmm0, dword [esi + 0x314]
comiss xmm0, xmm1
ja 0x1006551c
movss xmm0, dword [esi + 0x318]
comiss xmm0, xmm1
ja 0x1006551c
movss xmm0, dword [esi + 0x31c]
lea ecx, [esi + 0x1d88]
comiss xmm0, xmm1
jbe 0x10065536
mov dword [esi + 0x1d88], 3
jmp 0x10065530
xor bl, bl
xorps xmm1, xmm1
mov byte [ebp - 2], bl
lea ecx, [esi + 0x1d88]
test bh, bh
je 0x10065675
mov edx, dword [esi + 0x64]
test edx, edx
js 0x10065565
mov eax, dword [0x108651fc]
mov al, byte [eax + edx + 0x100]
test al, al
je 0x10065565
mov dword [esi + 0x300], 0x3f800000
mov dword [ecx], 2
mov edx, dword [esi + 0x68]
test edx, edx
js 0x1006558c
mov eax, dword [0x108651fc]
mov al, byte [eax + edx + 0x100]
test al, al
je 0x1006558c
mov dword [esi + 0x308], 0x3f800000
mov dword [ecx], 2
mov edx, dword [esi + 0x6c]
test edx, edx
js 0x100655b3
mov eax, dword [0x108651fc]
mov al, byte [eax + edx + 0x100]
test al, al
je 0x100655b3
mov dword [esi + 0x304], 0x3f800000
mov dword [ecx], 2
mov edx, dword [esi + 0x38]
test edx, edx
js 0x100655da
mov eax, dword [0x108651fc]
mov al, byte [eax + edx + 0x100]
test al, al
je 0x100655da
mov dword [esi + 0x340], 0x3f800000
mov dword [ecx], 2
mov edx, dword [esi + 0x3c]
test edx, edx
js 0x10065601
mov eax, dword [0x108651fc]
mov al, byte [eax + edx + 0x100]
test al, al
je 0x10065601
mov dword [esi + 0x344], 0x3f800000
mov dword [ecx], 2
mov edx, dword [esi + 0x40]
test edx, edx
js 0x10065628
mov eax, dword [0x108651fc]
mov al, byte [edx + eax + 0x100]
test al, al
je 0x10065628
mov dword [esi + 0x348], 0x3f800000
mov dword [ecx], 2
mov edx, dword [esi + 0x44]
test edx, edx
js 0x1006564f
mov eax, dword [0x108651fc]
mov al, byte [edx + eax + 0x100]
test al, al
je 0x1006564f
mov dword [esi + 0x34c], 0x3f800000
mov dword [ecx], 2
cmp byte [esi + 0xfc], 0
je 0x10065662
mov dword [esi + 0x338], 0x3f800000
cmp byte [esi + 0xfd], 0
je 0x10065675
mov dword [esi + 0x33c], 0x3f800000
movups xmm0, xmmword [esi + 0x1474]
lea eax, [esi + 0x1474]
mov ecx, 0x14
movss xmm2, dword [0x101cff0c]
movups xmmword [esi + 0x14c4], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x14d4], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esi + 0x14e4], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [esi + 0x14f4], xmm0
movups xmm0, xmmword [eax + 0x40]
movups xmmword [esi + 0x1504], xmm0
movss xmm0, dword [eax - 0x1174]
comiss xmm0, xmm1
jbe 0x100656e4
movss xmm0, dword [eax]
comiss xmm1, xmm0
jbe 0x100656dd
movaps xmm0, xmm1
jmp 0x100656e7
addss xmm0, dword [esi + 0x18]
jmp 0x100656e7
movaps xmm0, xmm2
movss dword [eax], xmm0
add eax, 4
sub ecx, 1
jne 0x100656c2
cmp dword [esi + 0x1d98], ecx
je 0x10065770
mov edx, dword [0x108651fc]
mov edi, dword [edx + 0x1d54]
test edi, edi
je 0x10065770
mov ecx, dword [edx + 0x1d8c]
mov eax, dword [edx + 0x1d98]
mov dword [edx + 0x1d58], eax
mov dword [edx + 0x1d8c], ecx
mov dword [edx + 0x1d5c], 0
mov dword [edi + ecx*4 + 0x304], eax
add ecx, ecx
mov eax, dword [edx + 0x1d54]
movups xmm0, xmmword [edx + 0x1d9c]
movups xmmword [eax + ecx*8 + 0x30c], xmm0
cmp byte [edx + 0x1d96], 0
mov byte [edx + 0x1d90], 1
je 0x10065770
mov eax, dword [0x108651fc]
mov word [eax + 0x1d91], 1
mov byte [eax + 0x1d93], 1
cmp byte [esi + 0x1dac], 0
mov word [esi + 0x1d95], 0
mov dword [esi + 0x1d98], 0
mov dword [esi + 0x1d74], 0
je 0x1006579b
call fcn.100646c0
xor al, al
mov dword [esi + 0x1df0], 0
mov word [esi + 0x1dac], 0
mov dword [ebp - 0xc], eax
cmp byte [esi + 0x1d91], al
je 0x100657e8
cmp byte [esi + 0x1d90], al
je 0x100657e8
cmp byte [esi + 0x1d92], al
jne 0x100657e8
cmp byte [esi + 0x1d93], al
je 0x100657e8
cmp dword [esi + 0x1d54], 0
mov ecx, 1
movzx eax, al
cmovne eax, ecx
mov dword [ebp - 0xc], eax
mov ecx, dword [esi + 0x1d54]
mov byte [esi + 0x1d91], 0
test ecx, ecx
je 0x10065827
mov eax, ecx
nop dword [eax + eax]
cmp dword [eax + 0x2f0], eax
je 0x1006581d
test dword [eax + 0x14], 0x14000000
jne 0x1006581d
mov eax, dword [eax + 0x2e8]
test eax, eax
jne 0x10065800
jmp 0x10065827
cmp eax, ecx
je 0x10065827
mov dword [eax + 0x300], ecx
mov eax, dword [esi + 0x1d54]
test eax, eax
je 0x1006584d
cmp dword [eax + 0x300], 0
je 0x1006584d
cmp dword [esi + 0x1d8c], 0
jne 0x1006584d
mov dword [eax + 0x300], 0
call fcn.10066e90
test bh, bh
jne 0x1006585e
test bl, bl
je 0x10065964
mov eax, dword [esi + 0x1d54]
test eax, eax
je 0x10065964
test dword [eax + 0x14], 0x40000
jne 0x10065964
mov byte [esi + 0x355], 1
cmp dword [esi + 0x1d58], 0
je 0x1006596b
cmp byte [esi + 0x1d92], 0
jne 0x1006596b
mov al, 1
mov byte [esi + 0x356], al
call fcn.10065e20
cmp dword [esi + 0x1d58], 0
mov dword [esi + 0x1d6c], 0
mov dword [esi + 0x1d68], 0
mov dword [esi + 0x1d64], 0
mov dword [esi + 0x1d60], 0
mov dword [esi + 0x1d70], 0
je 0x10065a3f
cmp byte [esi + 0x1d92], 0
jne 0x10065a3f
cmp dword [esi + 0x1ea4], 0
jne 0x10065a3f
mov eax, dword [esi + 0x1d54]
test eax, eax
je 0x10065a3f
test dword [eax + 0x14], 0x40000
jne 0x10065a3f
mov ecx, dword [0x108651fc]
xorps xmm1, xmm1
movss xmm0, dword [ecx + 0x300]
comiss xmm0, xmm1
movss xmm0, dword [ecx + 0x308]
seta dh
comiss xmm0, xmm1
seta al
test dh, dh
je 0x1006598b
movss xmm0, dword [ecx + 0x1474]
comiss xmm1, xmm0
ja 0x1006597f
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1006597f
movss xmm0, dword [0x101994bc]
jmp 0x10065982
mov byte [esi + 0x355], 0
cmp dword [esi + 0x1ea4], 0
jne 0x1006589a
xor al, al
jmp 0x1006589c
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1006598b
mov bl, 1
jmp 0x1006598d
xor bl, bl
test al, al
je 0x100659bd
movss xmm0, dword [ecx + 0x147c]
comiss xmm1, xmm0
ja 0x100659b1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100659b1
movss xmm0, dword [0x101994bc]
jmp 0x100659b4
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x100659bd
mov dl, 1
jmp 0x100659bf
xor dl, dl
mov ecx, dword [esi + 0x1be0]
test ecx, ecx
jne 0x100659e5
test bl, bl
je 0x100659ed
mov eax, dword [esi + 0x1d58]
mov dword [esi + 0x1d60], eax
mov dword [esi + 0x1d70], 2
jmp 0x100659ed
cmp ecx, dword [esi + 0x1d58]
jne 0x10065a3f
test dl, dl
je 0x10065a07
mov eax, dword [esi + 0x1d58]
mov dword [esi + 0x1d6c], eax
mov dword [esi + 0x1d70], 1
test ecx, ecx
je 0x10065a13
cmp ecx, dword [esi + 0x1d58]
jne 0x10065a3f
test dh, dh
je 0x10065a23
mov eax, dword [esi + 0x1d58]
mov dword [esi + 0x1d64], eax
test ecx, ecx
je 0x10065a2f
cmp ecx, dword [esi + 0x1d58]
jne 0x10065a3f
test bl, bl
je 0x10065a3f
mov eax, dword [esi + 0x1d58]
mov dword [esi + 0x1d68], eax
mov eax, dword [esi + 0x1d54]
test eax, eax
je 0x10065a59
test dword [eax + 0x14], 0x40000
je 0x10065a59
mov byte [esi + 0x1d92], 1
mov eax, dword [esi + 0x1d80]
test eax, eax
je 0x10065a8e
mov ecx, dword [esi + 0x1d84]
test cl, 1
je 0x10065a76
mov dword [esi + 0x1d6c], eax
jmp 0x10065a88
mov dword [esi + 0x1d68], eax
mov dword [esi + 0x1d64], eax
mov dword [esi + 0x1d60], eax
mov dword [esi + 0x1d70], ecx
mov dword [esi + 0x1d80], 0
call fcn.10066000
cmp dword [esi + 0x1dbc], 0xffffffff
jne 0x10065b71
mov edi, dword [0x108651fc]
mov ebx, dword [edi + 0x1d54]
test ebx, ebx
je 0x10065b6e
cmp dword [edi + 0x1ea4], 0
jne 0x10065b6e
test dword [ebx + 0x14], 0x40000
jne 0x10065b6e
mov eax, dword [edi + 0x34]
test eax, eax
js 0x10065b6e
push 1
push eax
call fcn.10063440
add esp, 8
test al, al
je 0x10065b6e
push 0
call fcn.10063260
add esp, 4
test al, al
jne 0x10065b6e
cmp byte [edi + 0xfc], al
jne 0x10065b6e
cmp byte [edi + 0xfe], al
jne 0x10065b6e
cmp byte [edi + 0xfd], al
je 0x10065b1d
or ecx, 0xffffffff
jmp 0x10065b28
xor ecx, ecx
cmp dword [edi + 0x1be0], ecx
setne cl
mov dword [edi + 0x1dec], ecx
mov edx, 0x21
cmp byte [ebx + 0x9c], 0
mov eax, 3
cmovne eax, edx
sar ecx, 0x1f
push eax
push 0x400
add ecx, 3
push ecx
push 0xffffffffffffffff
call fcn.10064a40
add esp, 0x10
lea ecx, [edi + 0x1e78]
call fcn.1005e9e0
mov dword [edi + 0x1df0], 0xffffffff
mov bh, byte [ebp - 1]
mov eax, dword [0x108651fc]
cmp byte [eax + 0x1dad], 0
jne 0x10065b8c
cmp byte [eax + 0x1d95], 0
jne 0x10065b8c
xor cl, cl
jmp 0x10065b8e
mov cl, 1
mov byte [eax + 0x1d94], cl
mov edi, dword [esi + 0x1d54]
mov byte [esi + 0x1d90], 0
test edi, edi
je 0x10065d6b
test dword [edi + 0x14], 0x40000
jne 0x10065d6b
cmp dword [esi + 0x1ea4], 0
jne 0x10065d6b
mov eax, dword [0x108651fc]
movss xmm0, dword [eax + 0x1948]
mov eax, dword [edi + 0x2e8]
mulss xmm0, dword [edi + 0x24c]
test eax, eax
je 0x10065bea
mulss xmm0, dword [eax + 0x24c]
cmp word [edi + 0x134], 0
mulss xmm0, dword [0x101994c8]
mov ecx, dword [esi + 0x1dbc]
mulss xmm0, dword [esi + 0x18]
addss xmm0, dword [0x101994b8]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [ebp - 8], xmm1
jne 0x10065cc5
cmp byte [edi + 0x13d], 0
je 0x10065cc5
cmp ecx, 0xffffffff
je 0x10065cc5
movss xmm2, dword [0x101cff0c]
test ecx, ecx
je 0x10065c54
cmp ecx, 1
jne 0x10065c81
movss xmm0, dword [0x101994bc]
jmp 0x10065c57
movaps xmm0, xmm2
mulss xmm0, xmm1
mov dword [edi + 0x7c], 0
mov dword [edi + 0x84], 0
addss xmm0, dword [edi + 0x64]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x74], xmm0
cmp ecx, 2
je 0x10065c95
cmp ecx, 3
jne 0x10065cc5
movss xmm0, dword [0x101994bc]
jmp 0x10065c98
movaps xmm0, xmm2
mulss xmm0, xmm1
mov dword [edi + 0x80], 0
mov dword [edi + 0x88], 0
addss xmm0, dword [edi + 0x68]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x78], xmm0
sub esp, 8
lea eax, [ebp - 0x14]
mov dword [esp + 4], 0x41200000
mov dword [esp], 0x3dcccccd
push 0
push 8
push eax
call fcn.10061670
movss xmm0, dword [ebp - 0x14]
add esp, 0x14
movss xmm2, dword [ebp - 8]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10065d30
cmp byte [edi + 0x94], 0
je 0x10065d30
mulss xmm0, xmm2
mov dword [edi + 0x7c], 0
mov dword [edi + 0x84], 0
addss xmm0, dword [edi + 0x64]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x74], xmm0
movss xmm0, dword [ebp - 0x10]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10065d6b
mulss xmm0, xmm2
mov dword [edi + 0x80], 0
mov dword [edi + 0x88], 0
addss xmm0, dword [edi + 0x68]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x78], xmm0
test bh, bh
jne 0x10065d8e
cmp byte [ebp - 2], bh
jne 0x10065d8e
pop edi
mov word [esi + 0x1d92], 1
mov dword [esi + 0x1de8], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebp - 0xc], 0
je 0x10065ddc
test byte [esi + 8], 4
je 0x10065ddc
test byte [esi + 0xc], 4
je 0x10065ddc
lea eax, [ebp - 0x14]
push eax
call fcn.100643c0
add esp, 4
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esi + 0x384], xmm0
movss dword [esi + 0x388], xmm1
movss dword [esi + 0xe4], xmm0
movss dword [esi + 0xe8], xmm1
mov byte [esi + 0x353], 1
pop edi
mov dword [esi + 0x1de8], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret