Function at 0x1400433c0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140375828]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
xor esi, esi
mov dword [rbp - 0x41], esi
mov rcx, qword [rcx]
mov rax, qword [rbx + 8]
sub rax, rcx
sar rax, 3
cmp rax, 3
jne 0x140043738
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax + 0x40]
test al, al
je 0x140043738
mov rcx, qword [rbx]
mov rcx, qword [rcx + 8]
mov rax, qword [rcx]
call qword [rax + 0x40]
test al, al
je 0x140043738
mov rcx, qword [rbx]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x40]
test al, al
je 0x140043738
mov rax, qword [rbx]
mov rcx, qword [rax]
mov rax, qword [rcx]
lea rdx, [rbp - 0x59]
call qword [rax + 0x98]
nop
lea rdx, [rbp - 0x31]
mov rcx, rax
call fcn.140044570
nop
lea rdi, vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov qword [rbp - 0x59], rdi
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x1400434a1
cmp byte [rbp - 0x49], sil
je 0x140043499
call qword [sym.imp.libcef.dll_cef_string_utf16_clear]
lea edx, [rsi + 0x18]
mov rcx, qword [rbp - 0x51]
call fcn.1401dd1a8
mov qword [rbp - 0x51], rsi
mov byte [rbp - 0x49], 0
lea rcx, [rbp - 0x31]
call fcn.140045a30
mov rcx, rax
call fcn.140045af0
lea rcx, [rbp - 0x31]
cmp rcx, rax
je 0x1400434ce
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.140026920
cmp qword [rbp - 0x21], 0
jne 0x1400434df
mov ebx, 2
jmp 0x14004371a
mov rax, qword [rbx]
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
lea rdx, [rbp + 0xf]
call qword [rax + 0x98]
nop
lea rdx, [rbp - 0x11]
mov rcx, rax
call fcn.14000c090
nop
mov qword [rbp + 0xf], rdi
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x140043530
cmp byte [rbp + 0x1f], 0
je 0x140043528
call qword [sym.imp.libcef.dll_cef_string_utf16_clear]
mov edx, 0x18
mov rcx, qword [rbp + 0x17]
call fcn.1401dd1a8
mov qword [rbp + 0x17], rsi
mov byte [rbp + 0x1f], 0
mov rax, qword [rbx]
mov rcx, qword [rax + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp - 0x59]
call qword [rax + 0x98]
nop
lea rdx, [rbp + 0x2f]
mov rcx, rax
call fcn.140044570
nop
mov qword [rbp - 0x59], rdi
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x140043581
cmp byte [rbp - 0x49], 0
je 0x140043579
call qword [sym.imp.libcef.dll_cef_string_utf16_clear]
mov edx, 0x18
mov rcx, qword [rbp - 0x51]
call fcn.1401dd1a8
mov qword [rbp - 0x51], rsi
mov byte [rbp - 0x49], 0
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rcx, qword [rbp - 0x31]
mov rax, qword [rbp - 0x21]
lea rax, [rcx + rax*2]
lea rcx, [rbp - 0x31]
cmovae rcx, qword [rbp - 0x31]
mov rdx, rsi
mov r8, rax
sub r8, rcx
inc r8
shr r8, 1
cmp rcx, rax
cmova r8, rsi
test r8, r8
je 0x1400435d5
mov eax, 0x5c
cmp word [rcx], 0x2f
jne 0x1400435c9
mov word [rcx], ax
add rcx, 2
inc rdx
cmp rdx, r8
jne 0x1400435c0
lea rcx, [rbp + 0x2f]
call fcn.14001b650
test al, al
jne 0x1400435ec
mov ebx, 5
jmp 0x1400436c6
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rcx, qword [rbp - 0x31]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov ebx, 2
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
mov ebx, esi
cmp rax, 0xffffffffffffffff
jne 0x140043642
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
xor edx, edx
call fcn.14003f8a0
mov ebx, eax
jmp 0x1400436c6
lea rcx, [rbp + 0x2f]
call fcn.14001b5d0
cmp eax, 1
jne 0x140043683
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 0xf]
call fcn.14001b160
mov rdx, rax
lea rcx, [rbp - 0x11]
call fcn.140007b00
mov r8, qword [rbp + 0x27]
cmp r8, 0x10
jb 0x140043683
inc r8
mov rdx, qword [rbp + 0xf]
lea rcx, [rbp + 0xf]
call fcn.140003fe0
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae rdx, qword [rbp - 0x11]
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x41]
mov r8d, dword [rbp - 1]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400436bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
xor edx, edx
call fcn.14003f8a0
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov r8, qword [rbp + 0x47]
cmp r8, 8
jb 0x1400436e0
inc r8
mov rdx, qword [rbp + 0x2f]
lea rcx, [rbp + 0x2f]
call fcn.1400271e0
mov qword [rbp + 0x47], 7
mov qword [rbp + 0x3f], rsi
mov word [rbp + 0x2f], si
mov r8, qword [rbp + 7]
cmp r8, 0x10
jb 0x14004370a
inc r8
mov rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x11]
call fcn.140003fe0
mov qword [rbp + 7], 0xf
mov qword [rbp - 1], rsi
mov byte [rbp - 0x11], 0
mov r8, qword [rbp - 0x19]
cmp r8, 8
jb 0x140043734
inc r8
mov rdx, qword [rbp - 0x31]
lea rcx, [rbp - 0x31]
call fcn.1400271e0
mov eax, ebx
jmp 0x14004373d
mov eax, 2
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1401dd140
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret