Function at 0x140004070
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 - 0x228]
sub rsp, 0x300
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140141940]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rdi, rcx
xor r12d, r12d
call fcn.1400039a0
cmp qword [rdi + 0x30], 0xa
jne 0x140004836
cmp qword [rdi + 0x50], 0x40
jne 0x140004836
mov dword [rsp + 0x30], 0xbaa4bdf7
mov dword [rsp + 0x34], 0xbcbea4b0
mov word [rsp + 0x38], 0xe4
mov byte [rsp + 0x3a], 1
mov dword [rsp + 0x48], 0xb9b2bcf7
mov dword [rsp + 0x4c], 0x100ebb0
mov dword [rsp + 0x40], 0xa6b6a4f7
mov word [rsp + 0x44], 0xe8
mov byte [rsp + 0x46], 1
mov dword [rsp + 0x50], 0xb1a3aba5
mov dword [rsp + 0x54], 0xb1b9bfe8
mov word [rsp + 0x58], 0xad
mov byte [rsp + 0x5a], 1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.140004a70
nop
lea rdx, [rdi + 0x60]
mov rcx, rax
call fcn.140007700
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x170], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x180], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r12b
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x170]
lea rcx, [rbp]
call fcn.140004cf0
nop
mov rdx, rdi
mov rcx, rax
call fcn.140007700
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r12b
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x20]
call fcn.140004e60
nop
lea rdx, [rdi + 0x20]
mov rcx, rax
call fcn.140007700
movups xmm7, xmmword [rax]
movups xmmword [rbp + 0x1b0], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1c0], xmm6
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r12b
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140004233
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000422e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000422e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f1ea4
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140004283
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000427d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000427d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f1ea4
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x1400042c1
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400042bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400042bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f1ea4
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], 0
mov rdx, qword [rbp + 0x188]
cmp rdx, 0x10
jb 0x140004316
inc rdx
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004310
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004310
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f1ea4
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140004354
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000434f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000434f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f1ea4
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x70], 0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
lea r14, [rbp + 0x1b0]
movq rsi, xmm7
movdqa xmm0, xmm6
psrldq xmm0, 8
movq r13, xmm0
cmp r13, 0x10
cmovae r14, rsi
movq r15, xmm6
cmp r15, 0x10
jae 0x1400043af
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x68], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x140004429
mov rbx, r15
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140004406
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000489e
mov rcx, rax
call fcn.1400f28ac
mov rcx, rax
test rax, rax
je 0x1400043ff
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140004415
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140004412
call fcn.1400f28ac
jmp 0x140004415
mov rax, r12
mov qword [rsp + 0x68], rax
lea r8, [r15 + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], rbx
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x190]
call fcn.140005e70
nop
call fcn.1400039a0
mov qword [rbp - 0x38], r12
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x160]
call fcn.140009f80
nop
lea rdx, [rbp + 0x160]
lea rcx, [rsp + 0x30]
call fcn.140007010
mov rdx, rax
mov rcx, rdi
call fcn.140002d70
lea rdx, str.success
lea rcx, [rbp + 0x160]
call fcn.140009b70
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, r12
cmp byte [rcx], 0
lea rcx, [rbp + 0x160]
je 0x14000456e
lea rdx, [0x140122408]
call fcn.140009b70
cmp byte [rax], 3
jne 0x1400044c6
mov rdx, qword [rax + 8]
jmp 0x1400044c9
mov rdx, r12
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400044d7
mov rdx, qword [rdx]
lea rcx, [rdi + 0x1e8]
call fcn.1400084d0
lea rdx, str.appinfo
lea rcx, [rbp + 0x160]
call fcn.140009b70
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140007010
mov rdx, rax
mov rcx, rdi
call fcn.140002c00
nop
movzx edx, byte [rbp + 0x160]
lea rcx, [rbp + 0x168]
call fcn.140007a10
nop
mov rdx, qword [rbp + 0x1a8]
cmp rdx, 0x10
jb 0x1400047a9
inc rdx
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400047a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rdx, [0x140121ea0]
call fcn.140009b70
mov rdi, rax
mov byte [rsp + 0x30], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400f28ac
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.1400084d0
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14000c770
movzx ebx, al
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140007a10
nop
test bl, bl
je 0x14000450f
lea rdx, str.download
lea rcx, [rbp + 0x160]
call fcn.140009b70
lea rdx, [rbp + 0x170]
mov rcx, rax
call fcn.140009c70
lea rcx, [rbp + 0x170]
call fcn.140009b30
test al, al
je 0x14000476d
movdqa xmm0, xmmword [0x140123ba0]
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmm1, xmmword [0x140123bf0]
movdqa xmmword [rbp + 0x30], xmm1
movdqa xmm0, xmmword [0x140123a60]
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x140123b30]
movdqa xmmword [rbp + 0x50], xmm1
movdqa xmm0, xmmword [0x140123ac0]
movdqa xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x140123ab0]
movdqa xmmword [rbp + 0x70], xmm1
movdqa xmm0, xmmword [0x140123b10]
movdqa xmmword [rbp + 0x80], xmm0
movdqa xmm1, xmmword [0x140123aa0]
movdqa xmmword [rbp + 0x90], xmm1
movdqa xmm0, xmmword [str.q_1u:89__.1]
movdqa xmmword [rbp + 0xa0], xmm0
movdqa xmm1, xmmword [0x140123a50]
movdqa xmmword [rbp + 0xb0], xmm1
movdqa xmm0, xmmword [0x140123c90]
movdqa xmmword [rbp + 0xc0], xmm0
movdqa xmm1, xmmword [0x140123ca0]
movdqa xmmword [rbp + 0xd0], xmm1
movdqa xmm0, xmmword [0x140123c70]
movdqa xmmword [rbp + 0xe0], xmm0
movdqa xmm1, xmmword [0x140123c60]
movdqa xmmword [rbp + 0xf0], xmm1
movdqa xmm0, xmmword [0x140123c20]
movdqa xmmword [rbp + 0x100], xmm0
movdqa xmm1, xmmword [0x140123c30]
movdqa xmmword [rbp + 0x110], xmm1
movdqa xmm0, xmmword [0x140123bb0]
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmm1, xmmword [0x140123bc0]
movdqa xmmword [rbp + 0x130], xmm1
movdqa xmm0, xmmword [0x140123b50]
movdqa xmmword [rbp + 0x140], xmm0
mov dword [rbp + 0x150], 0x7d6f7662
mov word [rbp + 0x154], Ordinal_46
mov byte [rbp + 0x156], 1
lea rcx, [rbp + 0x20]
call fcn.140005240
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14000479b
lea rcx, [rbp + 0x170]
call fcn.140007510
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]
nop
call fcn.1400f1ea4
mov qword [rbp + 0x1a0], r12
mov qword [rbp + 0x1a8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x190], 0
cmp r13, 0x10
jb 0x1400047fc
lea rdx, [r13 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400047f4
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400047f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400f1ea4
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400f1fc0
lea r11, [rsp + 0x300]
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
movdqa xmm0, xmmword [0x140123c50]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x140123c80]
movdqa xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x140123b60]
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x140123b70]
movdqa xmmword [rbp - 0x40], xmm1
mov dword [rbp - 0x30], 0x773d7c78
mov dword [rbp - 0x2c], 0x1006665
lea rcx, [rbp - 0x70]
call fcn.140004940
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.140001670
nop
int3