Function at 0x405f80
Capabilities:
Get hostname
Get session user name
Print debug messages

Disassembly:
sub esp, 0x548
mov eax, dword [0x42c2f0]
xor eax, esp
mov dword [esp + 0x544], eax
push ebx
push esi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x12d]
push ebx
push eax
mov byte [esp + 0x134], bl
call fcn.00412200
add esp, 0xc
push 0x103
lea ecx, [esp + 0x25]
push ebx
push ecx
mov byte [esp + 0x2c], bl
call fcn.00412200
mov eax, dword [esp + 0x560]
add esp, 0xc
sub eax, ebx
je 0x40615b
sub eax, 1
je 0x406016
sub eax, 1
jne 0x4061d3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.mixin.unnoo.com
lea edx, [esp + 0x28]
push str.http:___s_secdoc.php_typeverifyp1_d
push edx
mov dword [0x42f44c], eax
call fcn.0040fac5
add esp, 0x10
lea eax, [esp + 0x20]
push eax
jmp 0x4061cd
push 0x103
lea ecx, [esp + 0x445]
push ebx
push ecx
mov byte [esp + 0x44c], bl
call fcn.00412200
add esp, 0xc
push 0x103
lea edx, [esp + 0x235]
push ebx
push edx
mov byte [esp + 0x23c], bl
call fcn.00412200
add esp, 0xc
push 0x103
lea eax, [esp + 0x33d]
push ebx
push eax
mov byte [esp + 0x344], bl
call fcn.00412200
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x234]
push edx
mov dword [esp + 0x14], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x4060a5
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x544]
xor ecx, esp
call fcn.0040fbc6
add esp, 0x548
ret
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x444]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x40608c
lea esi, [esp + 0x338]
call fcn.00405e70
test eax, eax
je 0x40608c
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x1c]
movzx ecx, word [esp + 0x1a]
movzx edx, word [esp + 0x18]
push eax
movzx eax, word [esp + 0x1a]
push ecx
movzx ecx, word [esp + 0x1a]
push edx
movzx edx, word [esp + 0x1c]
push eax
push ecx
push edx
lea eax, [esp + 0x140]
push str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.0040fac5
lea ecx, [esp + 0x148]
push ecx
mov edx, esi
push edx
mov edx, dword [esp + 0x584]
lea eax, [esp + 0x258]
push eax
mov eax, dword [esp + 0x584]
lea ecx, [esp + 0x46c]
push ecx
push 0x42f4c9
push edx
push eax
push str.mixin.unnoo.com
lea ecx, [esp + 0x60]
push str.http:___s_secdoc.php_typelogresult_dcode_dp1_sp2_sp3_sp4_sp5_s
push ecx
call fcn.0040fac5
add esp, 0x48
lea edx, [esp + 0x20]
push edx
jmp 0x4061cd
movzx eax, word [0x42f48e]
movzx ecx, word [0x42f48c]
movzx edx, word [0x42f48a]
push eax
movzx eax, word [0x42f488]
push ecx
movzx ecx, word [0x42f484]
push edx
movzx edx, word [0x42f482]
push eax
push ecx
push edx
lea eax, [esp + 0x140]
push str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.0040fac5
mov edx, dword [0x42f494]
lea ecx, [esp + 0x148]
push ecx
push edx
push 0x42f4c9
push str.mixin.unnoo.com
lea eax, [esp + 0x50]
push str.http:___s_secdoc.php_typeinfop1_sp2_dp3_s
push eax
call fcn.0040fac5
add esp, 0x38
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [esp + 0x20]
mov edx, edi
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 0x4061e0
mov ecx, dword [esp + 0x54c]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0040fbc6
add esp, 0x548
ret