Function at 0x10016540
Capabilities:
Contain obfuscated stackstrings
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1bfb
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x100df300]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x118], esi
lea ecx, [ebp + 8]
mov dword [ebp - 4], 3
call fcn.10012bf0
test al, al
je 0x100167df
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x110], esi
push ecx
lea edx, [ebp + 8]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x114]
call fcn.1000dfd0
add esp, 4
test eax, eax
jne 0x10016fca
mov edi, dword [ebp - 0x110]
test edi, edi
je 0x100165ce
lock inc dword [edi + 4]
mov ecx, dword [ebp - 0x114]
mov esi, edi
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], esi
test edi, edi
je 0x100165ea
lock inc dword [edi + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x130], xmm0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
test edi, edi
je 0x10016634
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10016634
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x1001662e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x114]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x1001678f
lea esi, [ecx + 0x20]
mov ecx, esi
call fcn.10012c80
test al, al
je 0x10016770
lea eax, [ebp - 0xa0]
mov ecx, esi
push eax
call fcn.10012320
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.1000b850
or dword [ebp - 0x10c], 0x80
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x8c]
cmp ecx, 7
jbe 0x100166bb
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100166b1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016fda
push ecx
push edx
call fcn.10075468
add esp, 8
mov esi, dword [ebp + 0x2c]
xor eax, eax
mov word [ebp - 0xa0], ax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x118], eax
cmp esi, eax
je 0x10016732
nop dword [eax + eax]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x128], esp
push esi
call fcn.1000b850
sub esp, 0x18
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
call fcn.1000b850
mov byte [ebp - 4], 0xa
call fcn.100147a0
add esp, 0x30
test al, al
jne 0x100168b1
add esi, 0x18
cmp esi, dword [ebp - 0x118]
jne 0x100166f0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x10016770
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10016766
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016fee
push ecx
push edx
call fcn.10075468
add esp, 8
lea ecx, [ebp - 0x124]
call fcn.100127a0
mov ecx, dword [ebp - 0x124]
test ecx, ecx
jne 0x10016640
mov esi, dword [ebp - 0x120]
test esi, esi
je 0x100167b4
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x100167b4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x100167b4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test edi, edi
je 0x100167d9
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x100167d9
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x100167d9
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [ebp - 0x10c]
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 0xc
push eax
mov dword [ebp - 0xf8], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0xec]
shrd ecx, eax, 0x14
cmp ecx, 0xc1c
jge 0x100169dc
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x10016850
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10016846
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016fda
push ecx
push edx
call fcn.10075468
add esp, 8
xor eax, eax
mov dword [ebp + 0x18], 0
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
call fcn.1001cd00
lea ecx, [ebp + 0x2c]
call fcn.1001c650
mov ecx, dword [ebp + 0x4c]
cmp ecx, 7
jbe 0x10016fac
mov edx, dword [ebp + 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100169cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016fda
jmp 0x100169cd
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x100168eb
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100168e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016fee
push ecx
push edx
call fcn.10075468
add esp, 8
mov esi, dword [ebp - 0x120]
test esi, esi
je 0x10016916
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x10016916
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x10016916
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test edi, edi
je 0x1001693b
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x1001693b
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x1001693b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x10016975
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001696b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016fee
push ecx
push edx
call fcn.10075468
add esp, 8
xor eax, eax
mov dword [ebp + 0x18], 0
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
call fcn.1001cd00
lea ecx, [ebp + 0x2c]
call fcn.1001c650
mov ecx, dword [ebp + 0x4c]
cmp ecx, 7
jbe 0x10016fac
mov edx, dword [ebp + 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100169cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016fee
push ecx
push edx
call fcn.10075468
add esp, 8
jmp 0x10016fac
mov dword [ebp - 4], 3
xor eax, eax
sub esp, 0x18
mov word [ebp - 0x60], ax
mov eax, esp
mov dword [ebp - 0x88], 0x750069
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0x710075
mov dword [ebp - 0x80], 0x3b0074
mov dword [ebp - 0x7c], 0x300030
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov dword [ebp - 0x78], 0x710062
mov dword [ebp - 0x74], 0x2f006a
mov dword [ebp - 0x70], 0x7a006e
mov dword [ebp - 0x6c], 0x71006a
mov dword [ebp - 0x68], 0x64002f
mov dword [ebp - 0x64], 0x6e0070
mov dword [ebp - 0x11c], esp
mov byte [eax], 0
sub esp, 0x18
mov eax, esp
mov dword [ebp - 0x128], esp
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x5c]
or esi, 0x10
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x48], 7
movups xmmword [ebp - 0x5c], xmm0
push 0x16
mov word [ebp - 0x5c], ax
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x118], esi
call fcn.1001c9c0
lea edi, [ebp - 0x88]
lea esi, [ebp - 0x5c]
lea eax, [ebp - 0x60]
cmp edi, eax
je 0x10016ad0
mov ax, word [edi]
mov ecx, esi
dec ax
movzx eax, ax
push eax
call fcn.1000b550
add edi, 2
jmp 0x10016ab4
sub esp, 0x18
lea ecx, [ebp - 0x108]
mov esi, esp
mov dword [ebp - 0x110], esi
call fcn.1000a270
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 7
mov eax, dword [ebp - 0x4c]
cmova ecx, dword [ebp - 0x5c]
lea eax, [ecx + eax*2]
push eax
push ecx
push esi
lea ecx, [ebp - 0x108]
call fcn.1000cb40
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x108]
or eax, 0x60
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x118], eax
call fcn.1000a1b0
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x13
call fcn.10010440
add esp, 0x48
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
call fcn.1000bbe0
cmp dword [ebp - 0x18], 0xf
lea edi, [ebp - 0x2c]
lea esi, [ebp - 0x2c]
cmova edi, dword [ebp - 0x2c]
cmova esi, dword [ebp - 0x2c]
add edi, dword [ebp - 0x1c]
cmp esi, edi
je 0x10016b73
nop
movsx eax, byte [esi]
push eax
call fcn.10082d27
mov byte [esi], al
add esp, 4
inc esi
cmp esi, edi
jne 0x10016b60
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0xf
jbe 0x10016bb1
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10016ba7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016fdf
push ecx
push edx
call fcn.10075468
add esp, 8
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x10016c0a
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10016c00
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016fdf
push ecx
push edx
call fcn.10075468
add esp, 8
mov esi, dword [ebp + 0x20]
xor eax, eax
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp esi, edi
je 0x10016d52
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x110], esp
push esi
call fcn.1000bbe0
sub esp, 0x18
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x2c]
mov ecx, esp
push eax
call fcn.1000bbe0
mov byte [ebp - 4], 0x17
call fcn.10014850
add esp, 0x30
test al, al
je 0x10016d4a
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10016c97
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10016c8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016fe9
push ecx
push edx
call fcn.10075468
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 7
jbe 0x10016ce3
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10016cd9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016fe9
push ecx
push edx
call fcn.10075468
add esp, 8
xor eax, eax
mov dword [ebp + 0x18], 0
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
call fcn.1001cd00
lea ecx, [ebp + 0x2c]
call fcn.1001c650
mov ecx, dword [ebp + 0x4c]
cmp ecx, 7
jbe 0x10016fac
mov edx, dword [ebp + 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10016d3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016fe9
push ecx
push edx
call fcn.10075468
add esp, 8
jmp 0x10016fac
add esi, 0x18
jmp 0x10016c24
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push 0x100d0178
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
call fcn.1000e6a0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x19
push eax
lea edx, [ebp + 0x38]
lea ecx, [ebp - 0xa0]
call fcn.10005600
add esp, 4
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x10016dcd
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10016dc3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016fe4
push ecx
push edx
call fcn.10075468
add esp, 8
sub esp, 8
mov dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x1e0]
lea eax, [ebp - 0xa0]
push 0x20
push eax
call fcn.1000e160
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
push dword [ebp - 0x1c]
cmova eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1e0]
push eax
call fcn.1001daf0
add esp, 0xc
lea ecx, [ebp - 0x1dc]
call fcn.1000ca00
test eax, eax
jne 0x10016e52
mov eax, dword [ebp - 0x1e0]
lea ecx, [ebp - 0x1e0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10004f40
lea ecx, [ebp - 0x1e0]
call fcn.10008ac0
mov ecx, dword [ebp - 0x8c]
cmp ecx, 7
jbe 0x10016e9d
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10016e93
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016fe9
push ecx
push edx
call fcn.10075468
add esp, 8
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp ecx, 0xf
jbe 0x10016eee
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10016ee4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016fe9
push ecx
push edx
call fcn.10075468
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x10016f28
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10016f1e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016fee
push ecx
push edx
call fcn.10075468
add esp, 8
xor eax, eax
mov dword [ebp + 0x18], 0
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
call fcn.1001cd00
lea ecx, [ebp + 0x2c]
call fcn.1001c650
mov ecx, dword [ebp + 0x4c]
cmp ecx, 7
jbe 0x10016f82
mov edx, dword [ebp + 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10016f78
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016fee
push ecx
push edx
call fcn.10075468
add esp, 8
mov al, 1
jmp 0x10016fae
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10075013
mov esp, ebp
pop ebp
ret
lea ecx, [ebp + 8]
mov edx, eax
push ecx
mov ecx, str.directory_iterator::directory_iterator
call fcn.10005f60
call fcn.100819d1
call fcn.100819d1
call fcn.100819d1
call fcn.100819d1
call fcn.100819d1
int3