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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x100a4040]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov edi, dword [0x100be9bc]
mov esi, ecx
mov byte [esp + 0x13], dl
mov dword [esp + 0x24], esi
mov dword [esp + 0x34], edi
mov eax, dword [edi + 0x1a6c]
mov byte [eax + 0x8c], 1
mov ebx, dword [edi + 0x1a6c]
cmp byte [ebx + 0x8f], 0
jne 0x10065a89
mov ecx, dword [ebx + 0xc0]
xor edx, edx
mov eax, dword [ebx + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.10029a10
add esp, 4
mov dword [esp + 0x20], eax
cmp dword [edi + 0x1aa4], eax
jne 0x100651a9
mov dword [edi + 0x1aa8], eax
cmp dword [edi + 0x1adc], eax
jne 0x100651b8
mov byte [edi + 0x1ae0], 1
mov ecx, esi
cmp esi, 0xffffffff
jae 0x100651d6
nop
mov dl, byte [ecx]
test dl, dl
je 0x100651d6
cmp dl, 0x23
jne 0x100651d0
cmp byte [ecx + 1], dl
je 0x100651d6
inc ecx
cmp ecx, 0xffffffff
jb 0x100651c0
movss xmm0, dword [edi + 0x1930]
xorps xmm6, xmm6
cmp esi, ecx
jne 0x100651ea
xorps xmm1, xmm1
jmp 0x10065233
movss xmm3, dword [0x1009a36c]
lea eax, [esp + 0x50]
push 0
push ecx
push esi
push ecx
mov ecx, dword [edi + 0x192c]
movaps xmm2, xmm0
mov dword [esp], 0xbf800000
push eax
call fcn.1004a020
movss xmm0, dword [esp + 0x50]
xorps xmm6, xmm6
addss xmm0, dword [0x1009a1b0]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x54]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov esi, dword [ebp + 0xc]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x28], xmm1
movss xmm2, dword [esi + 4]
ucomiss xmm2, xmm6
movss dword [esp + 0x1c], xmm2
lahf
test ah, 0x44
jp 0x1006525f
movaps xmm2, xmm0
movss dword [esp + 0x1c], xmm0
movss xmm7, dword [esi]
ucomiss xmm7, xmm6
lahf
test ah, 0x44
jp 0x1006526f
movaps xmm7, xmm1
movss xmm0, dword [ebx + 0xcc]
lea ecx, [esp + 0x50]
movss dword [esp + 0x14], xmm0
xorps xmm1, xmm1
movss xmm0, dword [ebx + 0xd0]
addss xmm0, dword [ebx + 0x104]
movss dword [esp + 0x50], xmm7
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x38], xmm0
call fcn.10035510
mov edx, dword [ebp + 8]
mov ecx, edx
movss xmm2, dword [esp + 0x14]
shr ecx, 1
and cl, 1
mov dword [esp + 0x30], ecx
je 0x100652d3
movss xmm4, dword [ebx + 0x224]
movss xmm1, dword [ebx + 0x22c]
jmp 0x100652de
movss xmm1, dword [ebx + 0x21c]
movaps xmm4, xmm2
movss xmm0, dword [esi]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jnp 0x100652f3
test edx, 0x800000
je 0x10065301
movss xmm7, dword [esp + 0x28]
subss xmm1, xmm4
maxss xmm7, xmm1
movss xmm5, dword [esp + 0x38]
addss xmm7, xmm4
movss dword [esp + 0x58], xmm2
movaps xmm0, xmm5
movss dword [esp + 0x5c], xmm5
movss dword [esp + 0x40], xmm4
movss dword [esp + 0x44], xmm5
movss dword [esp + 0x50], xmm7
movss dword [esp + 0x48], xmm7
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x4c], xmm0
test edx, 0x4000000
jne 0x100653c4
test cl, cl
jne 0x1006535e
movss xmm6, dword [edi + 0x1560]
movss xmm3, dword [edi + 0x1564]
movaps xmm0, xmm6
mulss xmm0, dword [0x1009a174]
cvttss2si eax, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x1009a174]
movd xmm2, eax
cvttss2si eax, xmm0
cvtdq2ps xmm2, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm6, xmm2
subss xmm3, xmm0
subss xmm4, xmm2
subss xmm5, xmm0
addss xmm6, xmm7
addss xmm3, dword [esp + 0x38]
movss dword [esp + 0x40], xmm4
movss dword [esp + 0x44], xmm5
movss dword [esp + 0x48], xmm6
movss dword [esp + 0x4c], xmm3
movss xmm0, dword [ebx + 0x234]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [ebx + 0x23c]
movss dword [esp + 0x14], xmm0
test cl, cl
je 0x100653fc
mov eax, dword [ebx + 0x224]
mov dword [ebx + 0x234], eax
mov eax, dword [ebx + 0x22c]
mov dword [ebx + 0x23c], eax
mov eax, edx
lea ecx, [esp + 0x40]
mov edx, dword [esp + 0x20]
and eax, 8
mov dword [esp + 0x1c], eax
push 0
je 0x1006542f
mov esi, dword [ebx + 0x1b0]
mov eax, esi
or eax, 0x14
mov dword [ebx + 0x1b0], eax
call fcn.10035640
mov dword [ebx + 0x1b0], esi
jmp 0x10065434
call fcn.10035640
mov cl, al
add esp, 4
mov eax, dword [esp + 0x30]
test al, al
je 0x1006545d
movss xmm0, dword [esp + 0x38]
movss dword [ebx + 0x234], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [ebx + 0x23c], xmm0
test cl, cl
je 0x10065a89
test al, al
je 0x10065533
cmp dword [ebx + 0x198], 0
je 0x10065480
call fcn.10052850
jmp 0x10065533
cmp dword [edi + 0x1efc], 0
je 0x10065533
mov eax, dword [0x100be9bc]
mov edx, dword [eax + 0x1a6c]
mov esi, dword [eax + 0x1efc]
movups xmm0, xmmword [edx + 0x234]
movups xmmword [esi + 0x174], xmm0
mov eax, dword [edx + 0x288]
movups xmm0, xmmword [esi + 0x134]
movss xmm1, dword [esi + 0x134]
movss xmm2, dword [esi + 0x138]
movss xmm3, dword [esi + 0x13c]
movss xmm4, dword [esi + 0x140]
movups xmmword [edx + 0x234], xmm0
movss dword [eax + 0x60], xmm1
movss dword [eax + 0x64], xmm2
movss dword [eax + 0x68], xmm3
movss dword [eax + 0x6c], xmm4
mov eax, dword [edx + 0x288]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss dword [eax + ecx*8 - 0x10], xmm1
movss dword [eax + ecx*8 - 0xc], xmm2
movss dword [eax + ecx*8 - 8], xmm3
movss dword [eax + ecx*8 - 4], xmm4
lea ecx, [esi + 0x1c4]
movzx eax, byte [esi + 0x212]
push eax
push dword [edx + 0x288]
call fcn.10046cd0
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 8]
mov eax, esi
shr ecx, 3
and ecx, 0x20000
mov edx, ecx
or edx, 0x10
test dword [ebp + 8], 0x200000
cmove edx, ecx
mov ecx, edx
or ecx, 0x80
test esi, 0x400000
cmove ecx, edx
mov edx, ecx
or edx, 0x4000
cmp dword [esp + 0x1c], 0
cmove edx, ecx
mov ecx, edx
or ecx, 0x120
test al, 4
movzx eax, byte [esp + 0x13]
cmove ecx, edx
xor edx, edx
and esi, 0x10
cmp dword [esp + 0x1c], edx
mov dword [esp + 0x38], esi
cmove edx, eax
mov eax, ecx
or eax, 0x1000
mov dword [esp + 0x14], edx
test esi, esi
mov esi, dword [esp + 0x20]
mov edx, esi
cmove eax, ecx
lea ecx, [esp + 0x40]
push eax
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x22]
push eax
call fcn.100542d0
mov cl, al
add esp, 0xc
mov byte [esp + 0x13], cl
test cl, cl
mov cl, byte [esp + 0x1a]
mov dword [esp + 0x20], ecx
jne 0x100655e6
test cl, cl
je 0x1006565c
test dword [ebp + 8], 0x2000000
je 0x1006565c
cmp byte [edi + 0x1c17], 0
jne 0x1006563a
cmp dword [edi + 0x1bc4], ebx
jne 0x1006563a
mov eax, dword [edi + 0x1c0c]
cmp eax, dword [ebx + 0x140]
jne 0x1006563a
mov eax, dword [0x100be9bc]
mov byte [edi + 0x1c16], 1
mov ecx, dword [ebx + 0x14c]
mov edx, dword [ebx + 0x140]
mov dword [eax + 0x1bcc], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x1bc8], esi
mov eax, dword [eax + 0x1bc4]
mov dword [eax + edx*4 + 0x330], esi
cmp byte [esp + 0x13], 0
je 0x1006565c
mov eax, dword [0x100be9bc]
mov word [eax + 0x1ab4], 0x101
mov eax, dword [eax + 0x1a6c]
or dword [eax + 0x11c], 4
cmp dword [esp + 0x38], 0
je 0x10065693
mov edx, dword [0x100be9bc]
mov eax, dword [edx + 0x1a6c]
mov eax, dword [eax + 0x118]
cmp dword [edx + 0x1a90], eax
jne 0x10065684
mov byte [edx + 0x1a98], 1
cmp dword [edx + 0x1aa4], eax
jne 0x10065693
mov byte [edx + 0x1ab1], 1
mov al, byte [esp + 0x1b]
mov edx, 1
test al, al
je 0x100656b1
test dword [ebp + 8], 0x1000000
movzx ecx, cl
cmovne ecx, edx
mov dword [esp + 0x20], ecx
cmp byte [ebp + 0x10], 0
je 0x10065715
cmp byte [esp + 0x14], 0
je 0x100657af
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
movss xmm1, dword [0x1009a1b4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], eax
mov eax, dword [0x100be9bc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x44]
push 0xf
mov edx, dword [eax + 0x1a6c]
push ecx
mov dword [esp + 0x6c], ecx
mov ecx, 0x1a
mov dword [esp], 0
call fcn.1002a390
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x70]
jmp 0x10065793
test cl, cl
jne 0x10065723
cmp byte [esp + 0x14], cl
je 0x100657af
test al, al
je 0x10065735
test cl, cl
je 0x10065735
mov dword [esp + 0x38], 0x1a
jmp 0x10065743
xor eax, eax
test cl, cl
setne al
add eax, 0x18
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
movss xmm1, dword [0x1009a1b4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x68], eax
mov eax, dword [0x100be9bc]
push 0xf
push ecx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0x1a6c]
mov dword [esp], 0
call fcn.1002a390
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x78]
mov ecx, dword [edx + 0x288]
push eax
call fcn.10045e30
push 0xa
mov edx, esi
lea ecx, [esp + 0x44]
call fcn.1002b740
add esp, 4
cmp byte [esp + 0x30], 0
je 0x1006587a
cmp dword [ebx + 0x198], 0
je 0x100657cd
call fcn.10052900
jmp 0x1006587a
cmp dword [edi + 0x1efc], 0
je 0x1006587a
mov eax, dword [0x100be9bc]
mov edi, dword [eax + 0x1efc]
mov esi, dword [eax + 0x1a6c]
imul edx, dword [edi + 0x5c], 0x68
movups xmm0, xmmword [edi + 0x174]
mov eax, dword [esi + 0x288]
movss xmm1, dword [edi + 0x174]
movss xmm2, dword [edi + 0x178]
add edx, dword [edi + 0xc]
movss xmm3, dword [edi + 0x17c]
movss xmm4, dword [edi + 0x180]
movups xmmword [esi + 0x234], xmm0
movss dword [eax + 0x60], xmm1
movss dword [eax + 0x64], xmm2
movss dword [eax + 0x68], xmm3
movss dword [eax + 0x6c], xmm4
mov eax, dword [esi + 0x288]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss dword [eax + ecx*8 - 0x10], xmm1
movss dword [eax + ecx*8 - 0xc], xmm2
movss dword [eax + ecx*8 - 8], xmm3
movss dword [eax + ecx*8 - 4], xmm4
lea ecx, [edi + 0x1c4]
movzx eax, byte [edx + 0x57]
push eax
push dword [esi + 0x288]
call fcn.10046cd0
mov edi, dword [esp + 0x34]
cmp dword [esp + 0x1c], 0
je 0x100658b9
mov esi, dword [0x100be9bc]
lea eax, [esp + 0x68]
push eax
mov dword [esp + 0x6c], 0
movups xmm0, xmmword [esi + 0x15dc]
lea ecx, [esi + 0x1b64]
movups xmmword [esp + 0x70], xmm0
call fcn.1003b870
movups xmm0, xmmword [edi + 0x15ec]
movups xmmword [esi + 0x15dc], xmm0
cmp byte [ebp + 0x10], 0
je 0x100658eb
lea eax, [esp + 0x40]
push eax
lea eax, [edi + 0x15b4]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x34]
lea edx, [esp + 0x64]
lea ecx, [esp + 0x6c]
call fcn.1002ac40
add esp, 0x14
jmp 0x100659bc
cmp byte [esp + 0x14], 0
jne 0x10065925
cmp byte [esp + 0x20], 0
jne 0x10065925
lea eax, [esp + 0x40]
push eax
lea eax, [edi + 0x15b4]
push eax
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x34]
lea edx, [esp + 0x64]
lea ecx, [esp + 0x6c]
call fcn.1002ac40
add esp, 0x14
jmp 0x100659bc
mov edx, dword [esp + 0x24]
mov edi, edx
movaps xmm0, xmmword [0x1009ab40]
movups xmmword [esp + 0x68], xmm0
cmp edx, 0xffffffff
jae 0x10065956
nop dword [eax]
mov cl, byte [edi]
test cl, cl
je 0x10065956
cmp cl, 0x23
jne 0x10065950
cmp byte [edi + 1], cl
je 0x10065956
inc edi
cmp edi, 0xffffffff
jb 0x10065940
mov eax, edi
sub eax, edx
je 0x100659bc
mov esi, dword [0x100be9bc]
lea ecx, [esp + 0x68]
call fcn.1002a010
mov ecx, dword [esi + 0x1a6c]
lea edx, [esp + 0x58]
push eax
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [ecx + 0x288]
add eax, 0x15b4
push eax
lea eax, [esp + 0x34]
push eax
push edi
push dword [esp + 0x38]
lea eax, [esp + 0x68]
push eax
call fcn.1002a880
add esp, 0x1c
cmp byte [esi + 0x2f08], 0
je 0x100659bc
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x58]
push edi
call fcn.1003a510
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x100659cd
mov ecx, 1
call fcn.1002a540
cmp byte [esp + 0x13], 0
je 0x10065a73
test dword [ebx + 8], 0x4000000
je 0x10065a73
test byte [ebp + 8], 1
jne 0x10065a73
test byte [ebx + 0x1b0], 0x20
jne 0x10065a73
mov edi, dword [0x100be9bc]
mov ecx, dword [edi + 0x1bb8]
sub ecx, 1
js 0x10065a73
cmp ecx, dword [edi + 0x1bac]
jge 0x10065a73
mov eax, dword [edi + 0x1bc0]
lea edx, [ecx + ecx*8]
mov esi, dword [edi + 0x1bb4]
shl edx, 2
mov eax, dword [edx + eax]
cmp eax, dword [esi + edx]
jne 0x10065a73
test ecx, ecx
jle 0x10065a5b
lea eax, [esi - 0x20]
add eax, edx
mov esi, dword [eax + 0x24]
mov edx, dword [eax]
test esi, esi
je 0x10065a5b
test dword [esi + 8], 0x10000000
je 0x10065a5b
test edx, edx
je 0x10065a53
test dword [edx + 8], 0x8000000
jne 0x10065a5b
dec ecx
sub eax, 0x24
test ecx, ecx
jg 0x10065a34
mov dl, 1
call fcn.10036a70
mov eax, dword [edi + 0x1bc4]
test eax, eax
je 0x10065a73
mov byte [eax + 0x150], 1
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1008a073
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x84]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008a073
mov esp, ebp
pop ebp
ret