Function at 0x1400e5340
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov dword [rsp + 0xa8], edx
mov rdx, qword [0x140207460]
mov rbx, rcx
mov edi, dword [rsp + 0xa8]
mov rax, qword [rdx]
mov qword [rsp + 0x48], rax
xor eax, eax
mov eax, dword [rcx + 0xc]
and edi, 8
test eax, eax
je 0x1400e54a1
mov r14, qword [fcn.1401bee20]
xor esi, esi
xor r15d, r15d
lea r13, str._s:_unmerged___s__n
nop dword [rax + rax]
mov rax, qword [rbx]
mov r12, qword [rax + rsi*8]
test dword [r12 + 0x38], 0x3000
je 0x1400e53e8
test edi, edi
jne 0x1400e5625
add r15d, 1
cmp r15d, 0xa
ja 0x1400e5600
lea rcx, [r12 + 0x48]
call fcn.1400202e0
mov ecx, 2
mov rbp, rax
call r14
mov r9, rbp
lea r8, [r12 + 0x6c]
mov rdx, r13
mov rcx, rax
call sub.msvcrt.dll_fprintf
mov eax, dword [rbx + 0xc]
add rsi, 1
cmp esi, eax
jb 0x1400e5398
test r15d, r15d
jne 0x1400e5625
cmp eax, 1
jbe 0x1400e54a1
mov rbp, qword [fcn.1401bee20]
xor esi, esi
mov r14d, 1
lea r13, str.You_have_both__s_and__s_n
jmp 0x1400e542a
add r14d, 1
cmp r14d, dword [rbx + 0xc]
jae 0x1400e5498
mov rax, qword [rbx]
mov rdi, qword [rax + rsi]
add rsi, 8
mov rax, qword [rax + rsi]
movsxd r8, dword [rdi + 0x40]
cmp r8d, dword [rax + 0x40]
jae 0x1400e5420
cmp byte [rax + r8 + 0x6c], 0x2f
lea r12, [rax + 0x6c]
jne 0x1400e5420
add rdi, 0x6c
mov rdx, r12
mov rcx, rdi
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x1400e5420
add r15d, 1
cmp r15d, 0xa
ja 0x1400e5600
mov ecx, 2
add r14d, 1
call rbp
mov r9, r12
mov r8, rdi
mov rdx, r13
mov rcx, rax
call sub.msvcrt.dll_fprintf
cmp r14d, dword [rbx + 0xc]
jb 0x1400e542a
nop word [rax + rax]
test r15d, r15d
jne 0x1400e5625
cmp qword [rbx + 0x20], 0
je 0x1400e562f
mov r13, qword [0x140207cf0]
test byte [rsp + 0xa8], 1
je 0x1400e55d8
call fcn.14008e390
mov rax, qword [r13]
lea rdi, str.cache_tree.c
lea r9, [0x1401e60fd]
lea r8, [0x1401e6104]
mov edx, 0x1e3
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.14008f540
call fcn.1400e3730
mov eax, dword [rsp + 0xa8]
mov rdx, qword [rbx]
lea r9, [0x1401e610f]
mov rcx, qword [rbx + 0x20]
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov r8d, dword [rbx + 0xc]
call fcn.1400e4270
mov esi, eax
call fcn.1400e3760
mov rax, qword [r13]
mov rcx, rdi
mov edx, 0x1e8
lea r9, [0x1401e60fd]
lea r8, [0x1401e6104]
mov qword [rsp + 0x20], rax
call fcn.14008f750
mov rdx, qword [0x140207d60]
movabs rax, 0x1ffffffff
and rax, qword [rdx + 8]
movabs rdx, 0x100000000
cmp rax, rdx
jne 0x1400e55b0
test esi, esi
js 0x1400e5583
or dword [rbx + 0x14], 0x20
xor esi, esi
mov rdx, qword [0x140207460]
mov rax, qword [rsp + 0x48]
sub rax, qword [rdx]
jne 0x1400e564d
mov eax, esi
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14008e180
lea r9, str.cache_tree_update
mov edx, 0x1e9
mov rcx, rdi
mov r8, rax
call fcn.14008df10
test esi, esi
jns 0x1400e557d
jmp 0x1400e5583
mov rcx, qword [r13]
call fcn.1400421c0
test eax, eax
je 0x1400e54c1
lea rdx, [0x1400e37a0]
mov rcx, rbx
call fcn.14004ca00
jmp 0x1400e54c1
mov ecx, 2
call qword [fcn.1401bee20]
mov r8d, 4
mov edx, 1
lea rcx, str...._n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov esi, 0xffffffff
jmp 0x1400e5583
mov edx, 0x38
mov ecx, 1
call fcn.1400a6220
mov dword [rax], 0xffffffff
mov qword [rbx + 0x20], rax
jmp 0x1400e54ac
call fcn.1401be670
nop
nop word cs:[rax + rax]
nop