Function at 0x14002a140
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 [0x140212c80]
xor rax, rsp
mov qword [rbp + 0x1c8], rax
mov rsi, qword [rbp + 0x1f0]
xor r15d, r15d
movdqa xmm0, xmmword [0x1401e8260]
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x60], 0x4000
mov dword [rsp + 0x64], 0x3040204
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.140059ed0
mov rbx, rax
lea rdx, [rsi + 8]
cmp qword [rsi + 0x20], 7
jbe 0x14002a1c1
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x18]
lea rcx, [rbp + 0x60]
call fcn.14000c530
nop
lea r8, [rbp + 0x60]
cmp qword [rbp + 0x78], 0xf
cmova r8, qword [rbp + 0x60]
lea rdx, [rbp + 0x80]
mov rcx, rbx
call fcn.140059fe0
nop
lea rcx, [rbp + 0x60]
call fcn.140023540
nop
lea rcx, [rbp + 0x28]
call fcn.14002a5e0
lea rcx, [rbp - 0x18]
call fcn.140023540
lea rcx, [rbp - 0x28]
call fcn.14002a5e0
mov rdx, qword [rbp - 0x30]
test rdx, rdx
je 0x14002a220
call fcn.14002a680
cmp byte [rbp + 0xe8], 0
je 0x14002a3c2
mov rbx, qword [rbp + 0xd8]
mov rdi, qword [rbp + 0xd0]
sub rbx, rdi
call fcn.14005eef0
mov r8d, dword [rax + 0x110]
mov rdx, rbx
mov rcx, rdi
call fcn.14005e2a0
test al, al
je 0x14002a43c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call fcn.14005eef0
mov r8d, 1
mov edx, ebx
mov ecx, dword [rax]
call fcn.140032de0
nop
cmp byte [rbp + 0xe8], 0
je 0x14002a495
lea rdx, [rsi + 0x28]
cmp qword [rdx + 0x18], 7
jbe 0x14002a295
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 0x14002a2b0
lea rcx, [rsp + 0x50]
call fcn.1400258d0
nop
mov rdi, qword [rbp + 0xd8]
mov rsi, qword [rbp + 0xd0]
sub rdi, rsi
mov eax, 0xffffffff
cmp rdi, rax
ja 0x14002a49b
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 [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x58]
call fcn.14008b910
nop
mov rcx, rax
call fcn.14008ba90
nop
lea rcx, [rbp - 0x58]
call fcn.140025e80
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 0x14002a4bc
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 0x14002a412
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x50]
call fcn.140025e80
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call fcn.14005eef0
xor r8d, r8d
mov edx, ebx
mov ecx, dword [rax]
call fcn.140032de0
nop
lea rcx, [rbp + 0x198]
call fcn.140023540
lea rcx, [rbp + 0x170]
call fcn.140131d38
lea rcx, [rbp + 0x80]
call fcn.14002a980
mov rcx, qword [rbp + 0x1c8]
xor rcx, rsp
call fcn.140133600
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, [rbp - 0x80]
call fcn.1400967b0
lea rdx, [0x14020e468]
lea rcx, [rbp - 0x80]
call fcn.140135f84
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsi + 8]
call fcn.140025b20
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x58]
call fcn.14008b840
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, [rbp - 0x80]
call fcn.14002a750
lea rdx, [0x14020e468]
lea rcx, [rbp - 0x80]
call fcn.140135f84
nop
call fcn.14002a900
nop
lea rdx, str.set_file_content_content_is_too_large
lea rcx, [rbp - 0x80]
call fcn.1400966e0
lea rdx, [0x14020e468]
lea rcx, [rbp - 0x80]
call fcn.140135f84
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.set_file_content_
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], reloc.WS2_32.dll_setsockopt
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.140029f20
lea rdx, [0x14020e468]
lea rcx, [rbp - 0x80]
call fcn.140135f84
int3