Function at 0x1001a570
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 0x10023ea7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x690
mov eax, dword [0x1002b0c0]
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 0x1001a9fb
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 0x1001a9fb
lea eax, [ebp - 0x60c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x1001a9fb
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 0x1001a640
sub ecx, edi
mov edi, 8
mov eax, ecx
cmp ecx, edi
cmova eax, edi
cmp esi, eax
jae 0x1001a68c
mov ah, byte [ebp + esi - 0x118]
mov al, ah
shl edx, 4
sub al, 0x30
movsx edi, ah
cmp al, 9
ja 0x1001a676
add edx, 0xffffffd0
add edx, edi
inc esi
jmp 0x1001a649
sub ah, 0x41
add edx, edi
cmp ah, 5
ja 0x1001a686
add edx, 0xffffffc9
inc esi
jmp 0x1001a649
add edx, 0xffffffa4
inc esi
jmp 0x1001a649
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 0x1001a6a5
sub esi, dword [ebp - 0x618]
cmp esi, 8
mov eax, esi
mov edx, 8
cmova eax, edx
cmp edi, eax
jae 0x1001a6fe
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 0x1001a6e8
mov eax, edx
add eax, 0xffffffd0
add ecx, eax
inc edi
jmp 0x1001a6b2
sub ah, 0x41
add ecx, edx
cmp ah, 5
ja 0x1001a6f8
add ecx, 0xffffffc9
inc edi
jmp 0x1001a6b2
add ecx, 0xffffffa4
inc edi
jmp 0x1001a6b2
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.100041e0
lea ecx, [ebp - 0x678]
call fcn.10022340
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 0x1001a790
dec edx
or edx, 0xffffff00
inc edx
inc esi
cmp esi, 0x24
jl 0x1001a770
mov byte [ebp - 0x67c], 0
push eax
lea edx, [ebp - 0x6a0]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x648]
call fcn.100208b0
add esp, 4
lea ecx, [ebp - 0x614]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x630]
call fcn.100209a0
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 0x1001a7fd
lea eax, [edx + 1]
mov dword [ecx + 0x10], eax
mov eax, ecx
cmp esi, 0xf
jbe 0x1001a7f5
mov eax, dword [ecx]
mov word [eax + edx], 0x30
jmp 0x1001a813
push 1
push 0x10027560
push dword [ebp - 0x604]
push 1
call fcn.10020ad0
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, 0x10043b2c
call fcn.10020450
mov ecx, dword [ebp - 0x64c]
cmp ecx, 0xf
jbe 0x1001a886
mov edx, dword [ebp - 0x660]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a87c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a964
push ecx
push edx
call fcn.10022f6f
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x61c]
cmp ecx, 0xf
jbe 0x1001a8c4
mov edx, dword [ebp - 0x630]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a8ba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a964
push ecx
push edx
call fcn.10022f6f
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 0x1001a919
mov edx, dword [ebp - 0x648]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a90f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001a964
push ecx
push edx
call fcn.10022f6f
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 0x1001a974
mov edx, dword [ebp - 0x678]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001a96a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001a96a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10022f6f
add esp, 8
mov ecx, 0x7f
xor edx, edx
nop dword [eax + eax]
mov al, byte [edx + 0x10027550]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x628], al
and ecx, 0x800000ff
jns 0x1001a9a0
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xf
jl 0x1001a980
mov byte [ebp - 0x619], 0
sub esp, 0xc
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x628]
call fcn.10019800
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
cmp dword [0x10043b40], 0xf
mov edx, 0x10043b2c
push ecx
cmova edx, dword [0x10043b2c]
mov ecx, eax
mov dword [0x10044304], eax
movups xmmword [ebp - 0x628], xmm0
call fcn.10019900
add esp, 0x10
mov dword [0x10044310], 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.10022a15
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret