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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x140126240]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov r14, rcx
xor esi, esi
call fcn.140002ec0
cmp qword [r14 + 0x30], 0xa
jne 0x140003d51
cmp qword [r14 + 0x50], 0x40
jne 0x140003d51
lea rcx, [rbp + 0x220]
call fcn.140003130
nop
mov dword [rsp + 0x30], 0xa4bea7e1
mov dword [rsp + 0x34], 0xaaa4beae
mov word [rsp + 0x38], 0xf2
mov byte [rsp + 0x3a], 1
mov dword [rsp + 0x50], 0xa7a8a6e1
mov dword [rsp + 0x54], 0x100f1ae
mov dword [rsp + 0x48], 0xb9a8a0e1
mov dword [rsp + 0x4c], 0x100f1a3
mov dword [rsp + 0x40], 0xb8acbee1
mov word [rsp + 0x44], 0xf6
mov byte [rsp + 0x46], 1
mov dword [rsp + 0x58], 0xafb9b1b3
mov dword [rsp + 0x5c], 0xa7a3a5f6
mov word [rsp + 0x60], 0xbb
mov byte [rsp + 0x62], 1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.140003df0
nop
lea r8, [r14 + 0x60]
mov rdx, rax
lea rcx, [rbp + 0x190]
call fcn.1400074b0
nop
lea r8, [rsp + 0x48]
mov rdx, rax
lea rcx, [rbp + 0x170]
call fcn.140003f60
nop
lea rdx, [rbp + 0x220]
cmp qword [rbp + 0x238], 0x10
cmovae rdx, qword [rbp + 0x220]
mov r8, qword [rbp + 0x230]
mov rcx, rax
call fcn.140005e60
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x200], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x210], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], sil
lea r8, [rsp + 0x50]
lea rdx, [rbp + 0x200]
lea rcx, [rbp + 0x150]
call fcn.140003f60
nop
mov r8, r14
mov rdx, rax
lea rcx, [rbp + 0x130]
call fcn.1400074b0
nop
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp + 0x110]
call fcn.140004060
nop
lea r8, [r14 + 0x20]
mov rdx, rax
lea rcx, [rbp + 0x260]
call fcn.1400074b0
nop
lea rcx, [rbp + 0x110]
call fcn.140005ee0
nop
lea rcx, [rbp + 0x130]
call fcn.140005ee0
nop
lea rcx, [rbp + 0x150]
call fcn.140005ee0
nop
lea rcx, [rbp + 0x200]
call fcn.140005ee0
nop
lea rcx, [rbp + 0x170]
call fcn.140005ee0
nop
lea rcx, [rbp + 0x190]
call fcn.140005ee0
nop
lea rcx, [rsp + 0x70]
call fcn.140005ee0
lea rax, [rbp + 0x200]
mov qword [rbp - 0x40], rax
lea rdx, [r14 + 0xa0]
lea rcx, [rbp + 0x200]
call fcn.140005f40
mov rdi, rax
lea rax, [rbp + 0x1b0]
mov qword [rbp - 0x38], rax
lea rdx, [r14 + 0x80]
lea rcx, [rbp + 0x1b0]
call fcn.140005f40
mov rbx, rax
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0x1d0]
call fcn.140005f40
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x240]
call fcn.140004970
nop
call fcn.140002ec0
mov qword [rbp - 0x58], rsi
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x240]
lea rcx, [rbp + 0x1f0]
call fcn.140007870
nop
lea rdx, [rbp + 0x1f0]
lea rcx, [rsp + 0x30]
call fcn.140005a80
mov rdx, rax
mov rcx, r14
call fcn.140002a80
lea rdx, str.success
lea rcx, [rbp + 0x1f0]
call fcn.140007570
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, rsi
cmp byte [rcx], sil
lea rcx, [rbp + 0x1f0]
je 0x140003b23
lea rdx, str.sessionid
call fcn.140007570
cmp byte [rax], 3
jne 0x140003a79
mov rsi, qword [rax + 8]
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x140003a87
mov rsi, qword [rsi]
lea rcx, [r14 + 0x268]
mov rdx, rsi
call fcn.140006ba0
lea rdx, str.appinfo
lea rcx, [rbp + 0x1f0]
call fcn.140007570
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140005a80
mov rdx, rax
mov rcx, r14
call fcn.140002910
nop
movzx edx, byte [rbp + 0x1f0]
lea rcx, [rbp + 0x1f8]
call fcn.140006640
nop
lea rcx, [rbp + 0x240]
call fcn.140005ee0
nop
lea rcx, [rbp + 0x260]
call fcn.140005ee0
nop
lea rcx, [rbp + 0x220]
call fcn.140005ee0
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.1400b9a60
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rdx, str.message
call fcn.140007570
mov rdi, rax
mov byte [rsp + 0x30], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400b9c8c
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.140006ba0
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140008a00
movzx ebx, al
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140006640
nop
test bl, bl
je 0x140003ac2
lea rdx, str.download
lea rcx, [rbp + 0x1f0]
call fcn.140007570
lea rdx, [rbp + 0x200]
mov rcx, rax
call fcn.1400077e0
lea rdx, [0x14011347b]
lea rcx, [rbp + 0x200]
call fcn.140007520
test al, al
je 0x140003d1a
movdqa xmm0, xmmword [0x140114910]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x140114850]
movdqa xmmword [rbp - 0x20], xmm1
movdqa xmm0, xmmword [0x140114960]
movdqa xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x1401147e0]
movdqa xmmword [rbp], xmm1
movdqa xmm0, xmmword [0x1401147f0]
movdqa xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x1401147b0]
movdqa xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [str._aJEKEG]
movdqa xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [str.CPPI]
movdqa xmmword [rbp + 0x40], xmm1
movdqa xmm0, xmmword [0x140114790]
movdqa xmmword [rbp + 0x50], xmm0
movdqa xmm1, xmmword [str.x4___5___]
movdqa xmmword [rbp + 0x60], xmm1
movdqa xmm0, xmmword [0x140114760]
movdqa xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x140114990]
movdqa xmmword [rbp + 0x80], xmm1
movdqa xmm0, xmmword [0x1401149b0]
movdqa xmmword [rbp + 0x90], xmm0
movdqa xmm1, xmmword [0x140114950]
movdqa xmmword [rbp + 0xa0], xmm1
movdqa xmm0, xmmword [0x140114930]
movdqa xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [0x1401148e0]
movdqa xmmword [rbp + 0xc0], xmm1
movdqa xmm0, xmmword [0x140114900]
movdqa xmmword [rbp + 0xd0], xmm0
movdqa xmm1, xmmword [0x140114830]
movdqa xmmword [rbp + 0xe0], xmm1
movdqa xmm0, xmmword [0x140114860]
movdqa xmmword [rbp + 0xf0], xmm0
mov dword [rbp + 0x100], 0x83958c94
mov word [rbp + 0x104], Ordinal_217
mov byte [rbp + 0x106], 1
lea rcx, [rbp - 0x30]
call fcn.140004160
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x140003d48
lea rcx, [rbp + 0x200]
call fcn.140005e50
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 [0x1401149a0]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140114940]
movdqa xmmword [rbp - 0x80], xmm1
movdqa xmm0, xmmword [0x1401148a0]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1401147d0]
movdqa xmmword [rbp - 0x60], xmm1
mov dword [rbp - 0x50], 0x6927666e
mov dword [rbp - 0x4c], 0x1007c7b
lea rcx, [rsp + 0x70]
call fcn.140003dc0
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