Function at 0x100159d0
Capabilities:
Get disk information
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10022709
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
mov eax, dword [0x1002f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 0xff
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1f4], eax
lea eax, [ebp - 0x1e0]
push eax
push 0x10161d40
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x10015dc8
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x1e4]
push ecx
push ebx
push ebx
lea edx, [ebp - 0x1d8]
push edx
mov dword [ebp - 0x1d8], 0x5c3a43
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
setne al
cmp al, bl
je 0x10015dc8
lea eax, [ebp - 0x1f4]
push eax
push 0x1006aeb0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x10015dc8
mov edi, 0x10161d40
call fcn.10015150
mov edi, 0x1006aeb0
mov esi, eax
call fcn.10015150
mov ecx, dword [ebp - 0x1e4]
add eax, esi
mov esi, dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [eax + ecx + 0x1f3a7]
push eax
lea edx, [ebp - 0x1d8]
push edx
push 0x1006a0c0
mov word [ebp - 0x1d8], 0x6425
mov byte [ebp - 0x1d6], bl
call esi
lea eax, [ebp - 0x1f0]
push eax
call dword [sym.imp.MSVCR100.dll__time64]
lea ecx, [ebp - 0x1f0]
push ecx
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 0x1ec], edx
call dword [sym.imp.MSVCR100.dll__gmtime64]
mov edx, dword [eax + 4]
push edx
lea eax, [ebp - 0x110]
push str._02i
push eax
call esi
lea ecx, [ebp - 0x134]
push ecx
call fcn.10003230
add esp, 0x24
mov edi, eax
mov esi, 0x10068d00
mov dword [ebp - 4], ebx
call fcn.10001450
mov esi, 0x10
cmp dword [ebp - 0x120], esi
jb 0x10015b32
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [0x10068d14], esi
jb 0x10015b47
mov eax, dword [0x10068d00]
mov dword [ebp - 0x1d8], eax
jmp 0x10015b51
mov dword [ebp - 0x1d8], 0x10068d00
mov dword [ebp - 0x118], 0x3d327826
mov byte [ebp - 0x114], bl
sub esp, 0x1c
mov dword [ebp - 4], 1
mov ecx, esp
mov eax, 0x1006a0c0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
mov dword [ebp - 0x1dc], esp
mov byte [ecx], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10015b87
sub eax, esi
mov esi, eax
mov eax, 0x1006a0c0
call fcn.10001570
lea edi, [ebp - 0x134]
call fcn.1001e5c0
add esp, 0x1c
mov dword [ebp - 0x1dc], eax
mov edi, str._btl_dggdnoyg__d__etmhm_c_
sub edi, 0x2d54c074
lea esi, [ebp - 0x154]
call fcn.1001d430
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1dc]
mov edx, eax
push ecx
lea eax, [ebp - 0x170]
call fcn.1001d470
push eax
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 4
call fcn.1001d4c0
mov byte [ebp - 4], 5
push eax
mov eax, dword [ebp - 0x1d8]
lea ecx, [ebp - 0x1a8]
call fcn.1001d4c0
add esp, 0xc
mov edi, 0x10
cmp dword [ebp - 0x178], edi
jb 0x10015c2a
mov edx, dword [ebp - 0x18c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x178], esi
mov dword [ebp - 0x17c], ebx
mov byte [ebp - 0x18c], bl
cmp dword [ebp - 0x15c], edi
jb 0x10015c59
mov eax, dword [ebp - 0x170]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x160], ebx
mov byte [ebp - 0x170], bl
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x13c], ebx
mov byte [ebp - 0x138], bl
cmp dword [ebp - 0x120], edi
jb 0x10015cb3
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
mov byte [ebp - 4], 0xb
sub esp, 0x1c
mov edi, esp
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], esi
mov dword [ebp - 0x118], ebx
mov byte [ebp - 0x114], bl
mov dword [ebp - 0x1dc], esp
mov byte [edi], bl
push 0x10068d00
or ecx, 0xffffffff
xor ebx, ebx
call fcn.10001690
sub esp, 0x1c
mov byte [ebp - 4], 0xc
mov edi, esp
lea edx, [ebp - 0x1a8]
mov dword [ebp - 0x1d8], esp
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
push edx
or ecx, 0xffffffff
mov byte [edi], bl
call fcn.10001690
mov edi, 0x142d9bcd
lea esi, [ebp - 0x1d4]
call fcn.1001d510
mov edi, eax
sub esp, 0x1c
mov byte [ebp - 4], 0xe
mov ecx, esp
mov ebx, 0xf
mov edx, edi
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], 0
mov dword [ebp - 0x118], esp
mov byte [ecx], 0
lea esi, [edx + 1]
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x10015d60
sub edx, esi
mov esi, edx
mov eax, edi
call fcn.10001570
lea eax, [ebp - 0x1c4]
push eax
mov byte [ebp - 4], bl
call fcn.100151d0
add esp, 0x58
mov ebx, 0x10
mov edi, eax
mov esi, 0x10068ce4
mov byte [ebp - 4], bl
call fcn.10001450
cmp dword [ebp - 0x1b0], ebx
jb 0x10015db0
mov ecx, dword [ebp - 0x1c4]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x194], ebx
jb 0x10015dc8
mov edx, dword [ebp - 0x1a8]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ee72
mov esp, ebp
pop ebp
ret