Function at 0x1800f0d00
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov rsi, rcx
mov rax, qword [0x1802395e8]
xor rax, rbp
mov qword [rbp], rax
mov eax, dword [0x180240cd0]
mov ecx, dword [0x180240cd4]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete byte [rbp - 1]
cmp ecx, 0xa
setl byte [rbp - 2]
mov eax, 0x35631ea6
mov r12d, 0xa25c4ec
lea rdi, [0x18022e9e2]
mov r13d, 0x91de1250
mov r14d, 0x8ef1ee34
mov r15d, 0xa4c80bab
jmp 0x1800f0d90
mov rax, qword [0x1802405f0]
mov dword [rax + 0x2f28], 0
mov eax, 0xa4c80bab
nop word cs:[rax + rax]
nop dword [rax]
cmp eax, 0xf40abf7d
jle 0x1800f0de0
cmp eax, 0x29a73565
jle 0x1800f0e10
cmp eax, 0x5e838155
jg 0x1800f0ee7
cmp eax, 0x29a73566
je 0x1800f0f2e
cmp eax, 0x35631ea6
jne 0x1800f0d90
movzx ecx, byte [rbp - 1]
cmp byte [rbp - 2], 0
mov eax, 0xf40abf7e
cmovne eax, r15d
test cl, cl
cmovne eax, r15d
jmp 0x1800f0d90
cmp eax, 0xa4c80baa
jg 0x1800f0e70
cmp eax, 0x8ef1ee34
je 0x1800f0f38
cmp eax, 0x91de1250
je 0x1800f0f60
cmp eax, 0x9bcda5e8
jne 0x1800f0d90
mov eax, 0x8ef1ee34
jmp 0x1800f0d90
cmp eax, 0xf40abf7e
je 0x1800f0d6c
cmp eax, 0xa25c4ec
je 0x1800f0f6a
cmp eax, 0x289a0ea5
jne 0x1800f0d90
mov rax, qword [rbp - 0x20]
mov eax, dword [0x180240cd0]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
sete al
cmp dword [0x180240cd4], 9
setg dl
xor al, dl
mov ebx, eax
xor bl, 1
and cl, dl
or cl, bl
xor cl, al
mov eax, 0x9bcda5e8
cmovne eax, r14d
jmp 0x1800f0d90
cmp eax, 0xa4c80bab
je 0x1800f0f74
cmp eax, 0xb723dadc
je 0x1800f0fd0
cmp eax, 0xb777254e
jne 0x1800f0d90
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov rax, qword [rbp - 0x10]
mov qword [rax], 0
mov rcx, qword [rbp - 0x10]
sub rsp, 0x20
call fcn.180148920
add rsp, 0x20
mov qword [rbp - 0x28], rax
sub rsp, 0x20
mov rcx, rsi
mov rdx, rdi
call fcn.1800cb820
add rsp, 0x20
mov qword [rbp - 0x18], rax
cmp qword [rbp - 0x18], 0
mov eax, 0x7b15790c
cmove eax, r13d
jmp 0x1800f0d90
cmp eax, 0x7b15790c
jne 0x1800f0fe6
mov rax, qword [rbp - 0x10]
mov r8, qword [rax]
mov rcx, qword [rbp - 0x28]
mov r9, qword [rbp - 0x18]
sub rsp, 0x20
mov edx, 1
call fcn.180208408
add rsp, 0x20
mov rcx, qword [rbp - 0x18]
sub rsp, 0x20
call fcn.1802074f0
add rsp, 0x20
mov eax, 0x289a0ea5
jmp 0x1800f0d90
mov eax, 0x5e838156
jmp 0x1800f0d90
mov eax, dword [0x180240cd0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0x9bcda5e8
cmove eax, r12d
cmp dword [0x180240cd4], 0xa
cmovl eax, r12d
jmp 0x1800f0d90
mov eax, 0x289a0ea5
jmp 0x1800f0d90
mov eax, 0x5e838156
jmp 0x1800f0d90
mov eax, 0x10
call fcn.1801fac70
sub rsp, rax
mov rax, rsp
test rsi, rsi
mov qword [rbp - 0x10], rax
mov rax, qword [0x1802405f0]
mov dword [rax + 0x2f28], 0
setne byte [rbp - 3]
mov eax, dword [0x180240cd0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
mov eax, 0xb723dadc
mov ecx, 0xf40abf7e
cmovne eax, ecx
cmp dword [0x180240cd4], 9
mov ecx, 0xb723dadc
cmovle eax, ecx
jmp 0x1800f0d90
cmp byte [rbp - 3], 0
mov eax, 0x29a73566
mov ecx, 0xb777254e
cmovne eax, ecx
jmp 0x1800f0d90
cmp eax, 0x5e838156
jne 0x1800f0d90
mov rcx, qword [rbp]
xor rcx, rbp
sub rsp, 0x20
call fcn.1801facd0
nop
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret