Function at 0x140050750
Capabilities:
Create process on windows
Create thread
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x1400d8060]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov rbx, rcx
xor edi, edi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x1400539a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call fcn.140053270
cmp qword [rbx + 0x30], 0xa
jne 0x1400510f0
cmp qword [rbx + 0x50], 0x40
jne 0x1400510f0
lea rcx, [rbp + 0x210]
call fcn.1400534e0
nop
mov dword [rsp + 0x30], 0xf173078
mov dword [rsp + 0x34], 0x10d1107
mov word [rsp + 0x38], 0x5b
mov byte [rsp + 0x3a], 1
mov dword [rsp + 0x50], 0xc013178
mov dword [rsp + 0x54], 0x1005e07
mov dword [rsp + 0x48], 0x12013778
mov dword [rsp + 0x4c], 0x1005e0a
mov dword [rsp + 0x40], 0x13052978
mov word [rsp + 0x44], 0x5f
mov byte [rsp + 0x46], 1
mov dword [rsp + 0x58], 0x410262a
mov dword [rsp + 0x5c], 0xc0a0a5f
mov word [rsp + 0x60], reloc.WS2_32.dll_select
mov byte [rsp + 0x62], 1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x70]
call fcn.140051190
nop
lea rdx, [rbx + 0x60]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140050864
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14004c400
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1d0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1e0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x48]
call fcn.140051300
nop
lea rdx, [rbp + 0x210]
cmp qword [rbp + 0x228], 0x10
cmovae rdx, qword [rbp + 0x210]
mov r8, qword [rbp + 0x220]
mov rcx, rax
call fcn.14004c400
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x28]
call fcn.140051300
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14005090a
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14004c400
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 8]
call fcn.140051400
nop
lea rdx, [rbx + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14005095b
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14004c400
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x230], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x240], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x1400509c5
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400509c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400509c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af978
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp + 8], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140050a15
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050a0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050a0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af978
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x140050a53
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050a4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050a4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af978
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x28], 0
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x140050aa2
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050a9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050a9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af978
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x140050ae0
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050adb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050adb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af978
mov qword [rbp + 0x58], rdi
mov qword [rbp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x48], 0
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 0x10
jb 0x140050b35
inc rdx
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050b2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050b2f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af978
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140050b73
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050b6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050b6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af978
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], 0
lea rax, [rbp + 0x1d0]
mov qword [rbp + 0x68], rax
lea rdx, [rbx + 0xa0]
lea rcx, [rbp + 0x1d0]
call fcn.14004c180
mov r12, rax
lea rax, [rbp - 0x18]
mov qword [rbp + 0x70], rax
lea rdx, [rbx + 0x80]
lea rcx, [rbp - 0x18]
call fcn.14004c180
mov qword [rbp - 0x20], rax
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
lea r14, [rbp + 0x230]
mov rsi, qword [rbp + 0x230]
mov r13, qword [rbp + 0x248]
cmp r13, 0x10
cmovae r14, rsi
mov r15, qword [rbp + 0x240]
cmp r15, 0x10
jae 0x140050c07
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x70], xmm0
mov edi, reloc.WS2_32.dll_ntohs
jmp 0x140050c84
mov rdi, r15
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140050c5e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140051158
mov rcx, rax
call fcn.1400afc8c
mov rcx, rax
test rax, rax
je 0x140050c57
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140050c6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140050c6a
call fcn.1400afc8c
jmp 0x140050c6c
xor eax, eax
mov qword [rsp + 0x70], rax
lea r8, [r15 + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], rdi
mov r9, r12
mov r8, rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x1f0]
call fcn.140052ee0
nop
call fcn.140053270
xor r14d, r14d
mov qword [rbp - 0x38], r14
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0x1c0]
call fcn.140055fe0
nop
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x30]
call fcn.140054850
mov rdx, rax
mov rcx, rbx
call fcn.140050330
lea rdx, str.success
lea rcx, [rbp + 0x1c0]
call fcn.140055dd0
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, r14
cmp byte [rcx], r14b
lea rcx, [rbp + 0x1c0]
je 0x140050dd1
lea rdx, str.sessionid
call fcn.140055dd0
cmp byte [rax], 3
jne 0x140050d29
mov rdx, qword [rax + 8]
jmp 0x140050d2c
mov rdx, r14
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140050d3a
mov rdx, qword [rdx]
lea rcx, [rbx + 0x268]
call fcn.14004c2a0
lea rdx, str.appinfo
lea rcx, [rbp + 0x1c0]
call fcn.140055dd0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140054850
mov rdx, rax
mov rcx, rbx
call fcn.1400501c0
nop
movzx edx, byte [rbp + 0x1c0]
lea rcx, [rbp + 0x1c8]
call fcn.140055430
nop
mov rdx, qword [rbp + 0x208]
cmp rdx, 0x10
jb 0x140051028
inc rdx
mov rcx, qword [rbp + 0x1f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051023
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051023
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, str.message
call fcn.140055dd0
mov rdi, rax
mov byte [rsp + 0x30], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400afc8c
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov r8d, 0xa
lea rdx, str.invalidver
mov rcx, rax
call fcn.14004c2a0
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140056ef0
movzx ebx, al
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140055430
nop
test bl, bl
je 0x140050d72
lea rdx, str.download
lea rcx, [rbp + 0x1c0]
call fcn.140055dd0
lea rdx, [rbp + 0x1d0]
mov rcx, rax
call fcn.140055f80
lea rdx, [0x1400c0e36]
lea rcx, [rbp + 0x1d0]
call fcn.14004f100
test al, al
je 0x140050fec
movdqa xmm0, xmmword [0x1400c8690]
movdqa xmmword [rbp + 0x80], xmm0
movdqa xmm1, xmmword [0x1400c86d0]
movdqa xmmword [rbp + 0x90], xmm1
movdqa xmm0, xmmword [0x1400c8cb0]
movdqa xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [0x1400c8df0]
movdqa xmmword [rbp + 0xb0], xmm1
movdqa xmm0, xmmword [0x1400c8cf0]
movdqa xmmword [rbp + 0xc0], xmm0
movdqa xmm1, xmmword [0x1400c8d10]
movdqa xmmword [rbp + 0xd0], xmm1
movdqa xmm0, xmmword [0x1400c8e10]
movdqa xmmword [rbp + 0xe0], xmm0
movdqa xmm1, xmmword [0x1400c8c80]
movdqa xmmword [rbp + 0xf0], xmm1
movdqa xmm0, xmmword [0x1400c8c00]
movdqa xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x1400c8c30]
movdqa xmmword [rbp + 0x110], xmm1
movdqa xmm0, xmmword [0x1400c8bd0]
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmm1, xmmword [0x1400c8bb0]
movdqa xmmword [rbp + 0x130], xmm1
movdqa xmm0, xmmword [0x1400c8b40]
movdqa xmmword [rbp + 0x140], xmm0
movdqa xmm1, xmmword [0x1400c8b60]
movdqa xmmword [rbp + 0x150], xmm1
movdqa xmm0, xmmword [0x1400c8790]
movdqa xmmword [rbp + 0x160], xmm0
movdqa xmm1, xmmword [0x1400c8780]
movdqa xmmword [rbp + 0x170], xmm1
movdqa xmm0, xmmword [0x1400c86a0]
movdqa xmmword [rbp + 0x180], xmm0
movdqa xmm1, xmmword [0x1400c8710]
movdqa xmmword [rbp + 0x190], xmm1
movdqa xmm0, xmmword [0x1400c8de0]
movdqa xmmword [rbp + 0x1a0], xmm0
mov dword [rbp + 0x1b0], 0xe8fcfbed
mov word [rbp + 0x1b4], 0xbc
mov byte [rbp + 0x1b6], 1
lea rcx, [rbp + 0x80]
call fcn.140051500
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14005101a
lea rcx, [rbp + 0x1d0]
call fcn.14004c0d0
mov r8, rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r14
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
call fcn.1400af978
mov qword [rbp + 0x200], r14
mov qword [rbp + 0x208], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1f0], 0
cmp r13, 0x10
jb 0x14005107c
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140051073
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051073
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400af978
nop
mov rdx, qword [rbp + 0x228]
cmp rdx, 0x10
jb 0x1400510c0
inc rdx
mov rcx, qword [rbp + 0x210]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400510bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400510bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af978
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1400af3d0
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movdqa xmm0, xmmword [0x1400c8b50]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1400c8b70]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1400c8dd0]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1400c8e70]
movdqa xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x30], 0xc28ef1f7
mov dword [rbp - 0x2c], 0x100d3d2
lea rcx, [rbp - 0x70]
call fcn.140051160
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.140044560
nop
int3