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

Disassembly:
sub esp, 0x84
push ebx
push ebp
mov ebp, dword [esp + 0x94]
push esi
push edi
push dword [esp + 0x98]
mov esi, dword [ebp + 0x1c]
mov eax, dword [esi + 8]
sub eax, dword [esi]
mov ebx, dword [esi + 0xc]
sub ebx, dword [esi + 4]
mov dword [esp + 0x20], eax
imul eax, dword [ebp + 0x18], 0x98
mov ecx, dword [eax + esi - 0x90]
sub ecx, dword [eax + esi - 0x98]
mov dword [esp + 0x1c], ecx
call fcn.1009b3c0
mov edi, dword [esp + 0xa4]
add esp, 4
mov dword [esp + 0x64], eax
cmp edi, 1
je 0x100a6bf0
push edi
push esi
call fcn.100a8bb0
add esp, 8
cmp eax, 0x7ffffff
ja 0x100a6baf
shl eax, 5
push eax
mov dword [esp + 0x6c], eax
call fcn.1008aa10
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
je 0x100a6baf
sub edi, 1
mov dword [esp + 0x74], eax
mov dword [esp + 0xa0], edi
je 0x100a6be7
mov edx, dword [esp + 0x1c]
nop dword [eax + eax]
mov ebp, dword [ebp + 0x24]
mov edi, esi
add esi, 0x98
mov dword [esp + 0x30], edx
mov eax, edx
mov dword [esp + 0x70], esi
mov ecx, edx
mov dword [esp + 0x40], edi
mov edx, ebx
mov dword [esp + 0x28], ebp
mov ebx, dword [esi]
mov esi, dword [edi + 0xa4]
sub esi, dword [edi + 0x9c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x7c], edx
mov edx, dword [edi + 0xa0]
sub edx, ebx
mov dword [esp + 0x4c], ecx
mov edi, edx
mov dword [esp + 0x1c], edx
sub edi, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x48], edi
and ebx, 0x80000001
jns 0x100a6420
dec ebx
or ebx, 0xfffffffe
inc ebx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], edi
cmp edx, 1
jle 0x100a6817
cmp esi, 0x10
jb 0x100a6817
mov eax, esi
mov ecx, edx
shr eax, 3
cmp eax, edx
cmovb ecx, eax
xor edx, edx
mov eax, esi
mov dword [esp + 0x24], ecx
div ecx
xor edx, edx
and eax, 0xfffffff8
mov dword [esp + 0x34], edx
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x100a654e
mov dword [esp + 0x20], edx
jmp 0x100a6494
mov ebx, dword [esp + 0x14]
push 0x30
call fcn.1008aa70
mov esi, eax
add esp, 4
test esi, esi
je 0x100a6bbc
push dword [esp + 0x68]
call fcn.1008aa10
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x100a6b8f
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
inc ecx
mov dword [esi + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esi + 0x20], eax
and ebx, 0xfffffff8
mov eax, ebx
mov dword [esi + 0x28], ebp
sub eax, dword [esp + 0x20]
cmp ecx, dword [esp + 0x24]
push esi
cmovne eax, dword [esp + 0x14]
mov dword [esi + 0x2c], eax
imul eax, edx
push 0x100a3ec0
push dword [esp + 0xa0]
mov dword [esi + 4], edi
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], edx
lea ebp, [ebp + eax*4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], ebp
call fcn.1009b610
mov eax, dword [esp + 0x1c]
add esp, 0xc
add dword [esp + 0x20], eax
mov edx, dword [esp + 0x34]
cmp edx, dword [esp + 0x24]
jb 0x100a6490
jmp 0x100a6553
mov ebx, esi
and ebx, 0xfffffff8
push 0
push dword [esp + 0x9c]
call fcn.1009b720
add esp, 8
mov edx, dword [esp + 0x2c]
cmp ebx, edx
jae 0x100a66db
mov eax, dword [esp + 0x18]
mov esi, edx
sub esi, ebx
push esi
push eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x38], esi
push ebp
push eax
call fcn.100a99d0
lea eax, [esp + 0x54]
push eax
call fcn.100a96d0
mov edx, dword [esp + 0x30]
xor edi, edi
add esp, 0x14
mov dword [esp + 0x24], edi
test edx, edx
je 0x100a66df
mov edx, dword [esp + 0x18]
mov ecx, ebp
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x34], ecx
lea eax, [edx*4]
mov dword [esp + 0x3c], eax
lea eax, [edx*4]
add eax, ebp
add ebx, 8
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ebx
xor ebx, ebx
cmp esi, 4
jb 0x100a6673
mov ebx, dword [esp + 0x18]
mov edx, ebx
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x34]
shl edx, 4
lea eax, [edi + ebx*2]
add eax, ebx
lea edi, [eax*4]
mov eax, dword [esp + 0x24]
add edi, ebp
lea eax, [eax + ebx*2]
lea ebx, [eax*4]
mov eax, dword [esp + 0x30]
add eax, 0xfffffffc
add ebx, ebp
mov ebp, dword [esp + 0x20]
shr eax, 2
inc eax
mov dword [esp + 0x14], eax
shl eax, 2
mov dword [esp + 0x6c], eax
nop dword [eax]
mov eax, dword [ecx - 8]
lea ecx, [ecx + 0x10]
mov dword [esi], eax
add esi, edx
mov eax, dword [ecx - 0x14]
mov dword [ebp], eax
add ebp, edx
mov eax, dword [ecx - 0x10]
mov dword [ebx], eax
add ebx, edx
mov eax, dword [ecx - 0xc]
mov dword [edi], eax
add edi, edx
sub dword [esp + 0x14], 1
jne 0x100a6630
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
cmp ebx, esi
jae 0x100a66b5
mov ecx, dword [esp + 0x44]
lea eax, [ebx + edi*8]
lea ecx, [ecx + eax*4]
mov eax, ebx
imul eax, edx
add eax, edi
lea edx, [eax*4]
add edx, ebp
mov ebp, dword [esp + 0x3c]
sub esi, ebx
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [edx], eax
add edx, ebp
sub esi, 1
jne 0x100a6697
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
add dword [esp + 0x10], 0x20
inc edi
mov edx, dword [esp + 0x18]
add ecx, 4
add eax, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], eax
cmp edi, dword [esp + 0x1c]
jb 0x100a65d5
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x38]
sub ebx, esi
mov dword [esp + 0x30], ebx
mov ecx, dword [ecx + 0x9c]
mov dword [esp + 0x78], ebx
and ecx, 0x80000001
jns 0x100a6708
dec ecx
or ecx, 0xfffffffe
inc ecx
mov edi, dword [esp + 0x9c]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x80], ecx
mov edi, dword [edi + 0x24]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ebx
mov dword [esp + 0x20], edi
cmp eax, 1
jle 0x100a69ad
cmp edx, 0x10
jb 0x100a69ad
shr eax, 1
mov ecx, 2
cmp eax, ecx
mov dword [esp + 0x24], 0
mov ebp, edx
cmova ecx, eax
shr ebp, 3
cmp ebp, ecx
mov eax, edx
cmovae ebp, ecx
xor edx, edx
div ebp
and eax, 0xfffffff8
mov dword [esp + 0x14], eax
test ebp, ebp
je 0x100a6997
mov dword [esp + 0x10], 0
push 0x30
call fcn.1008aa70
mov esi, eax
add esp, 4
test esi, esi
je 0x100a6bbc
push dword [esp + 0x68]
call fcn.1008aa10
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x100a6b8f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x24]
inc eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x28], edi
mov dword [esp + 0x24], eax
cmp eax, ebp
jne 0x100a6962
mov eax, dword [esp + 0x1c]
and eax, 0xfffffff8
sub eax, dword [esp + 0x10]
jmp 0x100a6966
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp esi, 7
jbe 0x100a6564
mov edi, dword [esp + 0x18]
mov esi, 7
mov eax, edi
mov dword [esp + 0x24], esi
shl eax, 5
mov dword [esp + 0x14], eax
nop dword [eax]
push 8
push edi
lea eax, [esp + 0x4c]
push ebp
push eax
call fcn.100a99d0
lea eax, [esp + 0x54]
push eax
call fcn.100a96d0
xor edx, edx
add esp, 0x14
cmp dword [esp + 0x1c], edx
jbe 0x100a693b
mov ecx, dword [esp + 0x44]
lea eax, [edi + edi*2]
lea esi, [eax*4]
add ecx, 8
mov eax, dword [esp + 0x18]
lea edi, [edi*8]
add esi, ebp
add edi, ebp
lea ebx, [eax*4]
add ebx, ebp
mov eax, dword [ecx - 8]
lea ebx, [ebx + 4]
mov dword [ebp + edx*4], eax
lea edi, [edi + 4]
mov eax, dword [ecx - 4]
lea esi, [esi + 4]
mov dword [ebx - 4], eax
lea ecx, [ecx + 0x20]
mov eax, dword [ecx - 0x20]
inc edx
mov dword [edi - 4], eax
mov eax, dword [ecx - 0x1c]
mov dword [esi - 4], eax
cmp edx, dword [esp + 0x1c]
jb 0x100a6890
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
add ecx, 0x14
lea eax, [edx*8]
sub eax, edx
lea esi, [eax*4]
lea eax, [edx + edx*2]
add esi, ebp
lea edi, [eax*8]
lea eax, [edx + edx*4]
add edi, ebp
lea ebx, [eax*4]
shl edx, 4
add ebx, ebp
add edx, ebp
mov ebp, dword [esp + 0x1c]
nop word [eax + eax]
mov eax, dword [ecx - 4]
lea edx, [edx + 4]
mov dword [edx - 4], eax
lea ebx, [ebx + 4]
mov eax, dword [ecx]
lea edi, [edi + 4]
mov dword [ebx - 4], eax
lea esi, [esi + 4]
mov eax, dword [ecx + 4]
lea ecx, [ecx + 0x20]
mov dword [edi - 4], eax
mov eax, dword [ecx - 0x18]
mov dword [esi - 4], eax
sub ebp, 1
jne 0x100a6900
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
add ebp, dword [esp + 0x14]
add esi, 8
mov edx, dword [esp + 0x2c]
add ebx, 8
mov dword [esp + 0x28], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], esi
cmp esi, edx
jb 0x100a6840
jmp 0x100a6568
mov eax, dword [esp + 0x14]
push esi
push 0x100a4030
push dword [esp + 0xa0]
lea edi, [edi + eax*4]
mov dword [esi + 0x2c], eax
mov dword [esp + 0x2c], edi
call fcn.1009b610
mov eax, dword [esp + 0x20]
add esp, 0xc
add dword [esp + 0x10], eax
cmp dword [esp + 0x24], ebp
jb 0x100a6796
push 0
push dword [esp + 0x9c]
call fcn.1009b720
add esp, 8
jmp 0x100a6a92
cmp edx, 7
jbe 0x100a6a9a
mov ebp, dword [esp + 0x44]
mov eax, ecx
shl eax, 5
lea ecx, [eax + ebp]
mov dword [esp + 0x3c], ecx
mov ecx, ebp
mov ebp, dword [esp + 0x18]
sub ecx, eax
mov eax, esi
add ecx, 0x20
imul eax, ebp
mov dword [esp + 0x10], ecx
lea esi, [ebp*4]
shl eax, 2
mov dword [esp + 0x40], eax
lea eax, [edx - 8]
mov ebp, dword [esp + 0x40]
shr eax, 3
inc eax
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x38]
test edx, edx
je 0x100a6a22
mov eax, dword [esp + 0x3c]
mov ecx, edi
movups xmm0, xmmword [ecx]
lea eax, [eax + 0x40]
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [ecx + 0x10]
add ecx, esi
movups xmmword [eax - 0x30], xmm0
sub edx, 1
jne 0x100a6a05
mov ecx, dword [esp + 0x10]
test ebx, ebx
je 0x100a6a49
mov eax, ecx
mov edx, ebx
lea ecx, [edi + ebp]
nop dword [eax]
movups xmm0, xmmword [ecx]
lea eax, [eax + 0x40]
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [ecx + 0x10]
add ecx, esi
movups xmmword [eax - 0x30], xmm0
sub edx, 1
jne 0x100a6a30
lea eax, [esp + 0x74]
push eax
call fcn.100a96d0
mov edx, dword [esp + 0x30]
add esp, 4
test edx, edx
je 0x100a6a7c
mov eax, dword [esp + 0x44]
mov ecx, edi
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, esi
sub edx, 1
jne 0x100a6a64
mov ecx, dword [esp + 0x10]
add edi, 0x20
sub dword [esp + 0x14], 1
jne 0x100a69f7
mov dword [esp + 0x20], edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov eax, edx
and eax, 7
je 0x100a6b6b
mov ebx, dword [esp + 0x44]
shl eax, 2
shl ecx, 5
mov dword [esp + 0x10], eax
add ebx, ecx
mov eax, dword [esp + 0x38]
shl ebp, 2
mov dword [esp + 0x28], ecx
test eax, eax
je 0x100a6af5
mov esi, edi
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x10]
push edi
push esi
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add esi, ebp
add ebx, 0x40
sub dword [esp + 0x14], 1
jne 0x100a6ad2
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
imul eax, dword [esp + 0x18]
mov esi, dword [esp + 0x44]
sub esi, ecx
add esi, 0x20
cmp dword [esp + 0x30], 0
lea ebx, [edi + eax*4]
jbe 0x100a6b2c
mov edi, dword [esp + 0x10]
push edi
push ebx
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add ebx, ebp
add esi, 0x40
sub dword [esp + 0x30], 1
jne 0x100a6b11
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x74]
push eax
call fcn.100a96d0
mov ebx, dword [esp + 0x30]
add esp, 4
test ebx, ebx
je 0x100a6b89
mov esi, dword [esp + 0x44]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x10]
nop dword [eax]
push ebx
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add esi, 0x20
add edi, ebp
sub dword [esp + 0x14], 1
jne 0x100a6b50
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
sub dword [esp + 0xa0], 1
je 0x100a6be3
mov esi, dword [esp + 0x70]
mov ebp, dword [esp + 0x9c]
jmp 0x100a63c0
mov edx, dword [esp + 0x1c]
jmp 0x100a6b6f
push 0
push dword [esp + 0x9c]
call fcn.1009b720
push esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
push dword [esp + 0x50]
call fcn.1008aa00
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x84
ret
push 0
push dword [esp + 0x9c]
call fcn.1009b720
push dword [esp + 0x4c]
call fcn.1008aa00
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
mov eax, dword [esp + 0x44]
push eax
call fcn.1008aa00
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x84
ret