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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x15c0
call fcn.004929f0
mov eax, dword [0x4c448c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0xd74
mov dword [ebp - 0x15ac], edx
mov dword [ebp - 0x15a4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1598], ecx
mov ecx, dword [0x4c7dd0]
lea edx, [ebp - 0x1594]
push 0
push edx
mov dword [ebp - 0x15a8], eax
mov dword [ebp - 0x159c], ecx
call fcn.00479dd0
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x15c0]
push ecx
mov dword [ebp - 0x824], 0x9090
mov dword [ebp - 0x158c], eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea edx, [ebp - 0x1594]
push edx
lea eax, [ebp - 0x15c0]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea ecx, [ebp - 0x81c]
push ecx
lea edx, [ebp - 0x1594]
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea edi, [ebp - 0x1584]
lea esi, [ebp - 0x81c]
call fcn.0045bd50
mov eax, dword [ebp + 0x14]
cmp eax, 0xffffffff
je 0x436762
test eax, eax
jne 0x436768
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x1588], eax
mov eax, dword [ebp - 0x15ac]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0xf26]
push 0x180
push ecx
call fcn.004740e7
add esp, 0x10
push 0xffffffffffffffff
test ebx, ebx
je 0x4367a0
push ebx
push 0x105
lea edx, [ebp - 0x1130]
push edx
jmp 0x4367b1
push 0x4ab2fc
push 0x105
lea eax, [ebp - 0x1130]
push eax
call fcn.004740e7
mov eax, dword [ebp - 0x15a8]
add esp, 0x10
test eax, eax
je 0x4367da
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0xc26]
push 0x200
push ecx
call fcn.004740e7
add esp, 0x10
lea edx, [ebp - 0x15a0]
push edx
lea eax, [ebp - 0x1544]
push eax
mov dword [ebp - 0x15a0], 0x105
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x43682e
mov edx, dword [ebp - 0x159c]
push 0x1a3
mov ebx, 0x3ff
lea esi, [ebp - 0x80c]
call fcn.004341a0
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x1544]
push 0x105
push ecx
call fcn.004740e7
add esp, 0x14
mov eax, dword [ebp - 0x1598]
test eax, eax
je 0x436857
cmp word [eax], 0
je 0x436857
push 0xffffffffffffffff
push eax
lea edx, [ebp - 0x133a]
push 0x105
push edx
call fcn.004740e7
add esp, 0x10
jmp 0x436875
lea eax, [ebp - 0x15a0]
push eax
lea ecx, [ebp - 0x133a]
push ecx
mov dword [ebp - 0x15a0], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov ebx, dword [ebp - 0x15a4]
lea edi, [ebx + 0x20]
push edi
mov dword [ebp - 0x159c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [ebx + 0x54]
add ebx, 0x44
inc edx
cmp dword [ebx + 8], edx
ja 0x43689c
call fcn.00437ba0
mov esi, dword [ebx + 0xc]
add esi, dword [ebx + 0x10]
mov eax, dword [ebx + 8]
cmp eax, esi
ja 0x4368ab
sub esi, eax
mov eax, dword [ebx + 4]
cmp dword [eax + esi*4], 0
jne 0x4368cb
push 0xd74
call fcn.00473e79
add esp, 4
test eax, eax
je 0x436919
mov ecx, dword [ebx + 4]
mov dword [ecx + esi*4], eax
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + esi*4]
test eax, eax
je 0x4368ea
mov ecx, 0x35d
lea esi, [ebp - 0x1594]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x159c]
inc dword [ebx + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebp - 0x15a4]
mov eax, dword [edx + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00474985
mov esp, ebp
pop ebp
ret 0x14
lea edx, [ebp - 0x1598]
push edx
lea ecx, [ebp - 0x15b8]
mov dword [ebp - 0x1598], 0
call fcn.00473505
push 0x4bc6fc
lea eax, [ebp - 0x15b8]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00475f21
int3