Function at 0x1400036c0
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 [0x1400fa280]
xor rax, rsp
mov qword [rbp + 0x88], rax
mov r15, rcx
xor r12d, r12d
call fcn.140003460
cmp qword [r15 + 0x30], 0xa
jne 0x140003cc8
cmp qword [r15 + 0x50], 0x40
jne 0x140003cc8
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.140003d80
nop
lea rdx, [r15 + 0x60]
mov rcx, rax
call fcn.140005290
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.140003ef0
nop
mov rdx, r15
mov rcx, rax
call fcn.140005290
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.140003ff0
nop
lea rdx, [r15 + 0x20]
mov rcx, rax
call fcn.140005290
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 0x140003874
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000386f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000386f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140062e34
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 0x1400038c5
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400038bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400038bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140062e34
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x140003903
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400038fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400038fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140062e34
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 0x140003952
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000394c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000394c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140062e34
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140003990
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000398b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000398b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140062e34
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 0x1400039e8
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x60], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x140003a62
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140003a3f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003d38
mov rcx, rax
call fcn.140062df8
mov rcx, rax
test rax, rax
je 0x140003a38
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140003a4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140003a4b
call fcn.140062df8
jmp 0x140003a4e
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.140004bb0
nop
call fcn.140003460
mov qword [rbp - 0x48], r12
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x18]
call fcn.140006230
nop
lea rdx, str.success
lea rcx, [rbp + 0x18]
call fcn.140005ef0
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, r12
cmp byte [rcx], 0
lea rcx, [rbp + 0x18]
je 0x140003bc3
lea rdx, str.sessionid
call fcn.140005ef0
cmp byte [rax], 3
jne 0x140003ad5
mov rdx, qword [rax + 8]
jmp 0x140003ad8
mov rdx, r12
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140003ae6
mov rdx, qword [rdx]
lea rcx, [r15 + 0xe0]
call fcn.140005930
nop
movzx edx, byte [rbp + 0x18]
lea rcx, [rbp + 0x20]
call fcn.140005470
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x140003b3f
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b3a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140062e34
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x48], 0
cmp r13, 0x10
jb 0x140003b89
lea rdx, [r13 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140003b81
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003b81
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140062e34
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.140063190
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.140005ef0
mov rdi, rax
mov byte [rsp + 0x40], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140062df8
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.140005930
mov qword [rsp + 0x48], rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140007060
movzx ebx, al
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140005470
nop
lea rcx, [rbp + 0x18]
test bl, bl
je 0x140003c81
lea rdx, str.download
call fcn.140005ef0
lea rdx, [rbp + 0x28]
mov rcx, rax
call fcn.140005fd0
lea rcx, [rbp + 0x28]
call fcn.140005170
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.140005ef0
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.140006360
mov rcx, rax
call fcn.140005170
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.140005330
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
movdqa xmm0, xmmword [0x1400753c0]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x140075410]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm0, xmmword [0x1400753b0]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x1400753f0]
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.140003d40
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.1400021b0
int3