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

Disassembly:
sub esp, 0x60
mov eax, dword [0x1018f074]
xor eax, esp
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x74]
push ebx
mov ebx, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x6c]
push esi
mov esi, dword [ebx + 0x58]
push edi
mov edi, dword [ebx + 0x54]
sar ecx, 0x10
mov edx, dword [esi + 0x28]
and ecx, 0xf
mov dword [esp + 0x30], ebx
mov eax, dword [edi + 0x9c]
mov dword [esp + 0x1c], eax
cmp dword [edx + 0xc], 0
mov dword [esp + 0x20], edi
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], eax
je 0x10069817
cmp dword [edx + 4], ecx
je 0x10069832
mov dword [edx + 4], ecx
movups xmm0, xmmword [esi + 0xc]
movups xmmword [edx + 8], xmm0
movq xmm0, qword [esi + 0x1c]
movq qword [edx + 0x18], xmm0
mov eax, dword [esi + 0x24]
mov dword [edx + 0x20], eax
mov dword [esp + 0x40], ebx
lea esi, [ebp + 4]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], 0
mov eax, dword [edx + 0x10]
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], ecx
xor ecx, ecx
mov dword [ebp], ebx
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], 0
mov dword [esi], eax
test eax, eax
jne 0x10069895
push dword [esp + 0x78]
push esi
push ebx
call fcn.10065660
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x10069ed0
mov eax, dword [esi]
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], fcn.100655f0
test ecx, ecx
jne 0x10069ed0
mov esi, dword [esi]
xor ebx, ebx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x28], ecx
cmp edx, dword [esi + 4]
jb 0x100698bf
mov ecx, 6
mov dword [esp + 0x28], ecx
jmp 0x100699b5
mov eax, dword [esi + 8]
movzx edi, word [eax + edx*2]
and edi, 0x3fff
mov eax, dword [edi*4 + 0x10107e00]
mov ebx, dword [esi + edi*4 + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 4]
mov edx, dword [eax*4 + 0x1010717c]
mov dword [esp + 0x10], edx
test ebx, ebx
jne 0x100699b1
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push dword [edx + 4]
mov eax, dword [eax + 0x64]
push eax
mov dword [esp + 0x38], eax
call fcn.1005f860
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov ebx, eax
test ecx, ecx
jne 0x100699b1
mov eax, dword [esp + 0x38]
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x24], esi
mov eax, dword [eax + 8]
test eax, eax
je 0x100699a9
push dword [esi]
push ebx
call eax
mov ecx, eax
add esp, 8
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x100699ad
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x10069950
push ebx
call eax
add esp, 4
push ebx
push dword [esp + 0x30]
call fcn.1005f8c0
mov ecx, dword [esp + 0x30]
add esp, 8
xor ebx, ebx
cmp ecx, 0xffffffff
jne 0x100699b1
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x80]
movzx edi, word [eax + ecx*2]
xor ecx, ecx
and edi, 0x3fff
mov dword [esp + 0x28], ecx
mov eax, dword [edi*4 + 0x10107e00]
mov ebx, dword [esi + edi*4 + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 4]
mov edx, dword [eax*4 + 0x1010717c]
mov dword [esp + 0x10], edx
test ebx, ebx
je 0x100698f1
jmp 0x100699b1
mov ecx, dword [esp + 0x28]
mov dword [esi + edi*4 + 0x10], ebx
mov edi, dword [esp + 0x20]
test ecx, ecx
jne 0x10069ed0
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov esi, dword [eax*4 + 0x1010717c]
mov dword [ebp + 0xc], ebx
mov dword [esp + 0x18], esi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100699e4
lea ecx, [esp + 0x40]
push ecx
push ebx
call eax
add esp, 8
jmp 0x100699ff
movups xmm0, xmmword [esp + 0x40]
movups xmmword [ebx + 4], xmm0
movq xmm0, qword [esp + 0x50]
movq qword [ebx + 0x14], xmm0
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x10069a18
push ebx
push dword [esp + 0x28]
call eax
add esp, 8
test eax, eax
jne 0x10069ed2
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x30]
and eax, 0xfffffffb
or eax, 0x2801
push eax
push dword [esp + 0x84]
push esi
call fcn.1005a5b0
add esp, 0xc
mov dword [esp + 0x38], eax
test eax, eax
jne 0x10069ed2
cmp dword [esp + 0x54], 1
jne 0x10069a73
mov eax, dword [esi + 0x80]
mov al, byte [eax + 0x38]
test al, al
je 0x10069a68
jns 0x10069a73
mov eax, dword [esp + 0x78]
cmp byte [eax + 0x14], 0
jne 0x10069a73
push ebx
push esi
push ebp
call fcn.10069580
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx + 8]
mov byte [ebp + 0x10], al
test al, al
je 0x10069abf
movups xmm0, xmmword [ecx + 0xc]
lea esi, [ebp + 0x24]
movups xmmword [ebp + 0x14], xmm0
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
movups xmm0, xmmword [ebp + 0x14]
mov dword [esi], eax
lea eax, [esp + 0x5c]
push eax
mov dword [esi + 4], ecx
movups xmmword [esp + 0x60], xmm0
call fcn.1005af70
add esp, 4
test eax, eax
jne 0x10069abf
lea eax, [esp + 0x5c]
push eax
push esi
call fcn.1005e200
add esp, 8
cmp dword [edi + 0x48], 0x6f75746c
je 0x10069ae3
lea eax, [ebp + 0x2c]
mov dword [esp + 0x38], 7
mov dword [esp + 0x10], eax
lea eax, [edi + 0x28]
mov dword [esp + 0x2c], eax
jmp 0x10069c99
cmp byte [ebp + 0x10], 0
je 0x10069afb
push dword [ebp + 0x28]
lea eax, [edi + 0x6c]
push dword [ebp + 0x24]
push eax
call fcn.1005c3f0
add esp, 0xc
mov ecx, dword [esp + 0x24]
lea esi, [ebp + 0x2c]
mov dword [esp + 0x10], esi
mov eax, dword [ecx + 8]
mov dword [esi], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp + 0x30], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x30], eax
lea eax, [edi + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 8]
add eax, dword [esp + 0x14]
mov dword [ebp + 0x34], eax
mov eax, dword [edx + 0x10]
mov dword [ebp + 0x38], eax
cmp word [edi + 0x6e], 0
je 0x10069c99
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
je 0x10069b9b
mov eax, dword [esp + 0x3c]
push ebx
add eax, 0x14
push eax
push edx
push dword [esp + 0x8c]
call ecx
add esp, 0x10
mov dword [esp + 0x38], eax
test eax, eax
jne 0x10069ed2
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x54], 1
je 0x10069c61
mov eax, dword [edx + 0x38]
cmp eax, 1
jle 0x10069c61
test byte [edx + 0xab4], 4
jne 0x10069c61
mov ecx, dword [edx + 0x40]
imul edi, eax, 0x2c
mov eax, dword [ebp + 0x34]
sub eax, dword [edi + ecx - 0x28]
mov edx, dword [ecx + 8]
add edi, ecx
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 4]
mov ecx, edx
sub ecx, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov eax, dword [edi - 0x24]
add eax, dword [esp + 0x24]
cmp dword [esp + 0x10], 0x18
lea edi, [ecx - 8]
cmovge edi, ecx
cmp dword [esp + 0x24], 0x18
lea ecx, [eax + 8]
mov dword [esp + 0x1c], edi
cmovge ecx, eax
mov dword [esp + 0x30], ecx
add ecx, 0x20
lea eax, [edi + 0x20]
and ecx, 0xffffffc0
mov edi, dword [esp + 0x20]
and eax, 0xffffffc0
mov dword [esp + 0x18], ecx
mov dword [ebp + 0x34], ecx
mov ecx, eax
mov dword [esi], eax
cmp eax, edx
jl 0x10069c34
cmp dword [esp + 0x10], 0
jle 0x10069c34
lea ecx, [eax - 0x40]
mov dword [esi], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp eax, dword [edx - 0x24]
jg 0x10069c4e
cmp dword [esp + 0x24], 0
jle 0x10069c4e
add eax, 0x40
mov dword [ebp + 0x34], eax
sub ecx, dword [esp + 0x1c]
mov dword [edi + 0x90], ecx
mov eax, dword [ebp + 0x34]
sub eax, dword [esp + 0x30]
jmp 0x10069c88
mov edx, dword [esi]
mov esi, dword [ebp + 0x34]
lea ecx, [edx + 0x20]
and ecx, 0xffffffc0
lea eax, [esi + 0x20]
and eax, 0xffffffc0
mov dword [ebp + 0x2c], ecx
mov dword [ebp + 0x34], eax
sub ecx, edx
mov dword [edi + 0x90], ecx
mov eax, dword [ebp + 0x34]
sub eax, esi
lea esi, [ebp + 0x2c]
mov dword [esp + 0x10], esi
lea esi, [edi + 0x28]
mov dword [esp + 0x2c], esi
mov dword [edi + 0x94], eax
mov eax, dword [edi + 0x2c]
sub eax, dword [edi + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x30]
sub eax, dword [edi + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
add edi, 0x14
cmp byte [ebp + 0x10], 0
mov dword [esp + 0x34], eax
je 0x10069d3c
lea esi, [ebp + 0x14]
push esi
push edi
call fcn.1005c3b0
lea eax, [esp + 0x38]
push esi
push eax
call fcn.1005e200
add esp, 0x10
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x10069d54
push 0
neg eax
push eax
push edi
call fcn.1005c3f0
add esp, 0xc
lea eax, [esp + 0x5c]
push eax
push edi
call fcn.1005c0c0
mov ecx, dword [esp + 0x6c]
add esp, 8
mov edi, dword [esp + 0x5c]
add ecx, 0x3f
mov edx, dword [esp + 0x68]
and edi, 0xffffffc0
mov eax, dword [esp + 0x20]
and ecx, 0xffffffc0
mov esi, dword [esp + 0x60]
add edx, 0x3f
and edx, 0xffffffc0
mov dword [esp + 0x64], ecx
sub ecx, edi
mov dword [esp + 0x5c], edi
mov dword [eax + 0x18], ecx
and esi, 0xffffffc0
mov eax, edx
mov dword [esp + 0x60], esi
sub eax, esi
mov dword [esp + 0x68], edx
mov esi, dword [esp + 0x20]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x30]
add eax, edi
mov dword [esi + 0x20], edi
and eax, 0xffffffc0
mov dword [esi + 0x24], edx
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x34]
add eax, edx
and eax, 0xffffffc0
mov dword [esi + 0x30], eax
cmp dword [esp + 0x54], 1
je 0x10069e53
mov eax, dword [esi + 4]
test byte [eax + 8], 4
jne 0x10069dfe
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x80]
cmp ecx, dword [eax + 4]
jae 0x10069e53
mov eax, dword [eax + 8]
mov ax, word [eax + ecx*2]
shr ax, 0xf
test al, al
je 0x10069e53
cmp byte [ebx + 0x20], 0
je 0x10069e53
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
mov dword [esi + 0x28], eax
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
jmp 0x10069e67
mov edi, dword [esp + 0x2c]
cmp dword [edi], 0
je 0x10069e67
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x34]
sub eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
add eax, 0x20
mov dword [esi + 0x48], 0x6f75746c
and eax, 0xffffffc0
mov dword [edi], eax
mov eax, dword [esp + 0x1c]
add eax, 0x20
and eax, 0xffffffc0
pop edi
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x34]
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100d0b93
add esp, 0x60
ret
mov eax, ecx
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100d0b93
add esp, 0x60
ret