Function at 0x1401c0098
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov qword [rsp + 0x50], 0
mov rcx, qword [rsp + 0xd8]
call fcn.1401b3068
mov qword [rsp + 0x98], rax
xor eax, eax
test eax, eax
jne 0x1401c00d3
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 3
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0xffffffffffffffff
jne 0x1401c0129
call fcn.1401c0648
mov dword [rsp + 0x48], eax
jmp 0x1401c0144
xor eax, eax
test eax, eax
jne 0x1401c0129
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0
cmp dword [rsp + 0x48], 0
je 0x1401c0163
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x50]
call fcn.1401c04f4
mov al, byte [rsp + 0x40]
jmp 0x1401c0408
mov rax, qword [rsp + 0xd0]
mov rdx, qword [rax + 0x80]
lea rcx, [rsp + 0x50]
call fcn.1401c0d8c
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
je 0x1401c019f
mov byte [rsp + 0x41], 0
lea rcx, [rsp + 0x50]
call fcn.1401c04f4
mov al, byte [rsp + 0x41]
jmp 0x1401c0408
xor eax, eax
test eax, eax
jne 0x1401c019f
mov qword [rsp + 0x88], 0
xor r9d, r9d
lea r8, [rsp + 0x8c]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0xffffffff
jne 0x1401c01f3
call fcn.1401c0648
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jge 0x1401c01f3
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x48], eax
jmp 0x1401c01fb
mov dword [rsp + 0x48], 0
cmp dword [rsp + 0x48], 0
je 0x1401c021a
mov byte [rsp + 0x42], 0
lea rcx, [rsp + 0x50]
call fcn.1401c04f4
mov al, byte [rsp + 0x42]
jmp 0x1401c0408
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
mov rax, qword [rsp + 0xd0]
cmp qword [rax + 0x80], 0
ja 0x1401c0254
mov byte [rsp + 0x43], 1
lea rcx, [rsp + 0x50]
call fcn.1401c04f4
mov al, byte [rsp + 0x43]
jmp 0x1401c0408
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x70]
cmp qword [rax + 0x78], rcx
ja 0x1401c02ae
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x70]
mov rax, qword [rax + 0x68]
sub rax, rcx
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x60]
mov rax, qword [rax + 0x78]
sub rax, rcx
mov dword [rsp + 0x5c], eax
jmp 0x1401c02c8
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0x80]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], 0
cmp dword [rsp + 0x58], 0
jbe 0x1401c033d
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x70]
mov qword [rsp + 0xa0], rax
xor eax, eax
test eax, eax
jne 0x1401c02ec
cmp qword [rsp + 0x70], 0
jne 0x1401c0307
lea rax, [rsp + 0x90]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x70]
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jne 0x1401c033d
call fcn.1401c0648
cmp dword [rsp + 0x5c], 0
jbe 0x1401c03b2
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0xa8], rax
xor eax, eax
test eax, eax
jne 0x1401c0361
cmp qword [rsp + 0x78], 0
jne 0x1401c037c
lea rax, [rsp + 0x94]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x78]
mov r8d, dword [rsp + 0x5c]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
jne 0x1401c03b2
call fcn.1401c0648
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x60]
mov qword [rax + 0x70], rcx
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd0]
mov rcx, qword [rcx + 0x60]
mov qword [rax + 0x78], rcx
mov rax, qword [rsp + 0xd0]
mov qword [rax + 0x80], 0
mov byte [rsp + 0x44], 1
lea rcx, [rsp + 0x50]
call fcn.1401c04f4
mov al, byte [rsp + 0x44]
add rsp, 0xc8
ret