Function at 0x140023690
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 [0x1400af0c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov qword [rbp - 0x38], rcx
xor r13d, r13d
mov byte [0x1400b0472], r13b
mov r14, qword [rcx + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r14
cmp rax, 0xc
jb 0x140023976
mov r12, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400236fc
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 0x140023797
mov rdi, r15
or rdi, 0xf
cmp rdi, rcx
jbe 0x140023759
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140089a70
test rax, rax
je 0x14002383d
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140023793
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140023781
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14002397c
jmp 0x14002373a
test rcx, rcx
je 0x140023790
call fcn.140089a70
mov rsi, rax
jmp 0x140023793
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 [0x1400a14c0]
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.140003d00
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 0x140023849
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023844
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140023844
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140089ab4
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 0x14002392e
mov byte [0x1400b0472], 1
cmp rdx, 0xf
jbe 0x1400238a7
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400238a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023968
call fcn.140089ab4
movdqa xmm0, xmmword [0x1400a17e0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400238f2
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400238ed
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002396f
mov rcx, r8
call fcn.140089ab4
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.140089a50
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 0x1400238a7
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400238a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400238a2
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.140001f40
int3
call fcn.140001ea0
int3