Function at 0x3002a106
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
lea ebp, [esp - 0x2d4]
sub esp, 0x354
mov eax, dword [section..cdata]
push ebx
push esi
push edi
mov esi, 0x30003f00
lea edi, [ebp + 0x2b0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x2d0], eax
lea eax, [ebp - 0x6c]
push eax
movsw word es:[edi], word [esi]
lea eax, [ebp + 0x1ac]
xor ebx, ebx
mov esi, 0x101
push eax
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x6c], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x3002a169
push esi
lea eax, [ebp + 0x1ac]
push eax
push 0x30003b0c
call fcn.3004f0aa
push 0x10
pop esi
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x2c0]
push eax
mov dword [ebp - 0x6c], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x3002a19f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
push esi
lea eax, [ebp + 0x2c0]
push eax
push 0x30003b1c
call fcn.3004f0aa
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x300038a0
push 0x300969a8
push 0x30003d94
lea eax, [ebp - 0x5c]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov eax, dword [0x300a1770]
add esp, 0x14
cmp dword [eax], ebx
je 0x3002a1d8
push 0x15
pop esi
jmp 0x3002a1e7
push dword [0x30096bb0]
call fcn.3004dd60
mov esi, eax
add esi, esi
lea eax, [ebp + 0x2c0]
push eax
call fcn.3004dcd9
mov edi, eax
lea eax, [ebp + 0x1ac]
push eax
call fcn.3004dcd9
add edi, esi
lea esi, [eax + edi + 0x1a]
push esi
lea eax, [ebp - 0x60]
push eax
call fcn.300521be
test eax, eax
je 0x3002a3d1
push esi
push dword [ebp - 0x60]
lea eax, [ebp - 0x80]
push eax
call fcn.3002315e
push dword [ebp - 0x60]
call fcn.3004dcd9
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfA]
lea ecx, [ebp + 0x1ac]
push ecx
lea ecx, [ebp + 0x2c0]
push ecx
mov ecx, esi
sub ecx, eax
push 0x30003ef8
push ecx
mov ecx, dword [ebp - 0x60]
add eax, ecx
push eax
call edi
add esp, 0x14
push dword [ebp - 0x60]
call fcn.3004dcd9
mov ecx, dword [0x300a1770]
mov edx, dword [ecx]
sub esi, eax
cmp edx, ebx
je 0x3002a284
push dword [ecx + 4]
mov ecx, dword [ebp - 0x60]
push edx
push 0x30003ef0
add eax, ecx
push esi
push eax
call edi
add esp, 0x14
jmp 0x3002a29b
push dword [0x30096bb0]
mov ecx, dword [ebp - 0x60]
push 0x30003ee8
add eax, ecx
push esi
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x60]
call fcn.30022b4a
push dword [ebp - 0x60]
call fcn.300522bc
mov eax, dword [0x30096bbc]
cmp eax, ebx
mov dword [ebp - 0x60], ebx
je 0x3002a2ce
push eax
call fcn.30022ccc
cmp word [eax], 0x5c
mov dword [ebp - 0x68], eax
jne 0x3002a2d7
inc eax
inc eax
jmp 0x3002a2d4
lea eax, [ebp + 0x2b0]
mov dword [ebp - 0x68], eax
push dword [0x30096bb4]
call fcn.3004dd60
mov ebx, 0x300038cc
push ebx
mov esi, eax
call fcn.3004dd60
lea eax, [esi + eax + 2]
cmp eax, 0x104
mov dword [ebp - 0x70], eax
jle 0x3002a319
call fcn.30022b36
test eax, eax
je 0x3002a3d1
push 0x30003ea0
call fcn.30022bd0
jmp 0x3002a3d1
push dword [ebp - 0x68]
call fcn.3004dd60
mov esi, eax
lea eax, [ebp + 0x2c0]
push eax
call fcn.3004dcd9
lea esi, [eax + esi*2 + 0x1a]
lea eax, [ebp + 0x1ac]
push eax
call fcn.3004dcd9
add esi, eax
mov eax, dword [ebp - 0x70]
add eax, eax
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.300521be
test eax, eax
je 0x3002a3d1
push ebx
push dword [0x30096bb4]
push 0x30003d94
push dword [ebp - 0x70]
push dword [ebp - 0x64]
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
push esi
lea eax, [ebp - 0x60]
push eax
call fcn.300521be
test eax, eax
je 0x3002a3c9
push esi
push dword [ebp - 0x60]
lea eax, [ebp - 0x80]
push eax
call fcn.3002315e
push dword [ebp - 0x60]
call fcn.3004dcd9
push dword [ebp - 0x68]
lea ecx, [ebp + 0x1ac]
push ecx
lea ecx, [ebp + 0x2c0]
push ecx
mov ecx, dword [ebp - 0x60]
sub esi, eax
push 0x30003e90
add eax, ecx
push esi
push eax
call edi
add esp, 0x18
push dword [ebp - 0x64]
push dword [ebp - 0x60]
call fcn.30022b4a
push dword [ebp - 0x60]
call fcn.300522bc
push dword [ebp - 0x64]
call fcn.300522bc
mov ecx, dword [ebp + 0x2d0]
pop edi
pop esi
pop ebx
call fcn.30062195
add ebp, 0x2d4
leave
ret