Function at 0x1400232f0
Capabilities:
Delete file
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
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x1400af0c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, rcx
mov qword [rbp + 7], rcx
xor r13d, r13d
mov byte [0x1400b0472], r13b
lea rcx, str.C:GarfBIOS.bin
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov r14, qword [rbx + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r14
cmp rax, 0xc
jb 0x140023675
mov r12, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14002336b
mov r12, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
lea r15, [r14 + 0xc]
mov edi, reloc.WS2_32.dll_ntohs
lea rsi, [rbp - 0x49]
cmp r15, rdi
jbe 0x140023409
mov rdi, r15
or rdi, 0xf
cmp rdi, rcx
jbe 0x1400233c4
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140089a70
test rax, rax
je 0x1400233ec
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140023405
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400233f3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14002367b
jmp 0x1400233a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140023402
call fcn.140089a70
mov rsi, rax
jmp 0x140023405
mov rsi, r13
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], 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__d__C:GarfBIOS.bin___NUL_2_NUL
lea rcx, [rbp - 0x49]
call fcn.140003d00
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1f], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x31]
cmp rdx, 0xf
jbe 0x1400234bb
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400234b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400234b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140089ab4
movdqa xmm0, xmmword [0x1400a17e0]
movdqu xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x49], 0
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0xf
cmova rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.1400890b4
lea rcx, str.C:GarfBIOS.bin
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x21], reloc.WS2_32.dll_recv
lea r8, [rbp - 0x29]
mov edx, eax
lea rcx, [rbp - 0x19]
call fcn.140002650
nop
lea rcx, [rbp - 0x19]
call fcn.140003120
movzx edi, al
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x140023557
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140023552
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140023552
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140089ab4
test dil, dil
jne 0x140023629
mov byte [0x1400b0472], 1
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x1400235a2
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002359d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140023667
call fcn.140089ab4
movdqa xmm0, xmmword [0x1400a17e0]
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0xf], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400235ed
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400235e8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002366e
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 + 0x2f]
xor rcx, rsp
call fcn.140089a50
lea r11, [rsp + 0xa0]
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
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x1400235a2
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002359d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002359d
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