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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc48
mov eax, dword [0x42f370]
xor eax, esp
mov dword [esp + 0xc44], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
push 0x103
lea ecx, [esp + 0x135]
push ebx
push ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x13c], bl
call fcn.004145e0
add esp, 0xc
push 0x3ff
lea edx, [esp + 0x44d]
push ebx
push edx
mov byte [esp + 0x454], bl
call fcn.004145e0
add esp, 0xc
push 0x103
lea eax, [esp + 0x2d]
push ebx
push eax
call fcn.004145e0
mov eax, dword [0x426440]
mov ecx, dword [0x426438]
mov edx, dword [0x42643c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x426444]
add esp, 0xc
sub eax, ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ecx
je 0x4051bf
sub eax, 1
je 0x40508d
sub eax, 1
jne 0x40522e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea edx, [esp + 0x2c]
push edx
mov dword [0x432dcc], eax
lea eax, [esp + 0x450]
push str.http:___s_secdoc.php_typeverifyp1_d
push eax
call fcn.00411287
add esp, 0x10
jmp 0x40522e
push 0x103
lea ecx, [esp + 0x23d]
push ebx
push ecx
mov byte [esp + 0x244], bl
call fcn.004145e0
add esp, 0xc
push 0x3ff
lea edx, [esp + 0x84d]
push ebx
push edx
mov byte [esp + 0x854], bl
call fcn.004145e0
add esp, 0xc
push 0x103
lea eax, [esp + 0x345]
push ebx
push eax
mov byte [esp + 0x34c], bl
call fcn.004145e0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x23c]
push edx
mov dword [esp + 0x1c], 0x104
mov dword [esp + 0x14], 0x400
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x84c]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea esi, [esp + 0x340]
call fcn.004071b0
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x24]
movzx ecx, word [esp + 0x22]
movzx edx, word [esp + 0x20]
push eax
movzx eax, word [esp + 0x22]
push ecx
movzx ecx, word [esp + 0x22]
push edx
movzx edx, word [esp + 0x24]
push eax
push ecx
push edx
lea eax, [esp + 0x148]
push str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.00411287
add esp, 0x20
cmp edi, 0xfffffffd
mov eax, 2
jne 0x405177
lea eax, [edi + 6]
push ebx
lea ecx, [esp + 0x134]
push ecx
lea edx, [esp + 0x348]
push edx
lea ecx, [esp + 0x244]
push ecx
mov ecx, dword [ebp + 0x10]
lea edx, [esp + 0x858]
push edx
push 0x432797
push edi
push ecx
push eax
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x470]
push str.http:___s_secdoc.php_typelogoper_dresult_dcode_dp1_sp2_sp3_sp4_sp5_sp6_s
push eax
call fcn.00411287
add esp, 0x30
jmp 0x40522e
movzx ecx, word [0x432616]
movzx edx, word [0x432614]
movzx eax, word [0x432612]
push ecx
movzx ecx, word [0x432610]
push edx
movzx edx, word [0x43260c]
push eax
movzx eax, word [0x43260a]
push ecx
push edx
push eax
lea ecx, [esp + 0x148]
push str._04d__02d__02d__02d:_02d:_02d
push ecx
call fcn.00411287
mov eax, dword [0x43261c]
lea edx, [esp + 0x150]
push edx
push eax
push 0x432797
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x478]
push str.http:___s_secdoc.php_typeinfop1_sp2_dp3_s
push edx
call fcn.00411287
add esp, 0x38
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x448]
mov ecx, eax
sub edx, ecx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x405240
mov ecx, dword [esp + 0xc4c]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004110f4
mov esp, ebp
pop ebp
ret