Function at 0x140086f60
Capabilities:
Create process on windows
Encode data using xor
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x298]
sub rsp, 0x370
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14011f060]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov rdi, rcx
call fcn.1400868e0
cmp qword [rdi + 0x30], 0xa
jne 0x14008791c
cmp qword [rdi + 0x50], 0x40
jne 0x14008791c
lea rcx, [rbp + 0x1c0]
call fcn.140086b50
nop
mov dword [rsp + 0x40], 0xa4bea7e1
mov dword [rsp + 0x44], 0xaaa4beae
mov word [rsp + 0x48], 0xf2
mov byte [rsp + 0x4a], 1
mov dword [rsp + 0x30], 0xa7a8a6e1
mov dword [rsp + 0x34], 0x100f1ae
mov dword [rsp + 0x50], 0xb9a8a0e1
mov dword [rsp + 0x54], 0x100f1a3
mov dword [rsp + 0x38], 0xb8acbee1
mov word [rsp + 0x3c], 0xf6
mov byte [rsp + 0x3e], 1
mov dword [rsp + 0x58], 0xafb9b1b3
mov dword [rsp + 0x5c], 0xa7a3a5f6
mov word [rsp + 0x60], 0xbb
mov byte [rsp + 0x62], 1
xor r13d, r13d
mov ecx, r13d
nop dword [rax]
lea eax, [rcx - 0x39]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 5
jb 0x140087040
mov byte [rsp + 0x3e], r13b
mov qword [rsp + 0x68], r13
movdqa xmm0, xmmword [0x14010abe0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], r13b
mov r8d, 5
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.140007a00
nop
cmp byte [rsp + 0x62], 0
je 0x1400870a5
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x39]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 9
jb 0x140087090
mov byte [rsp + 0x62], 0
mov qword [rbp - 0x70], r13
movdqa xmm0, xmmword [0x14010abe0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov r8d, 9
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x70]
call fcn.140007a00
nop
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x70]
lea rcx, [rbp + 0x1e0]
call fcn.140041010
nop
lea rcx, [rbp - 0x70]
call fcn.140007980
nop
lea rcx, [rsp + 0x68]
call fcn.140007980
nop
lea rdx, [rdi + 0x60]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14008710c
mov rdx, qword [rdx]
lea rcx, [rbp + 0x1e0]
call fcn.14000e5e0
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x50]
lea rdx, [rbp]
lea rcx, [rbp - 0x50]
call fcn.1400879c0
nop
lea rdx, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 0x10
cmovae rdx, qword [rbp + 0x1c0]
mov r8, qword [rbp + 0x1d0]
mov rcx, rax
call fcn.14000e5e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x190]
call fcn.1400879c0
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400871b0
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.14000e5e0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x170]
call fcn.140087a90
nop
lea rdx, [rdi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140087205
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000e5e0
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x200], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0x210], xmm7
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp + 0x170]
call fcn.140007980
nop
lea rcx, [rsp + 0x68]
call fcn.140007980
nop
lea rcx, [rbp + 0x190]
call fcn.140007980
nop
lea rcx, [rbp - 0x70]
call fcn.140007980
nop
lea rcx, [rbp - 0x50]
call fcn.140007980
nop
lea rcx, [rbp]
call fcn.140007980
nop
lea rcx, [rbp + 0x1e0]
call fcn.140007980
lea rax, [rbp]
mov qword [rbp + 0x20], rax
lea rdx, [rdi + 0xa0]
lea rcx, [rbp]
call fcn.14000e430
mov r15, rax
lea rax, [rsp + 0x68]
mov qword [rbp + 0x28], rax
lea rdx, [rdi + 0x80]
lea rcx, [rsp + 0x68]
call fcn.14000e430
mov r12, rax
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r13
lea r14, [rbp + 0x200]
movq rcx, xmm6
movdqa xmm0, xmm7
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae r14, rcx
movq rsi, xmm7
cmp rsi, 0x10
jae 0x140087300
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x70], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x140087379
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140087357
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140087984
mov rcx, rax
call fcn.1400e2620
mov rcx, rax
test rax, rax
je 0x140087350
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140087366
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140087363
call fcn.1400e2620
jmp 0x140087366
mov rax, r13
mov qword [rbp - 0x70], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rbx
mov r9, r15
mov r8, r12
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x220]
call fcn.140088ce0
nop
call fcn.1400868e0
mov qword [rbp - 0x18], r13
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0x1b0]
call fcn.14008a130
nop
lea rdx, [rbp + 0x1b0]
lea rcx, [rsp + 0x40]
call fcn.140088fb0
mov rdx, rax
mov rcx, rdi
call fcn.1400863f0
movzx ecx, byte [rbp + 0x1b0]
test cl, cl
jne 0x140087408
mov byte [rbp + 0x1b0], 1
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.140089ce0
mov rbx, qword [rsp + 0x30]
mov qword [rbp + 0x1b8], rbx
movzx ecx, byte [rbp + 0x1b0]
jmp 0x14008740f
mov rbx, qword [rbp + 0x1b8]
cmp cl, 1
jne 0x140087477
mov qword [rsp + 0x68], r13
movdqa xmm0, xmmword [0x14010abe0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov r8d, 7
lea rdx, str.success
lea rcx, [rsp + 0x68]
call fcn.140007a00
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14008fd30
mov rsi, qword [rax]
add rsi, 0x40
lea rcx, [rsp + 0x68]
call fcn.140007980
mov rbx, qword [rbp + 0x1b8]
movzx ecx, byte [rbp + 0x1b0]
jmp 0x14008747b
mov rsi, qword [rbp - 0x78]
lea rax, [rsi + 8]
cmp byte [rsi], 4
cmovne rax, r13
cmp byte [rax], 0
je 0x140087663
test cl, cl
jne 0x1400874b9
mov byte [rbp + 0x1b0], 1
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.140089ce0
mov rbx, qword [rsp + 0x30]
mov qword [rbp + 0x1b8], rbx
movzx ecx, byte [rbp + 0x1b0]
cmp cl, 1
jne 0x140087513
mov qword [rsp + 0x68], r13
movdqa xmm0, xmmword [0x14010abe0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov r8d, 9
lea rdx, str.sessionid
lea rcx, [rsp + 0x68]
call fcn.140007a00
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14008fd30
mov rbx, qword [rax]
add rbx, 0x40
lea rcx, [rsp + 0x68]
call fcn.140007980
jmp 0x140087517
mov rbx, qword [rbp - 0x78]
cmp byte [rbx], 3
jne 0x140087522
mov rdx, qword [rbx + 8]
jmp 0x140087525
mov rdx, r13
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140087533
mov rdx, qword [rdx]
lea rcx, [rdi + 0x268]
call fcn.140007a00
movzx eax, byte [rbp + 0x1b0]
test al, al
jne 0x140087572
mov byte [rbp + 0x1b0], 1
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.140089ce0
mov rbx, qword [rsp + 0x30]
mov qword [rbp + 0x1b8], rbx
movzx eax, byte [rbp + 0x1b0]
jmp 0x140087579
mov rbx, qword [rbp + 0x1b8]
cmp al, 1
jne 0x1400875d2
mov qword [rsp + 0x68], r13
movdqa xmm0, xmmword [0x14010abe0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov r8d, 7
lea rdx, str.appinfo
lea rcx, [rsp + 0x68]
call fcn.140007a00
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14008fd30
mov rbx, qword [rax]
add rbx, 0x40
lea rcx, [rsp + 0x68]
call fcn.140007980
jmp 0x1400875d6
mov rbx, qword [rbp - 0x78]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140088fb0
mov rdx, rax
mov rcx, rdi
call fcn.140086080
nop
movzx edx, byte [rbp + 0x1b0]
lea rcx, [rbp + 0x1b8]
call fcn.140089690
nop
lea rcx, [rbp + 0x220]
call fcn.140007980
nop
lea rcx, [rbp + 0x200]
call fcn.140007980
nop
lea rcx, [rbp + 0x1c0]
call fcn.140007980
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1400e2360
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
test cl, cl
jne 0x14008768d
mov byte [rbp + 0x1b0], 1
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.140089ce0
mov rbx, qword [rsp + 0x30]
mov qword [rbp + 0x1b8], rbx
movzx ecx, byte [rbp + 0x1b0]
cmp cl, 1
jne 0x1400876e7
mov qword [rsp + 0x68], r13
movdqa xmm0, xmmword [0x14010abe0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov r8d, 7
lea rdx, str.message
lea rcx, [rsp + 0x68]
call fcn.140007a00
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14008fd30
mov rdi, qword [rax]
add rdi, 0x40
lea rcx, [rsp + 0x68]
call fcn.140007980
jmp 0x1400876eb
mov rdi, qword [rbp - 0x78]
mov byte [rsp + 0x40], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400e2620
mov rbx, rax
mov qword [rax], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov r8d, 0xa
lea rdx, str.invalidver
mov rcx, rax
call fcn.140007a00
mov qword [rsp + 0x48], rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14008ac30
movzx ebx, al
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140089690
nop
test bl, bl
je 0x1400875ef
lea rdx, str.download
lea rcx, [rbp + 0x1b0]
call fcn.14008a020
lea rdx, [rbp + 0x1e0]
mov rcx, rax
call fcn.14008a0d0
lea rdx, [0x140106b80]
lea rcx, [rbp + 0x1e0]
call fcn.1400400a0
test al, al
je 0x1400878e5
movdqa xmm0, xmmword [0x14010b2d0]
movdqa xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x14010b210]
movdqa xmmword [rbp + 0x40], xmm1
movdqa xmm0, xmmword [0x14010b320]
movdqa xmmword [rbp + 0x50], xmm0
movdqa xmm1, xmmword [0x14010b180]
movdqa xmmword [rbp + 0x60], xmm1
movdqa xmm0, xmmword [0x14010b190]
movdqa xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x14010b150]
movdqa xmmword [rbp + 0x80], xmm1
movdqa xmm0, xmmword [str._aJEKEG]
movdqa xmmword [rbp + 0x90], xmm0
movdqa xmm1, xmmword [0x14010adc0]
movdqa xmmword [rbp + 0xa0], xmm1
movdqa xmm0, xmmword [0x14010aed0]
movdqa xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [str.x4___5___]
movdqa xmmword [rbp + 0xc0], xmm1
movdqa xmm0, xmmword [0x14010ad80]
movdqa xmmword [rbp + 0xd0], xmm0
movdqa xmm1, xmmword [0x14010b350]
movdqa xmmword [rbp + 0xe0], xmm1
movdqa xmm0, xmmword [0x14010b380]
movdqa xmmword [rbp + 0xf0], xmm0
movdqa xmm1, xmmword [0x14010b310]
movdqa xmmword [rbp + 0x100], xmm1
movdqa xmm0, xmmword [0x14010b2f0]
movdqa xmmword [rbp + 0x110], xmm0
movdqa xmm1, xmmword [0x14010b2a0]
movdqa xmmword [rbp + 0x120], xmm1
movdqa xmm0, xmmword [0x14010b2c0]
movdqa xmmword [rbp + 0x130], xmm0
movdqa xmm1, xmmword [0x14010b1f0]
movdqa xmmword [rbp + 0x140], xmm1
movdqa xmm0, xmmword [0x14010b220]
movdqa xmmword [rbp + 0x150], xmm0
mov dword [rbp + 0x160], 0x83958c94
mov word [rbp + 0x164], Ordinal_217
mov byte [rbp + 0x166], 1
lea rcx, [rbp + 0x30]
call fcn.140087b60
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140087913
lea rcx, [rbp + 0x1e0]
call fcn.1400071f0
mov r8, rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
movdqa xmm0, xmmword [0x14010b360]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x14010b300]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x14010b260]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x14010b170]
movdqa xmmword [rbp - 0x20], xmm1
mov dword [rbp - 0x10], 0x6927666e
mov dword [rbp - 0xc], 0x1007c7b
lea rcx, [rbp - 0x50]
call fcn.140087990
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.1400032d0
int3