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

Disassembly:
sub esp, 0x5c
mov eax, dword [0x1011f00c]
xor eax, esp
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x64]
push ebp
push esi
mov esi, dword [esp + 0x74]
push edi
sar ecx, 0x10
and ecx, 0xf
mov ebp, dword [esi + 0x54]
mov edi, dword [esi + 0x58]
mov eax, dword [ebp + 0x9c]
mov edx, dword [edi + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
cmp dword [edx + 0xc], 0
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x20], eax
je 0x100a966f
cmp dword [edx + 4], ecx
je 0x100a968a
mov dword [edx + 4], ecx
movups xmm0, xmmword [edi + 0xc]
movups xmmword [edx + 8], xmm0
movq xmm0, qword [edi + 0x1c]
movq qword [edx + 0x18], xmm0
mov eax, dword [edi + 0x24]
mov dword [edx + 0x20], eax
mov dword [esp + 0x3c], esi
lea edi, [ebx + 4]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], 0
mov eax, dword [edx + 0x10]
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], ecx
xor ecx, ecx
mov dword [ebx], esi
mov eax, dword [esi + 0x74]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], 0
mov dword [edi], eax
test eax, eax
jne 0x100a96ec
push dword [esp + 0x74]
push edi
push esi
call fcn.100a53f0
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x100a9d00
mov eax, dword [edi]
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], fcn.100a5380
test ecx, ecx
jne 0x100a9d00
mov eax, dword [edi]
xor edx, edx
mov ecx, dword [esp + 0x7c]
xor edi, edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], edx
cmp ecx, dword [eax + 4]
jb 0x100a971d
mov edx, 6
mov dword [esp + 0x30], edx
jmp 0x100a97ee
mov eax, dword [eax + 8]
movzx ecx, word [eax + ecx*2]
and ecx, 0x3fff
mov eax, dword [ecx*4 + 0x100f9db0]
add ecx, 4
mov dword [esp + 0x38], eax
mov eax, dword [eax + 4]
mov eax, dword [eax*4 + 0x100f91ac]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov edi, dword [eax + ecx*4]
lea ecx, [eax + ecx*4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x100a97ee
mov eax, dword [eax]
mov ecx, dword [eax + 0x64]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
push dword [eax + 4]
push ecx
call fcn.100a01f0
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov edi, eax
mov dword [esp + 0x1c], edi
test edx, edx
jne 0x100a9ceb
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov dword [edi], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x24], eax
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x100a97e4
push dword [eax]
push edi
call ecx
mov edx, eax
add esp, 8
mov dword [esp + 0x30], edx
test edx, edx
je 0x100a97e8
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x100a97cb
push edi
call eax
add esp, 4
push edi
push dword [esp + 0x2c]
call fcn.100a0250
mov edx, dword [esp + 0x38]
add esp, 8
xor edi, edi
mov dword [esp + 0x1c], edi
jmp 0x100a97ee
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov dword [eax], edi
test edx, edx
jne 0x100a9ceb
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov eax, dword [eax*4 + 0x100f91ac]
mov dword [esp + 0x24], eax
mov dword [ebx + 0xc], edi
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100a981d
lea ecx, [esp + 0x3c]
push ecx
push edi
call eax
add esp, 8
jmp 0x100a9838
movups xmm0, xmmword [esp + 0x3c]
movups xmmword [edi + 4], xmm0
movq xmm0, qword [esp + 0x4c]
movq qword [edi + 0x14], xmm0
mov eax, dword [esp + 0x54]
mov dword [edi + 0x1c], eax
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 0x18]
test ecx, ecx
je 0x100a9856
mov eax, dword [esp + 0x20]
push edi
push eax
call ecx
add esp, 8
test eax, eax
jne 0x100a9d02
mov eax, dword [esp + 0x80]
and eax, 0xfffffffb
or eax, 0x2801
push eax
push dword [esp + 0x80]
push esi
call fcn.1009b4e0
add esp, 0xc
mov dword [esp + 0x38], eax
test eax, eax
jne 0x100a9d02
cmp dword [esp + 0x50], 1
jne 0x100a98ad
mov eax, dword [esi + 0x80]
mov cl, byte [eax + 0x38]
test cl, cl
je 0x100a98a2
jns 0x100a98ad
mov eax, dword [esp + 0x74]
cmp byte [eax + 0x15], 0
jne 0x100a98ad
push edi
push esi
push ebx
call fcn.100a93a0
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov al, byte [ecx + 8]
mov byte [ebx + 0x10], al
test al, al
je 0x100a98f9
movups xmm0, xmmword [ecx + 0xc]
lea esi, [ebx + 0x24]
movups xmmword [ebx + 0x14], xmm0
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
movups xmm0, xmmword [ebx + 0x14]
mov dword [esi], eax
lea eax, [esp + 0x58]
push eax
mov dword [esi + 4], ecx
movups xmmword [esp + 0x5c], xmm0
call fcn.1009bd00
add esp, 4
test eax, eax
jne 0x100a98f9
lea eax, [esp + 0x58]
push eax
push esi
call fcn.1009ec60
add esp, 8
cmp dword [ebp + 0x48], 0x6f75746c
je 0x100a9916
lea eax, [ebx + 0x2c]
mov dword [esp + 0x38], 7
mov dword [esp + 0x10], eax
jmp 0x100a9ae1
cmp byte [ebx + 0x10], 0
je 0x100a992e
push dword [ebx + 0x28]
lea eax, [ebp + 0x6c]
push dword [ebx + 0x24]
push eax
call fcn.1009d070
add esp, 0xc
mov ecx, dword [esp + 0x20]
lea esi, [ebx + 0x2c]
mov dword [esp + 0x10], esi
mov eax, dword [ecx + 8]
mov dword [esi], eax
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x30], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 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 + 0x28], eax
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
add eax, dword [esp + 0x28]
mov dword [ebx + 0x34], eax
mov eax, dword [edx + 0x10]
mov dword [ebx + 0x38], eax
cmp word [ebp + 0x6e], 0
je 0x100a9ae1
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x100a99bc
mov eax, dword [esp + 0x34]
push edi
add eax, 0x14
push eax
push edx
push dword [esp + 0x88]
call ecx
mov edx, dword [esp + 0x30]
add esp, 0x10
cmp dword [esp + 0x50], 1
je 0x100a9ab0
imul eax, dword [edx + 0x38], 0x2c
mov edi, dword [esp + 0x1c]
add eax, dword [edx + 0x40]
cmp dword [edx + 0x38], 1
mov dword [esp + 0x28], eax
jle 0x100a9a89
test byte [edx + 0xab4], 4
jne 0x100a9a89
mov ecx, dword [ebx + 0x34]
sub ecx, dword [eax - 0x28]
mov eax, dword [edx + 0x40]
mov dword [esp + 0x10], ecx
mov edi, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, edx
mov eax, dword [esp + 0x28]
sub ecx, edi
mov dword [esp + 0x24], edi
mov eax, dword [eax - 0x24]
lea edi, [ecx - 8]
add eax, dword [esp + 0x10]
cmp dword [esp + 0x24], 0x18
cmovge edi, ecx
cmp dword [esp + 0x10], 0x18
lea ecx, [eax + 8]
mov dword [esp + 0x14], edi
cmovge ecx, eax
mov dword [esp + 0x20], ecx
add ecx, 0x20
lea eax, [edi + 0x20]
and ecx, 0xffffffc0
mov edi, dword [esp + 0x1c]
and eax, 0xffffffc0
mov dword [esp + 0x18], ecx
mov dword [ebx + 0x34], ecx
mov ecx, eax
mov dword [esi], eax
cmp eax, edx
jl 0x100a9a5c
cmp dword [esp + 0x24], 0
jle 0x100a9a5c
lea ecx, [eax - 0x40]
mov dword [esi], ecx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
cmp eax, dword [edx - 0x24]
jg 0x100a9a76
cmp dword [esp + 0x10], 0
jle 0x100a9a76
add eax, 0x40
mov dword [ebx + 0x34], eax
sub ecx, dword [esp + 0x14]
mov dword [ebp + 0x90], ecx
mov eax, dword [ebx + 0x34]
sub eax, dword [esp + 0x20]
jmp 0x100a9ad7
mov eax, dword [esp + 0x20]
mov edx, dword [esi]
mov esi, dword [ebx + 0x34]
mov ecx, dword [eax + 0xac0]
add ecx, 0x20
add ecx, edx
and ecx, 0xffffffc0
mov dword [ebx + 0x2c], ecx
mov eax, dword [eax + 0xac4]
add eax, 0x20
add eax, esi
jmp 0x100a9ac1
mov edx, dword [esi]
mov esi, dword [ebx + 0x34]
lea ecx, [edx + 0x20]
and ecx, 0xffffffc0
lea eax, [esi + 0x20]
mov dword [ebx + 0x2c], ecx
and eax, 0xffffffc0
sub ecx, edx
mov dword [ebx + 0x34], eax
mov dword [ebp + 0x90], ecx
mov eax, dword [ebx + 0x34]
sub eax, esi
lea esi, [ebx + 0x2c]
mov dword [esp + 0x10], esi
mov dword [ebp + 0x94], eax
mov eax, dword [ebp + 0x2c]
sub eax, dword [ebp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x30]
sub eax, dword [ebp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
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 + 0x28], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
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 + 0x34]
mov eax, dword [esp + 0x14]
add edi, 0x14
cmp byte [ebx + 0x10], 0
mov dword [esp + 0x2c], eax
je 0x100a9b84
lea esi, [ebx + 0x14]
push esi
push edi
call fcn.1009cf30
lea eax, [esp + 0x30]
push esi
push eax
call fcn.1009ec60
add esp, 0x10
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x100a9b9c
push 0
neg eax
push eax
push edi
call fcn.1009d070
add esp, 0xc
lea eax, [esp + 0x58]
push eax
push edi
call fcn.1009cc60
mov edx, dword [esp + 0x6c]
add esp, 8
mov esi, dword [esp + 0x5c]
add edx, 0x3f
mov edi, dword [esp + 0x58]
and edx, 0xffffffc0
mov ecx, dword [esp + 0x60]
and esi, 0xffffffc0
mov eax, edx
mov dword [ebp + 0x24], edx
sub eax, esi
mov dword [esp + 0x5c], esi
mov dword [ebp + 0x1c], eax
and edi, 0xffffffc0
mov eax, dword [esp + 0x28]
add ecx, 0x3f
add eax, edi
mov dword [ebp + 0x20], edi
and eax, 0xffffffc0
mov dword [esp + 0x58], edi
mov dword [ebp + 0x2c], eax
and ecx, 0xffffffc0
mov eax, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 0x60], ecx
sub ecx, edi
mov dword [esp + 0x64], edx
and eax, 0xffffffc0
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x30], eax
cmp dword [esp + 0x50], 1
je 0x100a9c6a
mov eax, dword [ebp + 4]
test byte [eax + 8], 4
je 0x100a9c6a
mov esi, dword [esp + 0x1c]
lea edi, [ebp + 0x28]
mov eax, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [edi]
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 + 0x34], eax
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x90], 0
mov dword [ebp + 0x94], 0
jmp 0x100a9c80
cmp dword [ebp + 0x28], 0
lea edi, [ebp + 0x28]
mov esi, dword [esp + 0x1c]
je 0x100a9c82
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x34]
sub eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 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 + 0x34], eax
mov eax, dword [edi]
add eax, 0x20
mov dword [ebp + 0x48], 0x6f75746c
and eax, 0xffffffc0
mov dword [edi], eax
mov eax, dword [esp + 0x34]
add eax, 0x20
pop edi
and eax, 0xffffffc0
pop esi
mov dword [ebp + 0x34], eax
mov eax, dword [esp + 0x30]
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.100f1854
add esp, 0x5c
ret
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.100f1854
add esp, 0x5c
ret
mov eax, ecx
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100f1854
add esp, 0x5c
ret