Function at 0x4ddd98
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 0x4ddda1
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 0x4de2fc
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.004046b8
lea eax, [ebp - 8]
lea edx, [ebp - 0x13c]
mov ecx, pe_nt_image_headers32
call fcn.004046b8
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.004046b8
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x140]
call fcn.00409468
push dword [ebp - 0x140]
push 0x4de314
call sub.kernel32.dll_GetCurrentThreadId_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x144]
call fcn.00409468
push dword [ebp - 0x144]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004047c8
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.004046b8
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x14]
call fcn.00409b90
lea eax, [ebp - 0x20]
mov edx, dword [0x4aa7d0]
call fcn.00405c38
lea eax, [ebp - 0x24]
mov edx, dword [0x4aa7d0]
call fcn.00405c38
lea eax, [ebp - 0x28]
mov edx, dword [0x4aa7d0]
call fcn.00405c38
lea eax, [ebp - 0x30]
mov edx, dword [0x4aa7d0]
call fcn.00405c38
test bl, bl
je 0x4ddef6
lea eax, [ebp - 0x38]
mov edx, dword [0x4aa7d0]
call fcn.00405c38
jmp 0x4de046
mov eax, dword [esi + 0x18]
call fcn.0040595c
cmp eax, 0x10
jle 0x4ddf0d
mov eax, 0x6a
call fcn.004db814
lea edx, [ebp - 0x18]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xc]
call fcn.00408ef4
lea edx, [ebp - 0x1c]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x10]
call fcn.00408ef4
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.004d3abc
lea ecx, [ebp - 0x24]
mov edx, dword [esi + 0x18]
mov eax, dword [ebp - 0x20]
call fcn.004d3b54
mov eax, dword [0x4aa8a8]
call fcn.004aadb4
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
call dword [eax]
mov eax, dword [ebp - 0x28]
call fcn.0040595c
and eax, 0x80000007
jns 0x4ddf6b
dec eax
or eax, 0xfffffff8
inc eax
test eax, eax
jle 0x4ddf8c
mov eax, dword [ebp - 0x28]
call fcn.0040595c
and eax, 0x80000007
jns 0x4ddf83
dec eax
or eax, 0xfffffff8
inc eax
mov dl, 8
sub dl, al
mov byte [ebp - 0x31], dl
jmp 0x4ddf90
mov byte [ebp - 0x31], 0
mov eax, dword [ebp - 0x28]
call fcn.0040595c
xor edx, edx
mov dl, byte [ebp - 0x31]
add eax, edx
push eax
lea eax, [ebp - 0x2c]
mov ecx, 1
mov edx, dword [0x4aa7d0]
call fcn.00405b18
add esp, 4
push 0
mov eax, dword [ebp - 0x28]
call fcn.0040595c
push eax
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 0x28]
call fcn.004d2c64
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
call fcn.004d3be0
mov eax, dword [ebp - 0x2c]
call fcn.0040595c
add eax, eax
inc eax
push eax
lea eax, [ebp - 0x38]
mov ecx, 1
mov edx, dword [0x4aa7d0]
call fcn.00405b18
add esp, 4
mov eax, dword [ebp - 0x38]
call fcn.0040595c
push eax
mov eax, dword [ebp - 0x30]
call fcn.0040595c
add eax, eax
pop edx
cmp edx, eax
jge 0x4de020
mov eax, 0x6a
call fcn.004db814
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
call fcn.004d3900
mov eax, dword [ebp - 0x38]
call fcn.0040595c
mov edx, dword [ebp - 0x38]
lea eax, [edx + eax - 1]
push eax
mov al, byte [ebp - 0x31]
call fcn.004d38c8
pop edx
mov byte [edx], al
mov dl, 3
mov eax, dword [esi + 0x14]
call fcn.004dc85c
test bl, bl
je 0x4de060
mov dl, 0x52
mov eax, dword [esi + 0x14]
call fcn.004dc85c
jmp 0x4de06a
mov dl, 0x51
mov eax, dword [esi + 0x14]
call fcn.004dc85c
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.004dc85c
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xc]
call fcn.00404708
test eax, eax
jne 0x4de08d
mov eax, dword [esi + 0x14]
call fcn.004dcb04
jmp 0x4de095
mov eax, dword [esi + 0x14]
call fcn.004dcaf8
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xc]
call fcn.00404708
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.004dc8ac
mov eax, dword [ebp - 0x38]
call fcn.0040595c
test eax, eax
jne 0x4de0c0
mov eax, dword [esi + 0x14]
call fcn.004dcb04
jmp 0x4de0c8
mov eax, dword [esi + 0x14]
call fcn.004dcaf8
mov eax, dword [ebp - 0x38]
call fcn.0040595c
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.004dc8ac
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.004dc8ac
xor eax, eax
cmp edi, 2
jne 0x4de0f2
mov eax, 8
jmp 0x4de0fc
cmp edi, 4
jne 0x4de0fc
mov eax, 0x10
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.004dc8f8
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.004dc8ac
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.004dc904
mov eax, dword [ebp - 4]
call fcn.00404708
test eax, eax
jne 0x4de130
mov eax, dword [esi + 0x14]
call fcn.004dcb04
jmp 0x4de138
mov eax, dword [esi + 0x14]
call fcn.004dcaf8
mov eax, dword [ebp - 4]
call fcn.00404708
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.004dc8ac
mov eax, dword [ebp - 8]
call fcn.00404708
test eax, eax
jne 0x4de160
mov eax, dword [esi + 0x14]
call fcn.004dcb04
jmp 0x4de168
mov eax, dword [esi + 0x14]
call fcn.004dcaf8
mov eax, dword [ebp - 8]
call fcn.00404708
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.004dc8ac
mov eax, dword [ebp - 0xc]
call fcn.00404708
test eax, eax
jne 0x4de190
mov eax, dword [esi + 0x14]
call fcn.004dcb04
jmp 0x4de198
mov eax, dword [esi + 0x14]
call fcn.004dcaf8
mov eax, dword [ebp - 0xc]
call fcn.00404708
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.004dc8ac
mov edx, 0x1000
mov eax, dword [esi + 0x14]
call fcn.004dc8ac
mov eax, dword [ebp - 0x10]
call fcn.00404708
test eax, eax
jne 0x4de1cd
mov eax, dword [esi + 0x14]
call fcn.004dcb04
jmp 0x4de1d5
mov eax, dword [esi + 0x14]
call fcn.004dcaf8
mov eax, dword [ebp - 0x10]
call fcn.00404708
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.004dc8ac
mov eax, dword [ebp - 0x14]
call fcn.00404708
test eax, eax
jne 0x4de1fd
mov eax, dword [esi + 0x14]
call fcn.004dcb04
jmp 0x4de205
mov eax, dword [esi + 0x14]
call fcn.004dcaf8
mov eax, dword [ebp - 0x14]
call fcn.00404708
mov edx, eax
mov eax, dword [esi + 0x14]
call fcn.004dc8ac
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.004dc868
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.004dc8ac
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.004dc904
xor edx, edx
mov eax, dword [esi + 0x14]
call fcn.004dc8ac
mov edx, ebx
mov eax, dword [esi + 0x14]
call fcn.004dc904
mov edx, 0x10
mov eax, dword [esi + 0x14]
call fcn.004dc8ac
mov edx, ebx
mov eax, dword [esi + 0x14]
call fcn.004dc904
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x14]
call fcn.004dc944
mov edx, dword [ebp - 0x38]
mov eax, dword [esi + 0x14]
call fcn.004dc918
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x14]
call fcn.004dc944
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x14]
call fcn.004dc944
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x14]
call fcn.004dc944
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 0x14]
call fcn.004dc944
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x14]
call fcn.004dc944
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de303
lea eax, [ebp - 0x148]
mov edx, 3
call fcn.0040446c
lea eax, [ebp - 0x38]
mov edx, dword [0x4aa7d0]
call fcn.00405c38
lea eax, [ebp - 0x30]
mov edx, dword [0x4aa7d0]
mov ecx, 5
call fcn.0040504c
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.0040446c
ret