Function at 0x1000de80
Capabilities:
Get common file path
Get disk information
Get hostname
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x388
mov eax, dword [0x1006f068]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x380]
mov dword [ebp - 0x388], ecx
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x380], 0x10
lea eax, [ebp - 0x68]
push eax
movups xmmword [ebp - 0x68], xmm0
movups xmmword [ebp - 0x58], xmm0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x1000df76
mov edi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x384]
mov dword [ebp - 0x384], 0x80
push eax
lea eax, [ebp - 0x168]
mov dword [ebp - 0x378], 0x44
push eax
lea eax, [ebp - 0x378]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
call edi
mov esi, eax
test esi, esi
jne 0x1000df53
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1000df4f
cmp dword [ebp - 0x378], 0x44
ja 0x1000df76
lea eax, [ebp - 0x37c]
push eax
lea eax, [ebp - 0x384]
push eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x378]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
call edi
mov esi, eax
test esi, esi
je 0x1000df76
lea eax, [ebp - 0x384]
mov dword [ebp - 0x384], 0
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
mov ebx, dword [ebp - 0x384]
jmp 0x1000df7c
mov ebx, dword [ebp - 0x37c]
push 0x104
lea eax, [ebp - 0x374]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1000e118
mov ax, word [ebp - 0x374]
lea edi, [ebp - 0x374]
test ax, ax
je 0x1000dfe7
movzx esi, ax
nop dword [eax + eax]
mov eax, 0x1005e4d0
mov edx, 0x5c
nop word [eax + eax]
cmp si, dx
je 0x1000dfe1
movzx ecx, word [eax + 2]
add eax, 2
mov edx, ecx
test cx, cx
jne 0x1000dfc0
movzx esi, word [edi + 2]
add edi, 2
test si, si
jne 0x1000dfb0
jmp 0x1000dfe7
xor eax, eax
mov word [edi + 2], ax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x378]
mov dword [ebp - 0x378], 0
push eax
push 0
push 0
lea eax, [ebp - 0x374]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x1000e118
mov edx, dword [ebp - 0x378]
push ecx
mov ecx, ebx
call fcn.1000e130
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1000e118
push dword [ebp - 0x388]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
push ebx
mov edi, eax
call esi
xor ecx, ecx
add edi, eax
add edi, 1
setb cl
neg ecx
or ecx, edi
push ecx
call fcn.100272ed
add esp, 4
mov edi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [ebp - 0x388]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, edi
mov dword [ebp - 0x48], 0x36f348e7
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x44], 0xf9a55ed8
mov dword [ebp - 0x40], 0xd825dfdc
mov dword [ebp - 0x3c], 0x5ba647f3
mov dword [ebp - 0x38], 0x7666df4c
mov dword [ebp - 0x34], 0xf62df000
mov dword [ebp - 0x30], 0xf12a4a72
mov dword [ebp - 0x2c], 0x262d218a
mov dword [ebp - 0x28], 0x50a288b7
mov dword [ebp - 0x24], 0xf30c9186
mov dword [ebp - 0x20], 0x691303a9
mov dword [ebp - 0x1c], 0xdcf37168
mov dword [ebp - 0x18], 0x30378205
mov dword [ebp - 0x14], 0xbaf81dc9
mov dword [ebp - 0x10], 0xc8d94f5c
mov dword [ebp - 0xc], 0xa805b584
mov byte [ebp - 8], 0
call fcn.1000dd00
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_CharUpperA]
push edi
call fcn.100270aa
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100212e2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100212e2
mov esp, ebp
pop ebp
ret