Function at 0x140089730
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 [0x140122060]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov rdi, rcx
call fcn.1400890b0
cmp qword [rdi + 0x30], 0xa
jne 0x14008a0ec
cmp qword [rdi + 0x50], 0x40
jne 0x14008a0ec
lea rcx, [rbp + 0x1c0]
call fcn.140089320
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 0x140089810
mov byte [rsp + 0x3e], r13b
mov qword [rsp + 0x68], r13
movdqa xmm0, xmmword [0x14010dc10]
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 0x140089875
mov rcx, r13
nop dword [rax]
lea eax, [rcx - 0x39]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 9
jb 0x140089860
mov byte [rsp + 0x62], 0
mov qword [rbp - 0x70], r13
movdqa xmm0, xmmword [0x14010dc10]
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.140043a30
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 0x1400898dc
mov rdx, qword [rdx]
lea rcx, [rbp + 0x1e0]
call fcn.14000e620
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.14008a190
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.14000e620
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.14008a190
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140089980
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.14000e620
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.14008a260
nop
lea rdx, [rdi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400899d5
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000e620
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.14000e470
mov r15, rax
lea rax, [rsp + 0x68]
mov qword [rbp + 0x28], rax
lea rdx, [rdi + 0x80]
lea rcx, [rsp + 0x68]
call fcn.14000e470
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 0x140089ad0
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x70], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x140089b49
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140089b27
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14008a154
mov rcx, rax
call fcn.1400e4df0
mov rcx, rax
test rax, rax
je 0x140089b20
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140089b36
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140089b33
call fcn.1400e4df0
jmp 0x140089b36
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.14008b4b0
nop
call fcn.1400890b0
mov qword [rbp - 0x18], r13
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0x1b0]
call fcn.14008c900
nop
lea rdx, [rbp + 0x1b0]
lea rcx, [rsp + 0x40]
call fcn.14008b780
mov rdx, rax
mov rcx, rdi
call fcn.140088bc0
movzx ecx, byte [rbp + 0x1b0]
test cl, cl
jne 0x140089bd8
mov byte [rbp + 0x1b0], 1
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.14008c4b0
mov rbx, qword [rsp + 0x30]
mov qword [rbp + 0x1b8], rbx
movzx ecx, byte [rbp + 0x1b0]
jmp 0x140089bdf
mov rbx, qword [rbp + 0x1b8]
cmp cl, 1
jne 0x140089c47
mov qword [rsp + 0x68], r13
movdqa xmm0, xmmword [0x14010dc10]
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.140092500
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 0x140089c4b
mov rsi, qword [rbp - 0x78]
lea rax, [rsi + 8]
cmp byte [rsi], 4
cmovne rax, r13
cmp byte [rax], 0
je 0x140089e33
test cl, cl
jne 0x140089c89
mov byte [rbp + 0x1b0], 1
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.14008c4b0
mov rbx, qword [rsp + 0x30]
mov qword [rbp + 0x1b8], rbx
movzx ecx, byte [rbp + 0x1b0]
cmp cl, 1
jne 0x140089ce3
mov qword [rsp + 0x68], r13
movdqa xmm0, xmmword [0x14010dc10]
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.140092500
mov rbx, qword [rax]
add rbx, 0x40
lea rcx, [rsp + 0x68]
call fcn.140007980
jmp 0x140089ce7
mov rbx, qword [rbp - 0x78]
cmp byte [rbx], 3
jne 0x140089cf2
mov rdx, qword [rbx + 8]
jmp 0x140089cf5
mov rdx, r13
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140089d03
mov rdx, qword [rdx]
lea rcx, [rdi + 0x268]
call fcn.140007a00
movzx eax, byte [rbp + 0x1b0]
test al, al
jne 0x140089d42
mov byte [rbp + 0x1b0], 1
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.14008c4b0
mov rbx, qword [rsp + 0x30]
mov qword [rbp + 0x1b8], rbx
movzx eax, byte [rbp + 0x1b0]
jmp 0x140089d49
mov rbx, qword [rbp + 0x1b8]
cmp al, 1
jne 0x140089da2
mov qword [rsp + 0x68], r13
movdqa xmm0, xmmword [0x14010dc10]
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.140092500
mov rbx, qword [rax]
add rbx, 0x40
lea rcx, [rsp + 0x68]
call fcn.140007980
jmp 0x140089da6
mov rbx, qword [rbp - 0x78]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14008b780
mov rdx, rax
mov rcx, rdi
call fcn.140088850
nop
movzx edx, byte [rbp + 0x1b0]
lea rcx, [rbp + 0x1b8]
call fcn.14008be60
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.1400e4b30
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 0x140089e5d
mov byte [rbp + 0x1b0], 1
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.14008c4b0
mov rbx, qword [rsp + 0x30]
mov qword [rbp + 0x1b8], rbx
movzx ecx, byte [rbp + 0x1b0]
cmp cl, 1
jne 0x140089eb7
mov qword [rsp + 0x68], r13
movdqa xmm0, xmmword [0x14010dc10]
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.140092500
mov rdi, qword [rax]
add rdi, 0x40
lea rcx, [rsp + 0x68]
call fcn.140007980
jmp 0x140089ebb
mov rdi, qword [rbp - 0x78]
mov byte [rsp + 0x40], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400e4df0
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.14008d3f0
movzx ebx, al
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14008be60
nop
test bl, bl
je 0x140089dbf
lea rdx, str.download
lea rcx, [rbp + 0x1b0]
call fcn.14008c7f0
lea rdx, [rbp + 0x1e0]
mov rcx, rax
call fcn.14008c8a0
lea rdx, [0x140109b90]
lea rcx, [rbp + 0x1e0]
call fcn.140042a30
test al, al
je 0x14008a0b5
movdqa xmm0, xmmword [0x14010e320]
movdqa xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x14010e260]
movdqa xmmword [rbp + 0x40], xmm1
movdqa xmm0, xmmword [0x14010e370]
movdqa xmmword [rbp + 0x50], xmm0
movdqa xmm1, xmmword [0x14010e1d0]
movdqa xmmword [rbp + 0x60], xmm1
movdqa xmm0, xmmword [0x14010e1e0]
movdqa xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x14010e1a0]
movdqa xmmword [rbp + 0x80], xmm1
movdqa xmm0, xmmword [str._aJEKEG]
movdqa xmmword [rbp + 0x90], xmm0
movdqa xmm1, xmmword [0x14010ddf0]
movdqa xmmword [rbp + 0xa0], xmm1
movdqa xmm0, xmmword [0x14010df00]
movdqa xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [str.x4___5___]
movdqa xmmword [rbp + 0xc0], xmm1
movdqa xmm0, xmmword [0x14010ddb0]
movdqa xmmword [rbp + 0xd0], xmm0
movdqa xmm1, xmmword [0x14010e3a0]
movdqa xmmword [rbp + 0xe0], xmm1
movdqa xmm0, xmmword [0x14010e3d0]
movdqa xmmword [rbp + 0xf0], xmm0
movdqa xmm1, xmmword [0x14010e360]
movdqa xmmword [rbp + 0x100], xmm1
movdqa xmm0, xmmword [0x14010e340]
movdqa xmmword [rbp + 0x110], xmm0
movdqa xmm1, xmmword [0x14010e2f0]
movdqa xmmword [rbp + 0x120], xmm1
movdqa xmm0, xmmword [0x14010e310]
movdqa xmmword [rbp + 0x130], xmm0
movdqa xmm1, xmmword [0x14010e240]
movdqa xmmword [rbp + 0x140], xmm1
movdqa xmm0, xmmword [0x14010e270]
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.14008a330
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14008a0e3
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 [0x14010e3b0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x14010e350]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x14010e2b0]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x14010e1c0]
movdqa xmmword [rbp - 0x20], xmm1
mov dword [rbp - 0x10], 0x6927666e
mov dword [rbp - 0xc], 0x1007c7b
lea rcx, [rbp - 0x50]
call fcn.14008a160
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