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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1400da060]
xor rax, rsp
mov qword [rbp + 0x88], rax
call fcn.140054d10
cmp qword [0x14010c900], 0xa
jne 0x1400555b1
cmp qword [0x14010c920], 0x40
jne 0x1400555b1
mov dword [rsp + 0x40], 0x1f070048
mov dword [rsp + 0x44], 0x111d0117
mov word [rsp + 0x48], Ordinal_79
mov byte [rsp + 0x4a], 1
mov dword [rsp + 0x38], 0x1c110148
mov dword [rsp + 0x3c], 0x1004e17
mov dword [rsp + 0x30], 0x57415504
mov word [rsp + 0x34], reloc.WLDAP32.dll_Ordinal_27
mov byte [rsp + 0x36], 1
mov dword [rsp + 0x50], 0x1400161a
mov dword [rsp + 0x54], 0x1c1a1a4f
mov word [rsp + 0x58], 2
mov byte [rsp + 0x5a], 1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x80]
call fcn.140055670
nop
lea rdx, [0x14010c930]
cmp qword [0x14010c948], 0x10
cmovae rdx, qword [0x14010c930]
mov r8, qword [0x14010c940]
mov rcx, rax
call fcn.140045c90
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x38], xmm1
xor r12d, r12d
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.1400557e0
nop
lea rdx, [0x14010c8d0]
cmp qword [0x14010c8e8], 0x10
cmovae rdx, qword [0x14010c8d0]
mov r8, qword [0x14010c8e0]
mov rcx, rax
call fcn.140045c90
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.1400558e0
nop
lea rdx, [0x14010c8f0]
cmp qword [0x14010c908], 0x10
cmovae rdx, qword [0x14010c8f0]
mov r8, qword [0x14010c900]
mov rcx, rax
call fcn.140045c90
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x78], xmm1
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 0x140055170
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005516b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005516b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af708
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 0x1400551c1
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400551bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400551bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af708
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x1400551ff
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400551fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400551fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af708
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 0x14005524e
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055248
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055248
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af708
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x14005528c
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055287
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055287
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af708
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]
mov rdi, qword [rbp + 0x68]
mov r15, qword [rbp + 0x80]
cmp r15, 0x10
cmovae rsi, rdi
mov r14, qword [rbp + 0x78]
cmp r14, 0x10
jae 0x1400552db
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x60], xmm0
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x140055355
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140055332
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140055621
mov rcx, rax
call fcn.1400afa1c
mov rcx, rax
test rax, rax
je 0x14005532b
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140055341
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x14005533e
call fcn.1400afa1c
jmp 0x140055341
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.140055a10
nop
call fcn.140054d10
mov qword [rbp - 0x48], r12
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x18]
call fcn.140056bf0
nop
lea rdx, str.success
lea rcx, [rbp + 0x18]
call fcn.1400568e0
lea rcx, [rax + 8]
cmp byte [rax], 4
cmovne rcx, r12
cmp byte [rcx], 0
lea rcx, [rbp + 0x18]
je 0x1400554ac
lea rdx, str.sessionid
call fcn.1400568e0
cmp byte [rax], 3
jne 0x1400553c8
mov rdx, qword [rax + 8]
jmp 0x1400553cb
mov rdx, r12
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400553d9
mov rdx, qword [rdx]
lea rcx, [0x14010c9b0]
call fcn.140045b30
nop
movzx edx, byte [rbp + 0x18]
lea rcx, [rbp + 0x20]
call fcn.140055fc0
nop
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x140055432
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005542d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005542d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400af708
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x48], 0
cmp r15, 0x10
jb 0x14005547c
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140055474
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055474
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400af708
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.1400af130
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rdx, str.message
call fcn.1400568e0
mov rdi, rax
mov byte [rsp + 0x40], 3
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400afa1c
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.140045b30
mov qword [rsp + 0x48], rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140057740
movzx ebx, al
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140055fc0
nop
lea rcx, [rbp + 0x18]
test bl, bl
je 0x14005556a
lea rdx, str.download
call fcn.1400568e0
lea rdx, [rbp + 0x28]
mov rcx, rax
call fcn.1400569c0
lea rcx, [rbp + 0x28]
call fcn.140045790
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.1400568e0
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.140056d30
mov rcx, rax
call fcn.140045790
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.140040250
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
movdqa xmm0, xmmword [0x1400c9e10]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x1400c9e90]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm0, xmmword [0x1400c9e00]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x1400c9e40]
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 [0x1400b3408]
call fcn.140055630
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.1400400d0
int3