Function at 0x140023150
Capabilities:
Execute command

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
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400ae0c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov qword [rbp - 0x38], rcx
xor r13d, r13d
mov byte [0x1400af472], r13b
mov r14, qword [rcx + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r14
cmp rax, 0xc
jb 0x140023436
mov r12, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400231bc
mov r12, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea r15, [r14 + 0xc]
mov edi, reloc.WS2_32.dll_ntohs
lea rsi, [rbp - 0x60]
cmp r15, rdi
jbe 0x140023257
mov rdi, r15
or rdi, 0xf
cmp rdi, rcx
jbe 0x140023219
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140089530
test rax, rax
je 0x1400232fd
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140023253
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140023241
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14002343c
jmp 0x1400231fa
test rcx, rcx
je 0x140023250
call fcn.140089530
mov rsi, rax
jmp 0x140023253
mov rsi, r13
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], rdi
movsd xmm0, qword [str.C:GarfFPT_]
movsd qword [rsi], xmm0
mov eax, dword [0x1400a04c0]
mov dword [rsi + 8], eax
lea rcx, [rsi + 0xc]
mov r8, r14
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r15], 0
mov r8d, reloc.WLDAP32.dll_Ordinal_50
lea rdx, str.FPTW64.exe__bios__f__C:GarfBIOS.bin___NUL_2_NUL
lea rcx, [rbp - 0x60]
call fcn.140003cd0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140023309
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023304
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140023304
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140089574
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp - 0x18]
test eax, eax
je 0x1400233ee
mov byte [0x1400af472], 1
cmp rdx, 0xf
jbe 0x140023367
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023362
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023428
call fcn.140089574
movdqa xmm0, xmmword [0x1400a07e0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400233b2
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400233ad
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002342f
mov rcx, r8
call fcn.140089574
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], r13
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140089510
lea r11, [rsp + 0x80]
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
cmp rdx, 0xf
jbe 0x140023367
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023362
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140023362
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001f10
int3
call fcn.140001e70
int3