Function at 0x100175c0
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 0x10021f07
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 0x10017a4b
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 0x10017a4b
lea eax, [ebp - 0x60c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x10017a4b
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 0x10017690
sub ecx, edi
mov edi, 8
mov eax, ecx
cmp ecx, edi
cmova eax, edi
cmp esi, eax
jae 0x100176dc
mov ah, byte [ebp + esi - 0x118]
mov al, ah
shl edx, 4
sub al, 0x30
movsx edi, ah
cmp al, 9
ja 0x100176c6
add edx, 0xffffffd0
add edx, edi
inc esi
jmp 0x10017699
sub ah, 0x41
add edx, edi
cmp ah, 5
ja 0x100176d6
add edx, 0xffffffc9
inc esi
jmp 0x10017699
add edx, 0xffffffa4
inc esi
jmp 0x10017699
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 0x100176f5
sub esi, dword [ebp - 0x618]
cmp esi, 8
mov eax, esi
mov edx, 8
cmova eax, edx
cmp edi, eax
jae 0x1001774e
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 0x10017738
mov eax, edx
add eax, 0xffffffd0
add ecx, eax
inc edi
jmp 0x10017702
sub ah, 0x41
add ecx, edx
cmp ah, 5
ja 0x10017748
add ecx, 0xffffffc9
inc edi
jmp 0x10017702
add ecx, 0xffffffa4
inc edi
jmp 0x10017702
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, 0x20
xor esi, esi
nop
mov cl, byte [esi + str.HUVSW]
xor cl, dl
inc edx
mov byte [ebp + esi - 0x6a0], cl
and edx, 0x800000ff
jns 0x100177e0
dec edx
or edx, 0xffffff00
inc edx
inc esi
cmp esi, 0x24
jl 0x100177c0
mov byte [ebp - 0x67c], 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 0x1001784d
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0xf
jbe 0x10017845
mov eax, dword [ecx]
mov word [eax + edx], 0x30
jmp 0x10017863
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 0x100178d6
mov edx, dword [ebp - 0x660]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100178cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100179b4
push ecx
push edx
call fcn.10021042
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x61c]
cmp ecx, 0xf
jbe 0x10017914
mov edx, dword [ebp - 0x630]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001790a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100179b4
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 0x10017969
mov edx, dword [ebp - 0x648]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001795f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100179b4
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 0x100179c4
mov edx, dword [ebp - 0x678]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100179ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100179ba
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 0x100179f0
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xf
jl 0x100179d0
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