Function at 0x180011ad0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, qword [rcx]
mov qword [rsp + 0x58], rsi
mov rsi, rcx
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x38], r12
mov r12, rdx
mov edi, r8d
mov r8, qword [rbx + 0x18]
mov rax, r8
mov qword [rsp + 0x30], r13
cmp r8, qword [rbx + 0x10]
jb 0x180011b24
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180011b24
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x22
mov r13, rdi
inc qword [rbx + 0x18]
test edi, edi
je 0x180011d5a
mov qword [rsp + 0x50], rbp
lea rax, [0x180000000]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
xor r15d, r15d
nop
movzx ebp, byte [r12]
lea r12, [r12 + 1]
mov rbx, qword [rsi]
inc r15
mov r14d, ebp
movzx edi, byte [rbp + rax + 0x9a210]
mov r8, qword [rbx + 0x18]
mov rax, r8
test dil, dil
je 0x180011d0d
cmp r8, qword [rbx + 0x10]
jb 0x180011bb4
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180011bb4
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
lea rbp, [0x180000000]
movzx edi, byte [r14 + rbp + 0x9a210]
mov qword [rbx + 0x18], rax
jmp 0x180011bbb
lea rbp, [0x180000000]
mov byte [rax], 0x5c
movzx ecx, dil
inc qword [rbx + 0x18]
mov rbx, qword [rsi]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x180011c03
mov r10, qword [rbx + 8]
cmp r8, r10
je 0x180011c03
mov r9, qword [rbx]
sub r8, r10
mov edx, 1
mov rcx, r10
call fcn.180024294
mov rax, qword [rbx + 8]
movzx ecx, byte [r14 + rbp + 0x9a210]
mov qword [rbx + 0x18], rax
mov byte [rax], dil
inc qword [rbx + 0x18]
cmp cl, 0x75
jne 0x180011d3b
mov rbx, qword [rsi]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x180011c44
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180011c44
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x30
inc qword [rbx + 0x18]
mov rbx, qword [rsi]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x180011c7c
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180011c7c
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x30
mov rax, r14
inc qword [rbx + 0x18]
mov rbx, qword [rsi]
shr rax, 4
mov r8, qword [rbx + 0x18]
movzx edi, byte [rax + rbp + 0x9a490]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x180011cc3
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180011cc3
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], dil
and r14d, 0xf
inc qword [rbx + 0x18]
mov rbx, qword [rsi]
movzx edi, byte [r14 + rbp + 0x9a490]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x180011d08
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180011d08
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], dil
jmp 0x180011d37
cmp r8, qword [rbx + 0x10]
jb 0x180011d34
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180011d34
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], bpl
inc qword [rbx + 0x18]
lea rax, [0x180000000]
cmp r15, r13
jb 0x180011b50
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsi]
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x60]
mov r8, qword [rbx + 0x18]
mov rax, r8
mov rsi, qword [rsp + 0x58]
cmp r8, qword [rbx + 0x10]
jb 0x180011d9f
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180011d9f
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x22
mov al, 1
inc qword [rbx + 0x18]
add rsp, 0x40
pop rbx
ret