Function at 0x18000c7a0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push r13
lea rbp, [rax - 0x48]
sub rsp, 0x138
mov qword [rax - 0x18], rbx
xor r13d, r13d
mov qword [rax - 0x20], rsi
mov r11, r9
mov qword [rax - 0x28], rdi
mov r9, rdx
mov qword [rax - 0x30], r12
mov rdx, rcx
mov qword [rax - 0x38], r14
mov r14d, r8d
mov qword [rax - 0x40], r15
lea eax, [r8 - 0xb]
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], r13b
mov dword [rbp - 0x44], eax
cmp r8d, eax
jbe 0x18000cc78
mov r12, qword [rbp + 0x80]
lea r15d, [r13 + 1]
mov rbx, qword [rbp + 0x88]
lea r10, [r13 - 1]
lea eax, [r14 - 0xcf]
mov edi, 0x18
lea r8, [0x180000000]
cmp eax, 0x26
ja case.0x18000c84e.218
movzx eax, byte [r8 + rax + 0xcfb4]
mov ecx, dword [r8 + rax*4 + 0xcf84]
add rcx, r8
jmp rcx
mov rcx, qword [r12]
mov word [rsp + 0x48], 0xc
movzx eax, byte [rcx + 0x88]
mov byte [rsp + 0x4c], al
movzx eax, byte [rcx + 0x89]
mov byte [rsp + 0x4d], al
movzx eax, byte [rcx + 0x8c]
mov byte [rsp + 0x4e], al
movzx eax, byte [rcx + 0x8d]
mov byte [rsp + 0x4f], al
jmp case.0x18000c84e.218
mov eax, dword [rsp + 0x78]
lea rcx, [rsp + 0x68]
mov r9, qword [rbx]
mov r8d, 0xe
mov byte [rsp + 0x52], al
mov rdx, r15
sar eax, 8
mov byte [rsp + 0x53], al
mov word [rsp + 0x50], 1
mov r9, qword [r9 + 0x18]
call fcn.180083240
cmp rax, 0xe
je 0x18000c8d9
mov rax, qword [r12]
mov rcx, qword [rax]
mov dword [rcx + 0x28], 0x25
mov rcx, qword [r12]
mov rax, qword [rcx]
call qword [rax]
mov r9, qword [rbp + 0x58]
mov r10, 0xffffffffffffffff
mov r11, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x50]
jmp case.0x18000c84e.218
mov ecx, dword [rbp - 0x48]
mov eax, ecx
sar eax, 8
mov byte [rsp + 0x6b], al
mov eax, ecx
sar eax, 0x10
mov byte [rsp + 0x6c], al
mov eax, ecx
sar eax, 0x18
mov byte [rsp + 0x6d], al
mov byte [rsp + 0x6a], cl
mov ecx, dword [rbp - 0x80]
mov eax, ecx
sar eax, 8
mov byte [rsp + 0x73], al
mov eax, ecx
sar eax, 0x10
mov byte [rsp + 0x74], al
mov eax, ecx
sar eax, 0x18
mov byte [rsp + 0x75], al
mov byte [rsp + 0x69], 0x4d
mov byte [rsp + 0x72], cl
jmp case.0x18000c84e.218
mov rax, qword [r12]
mov r8, qword [rbp + 0x78]
mov r14, qword [rax + 0x1f8]
mov eax, dword [rax + 0x174]
mov ecx, dword [r8]
mov qword [rbp - 0x40], r14
lea esi, [rax + rax*2]
mov dword [rbp - 0x58], esi
cmp ecx, dword [rdx]
jae 0x18000cc63
nop dword [rax]
mov rdx, qword [rbp + 0x70]
mov eax, dword [r9]
cmp dword [rdx], eax
jae 0x18000cb43
mov ebx, 0x4c
mov dword [rsp + 0x40], ebx
mov eax, ebx
sub eax, 0x4a
je 0x18000c9fc
sub eax, 1
je 0x18000c9b6
cmp eax, 1
jne 0x18000cad7
mov esi, dword [r9]
sub esi, dword [rdx]
mov eax, dword [r14 + 0x6c]
sub eax, dword [r14 + 0x64]
mov dword [rsp + 0x58], eax
mov dword [rbp - 0x7c], esi
jmp 0x18000cad7
mov ecx, dword [rbp - 0x7c]
lea r8, [r14 + 0x10]
cmp dword [rsp + 0x58], ecx
mov edi, ecx
mov rcx, qword [r12]
cmovb edi, dword [rsp + 0x58]
mov edx, dword [rdx]
mov rax, qword [rbp + 0x88]
mov r10, qword [rcx + 0x210]
mov r9d, dword [r14 + 0x64]
mov dword [rsp + 0x58], edi
mov rax, qword [rax]
mov dword [rsp + 0x20], edi
lea rdx, [rax + rdx*8]
call qword [r10 + 8]
mov rdx, qword [rbp + 0x70]
jmp 0x18000cad7
mov rdx, qword [r12]
mov eax, dword [rdx + 0x34]
cmp dword [r14 + 0x60], eax
jne 0x18000cac5
mov r15d, r13d
cmp dword [rdx + 0x4c], r13d
jle 0x18000cac5
lea rsi, [r14 + 0x10]
mov rcx, rdx
mov r14d, 1
nop word [rax + rax]
mov edi, r14d
mov rax, rcx
cmp dword [rcx + 0x174], r14d
jl 0x18000caa9
mov ebx, r10d
mov eax, dword [rdx + 0x30]
lea r9, [rbp - 8]
mov dword [rbp - 0x78], eax
lea r8, [rbp - 0x68]
mov rax, qword [rsi]
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x10], rax
mov edx, 0x9f
mov qword [rbp - 8], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x70], r14d
mov dword [rbp - 0x68], ebx
mov dword [rbp - 0x60], r13d
call fcn.180018bc0
mov rdx, qword [r12]
inc edi
dec ebx
cmp edi, dword [rdx + 0x174]
jle 0x18000ca42
mov rax, rdx
mov r10, 0xffffffffffffffff
inc r15d
add rsi, 8
mov rcx, rax
cmp r15d, dword [rax + 0x4c]
jl 0x18000ca30
mov r14, qword [rbp - 0x40]
mov ebx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x58]
mov rdx, qword [rbp + 0x70]
add dword [rdx], eax
add dword [r14 + 0x64], eax
sub dword [r14 + 0x60], eax
mov r9, qword [rbp + 0x58]
dec ebx
mov dword [rsp + 0x40], ebx
mov r10, 0xffffffffffffffff
cmp ebx, 0x49
ja 0x18000c988
mov r8, qword [rbp + 0x78]
mov eax, dword [r14 + 0x6c]
mov edx, dword [r14 + 0x64]
cmp edx, eax
mov esi, dword [rbp - 0x58]
mov ecx, dword [r8]
mov r11, qword [rbp + 0x68]
jne 0x18000cc3d
mov ebx, 0xf9
cmp ebx, 0xf9
je 0x18000cbda
cmp ebx, 0x1b8
jne 0x18000cc24
mov rax, qword [r12]
mov ecx, dword [rax + 0x174]
add ecx, dword [r14 + 0x64]
mov dword [r14 + 0x6c], ecx
jmp 0x18000cc24
cmp dword [r14 + 0x60], r13d
jne 0x18000ccf5
mov eax, dword [r14 + 0x6c]
mov edx, dword [r14 + 0x64]
cmp edx, eax
jge 0x18000cb09
mov rcx, qword [r12]
mov edi, r13d
cmp dword [rcx + 0x4c], r13d
jle 0x18000cbd1
lea rbx, [r14 + 0x10]
nop word [rax + rax]
mov eax, dword [r14 + 0x6c]
lea r9, [rbp - 0x50]
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x60]
mov eax, dword [r14 + 0x64]
mov r8d, 0xa5
mov dword [rsp + 0x60], eax
mov eax, dword [rcx + 0x30]
xor ecx, ecx
mov dword [rbp - 0x50], eax
mov rax, qword [rbx]
mov qword [rbp - 0x38], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
call fcn.18002cf10
mov rcx, qword [r12]
lea rbx, [rbx + 8]
inc edi
cmp edi, dword [rcx + 0x4c]
jl 0x18000cb70
mov eax, dword [r14 + 0x6c]
mov r8, qword [rbp + 0x78]
mov r11, qword [rbp + 0x68]
mov dword [r14 + 0x64], eax
jmp 0x18000cb0f
mov eax, dword [r8]
lea rdx, [r14 + 0x10]
mov rcx, qword [r12]
mov r9, qword [r11]
mov r8d, dword [r14 + 0x68]
mov dword [rsp + 0x20], eax
mov r10, qword [rcx + 0x218]
call qword [r10 + 8]
mov r8, qword [rbp + 0x78]
inc dword [r8]
mov rax, qword [r12]
mov ecx, dword [rax + 0x174]
add dword [r14 + 0x68], ecx
cmp dword [r14 + 0x68], esi
jl 0x18000cc1a
mov dword [r14 + 0x68], r13d
cmp dword [r14 + 0x64], esi
jl 0x18000cc24
mov dword [r14 + 0x64], r13d
mov r11, qword [rbp + 0x68]
add ebx, 0xbf
cmp ebx, 0x277
jb 0x18000cb14
mov ecx, dword [r8]
mov rdx, qword [rbp + 0x50]
mov r10, 0xffffffffffffffff
mov r9, qword [rbp + 0x58]
mov r11, qword [rbp + 0x68]
cmp ecx, dword [rdx]
jb 0x18000c970
mov rbx, qword [rbp + 0x88]
lea r15d, [r10 + 2]
mov r14d, dword [rbp + 0x60]
dec r14d
mov dword [rbp + 0x60], r14d
cmp r14d, dword [rbp - 0x44]
ja 0x18000c81e
mov r13d, dword [rbp + 0x60]
mov rdx, qword [rbp - 0x18]
mov r15, qword [rsp + 0x108]
mov r14, qword [rsp + 0x110]
mov r12, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x128]
mov rbx, qword [rsp + 0x130]
cmp rdx, 0x10
jb 0x18000cce7
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000cce2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000cf7c
call fcn.180077954
mov eax, r13d
add rsp, 0x138
pop r13
pop rbp
ret
mov rbx, qword [rbp + 0x88]
mov r15d, 1
mov rdx, qword [rbp + 0x50]
mov r14d, 0xde
jmp case.0x18000c84e.218
mov rax, qword [r12]
cmp dword [rax + 0x40], 2
jne 0x18000cd47
mov eax, dword [rax + 0x6c]
mov ecx, 8
test eax, eax
cmove ecx, edi
neg eax
mov dword [rsp + 0x78], ecx
sbb eax, eax
and eax, 0x100
mov dword [rsp + 0x7c], eax
lea eax, [rax + rax*2]
add eax, 0x1a
mov dword [rbp - 0x80], eax
jmp case.0x18000c84e.218
mov eax, 0x100
mov dword [rsp + 0x78], 8
mov dword [rsp + 0x7c], eax
lea eax, [rax + rax*2]
add eax, 0x1a
mov dword [rbp - 0x80], eax
jmp case.0x18000c84e.218
mov rsi, qword [rbp + 0x88]
lea rcx, [rsp + 0x48]
mov r8d, 0xc
mov rdx, r15
mov r9, qword [rsi]
mov r9, qword [r9 + 0x18]
call fcn.180083240
cmp rax, 0xc
je 0x18000cda4
mov rax, qword [r12]
mov rcx, qword [rax]
mov dword [rcx + 0x28], 0x25
mov rcx, qword [r12]
mov rax, qword [rcx]
call qword [rax]
mov eax, dword [rsp + 0x7c]
test eax, eax
jle 0x18000cde4
mov dword [rbp + 0x60], eax
lea r9, [rbp + 0x60]
mov rax, qword [rsi]
lea r8, [rsp + 0x60]
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x38]
mov rax, qword [r12]
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x40], rax
mov dword [rsp + 0x60], 3
mov dword [rsp + 0x20], 0x10d
call fcn.18003dc50
mov rbx, rsi
jmp 0x18000c8d9
movsx ecx, byte [r12]
call fcn.18007c030
mov rsi, qword [rbp + 0x88]
mov ebx, eax
movsx ecx, byte [rsi]
call fcn.18007c030
cmp ebx, eax
jne 0x18000cde4
nop dword [rax + rax]
cmp byte [r12], r13b
je 0x18000cc7c
movsx ecx, byte [r12 + 1]
inc r12
inc rsi
mov qword [rbp + 0x88], rsi
call fcn.18007c030
movsx ecx, byte [rsi]
mov ebx, eax
call fcn.18007c030
cmp ebx, eax
je 0x18000ce10
mov rbx, rsi
jmp 0x18000c8d9
mov rax, qword [r12]
mov rcx, qword [rbx]
mov r8d, dword [rax + 0x8c]
imul r8d, dword [rcx + 0x44]
add r8d, dword [rbp - 0x80]
xor eax, eax
mov dword [rbp - 0x48], r8d
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x68], 0x42
mov dword [rsp + 0x70], eax
mov word [rsp + 0x74], ax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
jmp case.0x18000c84e.218
mov r9d, 0x1c
lea rdx, [rbp - 0x30]
xor r8d, r8d
xor ecx, ecx
call fcn.180053130
mov rsi, qword [rbp + 0x88]
mov rdi, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x18000ceae
mov rdi, qword [rsi]
cmp qword [r12 + 0x18], 0x10
mov rbx, r12
jb 0x18000cebd
mov rbx, qword [r12]
mov r15, qword [rbp + 0x70]
cmp qword [r12 + 0x18], 0x10
mov rcx, r12
jb 0x18000ced0
mov rcx, qword [r12]
add rcx, qword [r12 + 0x10]
cmp rbx, rcx
je 0x18000cf3a
cmp qword [rbp - 0x18], 0x10
lea rsi, [rbp - 0x30]
mov r8, qword [rbp - 0x20]
cmovae rsi, qword [rbp - 0x30]
test r8, r8
je 0x18000cf06
movsx edx, byte [rbx]
mov rcx, rsi
call fcn.180078980
test rax, rax
je 0x18000cf06
sub rax, rsi
jmp 0x18000cf0d
mov rax, 0xffffffffffffffff
movzx edx, byte [rdi]
cmp rax, 0xffffffffffffffff
mov rcx, r13
cmovne rcx, rax
call qword [r15]
inc rdi
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
movzx eax, byte [rcx + rax]
mov byte [rbx], al
inc rbx
jmp 0x18000cec1
mov rbx, qword [rbp + 0x88]
mov r15d, 1
jmp 0x18000c8d9
movsx ecx, byte [r12]
call fcn.18007c030
mov ebx, eax
mov rax, qword [rbp + 0x88]
movsx ecx, byte [rax]
call fcn.18007c030
cmp ebx, eax
mov rax, 0xffffffffffffffff
cmovl r15d, eax
mov r13d, r15d
jmp 0x18000cc7c
call fcn.18007ba54
int3