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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov esi, eax
mov ebx, 0x69d100
xor eax, eax
push ebp
push 0x4d6549
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x4d63e3
lea edx, [ebx + 8]
xor eax, eax
call fcn.00407b98
lea edx, [ebp - 0x210]
mov eax, dword [ebx + 8]
call fcn.0042749c
mov edx, dword [ebp - 0x210]
lea eax, [ebx + 0xc]
call fcn.0040b714
mov eax, dword [0x68ec8c]
cmp byte [eax], 0
je 0x4d62cc
lea edx, [ebp - 0x214]
mov eax, dword [0x693634]
call fcn.0042fc58
mov edx, dword [ebp - 0x214]
lea eax, [ebx + 0x10]
call fcn.0040b714
jmp 0x4d62d7
lea eax, [ebx + 0x10]
mov edx, dword [ebx + 8]
call fcn.0040b714
lea edx, [ebp - 0x21c]
mov eax, dword [ebx + 8]
call fcn.0042760c
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
xor edx, edx
call fcn.004d4034
mov edx, dword [ebp - 0x218]
mov eax, edx
test eax, eax
je 0x4d6309
sub eax, 4
mov eax, dword [eax]
movzx ecx, byte [0x4d655c]
push ecx
lea ecx, [ebp - 4]
xchg edx, eax
call fcn.004cf9c0
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b7b0
mov dword [ebp - 0xc], 0x200
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.kernel32.dll_GetComputerNameW
movzx eax, byte [0x4d655c]
push eax
lea eax, [ebp - 0x20c]
call fcn.004d26ec
mov edx, eax
lea ecx, [ebx + 0x18]
lea eax, [ebp - 0x20c]
call fcn.004cf9c0
mov dword [ebp - 0xc], 0x200
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.advapi32.dll_GetUserNameW
movzx eax, byte [0x4d655c]
push eax
lea eax, [ebp - 0x20c]
call fcn.004d26ec
mov edx, eax
lea ecx, [ebx + 0x1c]
lea eax, [ebp - 0x20c]
call fcn.004cf9c0
cmp dword [ebx + 0x18], 0
jne 0x4d63ab
lea eax, [ebx + 0x18]
mov edx, 0x4d656c
call fcn.0040b7b0
cmp dword [ebx + 0x1c], 0
jne 0x4d63be
lea eax, [ebx + 0x1c]
mov edx, 0x4d656c
call fcn.0040b7b0
push esi
push edi
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebx + 0x10]
mov dl, 1
mov eax, dword [0x4cb034]
call fcn.004d5cb8
mov edx, eax
lea eax, [ebx + 0x14]
call fcn.004e7284
jmp 0x4d63f4
mov edx, dword [ebp - 8]
push edx
mov edx, dword [ebp + 8]
push edx
mov ecx, edi
mov edx, esi
call fcn.004d6158
lea eax, [ebx + 4]
call fcn.0040b348
push eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x234], eax
mov byte [ebp - 0x230], 0x11
mov esi, dword [ebx + 0x14]
mov eax, dword [esi + 4]
mov dword [ebp - 0x22c], eax
mov byte [ebp - 0x228], 0x11
push dword [esi + 0x14]
push dword [esi + 0x10]
push 0
lea eax, [ebp - 0x238]
push eax
xor ecx, ecx
mov dl, 0x20
mov al, 1
call fcn.004d50e4
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x224], eax
mov byte [ebp - 0x220], 0xb
lea edx, [ebp - 0x234]
mov ecx, 2
mov eax, 0x4d6580
call fcn.004d25ac
mov eax, dword [ebx + 0x14]
call fcn.004d6144
mov esi, eax
mov dword [ebx + 0x20], esi
mov edx, 0x69cdb0
mov ecx, 0x14
mov eax, esi
call dword [0x69cdc4]
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x18]
mov esi, eax
test esi, esi
je 0x4d6492
sub esi, 4
mov esi, dword [esi]
mov ecx, esi
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x20]
call dword [0x69cdc4]
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x1c]
mov esi, eax
test esi, esi
je 0x4d64b1
sub esi, 4
mov esi, dword [esi]
mov ecx, esi
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x20]
call dword [0x69cdc4]
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 4]
mov esi, eax
test esi, esi
je 0x4d64d0
sub esi, 4
mov esi, dword [esi]
mov ecx, esi
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 0x24]
call dword [0x69cdc4]
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x10]
mov esi, eax
test esi, esi
je 0x4d64ef
sub esi, 4
mov esi, dword [esi]
mov ecx, esi
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x28]
call dword [0x69cdc4]
mov dword [ebx + 0x2c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6550
lea eax, [ebp - 0x238]
call fcn.0040b348
lea eax, [ebp - 0x21c]
call fcn.0040b324
lea eax, [ebp - 0x218]
call fcn.0040b324
lea eax, [ebp - 0x214]
mov edx, 2
call fcn.0040b384
lea eax, [ebp - 4]
call fcn.0040b348
pop eax
jmp eax