Function at 0x1400cbc10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x6b0
mov rax, qword [0x1401b5148]
xor rax, rsp
mov qword [rsp + ATL::CSimpleStringT<char,1>::operator+=], rax
mov ebp, dword [rsp + 0x6f0]
mov esi, r9d
mov r14, r8
mov edi, edx
mov rbx, rcx
lea eax, [rbp - 1]
cmp eax, 2
ja 0x1400cbfd3
mov eax, dword [rcx + 8]
cmp ebp, 3
jne 0x1400cbd0c
cmp edx, eax
je 0x1400cbcb6
cmp eax, 0xffffffff
je 0x1400cbc72
mov rcx, qword [rcx]
call fcn.1400cece0
mov rcx, qword [rbx]
mov dword [rbx + 8], 0xffffffff
cmp edi, dword [rcx + 8]
jge 0x1400cbfd3
cmp dword [rcx + 0x14], edi
jle 0x1400cbc95
call fcn.1400cef60
mov rcx, qword [rbx]
cmp dword [rcx + 0x14], edi
jge 0x1400cbca7
mov rcx, qword [rbx]
call fcn.1400cefc0
mov rcx, qword [rbx]
cmp dword [rcx + 0x14], edi
jl 0x1400cbc97
mov rdx, qword [rbx + 0x240]
call fcn.1400cf170
mov dword [rbx + 8], edi
mov rcx, qword [rbx]
lea r9, [rsp + 0x40]
mov r8d, esi
mov rdx, r14
call fcn.1400cf530
mov edi, eax
test eax, eax
jg 0x1400cbcde
mov rcx, qword [rbx]
call fcn.1400cece0
mov dword [rbx + 8], 0xffffffff
cmp byte [rsp + 0x40], 0
jne 0x1400cbdb1
test edi, edi
jle 0x1400cbcf7
mov eax, 0x600
jmp 0x1400cbfd8
cmp edi, 0xffffff96
mov eax, 0x5000000
mov ecx, 0x1000
cmove eax, ecx
jmp 0x1400cbfd8
cmp eax, 0xffffffff
je 0x1400cbd19
mov rcx, qword [rcx]
call fcn.1400cece0
mov rax, qword [rbx]
mov dword [rbx + 8], 0xffffffff
cmp edi, dword [rax + 8]
jge 0x1400cbfd3
cmp dword [rax + 0x14], edi
jle 0x1400cbd3f
mov rcx, rax
call fcn.1400cef60
mov rax, qword [rbx]
cmp dword [rax + 0x14], edi
jge 0x1400cbd51
mov rcx, qword [rbx]
call fcn.1400cefc0
mov rax, qword [rbx]
cmp dword [rax + 0x14], edi
jl 0x1400cbd41
lea r8, [rsp + 0x50]
mov edx, edi
mov rcx, rbx
call fcn.1400cb200
test byte [rsp + 0x25c], 0x10
je 0x1400cbdb8
cmp ebp, 1
je 0x1400cbdb1
movzx eax, word [r14]
cmp ax, 0x2f
je 0x1400cbda5
cmp ax, 0x5c
je 0x1400cbda5
test ax, ax
je 0x1400cbd8c
cmp word [r14 + 2], 0x3a
je 0x1400cbda5
lea rsi, [rbx + 0x250]
mov rdx, r14
mov rcx, rsi
call fcn.1400cad00
xor eax, eax
jmp 0x1400cbfd8
xor esi, esi
mov rdx, r14
mov ecx, esi
call fcn.1400cad00
xor eax, eax
jmp 0x1400cbfd8
xor esi, esi
cmp ebp, 1
je 0x1400cbef5
movzx eax, word [r14]
mov r9, r14
mov rcx, r14
test ax, ax
je 0x1400cbdef
cmp ax, 0x2f
je 0x1400cbdde
cmp ax, 0x5c
jne 0x1400cbde2
lea r9, [rcx + 2]
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x1400cbdd2
lea rdx, [rsp + 0x280]
mov rcx, r14
sub rdx, r14
nop dword [rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400cbe00
cmp r9, r14
jne 0x1400cbe1f
mov word [rsp + 0x280], si
jmp 0x1400cbe63
mov rax, r9
sub rax, r14
sar rax, 1
add rax, rax
cmp rax, 0x208
jae 0x1400cc000
mov word [rsp + rax + 0x280], si
movzx eax, word [rsp + 0x280]
cmp ax, 0x2f
je 0x1400cbe91
cmp ax, 0x5c
je 0x1400cbe91
test ax, ax
je 0x1400cbe63
cmp word [rsp + 0x282], 0x3a
je 0x1400cbe91
mov qword [rsp + 0x20], r9
lea rdi, [rbx + 0x250]
mov r8, rdi
lea r9, [rsp + 0x280]
lea rdx, str._s_s_s
lea rcx, [rsp + 0x490]
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x1400cbeb1
lea r8, [rsp + 0x280]
lea rdx, str._s_s
lea rcx, [rsp + 0x490]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rdi, rsi
lea rdx, [rsp + 0x280]
mov rcx, rdi
call fcn.1400cad00
mov eax, dword [rsp + 0x25c]
lea rcx, [rsp + 0x490]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp r14, 0xffffffffffffffff
jne 0x1400cbf05
mov eax, 0x200
jmp 0x1400cbfd8
mov rdx, qword [rbx + 0x240]
mov rcx, qword [rbx]
call fcn.1400cf170
cmp qword [rbx + 0x248], rsi
jne 0x1400cbf30
mov ecx, 0x4000
call sub.mfc140u.dll_operator
mov qword [rbx + 0x248], rax
nop
mov rdx, qword [rbx + 0x248]
lea r9, [rsp + 0x40]
mov rcx, qword [rbx]
mov r8d, 0x4000
call fcn.1400cf530
mov edi, eax
cmp eax, 0xffffff96
je 0x1400cbfb4
test eax, eax
js 0x1400cbf83
jle 0x1400cbf78
mov rdx, qword [rbx + 0x248]
lea r9, [rsp + 0x44]
mov r8d, eax
mov qword [rsp + 0x20], rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400cbf8a
cmp byte [rsp + 0x40], sil
jne 0x1400cbf91
test edi, edi
jne 0x1400cbf30
mov esi, 0x5000000
jmp 0x1400cbfb9
mov esi, 0x400
jmp 0x1400cbfb9
lea r9, [rsp + 0x270]
mov rcx, r14
lea r8, [rsp + 0x260]
lea rdx, [rsp + 0x268]
call qword [sym.imp.KERNEL32.dll_SetFileTime]
jmp 0x1400cbfb9
mov esi, 0x1000
cmp ebp, 1
je 0x1400cbfc7
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx]
call fcn.1400cece0
mov eax, esi
jmp 0x1400cbfd8
mov eax, 0x10000
mov rcx, qword [rsp + 0x6a0]
xor rcx, rsp
call fcn.1400f76d0
lea r11, [rsp + 0x6b0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.1400f7df0
int3