Function at 0x140009d40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
mov rax, qword [rcx + 0x50]
test rax, rax
je 0x140009e25
cmp byte [rcx + 1], 0
je 0x140009e25
mov byte [rax + 0x18], 0
mov rbx, qword [rcx + 0x50]
test rbx, rbx
je 0x140009e25
mov rcx, rbx
call fcn.140024f10
nop
mov rcx, qword [rbx + 0x70]
test rcx, rcx
je 0x140009db4
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x140009da7
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
nop
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x140009ddc
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x140009dcf
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
nop
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x140009e04
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x140009df7
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
nop
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x140009e16
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
mov rcx, rbx
call fcn.1400048f0
xor r15d, r15d
mov qword [rdi + 0x50], r15
cmp byte [rdi], r15b
je 0x14000a68e
cmp byte [rdi + 0x52f9], r15b
je 0x140009ea8
mov rbx, qword [rdi + 0x20]
test rbx, rbx
je 0x140009ea8
mov rsi, qword [0x1400af9d0]
mov qword [0x1400af9d0], rdi
mov dword [rdi + 0x52fc], r15d
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.1400181e0
mov rbp, rax
lea rdx, [0x14009c328]
mov rcx, rbx
call fcn.140005560
mov rbx, rax
test rax, rax
je 0x140009ea1
mov r9, rax
mov r8, qword [rsp + 0x40]
lea edx, [r15 + 1]
mov rcx, rbp
call fcn.14003f954
mov rcx, rbx
call fcn.14003ef70
mov qword [0x1400af9d0], rsi
mov ebx, r15d
cmp dword [rdi + 0x5340], r15d
jle 0x140009ef0
mov rsi, r15
nop word [rax + rax]
mov rcx, qword [rdi + 0x5348]
cmp dword [rsi + rcx + 4], 6
jne 0x140009ee2
mov rax, qword [rsi + rcx + 0x10]
movsxd rdx, ebx
shl rdx, 5
add rdx, rcx
mov rcx, rdi
call rax
inc ebx
add rsi, 0x20
cmp ebx, dword [rdi + 0x5340]
jl 0x140009ec0
mov esi, r15d
cmp dword [rdi + 0x3dc8], r15d
jle 0x140009f47
mov r14, r15
nop
mov rax, qword [rdi + 0x3dd0]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x140009f39
mov rcx, rbx
call fcn.140006d00
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x140009f2a
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
mov rcx, rbx
call fcn.1400048f0
inc esi
add r14, 8
cmp esi, dword [rdi + 0x3dc8]
jl 0x140009f00
mov rcx, qword [rdi + 0x3dd0]
test rcx, rcx
je 0x140009f7f
mov qword [rdi + 0x3dc8], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x140009f6c
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x3dd0], r15
mov rcx, qword [rdi + 0x3de0]
test rcx, rcx
je 0x140009fb7
mov qword [rdi + 0x3dd8], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x140009fa4
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x3de0], r15
mov rcx, qword [rdi + 0x3df0]
test rcx, rcx
je 0x140009fef
mov qword [rdi + 0x3de8], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x140009fdc
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x3df0], r15
mov qword [rdi + 0x3e28], r15
mov rcx, qword [rdi + 0x3e00]
test rcx, rcx
je 0x14000a02e
mov qword [rdi + 0x3df8], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a01b
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x3e00], r15
mov rcx, qword [rdi + 0x3e10]
test rcx, rcx
je 0x14000a066
mov qword [rdi + 0x3e08], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a053
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x3e10], r15
mov qword [rdi + 0x4038], r15
mov qword [rdi + 0x3e38], r15
mov qword [rdi + 0x3e30], r15
mov qword [rdi + 0x3ec8], r15
mov qword [rdi + 0x3eb0], r15
mov qword [rdi + 0x3e40], r15
mov rcx, qword [rdi + 0x3fa8]
test rcx, rcx
je 0x14000a0c8
mov qword [rdi + 0x3fa0], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a0b5
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x3fa8], r15
mov rcx, qword [rdi + 0x3fb8]
test rcx, rcx
je 0x14000a100
mov qword [rdi + 0x3fb0], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a0ed
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x3fb8], r15
mov rcx, qword [rdi + 0x3fc8]
test rcx, rcx
je 0x14000a138
mov qword [rdi + 0x3fc0], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a125
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x3fc8], r15
mov rcx, qword [rdi + 0x4008]
test rcx, rcx
je 0x14000a170
mov qword [rdi + 0x4000], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a15d
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x4008], r15
mov rcx, qword [rdi + 0x4018]
test rcx, rcx
je 0x14000a1a8
mov qword [rdi + 0x4010], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a195
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x4018], r15
mov ebp, r15d
cmp dword [rdi + 0x4028], r15d
jle 0x14000a286
mov r14, r15
nop dword [rax + rax]
mov rax, qword [rdi + 0x4030]
mov rbx, qword [r14 + rax]
test rbx, rbx
je 0x14000a274
mov rsi, qword [rbx + 0x38]
test rsi, rsi
je 0x14000a206
mov rcx, rsi
call fcn.140003a60
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a1f7
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
mov rcx, rsi
call fcn.1400048f0
mov rsi, qword [rbx + 0x40]
test rsi, rsi
je 0x14000a239
mov rcx, rsi
call fcn.140003a60
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a229
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
mov rcx, rsi
call fcn.1400048f0
nop
lea rcx, [rbx + 0x78]
lea r9, [0x140018d80]
mov edx, 0x10
lea r8d, [rdx - 0xe]
call fcn.1400390ec
nop
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a265
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
mov rcx, rbx
call fcn.1400048f0
inc ebp
add r14, 8
cmp ebp, dword [rdi + 0x4028]
jl 0x14000a1c0
mov rcx, qword [rdi + 0x4030]
test rcx, rcx
je 0x14000a2be
mov qword [rdi + 0x4028], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a2ab
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x4030], r15
lea rcx, [rdi + 0x42f8]
call fcn.140018ed0
mov rcx, qword [rdi + 0x4328]
test rcx, rcx
je 0x14000a302
mov qword [rdi + 0x4320], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a2ef
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x4328], r15
mov rcx, qword [rdi + 0x4338]
test rcx, rcx
je 0x14000a33a
mov qword [rdi + 0x4330], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a327
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x4338], r15
mov ebx, r15d
cmp dword [rdi + 0x4278], r15d
jle 0x14000a38e
mov rsi, r15
nop dword [rax]
mov rax, qword [rdi + 0x4280]
mov rcx, qword [rsi + rax + 0x20]
test rcx, rcx
je 0x14000a380
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a373
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
nop
inc ebx
add rsi, 0x28
cmp ebx, dword [rdi + 0x4278]
jl 0x14000a350
mov rcx, qword [rdi + 0x4280]
test rcx, rcx
je 0x14000a3c6
mov qword [rdi + 0x4278], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a3b3
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x4280], r15
lea rcx, [rdi + 0x42a8]
call fcn.140019070
mov esi, r15d
cmp dword [rdi + 0x4298], r15d
jle 0x14000a42c
mov rbp, r15
mov rbx, qword [rdi + 0x42a0]
lea rcx, [rbx + 0x10]
add rcx, rbp
call fcn.1400248f0
nop
mov rcx, qword [rbx + rbp + 0x20]
test rcx, rcx
je 0x14000a41e
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a411
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
nop
inc esi
add rbp, 0x70
cmp esi, dword [rdi + 0x4298]
jl 0x14000a3e1
mov rcx, qword [rdi + 0x42a0]
test rcx, rcx
je 0x14000a464
mov qword [rdi + 0x4298], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a451
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x42a0], r15
mov rcx, qword [rdi + 0x42e8]
test rcx, rcx
je 0x14000a49c
mov qword [rdi + 0x42e0], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a489
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x42e8], r15
mov rcx, qword [rdi + 0x52c0]
test rcx, rcx
je 0x14000a4d4
mov qword [rdi + 0x52b8], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a4c1
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x52c0], r15
mov rcx, qword [rdi + 0x52d0]
test rcx, rcx
je 0x14000a50c
mov qword [rdi + 0x52c8], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a4f9
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x52d0], r15
mov rcx, qword [rdi + 0x4360]
test rcx, rcx
je 0x14000a544
mov qword [rdi + 0x4358], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a531
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x4360], r15
mov rcx, qword [rdi + 0x4370]
test rcx, rcx
je 0x14000a57c
mov qword [rdi + 0x4368], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a569
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x4370], r15
mov rcx, qword [rdi + 0x4380]
test rcx, rcx
je 0x14000a5b4
mov qword [rdi + 0x4378], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a5a1
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x4380], r15
mov rcx, qword [rdi + 0x5328]
test rcx, rcx
je 0x14000a5ec
mov qword [rdi + 0x5320], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a5d9
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x5328], r15
mov rcx, qword [rdi + 0x5318]
test rcx, rcx
je 0x14000a624
mov qword [rdi + 0x5310], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a611
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x5318], r15
cmp qword [rdi + 0x5360], 0
je 0x14000a653
mov rbx, qword [rdi + 0x5360]
mov ecx, 1
call fcn.14003eb10
cmp rbx, rax
je 0x14000a64c
mov rcx, rbx
call fcn.14003ef70
mov qword [rdi + 0x5360], r15
mov rcx, qword [rdi + 0x5370]
test rcx, rcx
je 0x14000a68b
mov qword [rdi + 0x5368], r15
mov rax, qword [0x1400af9d0]
test rax, rax
je 0x14000a678
dec dword [rax + 0xec]
mov rdx, qword [0x1400af9c0]
call fcn.1400048f0
mov qword [rdi + 0x5370], r15
mov byte [rdi], 0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret