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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021e16
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x678
mov eax, dword [0x100290c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x604]
mov dword [ebp - 0x604], 0xff
push eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x608], 0xff
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x100170eb
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x60c]
mov dword [ebp - 0x610], 0x5c3a43
push eax
push 0
push 0
lea eax, [ebp - 0x610]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x100170eb
lea eax, [ebp - 0x608]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x100170eb
lea ecx, [ebp - 0x118]
xor edx, edx
xor esi, esi
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10016e60
sub ecx, edi
mov edi, 8
mov eax, ecx
cmp ecx, edi
cmova eax, edi
cmp esi, eax
jae 0x10016eac
mov ah, byte [ebp + esi - 0x118]
mov al, ah
shl edx, 4
sub al, 0x30
movsx edi, ah
cmp al, 9
ja 0x10016e96
add edx, 0xffffffd0
add edx, edi
inc esi
jmp 0x10016e69
sub ah, 0x41
add edx, edi
cmp ah, 5
ja 0x10016ea6
add edx, 0xffffffc9
inc esi
jmp 0x10016e69
add edx, 0xffffffa4
inc esi
jmp 0x10016e69
lea esi, [ebp - 0x218]
mov dword [ebp - 0x610], edx
lea eax, [esi + 1]
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0x614], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x10016ec5
sub esi, dword [ebp - 0x614]
cmp esi, 8
mov eax, esi
mov edx, 8
cmova eax, edx
cmp edi, eax
jae 0x10016f1e
mov ah, byte [ebp + edi - 0x218]
mov al, ah
shl ecx, 4
sub al, 0x30
movsx edx, ah
mov dword [ebp - 0x614], edx
cmp al, 9
ja 0x10016f08
mov eax, edx
add eax, 0xffffffd0
add ecx, eax
inc edi
jmp 0x10016ed2
sub ah, 0x41
add ecx, edx
cmp ah, 5
ja 0x10016f18
add ecx, 0xffffffc9
inc edi
jmp 0x10016ed2
add ecx, 0xffffffa4
inc edi
jmp 0x10016ed2
mov eax, dword [ebp - 0x610]
add eax, ecx
mov word [ebp - 0x610], 0x6425
add eax, dword [ebp - 0x60c]
push eax
lea eax, [ebp - 0x610]
mov byte [ebp - 0x60e], 0
push eax
lea eax, [ebp - 0x600]
push eax
call fcn.10001e10
sub esp, 0xc
lea eax, [ebp - 0x600]
mov ecx, esp
push eax
call fcn.10003fd0
lea ecx, [ebp - 0x654]
call fcn.10020410
add esp, 0x18
mov dword [ebp - 4], 0
mov edx, 0x14
xor esi, esi
nop dword [eax]
mov cl, byte [esi + str.abg_65yptjeH_AHTG_bDKBG_A]
xor cl, dl
inc edx
mov byte [ebp + esi - 0x688], cl
and edx, 0x800000ff
jns 0x10016fa0
dec edx
or edx, 0xffffff00
inc edx
inc esi
cmp esi, 0x30
jl 0x10016f80
mov byte [ebp - 0x658], 0
push eax
lea edx, [ebp - 0x688]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x63c]
call fcn.1001e980
add esp, 4
mov ecx, 0x10041b18
push eax
call fcn.1001e520
mov ecx, dword [ebp - 0x628]
cmp ecx, 0xf
jbe 0x10017007
mov edx, dword [ebp - 0x63c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10016ffd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017055
push ecx
push edx
call fcn.10021042
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x640]
mov dword [ebp - 0x62c], 0
mov dword [ebp - 0x628], 0xf
mov byte [ebp - 0x63c], 0
cmp ecx, 0xf
jbe 0x10017065
mov edx, dword [ebp - 0x654]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001705b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001705b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10021042
add esp, 8
mov ecx, 0x7f
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x10025860]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x624], al
and ecx, 0x800000ff
jns 0x10017090
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xf
jl 0x10017070
mov byte [ebp - 0x615], 0
sub esp, 0xc
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x624]
call fcn.10016850
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
cmp dword [0x10041b2c], 0xf
mov edx, 0x10041b18
push ecx
cmova edx, dword [0x10041b18]
mov ecx, eax
mov dword [0x100421e8], eax
movups xmmword [ebp - 0x624], xmm0
call fcn.10016950
add esp, 0x10
mov dword [0x100421f4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10020ae5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret