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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x10444724]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, 0x2aaaaaab
push esi
mov esi, dword [ebp + 0xc]
sub ecx, esi
imul ecx
push edi
sar edx, 2
xor ecx, ecx
mov eax, edx
mov dword [esp + 0x24], ecx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x28], ecx
xor edx, edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x20], edx
lea edi, [eax + 0x1f]
shr edi, 5
mov dword [esp + 0x1c], edi
test edi, edi
je 0x100aaf46
lea edx, [edi*4]
cmp edx, 0x1000
jb 0x100aaf01
lea eax, [edx + 0x23]
or ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.1037dfb9
add esp, 4
test eax, eax
je 0x100ab32c
lea edx, [eax + 0x23]
and edx, 0xffffffe0
mov dword [edx - 4], eax
mov esi, dword [ebp + 0xc]
jmp 0x100aaf17
test edx, edx
je 0x100aaf15
push edx
call fcn.1037dfb9
mov esi, dword [ebp + 0xc]
add esp, 4
mov edx, eax
jmp 0x100aaf17
xor edx, edx
mov dword [esp + 0x20], edx
lea eax, [edx + edi*4]
mov dword [esp + 0x28], eax
mov ecx, edx
test edi, edi
je 0x100aaf3e
mov ecx, edi
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
mov esi, dword [ebp + 0xc]
lea ecx, [edx + edi*4]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], 0
cmp eax, 0x7fffffff
ja 0x100ab371
sub dword [esp + 0x14], edx
sar dword [esp + 0x14], 2
cmp edi, dword [esp + 0x14]
jae 0x100aaf80
lea eax, [edx + edi*4]
cmp eax, ecx
cmovne ecx, eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
and eax, 0x1f
mov dword [esp + 0x64], eax
jbe 0x100aafa0
mov ecx, dword [esp + 0x64]
mov eax, 1
shl eax, cl
dec eax
and dword [edx + edi*4 - 4], eax
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x20]
mov dword [esp + 0x38], eax
sub ecx, esi
lea eax, [ebp + 0xc]
xor edi, edi
mov dword [esp + 0x3c], eax
mov eax, 0x2aaaaaab
imul ecx
mov dword [esp + 0x18], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x100ab0b3
xor eax, eax
mov dword [esp + 0x14], eax
nop dword [eax]
cmp dword [esi + eax], 3
jg 0x100ab085
mov eax, dword [esp + 0x38]
mov ecx, edi
shr ecx, 5
mov eax, dword [eax]
mov edx, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
mov dword [esp + 0x1c], eax
mov ecx, edi
and ecx, 0x1f
mov eax, 1
shl eax, cl
test edx, eax
jne 0x100ab081
mov eax, dword [esp + 0x1c]
bts edx, ecx
lea esi, [esp + 0x64]
mov edi, 3
mov dword [eax], edx
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
add eax, dword [esp + 0x14]
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movq qword [esp + 0x50], xmm0
movaps xmm0, xmm1
psrldq xmm0, 4
movd dword [esp + 0x64], xmm0
movaps xmm0, xmm1
psrldq xmm0, 8
psrldq xmm1, 0xc
movd dword [esp + 0x68], xmm0
movd dword [esp + 0x6c], xmm1
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x100ab072
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.100a6f10
add esi, 4
sub edi, 1
jne 0x100ab060
mov esi, dword [ebp + 0xc]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x10]
add eax, 0x18
mov dword [esp + 0x14], eax
sub ecx, esi
mov eax, 0x2aaaaaab
inc edi
imul ecx
mov dword [esp + 0x18], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
mov eax, dword [esp + 0x14]
jl 0x100aafe0
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x33]
push eax
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
push 0x1038b9ec
sar edx, 2
lea ecx, [esp + 0x48]
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.100a7770
mov esi, dword [ebp + 0x10]
xor ecx, ecx
mov edi, dword [esp + 0x40]
mov eax, 0x2aaaaaab
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], ecx
mov ecx, esi
sub ecx, dword [ebp + 0xc]
imul ecx
mov dword [esp + 0x14], esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x100ab1ce
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], 0
nop dword [eax]
mov eax, dword [esp + 0x64]
mov edx, 1
mov ecx, eax
shr eax, 5
and ecx, 0x1f
shl edx, cl
test dword [esi + eax*4], edx
je 0x100ab198
mov ecx, dword [ebp + 0xc]
mov esi, 3
mov edx, dword [esp + 0x18]
lea eax, [ecx + 4]
add eax, edx
mov dword [esp + 0x70], eax
lea eax, [ecx + 8]
add eax, edx
mov dword [esp + 0x74], eax
lea eax, [ecx + 0xc]
add eax, edx
lea ecx, [esp + 0x70]
mov dword [esp + 0x78], eax
mov edx, dword [ecx]
mov eax, dword [edx]
cmp eax, 0xffffffff
je 0x100ab171
mov eax, dword [edi + eax*4]
mov dword [edx], eax
add ecx, 4
sub esi, 1
jne 0x100ab163
mov ecx, dword [esp + 0x1c]
mov eax, ecx
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x64]
mov dword [edi + ecx*4], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], eax
jmp 0x100ab1a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
add dword [esp + 0x18], 0x18
inc ecx
mov dword [esp + 0x64], ecx
mov ecx, eax
sub ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x64], eax
jl 0x100ab120
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x20]
mov dword [esp + 0x68], edx
lea eax, [ebp + 0xc]
mov edx, dword [ebp + 0xc]
mov edi, edx
mov dword [esp + 0x64], eax
cmp edi, esi
je 0x100ab2a0
xor edx, edx
mov dword [esp + 0x1c], edx
mov eax, 0x2aaaaaab
imul edx
mov eax, 1
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
mov ecx, esi
shr esi, 5
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x20]
test dword [ecx + esi*4], eax
mov esi, dword [esp + 0x14]
je 0x100ab233
mov edx, dword [esp + 0x1c]
add edi, 0x18
add edx, 0x18
mov dword [esp + 0x1c], edx
cmp edi, esi
jne 0x100ab1f4
mov edx, dword [ebp + 0xc]
cmp edi, esi
je 0x100ab2a0
lea eax, [edi + 0x18]
mov dword [esp + 0x18], eax
cmp eax, esi
je 0x100ab2a0
mov ecx, eax
mov eax, 0x2aaaaaab
sub ecx, edx
imul ecx
mov eax, 1
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
mov ecx, esi
shr esi, 5
and ecx, 0x1f
shl eax, cl
mov ecx, dword [esp + 0x20]
test dword [ecx + esi*4], eax
mov eax, dword [esp + 0x18]
je 0x100ab28d
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0xc]
add eax, 0x18
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x14]
jne 0x100ab245
mov esi, dword [ebp + 0x10]
mov edx, dword [esp + 0x34]
cmp edi, esi
mov eax, dword [ebp + 0xc]
cmove edi, esi
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov dword [edx], eax
mov eax, dword [ebp + 0x14]
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov edx, dword [esp + 0x40]
mov dword [ebp + 0x14], 0
test edx, edx
je 0x100ab305
mov ecx, dword [esp + 0x48]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x100ab2f7
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100ab32c
push ecx
push edx
call fcn.1037dfe9
mov ecx, dword [esp + 0x28]
add esp, 8
test ecx, ecx
je 0x100ab354
mov edx, dword [esp + 0x28]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x100ab332
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100ab332
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1037dfe9
add esp, 8
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
lea ecx, [ebp + 0xc]
call fcn.100a8360
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.1037e005
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x20]
call fcn.100a8440
int3