Function at 0x140002c50
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x1400ba2c0]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rbx, rcx
call fcn.140002a60
cmp qword [rbx + 0x30], 0xa
jne 0x14000312f
cmp qword [rbx + 0x50], 0x40
jne 0x14000312f
mov dword [rbp + 0x190], 0xbaa4bdf7
mov dword [rbp + 0x194], 0xbcbea4b0
mov word [rbp + 0x198], 0xe4
mov byte [rbp + 0x19a], 1
mov dword [rsp + 0x38], 0xb9b2bcf7
mov dword [rsp + 0x3c], 0x100ebb0
mov dword [rsp + 0x30], 0xa6b6a4f7
mov word [rsp + 0x34], 0xe8
mov byte [rsp + 0x36], 1
mov dword [rsp + 0x40], 0xb1a3aba5
mov dword [rsp + 0x44], 0xb1b9bfe8
mov word [rsp + 0x48], 0xad
mov byte [rsp + 0x4a], 1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140003230
nop
lea r8, [rbx + 0x60]
mov rdx, rax
lea rcx, [rbp + 0x150]
call fcn.1400053b0
nop
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rbp + 0x130]
call fcn.1400033a0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x110]
call fcn.1400053b0
nop
lea r8, [rbp + 0x190]
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.1400034b0
nop
lea r8, [rbx + 0x20]
mov rdx, rax
lea rcx, [rbp + 0x1e0]
call fcn.1400053b0
nop
lea rcx, [rbp + 0xf0]
call fcn.140004550
nop
lea rcx, [rbp + 0x110]
call fcn.140004550
nop
lea rcx, [rbp + 0x130]
call fcn.140004550
nop
lea rcx, [rbp + 0x150]
call fcn.140004550
nop
lea rcx, [rsp + 0x60]
call fcn.140004550
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x170]
call fcn.1400045b0
mov rdx, rax
lea rcx, [rbp + 0x1c0]
call fcn.140003cc0
nop
call fcn.140002a60
xor esi, esi
mov qword [rbp - 0x68], rsi
lea r8, [rsp + 0x60]
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x1b0]
call fcn.140005700
nop
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x190]
call fcn.140004160
mov rdx, rax
mov rcx, rbx
call fcn.140002620
lea rdx, str.success
lea rcx, [rbp + 0x1b0]
call fcn.140005460
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, rsi
cmp byte [rcx], sil
lea rcx, [rbp + 0x1b0]
je 0x140002f04
lea rdx, str.sessionid
call fcn.140005460
cmp byte [rax], 3
jne 0x140002e64
mov rsi, qword [rax + 8]
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x140002e72
mov rsi, qword [rsi]
lea rcx, [rbx + 0x1e8]
mov rdx, rsi
call fcn.140004bf0
lea rdx, str.appinfo
lea rcx, [rbp + 0x1b0]
call fcn.140005460
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.140004160
mov rdx, rax
mov rcx, rbx
call fcn.1400024b0
nop
movzx edx, byte [rbp + 0x1b0]
lea rcx, [rbp + 0x1b8]
call fcn.140004690
nop
lea rcx, [rbp + 0x1c0]
call fcn.140004550
nop
lea rcx, [rbp + 0x1e0]
call fcn.140004550
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140091750
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rdx, str.message
call fcn.140005460
mov rdi, rax
mov byte [rbp + 0x190], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.14009145c
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.140004bf0
mov qword [rbp + 0x198], rbx
lea rdx, [rbp + 0x190]
mov rcx, rdi
call fcn.140006450
movzx ebx, al
movzx edx, byte [rbp + 0x190]
lea rcx, [rbp + 0x198]
call fcn.140004690
nop
test bl, bl
je 0x140002eaf
lea rdx, str.download
lea rcx, [rbp + 0x1b0]
call fcn.140005460
lea rdx, [rbp + 0x190]
mov rcx, rax
call fcn.1400056a0
lea rcx, [rbp + 0x190]
call fcn.140005420
test al, al
je 0x1400030f8
movdqa xmm0, xmmword [0x1400acfc0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1400ad010]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x1400ace80]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1400acf50]
movdqa xmmword [rbp - 0x20], xmm1
movdqa xmm0, xmmword [0x1400acee0]
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x1400aced0]
movdqa xmmword [rbp], xmm1
movdqa xmm0, xmmword [0x1400acf30]
movdqa xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x1400acec0]
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [str.q_1u:89__.1]
movdqa xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x1400ace70]
movdqa xmmword [rbp + 0x40], xmm1
movdqa xmm0, xmmword [0x1400ad0b0]
movdqa xmmword [rbp + 0x50], xmm0
movdqa xmm1, xmmword [0x1400ad0c0]
movdqa xmmword [rbp + 0x60], xmm1
movdqa xmm0, xmmword [0x1400ad090]
movdqa xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x1400ad080]
movdqa xmmword [rbp + 0x80], xmm1
movdqa xmm0, xmmword [0x1400ad040]
movdqa xmmword [rbp + 0x90], xmm0
movdqa xmm1, xmmword [0x1400ad050]
movdqa xmmword [rbp + 0xa0], xmm1
movdqa xmm0, xmmword [0x1400acfd0]
movdqa xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [0x1400acfe0]
movdqa xmmword [rbp + 0xc0], xmm1
movdqa xmm0, xmmword [0x1400acf70]
movdqa xmmword [rbp + 0xd0], xmm0
mov dword [rbp + 0xe0], 0x7d6f7662
mov word [rbp + 0xe4], Ordinal_46
mov byte [rbp + 0xe6], 1
lea rcx, [rbp - 0x50]
call fcn.1400035d0
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140003126
lea rcx, [rbp + 0x190]
call fcn.1400044c0
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 [0x1400ad070]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1400ad0a0]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x1400acf80]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x1400acf90]
movdqa xmmword [rbp - 0x70], xmm1
mov dword [rbp - 0x60], 0x773d7c78
mov dword [rbp - 0x5c], 0x1006665
lea rcx, [rsp + 0x60]
call fcn.1400031a0
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]
int3