Function at 0x10015860
Capabilities:
Get disk information
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100207a3
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x1002c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 0xff
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b4], eax
lea eax, [ebp - 0x1bc]
push eax
push 0x1015ec48
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x10015bd8
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x1b8]
push ecx
push ebx
push ebx
lea edx, [ebp - 0x1a8]
push edx
mov dword [ebp - 0x1a8], 0x5c3a43
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
setne al
cmp al, bl
je 0x10015bd8
lea eax, [ebp - 0x1b4]
push eax
push 0x10067e00
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x10015bd8
mov edi, 0x1015ec48
call fcn.10014fe0
mov edi, 0x10067e00
mov esi, eax
call fcn.10014fe0
mov ecx, dword [ebp - 0x1b8]
add eax, esi
mov esi, dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [eax + ecx + 0x1f3a7]
push eax
lea edx, [ebp - 0x1a8]
push edx
push 0x10067010
mov word [ebp - 0x1a8], 0x6425
mov byte [ebp - 0x1a6], bl
call esi
lea eax, [ebp - 0x1b0]
push eax
call dword [sym.imp.MSVCR100.dll__time64]
lea ecx, [ebp - 0x1b0]
push ecx
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], edx
call dword [sym.imp.MSVCR100.dll__gmtime64]
mov edx, dword [eax + 4]
push edx
lea eax, [ebp - 0x110]
push str._02i
push eax
call esi
lea ecx, [ebp - 0x134]
push ecx
call fcn.10003250
add esp, 0x24
mov edi, eax
mov esi, 0x10065c50
mov dword [ebp - 4], ebx
call fcn.10001450
mov esi, 0x10
cmp dword [ebp - 0x120], esi
jb 0x100159c2
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [0x10065c64], esi
jb 0x100159d7
mov eax, dword [0x10065c50]
mov dword [ebp - 0x1a8], eax
jmp 0x100159e1
mov dword [ebp - 0x1a8], 0x10065c50
mov dword [ebp - 0x118], 0x3d327826
mov byte [ebp - 0x114], bl
sub esp, 0x1c
mov dword [ebp - 4], 1
mov edi, esp
mov eax, 0x10067010
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov dword [ebp - 0x1c0], esp
mov byte [edi], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10015a17
sub eax, esi
mov esi, eax
mov eax, 0x10067010
mov ecx, edi
call fcn.10001570
lea edi, [ebp - 0x134]
call fcn.1001d270
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 2
call fcn.1001c250
push eax
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 3
call fcn.1001c290
mov byte [ebp - 4], 4
push eax
mov eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x188]
call fcn.1001c290
add esp, 0x24
mov edi, 0x10
cmp dword [ebp - 0x13c], edi
jb 0x10015a94
mov ecx, dword [ebp - 0x150]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x140], ebx
mov byte [ebp - 0x150], bl
cmp dword [ebp - 0x158], edi
jb 0x10015ac3
mov edx, dword [ebp - 0x16c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x15c], ebx
mov byte [ebp - 0x16c], bl
cmp dword [ebp - 0x120], edi
jb 0x10015aed
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x124], ebx
mov byte [ebp - 0x134], bl
mov byte [ebp - 4], 9
sub esp, 0x1c
mov edi, esp
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], esi
mov dword [ebp - 0x118], ebx
mov byte [ebp - 0x114], bl
mov dword [ebp - 0x1c0], esp
mov byte [edi], bl
push 0x10065c50
or ecx, 0xffffffff
xor ebx, ebx
call fcn.10001690
mov byte [ebp - 4], 0xa
sub esp, 0x1c
mov edi, esp
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x1a8], esp
mov esi, 0xf
push ecx
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
or ecx, 0xffffffff
mov byte [edi], bl
call fcn.10001690
sub esp, 0x1c
mov ecx, esp
mov byte [ebp - 4], 0xb
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
lea esi, [ebx + 0xb]
mov eax, str.apipc.my.id
mov dword [ebp - 0x1c4], esp
mov byte [ecx], bl
call fcn.10001570
lea edx, [ebp - 0x1a4]
push edx
mov byte [ebp - 4], 9
call fcn.10015060
add esp, 0x58
mov edi, eax
mov esi, 0x10065c34
mov byte [ebp - 4], 0xc
call fcn.10001450
mov esi, 0x10
cmp dword [ebp - 0x190], esi
jb 0x10015bc0
mov eax, dword [ebp - 0x1a4]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x174], esi
jb 0x10015bd8
mov ecx, dword [ebp - 0x188]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001dae2
mov esp, ebp
pop ebp
ret