Function at 0x180033ce0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1740]
mov eax, 0x1840
call fcn.18006ce90
sub rsp, rax
lea r12d, [r8 - 0xf]
mov r10, r9
mov r14d, r8d
mov rdi, rcx
cmp r8d, r12d
jbe 0x18003407c
mov rsi, qword [rsp + 0x58]
lea r15d, [r8 - 0x6f]
mov r13d, dword [rbp + 0x1790]
lea rbx, [0x180095274]
xor r11d, r11d
lea r9, [0x180000000]
mov r8d, 1
cmp r15d, 0x4c
ja case.0x180033d6a.15
movzx eax, byte [r9 + r15 + 0x340f0]
mov ecx, dword [r9 + rax*4 + 0x340b0]
add rcx, r9
jmp rcx
movzx eax, word [rdi]
lea rdx, [rbp - 0x80]
mov ecx, 0xfffffff9
mov word [rbp + 0x3c8], ax
mov word [rbp + 0x4da], r11w
call qword [0x1800ce8f0]
jmp 0x180033e5c
mov eax, dword [rdi]
mov dword [rbp + 0xacc], eax
jmp case.0x180033d6a.15
mov ecx, 0xffffffc8
lea rdx, [rbp + 0x1150]
call qword [0x1800ce8f0]
xor r11d, r11d
mov word [0x1800ce8f8], r11w
jmp case.0x180033d6a.15
mov rax, qword [rdi]
lea rdx, [rsp + 0x50]
mov word [rbp + 0x1790], r8w
mov r9d, 0x53
lea r8, [rbp + 0x1790]
mov qword [rsp + 0x50], rax
xor ecx, ecx
call fcn.18002dab0
inc rax
mov qword [rsp + 0x50], rax
jmp 0x180033e5c
mov ecx, 0xfffffff3
lea rdx, [rbp + 0xb60]
call qword [0x1800ce8f0]
jmp 0x180033e5c
mov rcx, qword [rsp + 0x50]
call fcn.18007218c
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, rax
mov rsi, rax
call fcn.18006e5e0
mov rcx, qword [rdi]
lea r8, [rbp + 0x1790]
mov eax, 1
mov qword [rsp + 0x50], rcx
lea rdx, [rsp + 0x50]
mov word [rbp + 0x1790], ax
mov rcx, rsi
lea r9d, [rax + 0x52]
call fcn.18002dab0
mov qword [rsp + 0x50], rax
lea rbx, [0x180095274]
xor r11d, r11d
dec r14d
dec r15d
cmp r14d, r12d
jbe 0x18003407c
mov r10, qword [rbp + 0x1798]
mov rdx, qword [rbp + 0x1788]
jmp 0x180033d3f
movzx eax, word [rbp + 0x4da]
mov word [0x1800ce8f8], ax
jmp case.0x180033d6a.15
cmp byte [rdi], 0
mov eax, 0x8000000
mov ecx, 0x800000
mov dword [rbp + 0x16b4], 0x46415354
cmovne eax, ecx
mov dword [rsp + 0x60], eax
jmp case.0x180033d6a.15
movzx eax, word [rdi]
mov word [rbp + 0xfa8], ax
mov word [rbp + 0x1140], r11w
jmp case.0x180033d6a.15
mov rax, qword [rsp + 0x50]
mov byte [rsi + rax], 0
cmp byte [rsi], 0x2a
jne 0x180033eeb
cmp byte [rsi + 1], 0
jne 0x180033eeb
mov rax, qword [r10]
test rax, rax
cmove eax, r13d
mov r13d, eax
jmp case.0x180033d6a.15
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rsi + rax], 0
jne 0x180033ef2
test rax, rax
jne 0x180033f12
cmp qword [0x1800be6c8], rax
je 0x180033f12
mov rax, qword [0x1800be690]
jmp 0x180033f66
mov rcx, rsi
call fcn.180071acc
xor r11d, r11d
mov edx, r11d
movzx ecx, byte [rax + rdx]
inc rdx
cmp cl, byte [rbx + rdx - 1]
jne 0x180033f3f
cmp rdx, 4
jne 0x180033f20
mov rax, qword [0x1800be6a8]
test rax, rax
jne 0x180033f66
mov rax, qword [rbp + 0x1798]
lea rdx, [rsp + 0x58]
mov r9d, 0x17
mov r8, rsi
xor ecx, ecx
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
call fcn.180011cf0
xor r11d, r11d
test r13d, r13d
mov ecx, 0xfffffffd
cmove r13d, ecx
test rax, rax
cmove eax, r13d
mov r13d, eax
jmp case.0x180033d6a.15
mov rcx, rsi
call fcn.180072184
mov rax, qword [rdi]
lea r9, [rbp + 0x1790]
xor ecx, ecx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rcx
xor r8d, r8d
mov qword [rsp + 0x30], rax
xor edx, edx
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x68]
mov dword [rbp + 0x1790], r13d
mov dword [rsp + 0x20], 0x28
call fcn.180036ed0
jmp 0x180033e5c
mov eax, dword [rdx]
lea r8, [rbp + 0x1790]
mov rdx, r10
mov dword [rbp + 0xaec], eax
xor r9d, r9d
mov dword [rbp + 0x1790], 0x200
lea rcx, [rbp + 0x770]
mov dword [rsp + 0x20], 0x157
call fcn.1800108e0
mov ecx, 0xffffff30
lea rdx, [rbp + 0x570]
jmp 0x180033dab
mov rbx, r10
test r10, r10
je 0x180034069
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rbx + 0x10]
xor r8d, r8d
mov rcx, rdi
call fcn.1800749cc
test eax, eax
jne 0x180034075
mov edx, dword [rbx + 0x18]
lea r8d, [rax + 1]
mov rcx, qword [rbx]
mov r9, rdi
call fcn.180074c14
cmp rax, 1
jne 0x180034075
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x180034030
jmp 0x180033e55
lea rbx, [0x180095274]
jmp case.0x180033d6a.15
xor ecx, ecx
call fcn.1800726e0
movzx eax, byte [rbp + 0x1790]
mov rbx, qword [rsp + 0x1880]
add rsp, 0x1840
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rsp + 0x60]
test dword [rbp + 0x16ac], eax
setne al
jmp 0x180034083