Function at 0x14002de20
Capabilities:
Write file on windows

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xf8
mov rax, qword [0x14005c678]
xor rax, rsp
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x110]
call fcn.14002d090
mov ecx, eax
call fcn.1400026b0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jge 0x14002dea9
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x108]
mov r9d, dword [rsp + 0x3c]
lea r8, [0x14003c490]
mov edx, 0x195
mov rcx, rax
call fcn.140006ed0
mov eax, dword [rsp + 0x3c]
jmp 0x14002e2c3
xor eax, eax
test eax, eax
jne 0x14002de4a
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x110]
call fcn.14002e2e0
mov ecx, eax
call fcn.1400026b0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x14002df0b
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x108]
mov r9d, dword [rsp + 0x44]
lea r8, [0x14003c4c8]
mov edx, 0x196
mov rcx, rax
call fcn.140006ed0
mov eax, dword [rsp + 0x44]
jmp 0x14002e2c3
xor eax, eax
test eax, eax
jne 0x14002deaf
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x30], rax
mov edx, 0x18
lea rcx, [rsp + 0xc8]
call fcn.140008f70
lea rcx, [rsp + 0xc8]
call fcn.140002a00
nop
cmp qword [rsp + 0x30], 0x8000
jbe 0x14002dffc
mov edx, 0x8000
lea rcx, [rsp + 0xc8]
call fcn.140030780
lea rax, [rsp + 0x90]
mov rdi, rax
mov rsi, qword [rsp + 0x118]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xc8]
call fcn.14002c9f0
mov ecx, eax
call fcn.1400026b0
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jge 0x14002dfed
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x108]
mov r9d, dword [rsp + 0x4c]
lea r8, [0x14003c500]
mov edx, 0x19d
mov rcx, rax
call fcn.140006ed0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0xc8]
call fcn.140003420
mov eax, dword [rsp + 0x60]
jmp 0x14002e2c3
xor eax, eax
test eax, eax
jne 0x14002df5f
jmp 0x14002e0a6
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0xc8]
call fcn.140030780
lea rax, [rsp + 0xa0]
mov rdi, rax
mov rsi, qword [rsp + 0x118]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xc8]
call fcn.14002c9f0
mov ecx, eax
call fcn.1400026b0
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x14002e09c
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x108]
mov r9d, dword [rsp + 0x54]
lea r8, [0x14003c538]
mov edx, 0x1a2
mov rcx, rax
call fcn.140006ed0
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0xc8]
call fcn.140003420
mov eax, dword [rsp + 0x64]
jmp 0x14002e2c3
xor eax, eax
test eax, eax
jne 0x14002e00e
cmp qword [rsp + 0x30], 0
jbe 0x14002e23f
lea rcx, [rsp + 0xc8]
call fcn.140030c90
cmp qword [rsp + 0x30], rax
jae 0x14002e174
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0xc8]
call fcn.140030780
lea rax, [rsp + 0xb0]
mov rdi, rax
mov rsi, qword [rsp + 0x118]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xc8]
call fcn.14002c9f0
mov ecx, eax
call fcn.1400026b0
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
jge 0x14002e16a
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x108]
mov r9d, dword [rsp + 0x5c]
lea r8, [0x14003c570]
mov edx, 0x1aa
mov rcx, rax
call fcn.140006ed0
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0xc8]
call fcn.140003420
mov eax, dword [rsp + 0x68]
jmp 0x14002e2c3
xor eax, eax
test eax, eax
jne 0x14002e0dc
mov dword [rsp + 0xc0], 0
lea rcx, [rsp + 0xc8]
call fcn.140030c90
mov dword [rsp + 0x6c], eax
lea rcx, [rsp + 0xc8]
call fcn.14000fbb0
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xc0]
mov r8d, dword [rsp + 0x6c]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, eax
call fcn.1400026b0
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jne 0x14002e219
mov rax, qword [rsp + 0x108]
lea r8, [0x14003c5a8]
mov edx, 0x1b2
mov rcx, rax
call fcn.140006e70
mov dword [rsp + 0x74], eax
lea rcx, [rsp + 0xc8]
call fcn.140003420
mov eax, dword [rsp + 0x74]
jmp 0x14002e2c3
xor eax, eax
test eax, eax
jne 0x14002e17f
mov eax, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x14002e0a6
movzx eax, byte [rsp + 0x120]
test eax, eax
je 0x14002e2a4
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, eax
call fcn.1400026b0
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jne 0x14002e29e
mov rax, qword [rsp + 0x108]
lea r8, [0x14003c5e0]
mov edx, 0x1b9
mov rcx, rax
call fcn.140006e70
mov dword [rsp + 0x7c], eax
lea rcx, [rsp + 0xc8]
call fcn.140003420
mov eax, dword [rsp + 0x7c]
jmp 0x14002e2c3
xor eax, eax
test eax, eax
jne 0x14002e24b
mov dword [rsp + 0x80], 0
lea rcx, [rsp + 0xc8]
call fcn.140003420
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400317d0
add rsp, 0xf8
pop rdi
pop rsi
ret