Function at 0x140002ce0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x120
mov qword [rsp + 0xf8], 0xfffffffffffffffe
mov rax, qword [0x140055b28]
xor rax, rsp
mov qword [rsp + 0x110], rax
call fcn.14000d030
mov dword [rsp + 0x98], eax
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x98]
call fcn.14000ced0
movzx eax, al
test eax, eax
je 0x140002d4e
lea rcx, [rsp + 0x138]
call fcn.14000c0f0
jmp 0x1400030e3
mov rcx, qword [rsp + 0x130]
call fcn.14000c510
test rax, rax
je 0x140002db2
mov rcx, qword [rsp + 0x130]
call fcn.14000c510
mov rbx, rax
mov rcx, qword [rsp + 0x130]
call fcn.140004750
cmp rbx, rax
jae 0x140002db2
lea rcx, [rsp + 0x138]
call fcn.14000c3a0
movzx ebx, al
mov rcx, qword [rsp + 0x130]
call fcn.14000cf50
mov byte [rax], bl
mov eax, dword [rsp + 0x138]
jmp 0x1400030e3
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x88], 0
jne 0x140002dd3
call fcn.14000d030
jmp 0x1400030e3
mov rax, qword [rsp + 0x130]
cmp qword [rax + 0x70], 0
jne 0x140002e3a
lea rcx, [rsp + 0x138]
call fcn.14000c3a0
mov rdx, qword [rsp + 0x130]
mov rdx, qword [rdx + 0x88]
movzx ecx, al
call fcn.140002000
movzx eax, al
test eax, eax
je 0x140002e1d
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0x100], eax
jmp 0x140002e29
call fcn.14000d030
mov dword [rsp + 0x100], eax
mov eax, dword [rsp + 0x100]
jmp 0x1400030e3
mov dword [rsp + 0x40], 8
lea rcx, [rsp + 0x138]
call fcn.14000c3a0
mov byte [rsp + 0x50], al
xor r8d, r8d
mov edx, 8
lea rcx, [rsp + 0x68]
call fcn.140004080
nop
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x68]
call fcn.1400042e0
mov rcx, rax
call fcn.1400051b0
mov rbx, rax
lea rcx, [rsp + 0x68]
call fcn.14000e4b0
add rbx, rax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x68]
call fcn.1400042e0
mov rcx, rax
call fcn.1400051b0
mov r11, rax
lea r9, [rsp + 0x51]
mov rdx, qword [rsp + 0x130]
add rdx, 0x7c
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r11
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
mov rcx, qword [rsp + 0x130]
mov rcx, qword [rcx + 0x70]
call fcn.140005e50
mov dword [rsp + 0x104], eax
cmp dword [rsp + 0x104], 0
jl 0x1400030b4
cmp dword [rsp + 0x104], 1
jle 0x140002f24
cmp dword [rsp + 0x104], 3
je 0x140003057
jmp 0x1400030b4
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x68]
call fcn.1400042e0
mov rcx, rax
call fcn.1400051b0
mov r11, rax
mov rax, qword [rsp + 0x58]
sub rax, r11
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jbe 0x140002fc6
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x68]
call fcn.1400042e0
mov rcx, rax
call fcn.1400051b0
mov r9, qword [rsp + 0x130]
mov r9, qword [r9 + 0x88]
mov r8, qword [rsp + 0x90]
mov edx, 1
mov rcx, rax
call fcn.140027b00
cmp qword [rsp + 0x90], rax
je 0x140002fc6
call fcn.14000d030
mov dword [rsp + 0xe0], eax
lea rcx, [rsp + 0x68]
call fcn.14000d770
mov eax, dword [rsp + 0xe0]
jmp 0x1400030e3
mov rax, qword [rsp + 0x130]
mov byte [rax + 0x79], 1
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x48], rax
je 0x140003002
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0xe4], eax
lea rcx, [rsp + 0x68]
call fcn.14000d770
mov eax, dword [rsp + 0xe4]
jmp 0x1400030e3
cmp qword [rsp + 0x90], 0
jbe 0x14000300f
jmp 0x140003055
lea rcx, [rsp + 0x68]
call fcn.14000e4b0
cmp rax, 0x20
jae 0x140003033
xor r8d, r8d
mov edx, 8
lea rcx, [rsp + 0x68]
call fcn.1400040f0
jmp 0x140003055
call fcn.14000d030
mov dword [rsp + 0xe8], eax
lea rcx, [rsp + 0x68]
call fcn.14000d770
mov eax, dword [rsp + 0xe8]
jmp 0x1400030e3
jmp 0x1400030d3
mov rdx, qword [rsp + 0x130]
mov rdx, qword [rdx + 0x88]
movzx ecx, byte [rsp + 0x50]
call fcn.140002000
movzx eax, al
test eax, eax
je 0x140003087
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0x108], eax
jmp 0x140003093
call fcn.14000d030
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0xec], eax
lea rcx, [rsp + 0x68]
call fcn.14000d770
mov eax, dword [rsp + 0xec]
jmp 0x1400030e3
call fcn.14000d030
mov dword [rsp + 0xf0], eax
lea rcx, [rsp + 0x68]
call fcn.14000d770
mov eax, dword [rsp + 0xf0]
jmp 0x1400030e3
jmp 0x140002e66
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400253c0
add rsp, 0x120
pop rbx
ret