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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x28
push 0
push 0
dec ecx
jne 0x4d6469
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d69c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x3c], pe_nt_image_headers32
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x13c]
push eax
call sub.kernel32.dll_GetComputerNameA
lea eax, [ebp - 4]
lea edx, [ebp - 0x13c]
mov ecx, pe_nt_image_headers32
call fcn.004043ac
lea eax, [ebp - 8]
lea edx, [ebp - 0x13c]
mov ecx, pe_nt_image_headers32
call fcn.004043ac
mov dword [ebp - 0x3c], pe_nt_image_headers32
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x13c]
push eax
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x13c]
mov ecx, pe_nt_image_headers32
call fcn.004043ac
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x140]
call fcn.00408e4c
push dword [ebp - 0x140]
push 0x4d69dc
call sub.kernel32.dll_GetCurrentThreadId_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x144]
call fcn.00408e4c
push dword [ebp - 0x144]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004044bc
push pe_nt_image_headers32
lea eax, [ebp - 0x13c]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x148]
lea edx, [ebp - 0x13c]
mov ecx, pe_nt_image_headers32
call fcn.004043ac
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x14]
call fcn.00409550
lea eax, [ebp - 0x20]
mov edx, dword [0x4a4a48]
call fcn.004057ac
lea eax, [ebp - 0x24]
mov edx, dword [0x4a4a48]
call fcn.004057ac
lea eax, [ebp - 0x28]
mov edx, dword [0x4a4a48]
call fcn.004057ac
lea eax, [ebp - 0x30]
mov edx, dword [0x4a4a48]
call fcn.004057ac
test bl, bl
je 0x4d65be
lea eax, [ebp - 0x38]
mov edx, dword [0x4a4a48]
call fcn.004057ac
jmp 0x4d670e
mov eax, dword [esi + 0x18]
call fcn.004054d0
cmp eax, 0x10
jle 0x4d65d5
mov eax, 0x6a
call fcn.004d403c
lea edx, [ebp - 0x18]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xc]
call fcn.004088d8
lea edx, [ebp - 0x1c]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x10]
call fcn.004088d8
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.004cc444
lea ecx, [ebp - 0x24]
mov edx, dword [esi + 0x18]
mov eax, dword [ebp - 0x20]
call fcn.004cc4dc
mov eax, dword [0x4a4b20]
call fcn.004a502c
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
call dword [eax]
mov eax, dword [ebp - 0x28]
call fcn.004054d0
and eax, 0x80000007
jns 0x4d6633
dec eax
or eax, 0xfffffff8
inc eax
test eax, eax
jle 0x4d6654
mov eax, dword [ebp - 0x28]
call fcn.004054d0
and eax, 0x80000007
jns 0x4d664b
dec eax
or eax, 0xfffffff8
inc eax
mov dl, 8
sub dl, al
mov byte [ebp - 0x31], dl
jmp 0x4d6658
mov byte [ebp - 0x31], 0
mov eax, dword [ebp - 0x28]
call fcn.004054d0
xor edx, edx
mov dl, byte [ebp - 0x31]
add eax, edx
push eax
lea eax, [ebp - 0x2c]
mov ecx, 1
mov edx, dword [0x4a4a48]
call fcn.0040568c
add esp, 4
push 0
mov eax, dword [ebp - 0x28]
call fcn.004054d0
push eax
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.004cb5ec
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
call fcn.004cc568
mov eax, dword [ebp - 0x2c]
call fcn.004054d0
add eax, eax
inc eax
push eax
lea eax, [ebp - 0x38]
mov ecx, 1
mov edx, dword [0x4a4a48]
call fcn.0040568c
add esp, 4
mov eax, dword [ebp - 0x38]
call fcn.004054d0
push eax
mov eax, dword [ebp - 0x30]
call fcn.004054d0
add eax, eax
pop edx
cmp edx, eax
jge 0x4d66e8
mov eax, 0x6a
call fcn.004d403c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
call fcn.004cc288
mov eax, dword [ebp - 0x38]
call fcn.004054d0
mov edx, dword [ebp - 0x38]
lea eax, [edx + eax - 1]
push eax
mov al, byte [ebp - 0x31]
call fcn.004cc250
pop edx
mov byte [edx], al
mov dl, 3
mov eax, dword [esi + 0x14]
call fcn.004d4f64
test bl, bl
je 0x4d6728
mov dl, 0x52
mov eax, dword [esi + 0x14]
call fcn.004d4f64
jmp 0x4d6732
mov dl, 0x51
mov eax, dword [esi + 0x14]
call fcn.004d4f64
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.004d4f64
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xc]
call fcn.004043fc
test eax, eax
jne 0x4d6755
mov eax, dword [esi + 0x14]
call fcn.004d520c
jmp 0x4d675d
mov eax, dword [esi + 0x14]
call fcn.004d5200
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xc]
call fcn.004043fc
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.004d4fb4
mov eax, dword [ebp - 0x38]
call fcn.004054d0
test eax, eax
jne 0x4d6788
mov eax, dword [esi + 0x14]
call fcn.004d520c
jmp 0x4d6790
mov eax, dword [esi + 0x14]
call fcn.004d5200
mov eax, dword [ebp - 0x38]
call fcn.004054d0
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.004d4fb4
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.004d4fb4
xor eax, eax
cmp edi, 2
jne 0x4d67ba
mov eax, 8
jmp 0x4d67c4
cmp edi, 4
jne 0x4d67c4
mov eax, 0x10
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.004d5000
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.004d4fb4
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.004d500c
mov eax, dword [ebp - 4]
call fcn.004043fc
test eax, eax
jne 0x4d67f8
mov eax, dword [esi + 0x14]
call fcn.004d520c
jmp 0x4d6800
mov eax, dword [esi + 0x14]
call fcn.004d5200
mov eax, dword [ebp - 4]
call fcn.004043fc
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.004d4fb4
mov eax, dword [ebp - 8]
call fcn.004043fc
test eax, eax
jne 0x4d6828
mov eax, dword [esi + 0x14]
call fcn.004d520c
jmp 0x4d6830
mov eax, dword [esi + 0x14]
call fcn.004d5200
mov eax, dword [ebp - 8]
call fcn.004043fc
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.004d4fb4
mov eax, dword [ebp - 0xc]
call fcn.004043fc
test eax, eax
jne 0x4d6858
mov eax, dword [esi + 0x14]
call fcn.004d520c
jmp 0x4d6860
mov eax, dword [esi + 0x14]
call fcn.004d5200
mov eax, dword [ebp - 0xc]
call fcn.004043fc
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.004d4fb4
mov edx, 0x1000
mov eax, dword [esi + 0x14]
call fcn.004d4fb4
mov eax, dword [ebp - 0x10]
call fcn.004043fc
test eax, eax
jne 0x4d6895
mov eax, dword [esi + 0x14]
call fcn.004d520c
jmp 0x4d689d
mov eax, dword [esi + 0x14]
call fcn.004d5200
mov eax, dword [ebp - 0x10]
call fcn.004043fc
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.004d4fb4
mov eax, dword [ebp - 0x14]
call fcn.004043fc
test eax, eax
jne 0x4d68c5
mov eax, dword [esi + 0x14]
call fcn.004d520c
jmp 0x4d68cd
mov eax, dword [esi + 0x14]
call fcn.004d5200
mov eax, dword [ebp - 0x14]
call fcn.004043fc
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.004d4fb4
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.004d4f70
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.004d4fb4
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.004d500c
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.004d4fb4
mov edx, ebx
mov eax, dword [esi + 0x14]
call fcn.004d500c
mov edx, 0x10
mov eax, dword [esi + 0x14]
call fcn.004d4fb4
mov edx, ebx
mov eax, dword [esi + 0x14]
call fcn.004d500c
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x14]
call fcn.004d504c
mov edx, dword [ebp - 0x38]
mov eax, dword [esi + 0x14]
call fcn.004d5020
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x14]
call fcn.004d504c
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x14]
call fcn.004d504c
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x14]
call fcn.004d504c
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x14]
call fcn.004d504c
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x14]
call fcn.004d504c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d69cb
lea eax, [ebp - 0x148]
mov edx, 3
call fcn.00404160
lea eax, [ebp - 0x38]
mov edx, dword [0x4a4a48]
call fcn.004057ac
lea eax, [ebp - 0x30]
mov edx, dword [0x4a4a48]
mov ecx, 5
call fcn.00404cc8
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404160
ret