Function at 0x14002a250
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140241cc0]
xor rax, rsp
mov qword [rbp + 0x1c8], rax
mov rsi, qword [rbp + 0x1f0]
xor r15d, r15d
movdqa xmm0, xmmword [0x140213390]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x4000
mov dword [rsp + 0x64], 0x3040204
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.14005e950
mov rbx, rax
lea rdx, [rsi + 8]
cmp qword [rsi + 0x20], 7
jbe 0x14002a2d1
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x18]
lea rcx, [rbp + 0x60]
call fcn.14000c610
nop
lea r8, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova r8, qword [rbp + 0x60]
lea rdx, [rbp + 0x80]
mov rcx, rbx
call fcn.14005ea60
nop
lea rcx, [rbp + 0x60]
call fcn.140021a40
nop
lea rcx, [rbp + 8]
call fcn.14002a700
lea rcx, [rbp - 0x38]
call fcn.140021a40
lea rcx, [rbp - 0x48]
call fcn.14002a700
mov rdx, qword [rbp - 0x50]
test rdx, rdx
je 0x14002a330
call fcn.14002a7a0
cmp byte [rbp + 0xe8], 0
je 0x14002a4d7
mov rbx, qword [rbp + 0xd8]
mov rdi, qword [rbp + 0xd0]
sub rbx, rdi
call fcn.140063780
mov r8d, dword [rax + 0x110]
mov rdx, rbx
mov rcx, rdi
call fcn.140062b40
test al, al
je 0x14002a553
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call fcn.140063780
mov r8d, 1
mov edx, ebx
mov ecx, dword [rax + 0x20]
call fcn.140033340
nop
cmp byte [rbp + 0xe8], 0
je 0x14002a5ac
lea rdx, [rsi + 0x28]
cmp qword [rdx + 0x18], 7
jbe 0x14002a3a6
mov rdx, qword [rdx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x14002a3c0
lea rcx, [rsp + 0x50]
call fcn.140025740
nop
mov rdi, qword [rbp + 0xd8]
mov rsi, qword [rbp + 0xd0]
sub rdi, rsi
mov eax, 0xffffffff
lea rcx, [rsp + 0x70]
cmp rdi, rax
ja 0x14002a5b2
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rax, qword [rsp + 0x50]
mov qword [rbp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x68], rax
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp - 0x70], xmm0
lea rdx, [rbp - 0x70]
call fcn.14009c050
nop
mov rcx, rax
call fcn.14009c1d0
nop
lea rcx, [rsp + 0x70]
call fcn.140025f00
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 5]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rbp + 0x60], rax
cmp rax, 0xffffffffffffffff
je 0x14002a5de
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x50]
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14002a527
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x50]
call fcn.140025f00
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call fcn.140063780
xor r8d, r8d
mov edx, ebx
mov ecx, dword [rax + 0x20]
call fcn.140033340
nop
lea rcx, [rbp + 0x198]
call fcn.140021a40
lea rcx, [rbp + 0x170]
call fcn.140142b18
lea rcx, [rbp + 0x80]
call fcn.14002aa90
mov rcx, qword [rbp + 0x1c8]
xor rcx, rsp
call fcn.140144310
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea r8, str.set_file_content
lea rcx, [rsp + 0x70]
call fcn.140029f80
lea rdx, [0x14023da00]
lea rcx, [rsp + 0x70]
call fcn.14015a550
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsi + 8]
call fcn.140025b50
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x70], xmm0
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x30]
call fcn.14009bf80
nop
lea rcx, str.Unable_to_verify_DSA_signature_of_file__
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], 0x2c
mov r9, rax
lea r8, [rbp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14002a870
lea rdx, [0x14023da00]
lea rcx, [rsp + 0x70]
call fcn.14015a550
nop
call fcn.14002aa10
nop
lea rdx, str.set_file_content_content_is_too_large
call fcn.1400219a0
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.1400535d0
lea rdx, [0x14023da00]
lea rcx, [rbp - 0x70]
call fcn.14015a550
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.set_file_content_
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], reloc.WS2_32.dll_setsockopt
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.14002a040
lea rdx, [0x14023da00]
lea rcx, [rsp + 0x70]
call fcn.14015a550
int3