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

Disassembly:
push 0xffffffffffffffff
push 0x4f3b7e
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x254], eax
push ebx
push ebp
push esi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x278]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [esp + 0x270], 0
lea ecx, [esp + 0x40]
call fcn.00443db0
mov byte [esp + 0x270], 1
mov dword [esp + 0x3c], 0
test ebp, ebp
je 0x4aa820
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call sub.mfc90.dll_Ordinal_3705
mov ecx, dword [0x1070804]
mov eax, dword [ecx - 0xc]
cmp eax, 0x32
jae 0x4aa83d
mov edx, 0x107083e
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4aa833
mov ecx, dword [0x1070808]
mov eax, dword [ecx - 0xc]
cmp eax, 0x32
jae 0x4aa85a
mov edx, 0x1070870
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4aa850
mov ecx, dword [0x1070800]
mov eax, dword [ecx - 0xc]
cmp eax, 0x32
jae 0x4aa87a
mov edx, 0x107080c
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4aa870
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x270], 2
mov eax, 0x1038b10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4aa894
sub eax, edx
cmp eax, 0x64
jae 0x4aa8c1
xor eax, eax
jmp 0x4aa8b0
mov cl, byte [eax + 0x1038b10]
mov byte [eax + 0x1070ac8], cl
inc eax
test cl, cl
jne 0x4aa8b0
mov esi, 0x200
push esi
lea edx, [esp + 0x68]
push 0
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x68]
push ecx
push 2
mov dword [esp + 0x3c], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameExA]
lea eax, [esp + 0x64]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4aa8f3
sub eax, edx
cmp eax, 0x64
jae 0x4aa912
xor eax, eax
mov cl, byte [esp + eax + 0x64]
mov byte [eax + 0x1070b2c], cl
inc eax
test cl, cl
jne 0x4aa903
cmp byte [0x1070b2c], 0
jne 0x4aa953
lea edx, [esp + 0x10]
push edx
call fcn.0048ee20
add esp, 4
mov byte [esp + 0x270], 3
mov ecx, dword [eax]
mov edx, 0x1070b2c
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4aa937
mov byte [esp + 0x270], 2
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push esi
lea eax, [esp + 0x68]
push 0
push eax
call sub.MSVCR90.dll_memset
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x40], esi
call fcn.00469580
add esp, 0x10
mov byte [esp + 0x270], 4
mov edx, dword [esp + 0x1c]
push str.error
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x4aa99f
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x68]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x4aa9ba
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x64]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4aa9b0
push 0x63
lea edx, [esp + 0x68]
push edx
push 0x1070b90
call dword [sym.imp.MSVCR90.dll_strncpy]
push esi
lea eax, [esp + 0x74]
push 0
push eax
mov byte [0x1070bf3], 0
call sub.MSVCR90.dll_memset
add esp, 0x18
cmp byte [0x103a981], 0
mov eax, str._x86_
jne 0x4aa9f6
mov eax, 0x5116d8
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x270], 5
push eax
lea ecx, [esp + 0x28]
push 0x1070c58
push ecx
call fcn.00410070
add esp, 0xc
mov byte [esp + 0x270], 7
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x1070a96
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x270], 8
test dword [0x10430b0], 0x800
je 0x4aaa83
lea edx, [esp + 0x10]
push edx
call fcn.00495e30
add esp, 4
mov byte [esp + 0x270], 9
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x270], 8
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea eax, [esp + 0x2c]
push eax
call fcn.0048f180
add esp, 4
mov byte [esp + 0x270], 0xa
push 0x51bca8
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov ebx, 0xb
mov byte [esp + 0x270], bl
test byte [0x10430dc], 0x40
je 0x4aaac4
mov esi, dword [0x10de38c]
jmp 0x4aaae5
push 0x5116d8
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x270], 0xc
mov esi, dword [eax]
mov dword [esp + 0x20], 1
cmp byte [0x103b0fc], 0
je 0x4aaaf9
mov edx, 0x5116d8
mov ecx, edx
mov eax, edx
jmp 0x4aab08
mov edx, 0x1070b90
mov ecx, 0x1070b2c
mov eax, 0x1070ac8
push esi
movzx esi, byte [0x103a983]
push esi
mov esi, dword [esp + 0x34]
push 0
push esi
mov esi, dword [0x10dd310]
push 0x5028b4
push esi
mov esi, dword [esp + 0x3c]
push esi
push 0x1070bf4
push edx
push ecx
mov ecx, dword [esp + 0x40]
push eax
push ecx
push 0x1070a64
mov esi, dword [sym.imp.mfc90.dll_Ordinal_2539]
push 0x1070a32
push 0x1070a00
push 0x107096a
push 0x1070906
push 0x10708a2
push 0x1070870
push 0x107083e
push 0x107080c
push 0xee12
lea edx, [esp + 0x6c]
push str.Set_d_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_d_d_s
push edx
call esi
add esp, 0x60
mov dword [esp + 0x270], ebx
test byte [esp + 0x20], 1
je 0x4aab9a
and dword [esp + 0x20], 0xfffffffe
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x274], 0xd
push ebp
mov byte [esp + 0x278], bl
mov ecx, dword [esp + 0x40]
call fcn.004aa4c0
mov ecx, dword [esp + 0x14]
mov edx, dword [0x1070790]
push ecx
push edx
push str.sended_TC_SET_USER_INFO__s___s_
push 8
call fcn.0043d500
add esp, 0x10
cmp byte [0x103a972], 0
jne 0x4aac5c
test ebp, ebp
je 0x4aabf3
cmp dword [ebp + 0xc], 0
jne 0x4aac5c
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1070a96
push 0xee13
lea eax, [esp + 0x1c]
push str.Get_d_s
push eax
call esi
add esp, 0xc
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov byte [esp + 0x274], 0xe
push ebp
mov byte [esp + 0x278], bl
mov ecx, dword [esp + 0x40]
call fcn.004aa4c0
cmp dword [0x103a97c], 0x77
jne 0x4aac5c
mov eax, dword [0x1070790]
push eax
push str.sended_TC_GET_CONFIG__s_
push 8
call fcn.0043d500
add esp, 0xc
mov byte [esp + 0x270], 0xa
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x270], 8
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x270], 7
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x270], 4
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x270], 2
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x270], 1
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x270], 0
lea ecx, [esp + 0x40]
call fcn.00443e30
mov dword [esp + 0x270], 0xffffffff
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x254]
xor ecx, esp
call fcn.004e0148
add esp, 0x264
ret 4