Function at 0x10018150
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 0x10021ff7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x690
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 - 0x608]
mov dword [ebp - 0x608], 0xff
push eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x60c], 0xff
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x100185db
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x604]
mov dword [ebp - 0x614], 0x5c3a43
push eax
push 0
push 0
lea eax, [ebp - 0x614]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x100185db
lea eax, [ebp - 0x60c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x100185db
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 0x10018220
sub ecx, edi
mov edi, 8
mov eax, ecx
cmp ecx, edi
cmova eax, edi
cmp esi, eax
jae 0x1001826c
mov ah, byte [ebp + esi - 0x118]
mov al, ah
shl edx, 4
sub al, 0x30
movsx edi, ah
cmp al, 9
ja 0x10018256
add edx, 0xffffffd0
add edx, edi
inc esi
jmp 0x10018229
sub ah, 0x41
add edx, edi
cmp ah, 5
ja 0x10018266
add edx, 0xffffffc9
inc esi
jmp 0x10018229
add edx, 0xffffffa4
inc esi
jmp 0x10018229
lea esi, [ebp - 0x218]
mov dword [ebp - 0x614], edx
lea eax, [esi + 1]
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0x618], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x10018285
sub esi, dword [ebp - 0x618]
cmp esi, 8
mov eax, esi
mov edx, 8
cmova eax, edx
cmp edi, eax
jae 0x100182de
mov ah, byte [ebp + edi - 0x218]
mov al, ah
shl ecx, 4
sub al, 0x30
movsx edx, ah
mov dword [ebp - 0x618], edx
cmp al, 9
ja 0x100182c8
mov eax, edx
add eax, 0xffffffd0
add ecx, eax
inc edi
jmp 0x10018292
sub ah, 0x41
add ecx, edx
cmp ah, 5
ja 0x100182d8
add ecx, 0xffffffc9
inc edi
jmp 0x10018292
add ecx, 0xffffffa4
inc edi
jmp 0x10018292
mov eax, dword [ebp - 0x614]
add eax, ecx
mov word [ebp - 0x614], 0x6425
add eax, dword [ebp - 0x604]
push eax
lea eax, [ebp - 0x614]
mov byte [ebp - 0x612], 0
push eax
lea eax, [ebp - 0x600]
push eax
call fcn.10001e10
mov dword [ebp - 0x614], 0x3d327826
mov byte [ebp - 0x610], 0
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x600]
mov ecx, esp
push eax
call fcn.10003fd0
lea ecx, [ebp - 0x678]
call fcn.10020410
add esp, 0x18
mov edx, 0x5a
xor esi, esi
nop
mov cl, byte [esi + str.2____eON]
xor cl, dl
inc edx
mov byte [ebp + esi - 0x6a0], cl
and edx, 0x800000ff
jns 0x10018370
dec edx
or edx, 0xffffff00
inc edx
inc esi
cmp esi, 0x26
jl 0x10018350
mov byte [ebp - 0x67a], 0
push eax
lea edx, [ebp - 0x6a0]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x648]
call fcn.1001e980
add esp, 4
lea ecx, [ebp - 0x614]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x630]
call fcn.1001ea70
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 4
mov esi, dword [ecx + 0x14]
mov eax, esi
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 1
jb 0x100183dd
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0xf
jbe 0x100183d5
mov eax, dword [ecx]
mov word [eax + edx], 0x30
jmp 0x100183f3
push 1
push 0x10025870
push dword [ebp - 0x604]
push 1
call fcn.1001eba0
mov ecx, eax
movups xmm0, xmmword [ecx]
lea eax, [ebp - 0x660]
push eax
movups xmmword [ebp - 0x660], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x650], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov ecx, 0x10041b18
call fcn.1001e520
mov ecx, dword [ebp - 0x64c]
cmp ecx, 0xf
jbe 0x10018466
mov edx, dword [ebp - 0x660]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001845c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018544
push ecx
push edx
call fcn.10021042
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x61c]
cmp ecx, 0xf
jbe 0x100184a4
mov edx, dword [ebp - 0x630]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001849a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018544
push ecx
push edx
call fcn.10021042
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x634]
mov dword [ebp - 0x620], 0
mov dword [ebp - 0x61c], 0xf
mov byte [ebp - 0x630], 0
cmp ecx, 0xf
jbe 0x100184f9
mov edx, dword [ebp - 0x648]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100184ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018544
push ecx
push edx
call fcn.10021042
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x664]
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x634], 0xf
mov byte [ebp - 0x648], 0
cmp ecx, 0xf
jbe 0x10018554
mov edx, dword [ebp - 0x678]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001854a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001854a
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 + eax]
mov al, byte [edx + 0x10025860]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x628], al
and ecx, 0x800000ff
jns 0x10018580
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xf
jl 0x10018560
mov byte [ebp - 0x619], 0
sub esp, 0xc
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x628]
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 - 0x628], 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