Function at 0x1800344e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
lea eax, [r8 + 9]
mov r13, r9
mov dword [rsp + 0x38], eax
mov r15d, r8d
cmp r8d, eax
jae 0x180034800
mov rsi, qword [rsp + 0xb0]
xor ebx, ebx
mov rdi, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xb0]
mov r12d, dword [rsp + 0xc0]
lea eax, [r15 - 0xd]
lea r8, [0x180000000]
cmp eax, 0xb
ja case.0x18003455b.19
mov ecx, dword [r8 + rax*4 + 0x34820]
add rcx, r8
jmp rcx
mov ebp, 0x99
mov eax, ebp
sub eax, 0x98
je 0x1800345b6
cmp eax, 1
jne 0x1800345c2
test rdi, rdi
jne 0x18003458c
mov rcx, qword [r13]
call qword [r14 + 0x18]
test eax, eax
je 0x1800347f5
mov rsi, qword [r14]
mov rdi, qword [r14 + 8]
movsx r12d, byte [rsi]
inc rsi
shl r12d, 8
sub rdi, 1
jne 0x1800345c2
mov rcx, qword [r13]
call qword [r14 + 0x18]
test eax, eax
je 0x1800347f5
mov rsi, qword [r14]
mov rdi, qword [r14 + 8]
jmp 0x1800345c2
movsx eax, byte [rsi]
dec rdi
add r12d, eax
inc rsi
dec ebp
cmp ebp, 0x97
ja 0x180034562
sub r12d, 2
jmp case.0x18003455b.19
mov rdx, qword [r13]
mov ecx, dword [rdx + 0x254]
sub ecx, 0xe0
je 0x180034664
cmp ecx, 0xe
je 0x18003461a
mov rax, qword [rdx]
mov dword [rax + 0x28], 0x44
mov rax, qword [r13]
mov rcx, qword [rax]
mov eax, dword [rax + 0x254]
mov dword [rcx + 0x2c], eax
mov rcx, qword [r13]
mov rax, qword [rcx]
call qword [rax]
mov r15d, 0x10
jmp case.0x18003455b.19
mov eax, dword [rsp + 0xb0]
lea r8, [rsp + 0xc0]
mov dword [rsp + 0xc0], eax
lea rcx, [rsp + 0x30]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rdx
mov r9d, 0x1a
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x30], r12d
call fcn.1800248a0
mov r15d, 0x10
jmp case.0x18003455b.19
mov eax, dword [rsp + 0xb0]
lea r9, [rsp + 0x58]
mov dword [rsp + 0x30], eax
lea r8, [rsp + 0x30]
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rdx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov ecx, 0x96
mov dword [rsp + 0xc0], r12d
call fcn.180013690
mov r15d, 0x10
jmp case.0x18003455b.19
cmp r12d, 0xe
jl 0x1800346c0
mov dword [rsp + 0xb0], 0xe
jmp 0x1800346d4
test r12d, r12d
mov eax, r12d
cmovle eax, ebx
mov dword [rsp + 0xb0], eax
test eax, eax
je 0x180034720
lea r15, [rsp + 0x58]
mov ebp, ebx
nop dword [rax + rax]
test rdi, rdi
jne 0x1800346fc
mov rcx, qword [r13]
call qword [r14 + 0x18]
test eax, eax
je 0x1800347f5
mov rsi, qword [r14]
mov rdi, qword [r14 + 8]
movzx eax, byte [rsi]
dec rdi
mov byte [r15], al
inc rsi
mov eax, dword [rsp + 0xb0]
inc r15
inc ebp
cmp ebp, eax
jb 0x1800346e0
mov r15d, dword [rsp + 0xc0]
sub r12d, eax
jmp case.0x18003455b.19
mov r10, qword [rsp + 0x40]
mov rax, qword [r10 + 0x20]
mov r8, qword [r10 + 0x30]
mov rdx, qword [rax]
mov rax, qword [r13]
mov r9d, dword [rax + 0x88]
test r9d, r9d
je case.0x18003455b.19
nop dword [rax]
movsx rax, byte [rdx]
lea r8, [r8 + 1]
mov rcx, qword [rsp + 0x50]
lea rdx, [rdx + 1]
movzx ecx, byte [rax + rcx]
mov byte [r8 - 1], cl
add r9d, 0xffffffff
jne 0x180034750
jmp case.0x18003455b.19
mov rax, qword [r13]
mov r14, qword [rax + 0x28]
mov rsi, qword [r14]
mov rdi, qword [r14 + 8]
jmp case.0x18003455b.19
mov rbp, qword [rsp + 0x40]
mov edx, 1
mov r8d, dword [rbp + 0x38]
mov r9, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x30]
call fcn.18007be3c
jmp case.0x18003455b.19
mov rax, qword [rdx]
mov qword [rsp + 0x40], rax
mov rax, qword [r13]
mov rcx, qword [rax + 0xa0]
mov rax, qword [rcx]
mov qword [rsp + 0x50], rax
jmp case.0x18003455b.19
mov qword [r14], rsi
mov qword [r14 + 8], rdi
test r12d, r12d
jle case.0x18003455b.19
mov rcx, qword [r13]
mov edx, r12d
mov rax, qword [rcx + 0x28]
call qword [rax + 0x20]
inc r15d
mov dword [rsp + 0xc0], r15d
cmp r15d, dword [rsp + 0x38]
jae 0x180034800
mov rdx, qword [rsp + 0xb8]
jmp 0x18003453c
mov eax, ebx
jmp 0x180034807
mov eax, 1
jmp 0x180034807
mov eax, dword [rsp + 0xc0]
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret