Function at 0x1400234b0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor ebp, ebp
mov rbx, 0xffffffffffffffff
mov qword [rax - 0x48], rbp
mov r15d, r9d
mov qword [rax - 0x40], rbp
mov r14, r8
mov dword [rax + 8], ebp
mov rdi, rdx
mov rsi, rcx
mov r13, rbx
test rcx, rcx
jne 0x14002350f
mov r8d, 0x171
lea rdx, str.D:_a_rufus_rufus_src_net.c
lea rcx, str.url___NULL
call fcn.1400fc264
mov rcx, rbx
inc rcx
cmp byte [rsi + rcx], bpl
jne 0x140023512
add rcx, 5
call fcn.1400e9094
mov r12, rax
test rax, rax
jne 0x14002353d
lea rcx, str.Could_not_allocate_signature_URL
call fcn.14004f910
jmp 0x1400237f1
mov rdx, r12
mov rcx, rsi
sub rdx, rsi
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140023550
lea rcx, [r12 - 1]
cmp byte [rcx + 1], bpl
lea rcx, [rcx + 1]
jne 0x140023563
mov eax, dword [str..sig]
lea r9, [rsp + 0x40]
mov dword [rcx], eax
xor r8d, r8d
movzx eax, byte [0x14015e9d8]
xor edx, edx
mov byte [rcx + 4], al
mov rcx, rsi
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r14
call fcn.1400226f0
mov r15, rax
test eax, eax
je 0x1400237e9
mov dword [rsp + 0x28], ebp
lea r9, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x20], rbp
xor edx, edx
mov rcx, r12
call fcn.1400226f0
cmp eax, 0x100
jne 0x140023787
mov r8, qword [rsp + 0x48]
mov r9d, eax
mov rcx, qword [rsp + 0x40]
mov edx, r15d
call fcn.14002a600
test eax, eax
je 0x140023787
lea rcx, str.Download_signature_is_valid_
call fcn.14004f910
mov rcx, rdi
mov dword [0x1401e8a74], 0xce
call fcn.1400215a0
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
mov edx, 0xc0000000
mov rcx, rax
mov dword [rsp + 0x20], 2
mov rsi, rax
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r13, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
test rsi, rsi
je 0x14002364c
mov rcx, rsi
call fcn.1400e9080
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp r13, rbx
jne 0x1400236a7
test rdi, rdi
je 0x14002368b
nop
inc rbx
cmp byte [rdi + rbx], bpl
jne 0x140023660
test rbx, rbx
je 0x140023687
nop
movzx eax, byte [rbx + rdi]
cmp al, 0x2f
je 0x140023684
cmp al, 0x5c
je 0x140023684
sub rbx, 1
jne 0x140023670
jmp 0x140023687
inc rbx
lea rbp, [rbx + rdi]
call fcn.140050120
mov r8, rax
lea rcx, str.Unable_to_create_file__s:__s
mov rdx, rbp
call fcn.14004f910
jmp 0x1400237e9
mov rdx, qword [rsp + 0x40]
lea r9, [rsp + 0x90]
mov r8d, r15d
mov qword [rsp + 0x20], rbp
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14002371e
test rdi, rdi
jne 0x1400236d3
mov rbx, rbp
jmp 0x1400236fb
inc rbx
cmp byte [rdi + rbx], bpl
jne 0x1400236d3
test rbx, rbx
je 0x1400236f8
movzx eax, byte [rbx + rdi]
cmp al, 0x2f
je 0x1400236f5
cmp al, 0x5c
je 0x1400236f5
sub rbx, 1
jne 0x1400236e1
jmp 0x1400236f8
inc rbx
add rbx, rdi
call fcn.140050120
mov r8, rax
lea rcx, str.Error_writing_file__s:__s
mov rdx, rbx
call fcn.14004f910
mov dword [rsp + 0x90], ebp
jmp 0x1400237e9
cmp dword [rsp + 0x90], r15d
je 0x14002377b
test rdi, rdi
jne 0x140023732
mov rdx, rbp
jmp 0x14002375b
inc rbx
cmp byte [rdi + rbx], bpl
jne 0x140023732
test rbx, rbx
je 0x140023757
movzx eax, byte [rbx + rdi]
cmp al, 0x2f
je 0x140023754
cmp al, 0x5c
je 0x140023754
sub rbx, 1
jne 0x140023740
jmp 0x140023757
inc rbx
lea rdx, [rbx + rdi]
mov r8d, dword [rsp + 0x90]
lea rcx, str.Error_writing_file__s:_Only__d__d_bytes_written
mov r9d, r15d
call fcn.14004f910
mov dword [rsp + 0x90], ebp
jmp 0x1400237e9
mov dword [0x1401e8a74], 0xc8
jmp 0x1400237e9
lea rcx, str.FATAL:_Download_signature_is_invalid_
call fcn.14004f910
mov edx, 0x3f2
mov dword [0x1401e8a74], 0x193
mov rcx, r14
mov dword [0x14019f0a0], 0xe003120d
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
mov edx, 0x410
mov rcx, rax
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1401e3f90]
test rcx, rcx
je 0x1400237e9
mov rax, qword [rcx]
mov r8d, 4
mov rdx, qword [0x1401e8a68]
call qword [rax + 0x50]
mov r15d, dword [rsp + 0xa8]
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x140023817
mov r8d, dword [rsp + 0x90]
xor r9d, r9d
mov edx, 0x8003
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
test r15d, r15d
je 0x1400238ee
cmp dword [0x1401e8a74], 0xc8
je 0x1400238ee
xor edx, edx
mov r9d, 0xcaa
xor r8d, r8d
lea ecx, [rdx + 1]
call fcn.140020c90
mov ecx, dword [0x1401e0f40]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [0x14019f0a0]
test ecx, ecx
jns 0x140023860
call fcn.140050980
jmp 0x140023865
call fcn.140050120
cmp dword [0x14019f510], 0
mov r14, rax
movzx esi, word [0x1401941e8]
mov eax, 0x180010
mov ebp, 0x10
mov ecx, 0xbe4
cmovne ebp, eax
call fcn.1400207e0
mov rdi, qword [0x1401e8a68]
mov rcx, r14
mov rbx, rax
call fcn.1400215a0
mov rcx, rbx
mov r14, rax
call fcn.1400215a0
mov r9d, ebp
mov word [rsp + 0x20], si
mov r8, rax
mov rdx, r14
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.USER32.dll_MessageBoxExW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test r14, r14
je 0x1400238d9
mov rcx, r14
call fcn.1400e9080
test rbx, rbx
je 0x1400238e6
mov rcx, rbx
call fcn.1400e9080
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rax, [r13 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140023901
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call fcn.1400e9080
mov rcx, qword [rsp + 0x40]
call fcn.1400e9080
mov rcx, qword [rsp + 0x48]
call fcn.1400e9080
mov eax, dword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret