Function at 0x140047200
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 [0x1400e0068]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov rbx, rcx
call fcn.140046c70
cmp qword [rbx + 0x30], 0xa
jne 0x1400479bd
cmp qword [rbx + 0x50], 0x40
jne 0x1400479bd
lea rcx, [rbp + 0x1c0]
call fcn.140046ee0
nop
mov dword [rsp + 0x48], 0xa4bea7e1
mov dword [rsp + 0x4c], 0xaaa4beae
mov word [rsp + 0x50], 0xf2
mov byte [rsp + 0x52], 1
mov dword [rsp + 0x60], 0xa7a8a6e1
mov dword [rsp + 0x64], 0x100f1ae
mov dword [rsp + 0x58], 0xb9a8a0e1
mov dword [rsp + 0x5c], 0x100f1a3
mov dword [rsp + 0x30], 0xb8acbee1
mov word [rsp + 0x34], 0xf6
mov byte [rsp + 0x36], 1
mov dword [rsp + 0x38], 0xafb9b1b3
mov dword [rsp + 0x3c], 0xa7a3a5f6
mov word [rsp + 0x40], 0xbb
mov byte [rsp + 0x42], 1
xor esi, esi
mov ecx, esi
nop word [rax + rax]
lea eax, [rcx - 0x39]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 5
jb 0x1400472e0
mov byte [rsp + 0x36], sil
mov qword [rbp - 0x70], rsi
movdqa xmm0, xmmword [0x1400ce690]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], sil
mov r8d, 5
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.140007e60
nop
cmp byte [rsp + 0x42], 0
je 0x140047345
mov rcx, rsi
nop dword [rax]
lea eax, [rcx - 0x39]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 9
jb 0x140047330
mov byte [rsp + 0x42], 0
mov qword [rsp + 0x68], rsi
movdqa xmm0, xmmword [0x1400ce690]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov r8d, 9
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.140007e60
nop
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x68]
lea rcx, [rbp + 0x1e0]
call fcn.14003b740
nop
lea rcx, [rsp + 0x68]
call fcn.140007de0
nop
lea rcx, [rbp - 0x70]
call fcn.140007de0
nop
lea rdx, [rbx + 0x60]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400473b0
mov rdx, qword [rdx]
lea rcx, [rbp + 0x1e0]
call fcn.140038d90
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp]
lea rcx, [rbp - 0x50]
call fcn.140047a60
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.140038d90
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x190]
call fcn.140047a60
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140047457
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140038d90
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x170]
call fcn.140047b40
nop
lea rdx, [rbx + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400474a9
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140038d90
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x200], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0x210], xmm7
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp + 0x170]
call fcn.140007de0
nop
lea rcx, [rbp - 0x70]
call fcn.140007de0
nop
lea rcx, [rbp + 0x190]
call fcn.140007de0
nop
lea rcx, [rsp + 0x68]
call fcn.140007de0
nop
lea rcx, [rbp - 0x50]
call fcn.140007de0
nop
lea rcx, [rbp]
call fcn.140007de0
nop
lea rcx, [rbp + 0x1e0]
call fcn.140007de0
lea rax, [rbp]
mov qword [rbp + 0x20], rax
lea rdx, [rbx + 0xa0]
lea rcx, [rbp]
call fcn.14000a3c0
mov r12, rax
lea rax, [rbp - 0x70]
mov qword [rbp + 0x28], rax
lea rdx, [rbx + 0x80]
lea rcx, [rbp - 0x70]
call fcn.14000a3c0
mov r13, rax
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rsi
lea r15, [rbp + 0x200]
movq rcx, xmm6
movdqa xmm0, xmm7
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae r15, rcx
movq r14, xmm7
cmp r14, 0x10
jae 0x1400475a5
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x68], xmm0
mov edi, reloc.WS2_32.dll_ntohs
jmp 0x14004761f
mov rdi, r14
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400475fc
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140047a25
mov rcx, rax
call fcn.1400a2458
mov rcx, rax
test rax, rax
je 0x1400475f5
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14004760b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140047608
call fcn.1400a2458
jmp 0x14004760b
mov rax, rsi
mov qword [rsp + 0x68], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], rdi
mov r9, r12
mov r8, r13
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x220]
call fcn.140048bc0
nop
call fcn.140046c70
mov qword [rbp - 0x18], rsi
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0x1b0]
call fcn.14004a0e0
nop
lea rdx, [rbp + 0x1b0]
lea rcx, [rsp + 0x48]
call fcn.140048e90
mov rdx, rax
mov rcx, rbx
call fcn.140046860
lea rdx, str.success
lea rcx, [rbp + 0x1b0]
call fcn.140049ed0
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, rsi
cmp byte [rcx], 0
lea rcx, [rbp + 0x1b0]
je 0x14004777d
lea rdx, str.sessionid
call fcn.140049ed0
cmp byte [rax], 3
jne 0x1400476c0
mov rsi, qword [rax + 8]
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x1400476ce
mov rsi, qword [rsi]
lea rcx, [rbx + 0x268]
mov rdx, rsi
call fcn.140007e60
lea rdx, str.appinfo
lea rcx, [rbp + 0x1b0]
call fcn.140049ed0
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140048e90
mov rdx, rax
mov rcx, rbx
call fcn.1400466f0
nop
movzx edx, byte [rbp + 0x1b0]
lea rcx, [rbp + 0x1b8]
call fcn.1400495b0
nop
lea rcx, [rbp + 0x220]
call fcn.140007de0
nop
lea rcx, [rbp + 0x200]
call fcn.140007de0
nop
lea rcx, [rbp + 0x1c0]
call fcn.140007de0
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1400a2b00
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
lea rdx, str.message
call fcn.140049ed0
mov rdi, rax
mov byte [rsp + 0x48], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400a2458
mov rbx, rax
mov qword [rax], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov r8d, 0xa
lea rdx, str.invalidver
mov rcx, rax
call fcn.140007e60
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14004ac30
movzx ebx, al
movzx edx, byte [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.1400495b0
nop
test bl, bl
je 0x140047709
lea rdx, str.download
lea rcx, [rbp + 0x1b0]
call fcn.140049ed0
lea rdx, [rbp + 0x1e0]
mov rcx, rax
call fcn.14004a080
lea rdx, [0x1400b8351]
lea rcx, [rbp + 0x1e0]
call fcn.14000a860
test al, al
je 0x140047986
movdqa xmm0, xmmword [0x1400ce920]
movdqa xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x1400ce840]
movdqa xmmword [rbp + 0x40], xmm1
movdqa xmm0, xmmword [0x1400ce980]
movdqa xmmword [rbp + 0x50], xmm0
movdqa xmm1, xmmword [0x1400ce7d0]
movdqa xmmword [rbp + 0x60], xmm1
movdqa xmm0, xmmword [0x1400ce7e0]
movdqa xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x1400ce7a0]
movdqa xmmword [rbp + 0x80], xmm1
movdqa xmm0, xmmword [str._aJEKEG]
movdqa xmmword [rbp + 0x90], xmm0
movdqa xmm1, xmmword [0x1400ce740]
movdqa xmmword [rbp + 0xa0], xmm1
movdqa xmm0, xmmword [0x1400ce750]
movdqa xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [str.x4___5___]
movdqa xmmword [rbp + 0xc0], xmm1
movdqa xmm0, xmmword [0x1400ce710]
movdqa xmmword [rbp + 0xd0], xmm0
movdqa xmm1, xmmword [0x1400ce9b0]
movdqa xmmword [rbp + 0xe0], xmm1
movdqa xmm0, xmmword [0x1400ce9d0]
movdqa xmmword [rbp + 0xf0], xmm0
movdqa xmm1, xmmword [0x1400ce970]
movdqa xmmword [rbp + 0x100], xmm1
movdqa xmm0, xmmword [0x1400ce940]
movdqa xmmword [rbp + 0x110], xmm0
movdqa xmm1, xmmword [0x1400ce8f0]
movdqa xmmword [rbp + 0x120], xmm1
movdqa xmm0, xmmword [0x1400ce910]
movdqa xmmword [rbp + 0x130], xmm0
movdqa xmm1, xmmword [0x1400ce820]
movdqa xmmword [rbp + 0x140], xmm1
movdqa xmm0, xmmword [0x1400ce850]
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.140047c20
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1400479b4
lea rcx, [rbp + 0x1e0]
call fcn.140007bb0
mov r8, rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
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 [0x1400ce9c0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1400ce950]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x1400ce8b0]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1400ce7c0]
movdqa xmmword [rbp - 0x20], xmm1
mov dword [rbp - 0x10], 0x6927666e
mov dword [rbp - 0xc], 0x1007c7b
lea rcx, [rbp - 0x50]
call fcn.140047a30
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.140007410
int3