Function at 0x101ae280
Capabilities:
Create directory
Encode data using xor
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10324196
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x1043900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xc8], 0
mov esi, dword [edi + 4]
sub esi, dword [edi]
sar esi, 2
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0
test esi, esi
je 0x101ae32e
cmp esi, 0x3fffffff
ja 0x101af28d
push esi
call fcn.1001ab90
mov dword [ebp - 0x104], eax
lea ecx, [eax + esi*4]
mov esi, dword [edi + 4]
mov dword [ebp - 0xfc], ecx
mov ecx, dword [edi]
sub esi, ecx
push esi
push ecx
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x104]
add esp, 0xc
sar esi, 2
lea eax, [eax + esi*4]
mov dword [ebp - 0x100], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x10]
sar eax, 3
imul eax, eax, 0xaaaaaaab
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xcc], eax
test eax, eax
je 0x101ae410
cmp eax, 0xaaaaaaa
ja 0x101af292
push eax
call fcn.100ed650
mov esi, eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xd8], esi
lea ecx, [eax + eax*2]
lea ecx, [esi + ecx*8]
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xe0], eax
mov eax, dword [edi + 0x14]
lea ecx, [ebp - 0xdc]
mov edi, dword [edi + 0x10]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], ecx
mov byte [ebp - 4], 2
cmp edi, eax
je 0x101ae404
push edi
mov ecx, esi
call fcn.1002c0b0
add esi, 0x18
add edi, 0x18
mov dword [ebp - 0x120], esi
cmp edi, dword [ebp - 0xcc]
jne 0x101ae3e8
mov edi, dword [ebp - 0xd0]
mov dword [ebp - 0xd8], esi
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x101ae41a
mov dword [edi + 4], eax
lea eax, [edi + 0x44]
mov dword [edi + 0xc], 0
mov esi, dword [edi + 0x44]
mov dword [ebp - 0x114], eax
mov eax, dword [edi + 0x48]
mov dword [ebp - 0xcc], eax
cmp esi, eax
je 0x101ae45a
mov edi, eax
nop dword [eax]
mov ecx, esi
call fcn.1002c340
add esi, 0x18
cmp esi, edi
jne 0x101ae440
mov edi, dword [ebp - 0xd0]
mov eax, dword [edi + 0x44]
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0x14]
mov esi, dword [edi + 0x10]
mov dword [ebp - 0xcc], eax
cmp esi, eax
je 0x101ae48b
mov edi, eax
nop dword [eax]
push ecx
mov ecx, esi
call fcn.1002d160
add esi, 0x18
cmp esi, edi
jne 0x101ae470
mov edi, dword [ebp - 0xd0]
mov eax, dword [edi + 0x10]
mov dword [edi + 0x14], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push 0x10612e08
push 0
push 0
push 0x1a
push 0
mov byte [ebp - 4], 4
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x101af214
cmp byte [0x104b3700], 0
jne 0x101ae543
mov byte [0x104b3700], 1
xor edi, edi
xor edx, edx
mov eax, edi
xor eax, dword [0x104b3718]
xor edx, dword [0x104b371c]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0xc4], eax
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor dword [ebp - 0xc4], eax
mov ecx, edx
mov eax, dword [ebp - 0xc4]
shrd eax, ecx, 7
xor dword [ebp - 0xc4], eax
shr ecx, 7
xor edx, ecx
mov ecx, dword [ebp - 0xc4]
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [ebp - 0xc4]
xor cl, byte [edi + 0x104b3701]
mov byte [edi + 0x104b3701], cl
inc edi
cmp edi, 0x15
jb 0x101ae4d5
push ecx
push 0x104b3715
push 0x104b3701
lea ecx, [ebp - 0x58]
call fcn.1001a620
mov edi, 0x3000000
mov dword [ebp - 0xc4], edi
mov byte [ebp - 4], 5
lea esi, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
mov ecx, 0x10612e08
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
cmovae esi, dword [ebp - 0x58]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101ae590
sub ecx, edx
push ecx
push 0x10612e08
lea ecx, [ebp - 0x28]
call fcn.1001a920
push esi
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.1006d370
mov esi, eax
add esp, 4
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x101ae62d
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x101ae5f9
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101ae5ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101ae5ef
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102bb95a
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x70]
call fcn.10019dd0
lea ecx, [ebp - 0x28]
call fcn.10019dd0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.10019dd0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [ebp - 0xcc], 0
lea edx, [ebp - 0x40]
push dword [ebp - 0xcc]
lea ecx, [ebp - 0x58]
call fcn.1002cf60
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xec]
call fcn.1018df90
add esp, 4
test eax, eax
jne 0x101af297
lea ecx, [ebp - 0x58]
call fcn.1002c340
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x101ae6bc
lock inc dword [ecx + 4]
mov esi, dword [ebp - 0xec]
mov dword [ebp - 0xcc], esi
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0xf0], ecx
test ecx, ecx
je 0x101ae6dc
lock inc dword [ecx + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x12c], xmm0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
test ecx, ecx
je 0x101ae722
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x101ae722
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xe8]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x101ae722
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
test esi, esi
je 0x101af1c0
mov byte [ebp - 0x108], 0
nop word [eax + eax]
cmp byte [0x104b3480], 0
jne 0x101ae8fe
mov edi, dword [0x104b348c]
mov edx, edi
mov eax, dword [0x104b3488]
xor edx, 0xd28f2c5
xor eax, 0x1de26cd5
mov byte [0x104b3480], 1
mov dword [ebp - 0xc8], eax
mov ecx, edx
shld ecx, eax, 0xd
mov esi, dword [ebp - 0xc8]
shl eax, 0xd
xor edx, ecx
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
xor esi, eax
shr ecx, 7
xor edx, ecx
mov dword [ebp - 0xc8], esi
mov ecx, esi
mov eax, ecx
shld edx, eax, 0x11
mov edx, edi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, cl
mov ecx, edx
xor byte [0x104b3481], al
mov eax, dword [0x104b3488]
xor eax, 0x1de26cd4
mov dword [ebp - 0xc8], eax
mov esi, dword [ebp - 0xc8]
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
xor esi, eax
shr ecx, 7
xor edx, ecx
mov dword [ebp - 0xc8], esi
mov ecx, esi
mov eax, ecx
shld edx, eax, 0x11
mov edx, edi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, cl
mov ecx, edx
xor byte [0x104b3482], al
mov eax, dword [0x104b3488]
xor eax, 0x1de26cd7
mov dword [ebp - 0xc8], eax
mov esi, dword [ebp - 0xc8]
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
xor esi, eax
shr ecx, 7
xor edx, ecx
mov dword [ebp - 0xc8], esi
mov ecx, esi
mov eax, ecx
shld edx, eax, 0x11
mov edx, edi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, cl
mov ecx, edx
xor byte [0x104b3483], al
mov eax, dword [0x104b3488]
xor eax, 0x1de26cd6
mov dword [ebp - 0xc8], eax
shld ecx, eax, 0xd
mov esi, dword [ebp - 0xc8]
xor edx, ecx
shl eax, 0xd
mov ecx, edx
xor esi, eax
xor edi, 0xd28f2c5
mov eax, esi
shrd eax, ecx, 7
xor esi, eax
shr ecx, 7
xor edx, ecx
mov dword [ebp - 0xc8], esi
mov ecx, esi
mov dword [ebp - 0xe0], edx
mov eax, ecx
mov esi, dword [ebp - 0xcc]
shld edx, eax, 0x11
mov edx, dword [0x104b3488]
shl eax, 0x11
xor edx, 0x1de26cd1
xor al, cl
mov ecx, edi
xor byte [0x104b3484], al
mov eax, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edi, ecx
xor edx, eax
mov ecx, edi
mov eax, edx
shrd eax, ecx, 7
xor edx, eax
shr ecx, 7
xor edi, ecx
mov eax, edx
shld edi, eax, 0x11
mov edi, dword [ebp - 0xc4]
shl eax, 0x11
xor al, byte [0x104b3485]
xor al, dl
mov byte [0x104b3485], al
push ecx
push 0x104b3485
push 0x104b3481
lea ecx, [ebp - 0x58]
call fcn.1001a620
or edi, 0xc0
push dword [ebp - 0x108]
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x58]
or edi, 1
lea edx, [ebp - 0xcc]
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xc8], edi
cmovae eax, dword [ebp - 0x58]
mov dword [ebp - 0xcc], eax
call fcn.1018ec80
add esp, 4
add esi, 0x20
mov dword [ebp - 4], 0xe
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xcc], esi
or edi, 2
mov ecx, esi
push eax
mov dword [ebp - 0xc8], edi
call fcn.10194310
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x70]
push dword [ebp - 0x60]
or edi, 4
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0xc4], edi
cmovae ecx, dword [ebp - 0x70]
push ecx
mov ecx, eax
mov dword [ebp - 0xc8], edi
call fcn.10194190
test eax, eax
je 0x101aec7a
cmp byte [0x104b4600], 0
jne 0x101aebcb
mov edi, dword [0x104b460c]
mov edx, edi
mov eax, dword [0x104b4608]
xor edx, 0xd28f2c5
xor eax, 0x1de26cd5
mov byte [0x104b4600], 1
mov dword [ebp - 0xbc], eax
mov ecx, edx
shld ecx, eax, 0xd
mov esi, dword [ebp - 0xbc]
shl eax, 0xd
xor edx, ecx
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
xor esi, eax
shr ecx, 7
xor edx, ecx
mov dword [ebp - 0xbc], esi
mov ecx, esi
mov eax, ecx
shld edx, eax, 0x11
mov edx, edi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, byte [0x104b4601]
xor al, cl
mov ecx, edx
mov byte [0x104b4601], al
mov eax, dword [0x104b4608]
xor eax, 0x1de26cd4
mov dword [ebp - 0xbc], eax
mov esi, dword [ebp - 0xbc]
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
xor esi, eax
shr ecx, 7
xor edx, ecx
mov dword [ebp - 0xbc], esi
mov ecx, esi
mov eax, ecx
shld edx, eax, 0x11
mov edx, edi
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, byte [0x104b4602]
xor al, cl
mov ecx, edx
mov byte [0x104b4602], al
mov eax, dword [0x104b4608]
xor eax, 0x1de26cd7
mov dword [ebp - 0xbc], eax
mov esi, dword [ebp - 0xbc]
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
xor esi, eax
shr ecx, 7
xor edx, ecx
mov dword [ebp - 0xbc], esi
mov ecx, esi
mov eax, ecx
shld edx, eax, 0x11
mov edx, edi
shl eax, 0x11
xor al, byte [0x104b4603]
xor al, cl
mov byte [0x104b4603], al
mov eax, dword [0x104b4608]
xor eax, 0x1de26cd6
mov dword [ebp - 0xbc], eax
mov esi, dword [ebp - 0xbc]
xor edx, 0xd28f2c5
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
xor esi, eax
shr ecx, 7
xor edx, ecx
mov dword [ebp - 0xbc], esi
mov ecx, esi
mov eax, ecx
shld edx, eax, 0x11
mov edx, edi
xor edi, 0xd28f2c5
shl eax, 0x11
xor edx, 0xd28f2c5
xor al, byte [0x104b4604]
xor al, cl
mov ecx, edx
mov byte [0x104b4604], al
mov eax, dword [0x104b4608]
xor eax, 0x1de26cd1
mov dword [ebp - 0xbc], eax
mov esi, dword [ebp - 0xbc]
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
xor esi, eax
shr ecx, 7
xor edx, ecx
mov dword [ebp - 0xbc], esi
mov ecx, esi
mov esi, dword [ebp - 0xcc]
mov eax, ecx
shld edx, eax, 0x11
mov edx, dword [0x104b4608]
shl eax, 0x11
xor edx, 0x1de26cd0
xor al, byte [0x104b4605]
xor al, cl
mov ecx, edi
mov byte [0x104b4605], al
mov eax, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edi, ecx
xor edx, eax
mov ecx, edi
mov eax, edx
shrd eax, ecx, 7
xor edx, eax
shr ecx, 7
xor edi, ecx
mov eax, edx
shld edi, eax, 0x11
mov edi, dword [ebp - 0xc4]
shl eax, 0x11
xor al, byte [0x104b4606]
xor al, dl
mov byte [0x104b4606], al
push ecx
push 0x104b4606
push 0x104b4601
lea ecx, [ebp - 0x28]
call fcn.1001a620
or edi, 0xc0000
mov dword [ebp - 4], 0x10
lea eax, [ebp - 0x28]
or edi, 8
mov byte [ebp - 0x10c], 0
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0xcc]
push dword [ebp - 0x10c]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xcc], eax
call fcn.1018ec80
add esp, 4
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0x11
or edi, 0x10
mov ecx, esi
push eax
mov dword [ebp - 0xc8], edi
call fcn.10194310
push dword [ebp - 0x90]
or edi, 0x20
lea ecx, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
mov dword [ebp - 0xc4], edi
cmovae ecx, dword [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.10194190
mov byte [ebp - 0xbd], 0
test eax, eax
jne 0x101aec81
mov byte [ebp - 0xbd], 1
mov eax, dword [ebp - 0xc4]
test al, 0x20
je 0x101aecee
mov ecx, dword [ebp - 0x74]
and eax, 0xffffffdf
mov dword [ebp - 0xc4], eax
cmp ecx, 8
jb 0x101aecd7
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x101aecc7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101ae5e9
push ecx
push edx
call fcn.102bb95a
mov eax, dword [ebp - 0xc4]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], cx
test al, 0x10
je 0x101aed0c
and eax, 0xffffffef
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xc4], eax
call fcn.1002c340
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 4], 0xf
test al, 8
je 0x101aed6c
mov ecx, dword [ebp - 0x14]
and eax, 0xfffffff7
mov dword [ebp - 0xc4], eax
cmp ecx, 0x10
jb 0x101aed5a
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101aed4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101ae5e9
push ecx
push edx
call fcn.102bb95a
mov eax, dword [ebp - 0xc4]
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xe
test al, 4
je 0x101aede3
mov ecx, dword [ebp - 0xa4]
and eax, 0xfffffffb
mov dword [ebp - 0xc4], eax
cmp ecx, 8
jb 0x101aedc6
mov edx, dword [ebp - 0xb8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x101aedb6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101ae5e9
push ecx
push edx
call fcn.102bb95a
mov eax, dword [ebp - 0xc4]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], cx
test al, 2
je 0x101aedfe
and eax, 0xfffffffd
lea ecx, [ebp - 0x70]
mov dword [ebp - 0xc4], eax
call fcn.1002c340
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 4], 0xc
test al, 1
je 0x101aee46
mov ecx, dword [ebp - 0x44]
and eax, 0xfffffffe
mov dword [ebp - 0xc4], eax
cmp ecx, 0x10
jb 0x101aee46
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101aee3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101ae5e9
push ecx
push edx
call fcn.102bb95a
add esp, 8
cmp byte [ebp - 0xbd], 0
je 0x101af19b
push esi
lea ecx, [ebp - 0x70]
call fcn.1002be00
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x70]
call fcn.1017df20
push ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x13
push ecx
mov ecx, eax
call fcn.1018de30
mov edi, dword [ebp - 0xc4]
or edi, 0x8000
mov dword [ebp - 0xc4], edi
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x101aeecc
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x101aeec2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101ae5e9
push ecx
push edx
call fcn.102bb95a
add esp, 8
mov edx, dword [ebp - 0xd8]
xor eax, eax
mov ecx, dword [ebp - 0xdc]
xor esi, esi
mov word [ebp - 0x58], ax
xor al, al
mov byte [ebp - 0xbd], al
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x48], 0
sar eax, 3
imul eax, eax, 0xaaaaaaab
mov dword [ebp - 0x44], 7
test eax, eax
je 0x101aefd2
mov dword [ebp - 0xbc], esi
mov eax, edx
sub eax, ecx
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, esi
jbe 0x101af2a7
mov eax, dword [ebp - 0xbc]
add eax, ecx
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x101aef39
mov eax, dword [eax]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push edx
cmovae ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
push eax
call fcn.10071120
add esp, 8
test al, al
je 0x101aefa0
cmp dword [ebp - 0x110], esi
jbe 0x101af2a2
mov ecx, dword [ebp - 0x104]
mov eax, esi
shr eax, 5
lea ecx, [ecx + eax*4]
mov eax, esi
and eax, 0x1f
mov dword [ebp - 0x134], ecx
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.101af2b0
mov byte [ebp - 0xbd], 1
mov edx, dword [ebp - 0xd8]
inc esi
mov ecx, dword [ebp - 0xdc]
mov eax, edx
add dword [ebp - 0xbc], 0x18
sub eax, ecx
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp esi, eax
jb 0x101aef11
cmp byte [ebp - 0xbd], 0
jne 0x101aeff2
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0xbd]
push eax
lea eax, [ebp - 0x120]
mov byte [ebp - 0xbd], 0
push eax
call fcn.101af330
mov esi, dword [ebp - 0x114]
lea ecx, [ebp - 0x70]
push ecx
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x101af011
mov ecx, eax
call fcn.1002be00
add dword [esi + 4], 0x18
jmp 0x101af019
push eax
mov ecx, esi
call fcn.101b5f80
mov esi, dword [ebp - 0xd0]
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xc8], eax
cmp eax, ecx
je 0x101af049
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.1002c0b0
add dword [esi + 0x14], 0x18
jmp 0x101af143
mov edx, dword [esi + 0x10]
mov ecx, eax
sub ecx, edx
mov dword [ebp - 0xbc], edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp esi, 0xaaaaaaa
je 0x101af292
mov eax, dword [ebp - 0xcc]
lea edx, [esi + 1]
sub eax, dword [ebp - 0xbc]
sar eax, 3
imul eax, eax, 0xaaaaaaab
mov dword [ebp - 0xe0], edx
mov ecx, eax
mov dword [ebp - 0xbc], eax
shr ecx, 1
mov eax, 0xaaaaaaa
sub eax, ecx
cmp dword [ebp - 0xbc], eax
jbe 0x101af0b1
mov eax, 0xaaaaaaa
jmp 0x101af0be
mov eax, dword [ebp - 0xbc]
add eax, ecx
cmp eax, edx
cmovb eax, edx
push eax
mov dword [ebp - 0xcc], eax
call fcn.100ed650
lea ecx, [esi + esi*2]
mov dword [ebp - 0xbc], eax
lea eax, [eax + ecx*8]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x118], eax
push ecx
mov ecx, eax
call fcn.1002c0b0
mov esi, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
push ecx
push dword [ebp - 0xbc]
cmp eax, edx
je 0x101af121
mov edx, eax
call fcn.100edbf0
mov eax, dword [ebp - 0x118]
add esp, 4
mov edx, dword [esi + 0x14]
add eax, 0x18
mov ecx, dword [ebp - 0xc8]
push eax
call fcn.100edbf0
add esp, 8
lea ecx, [esi + 0x10]
push dword [ebp - 0xcc]
push dword [ebp - 0xe0]
push dword [ebp - 0xbc]
call fcn.100ed5c0
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x101af17b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101af171
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101ae5e9
push ecx
push edx
call fcn.102bb95a
add esp, 8
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0xc
call fcn.1002c340
jmp 0x101af1a1
mov edi, dword [ebp - 0xc4]
lea ecx, [ebp - 0xf4]
call fcn.1017e390
mov esi, dword [ebp - 0xf4]
mov dword [ebp - 0xcc], esi
test esi, esi
jne 0x101ae740
mov esi, dword [ebp - 0xf0]
or edi, 0xffffffff
test esi, esi
je 0x101af1ec
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x101af1ec
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x101af1ec
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0xe8]
test esi, esi
je 0x101af214
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x101af214
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x101af214
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x101af24a
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101af240
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x101af240
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102bb95a
add esp, 8
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1002c2c0
lea ecx, [ebp - 0x104]
call fcn.10019b70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102bb91c
mov esp, ebp
pop ebp
ret
call fcn.10014b20
call fcn.10014b20
lea ecx, [ebp - 0x58]
mov edx, eax
push ecx
call fcn.101943b0
call fcn.101b0570
call fcn.1001fef0
int3