Function at 0x140002aa0
Capabilities:
Create process on windows
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 - 0xd8]
sub rsp, 0x1b0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140078080]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov r15, rcx
xor r12d, r12d
call fcn.140002840
cmp qword [r15 + 0x30], 0xa
jne 0x1400030a8
cmp qword [r15 + 0x50], 0x40
jne 0x1400030a8
mov dword [rsp + 0x40], 0xd9c1da92
mov dword [rsp + 0x44], 0xdfd3cbdd
mov word [rsp + 0x48], 0x81
mov byte [rsp + 0x4a], 1
mov dword [rsp + 0x38], 0xdad7db92
mov dword [rsp + 0x3c], 0x10084dd
mov dword [rsp + 0x30], 0xc5d3c392
mov word [rsp + 0x34], 0x85
mov byte [rsp + 0x36], 1
mov dword [rsp + 0x50], 0xd2c6ccc0
mov dword [rsp + 0x54], 0xd2d4d085
mov word [rsp + 0x58], reloc.WLDAP32.dll_Ordinal_200
mov byte [rsp + 0x5a], 1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.140003160
nop
lea rdx, [r15 + 0x60]
mov rcx, rax
call fcn.140003c30
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x38], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r12b
lea r8, [rsp + 0x38]
lea rdx, [rbp + 0x28]
lea rcx, [rbp - 8]
call fcn.1400032d0
nop
mov rdx, r15
mov rcx, rax
call fcn.140003c30
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r12b
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x28]
call fcn.1400033d0
nop
lea rdx, [r15 + 0x20]
mov rcx, rax
call fcn.140003c30
movups xmm7, xmmword [rax]
movups xmmword [rbp + 0x68], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp + 0x78], xmm6
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r12b
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140002c54
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c4f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f22c
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140002ca5
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c9f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f22c
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x140002ce3
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002cde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002cde
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f22c
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 8], 0
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x140002d32
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f22c
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140002d70
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d6b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f22c
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x80], 0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
lea rsi, [rbp + 0x68]
movq rdi, xmm7
movdqa xmm0, xmm6
psrldq xmm0, 8
movq r13, xmm0
cmp r13, 0x10
cmovae rsi, rdi
movq r14, xmm6
cmp r14, 0x10
jae 0x140002dc8
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x60], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x140002e42
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140002e1f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003118
mov rcx, rax
call fcn.14005f1f0
mov rcx, rax
test rax, rax
je 0x140002e18
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140002e2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140002e2b
call fcn.14005f1f0
jmp 0x140002e2e
mov rax, r12
mov qword [rsp + 0x60], rax
lea r8, [r14 + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], rbx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x48]
call fcn.140003550
nop
call fcn.140002840
mov qword [rbp - 0x48], r12
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x18]
call fcn.140004bd0
nop
lea rdx, str.success
lea rcx, [rbp + 0x18]
call fcn.1400048c0
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, r12
cmp byte [rcx], 0
lea rcx, [rbp + 0x18]
je 0x140002fa3
lea rdx, str.sessionid
call fcn.1400048c0
cmp byte [rax], 3
jne 0x140002eb5
mov rdx, qword [rax + 8]
jmp 0x140002eb8
mov rdx, r12
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140002ec6
mov rdx, qword [rdx]
lea rcx, [r15 + 0xe0]
call fcn.140004310
nop
movzx edx, byte [rbp + 0x18]
lea rcx, [rbp + 0x20]
call fcn.140003e50
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x140002f1f
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005f22c
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x48], 0
cmp r13, 0x10
jb 0x140002f69
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140002f61
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f61
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14005f22c
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.14005f580
lea r11, [rsp + 0x1b0]
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.1400048c0
mov rdi, rax
mov byte [rsp + 0x40], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14005f1f0
mov rbx, rax
mov qword [rax], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov r8d, 0xa
lea rdx, str.invalidver
mov rcx, rax
call fcn.140004310
mov qword [rsp + 0x48], rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140005a00
movzx ebx, al
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140003e50
nop
lea rcx, [rbp + 0x18]
test bl, bl
je 0x140003061
lea rdx, str.download
call fcn.1400048c0
lea rdx, [rbp + 0x28]
mov rcx, rax
call fcn.1400049a0
lea rcx, [rbp + 0x28]
call fcn.140003b10
mov r8, rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
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]
int3
lea rdx, str.message
call fcn.1400048c0
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.140004d00
mov rcx, rax
call fcn.140003b10
mov rdx, rax
xor r9d, r9d
lea r8, str.Failure
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rbp + 0x28]
call fcn.140003cd0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
movdqa xmm0, xmmword [0x14006fd80]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x14006fdd0]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm0, xmmword [0x14006fd70]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x14006fdb0]
movdqa xmmword [rbp - 0x50], xmm1
mov dword [rbp - 0x40], 0x9e97b8d4
mov dword [rbp - 0x3c], 0x8b99d796
mov word [rbp - 0x38], Ordinal_143
mov byte [rbp - 0x36], 1
lea rdx, [rbp - 0x80]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003120
mov ecx, 0x1194
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.1400019f0
int3