Function at 0x1400452c0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r13d, edx
mov rdi, rcx
mov rax, qword [0x14017b818]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp edx, 0xffffffff
je 0x1400454bb
mov rax, qword [rdi + 0x40]
cmp qword [rax], 0
je 0x140045326
mov rax, qword [rdi + 0x58]
mov ecx, dword [rax]
test ecx, ecx
jle 0x140045326
add ecx, 0xffffffff
mov dword [rax], ecx
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov byte [rcx], r13b
mov ebp, r13d
jmp 0x140045558
cmp qword [rdi + 0x80], 0
je 0x1400454c2
mov rax, qword [rdi + 0x18]
lea rcx, [rdi + 0x70]
cmp qword [rax], rcx
jne 0x140045360
mov ecx, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rax], rdx
mov rax, qword [rdi + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x1400454cc
mov byte [rsp + 0x5f], r13b
movaps xmm0, xmmword [reloc.OLEAUT32.dll_VariantClear]
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x60], 0
mov byte [rsp + 0x68], 0
lea r15, [rdi + 0x74]
mov ebp, 0xf
xor eax, eax
mov edx, 8
lea rbx, [rsp + 0x60]
lea r14, [rsp + 0x50]
lea r12, [rsp + 0x5f]
jmp 0x1400453c3
mov rcx, qword [rdi + 0x68]
mov rbp, qword [rsp + 0x78]
mov rax, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
cmp rbp, 0xf
cmovbe rax, rbx
add rdx, rax
mov rbp, qword [rcx]
lea rsi, [rsp + 0x48]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, r15
mov r8, r12
lea r9, [rsp + 0x60]
call qword [rbp + 0x38]
mov ebp, 0xffffffff
cmp eax, 2
jae 0x1400454f9
mov rsi, qword [rsp + 0x48]
cmp qword [rsp + 0x78], 0xf
mov rcx, rbx
jbe 0x14004541b
mov rcx, qword [rsp + 0x60]
sub rsi, rcx
je 0x14004543d
mov r9, qword [rdi + 0x80]
mov edx, 1
mov r8, rsi
call fcn.1401272a0
cmp rsi, rax
jne 0x140045519
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], r12
jne 0x140045516
test rsi, rsi
jne 0x1400453b0
mov rax, qword [rsp + 0x70]
cmp rax, 0x1f
ja 0x140045519
mov rcx, qword [rsp + 0x78]
mov rdx, rcx
sub rdx, rax
cmp rdx, 8
jae 0x140045492
mov byte [rsp + 0x20], 0
mov edx, 8
mov r9d, 8
mov rcx, rbx
call fcn.140008ff0
jmp 0x1400453b0
lea rdx, [rax + 8]
mov qword [rsp + 0x70], rdx
mov rdx, rbx
cmp rcx, 0xf
jbe 0x1400454a9
mov rdx, qword [rsp + 0x60]
mov qword [rdx + rax], 0
mov byte [rdx + rax + 8], 0
jmp 0x1400453b0
xor ebp, ebp
jmp 0x140045558
mov ebp, 0xffffffff
jmp 0x140045558
mov rdx, qword [rdi + 0x80]
movsx ecx, r13b
call fcn.14012a980
mov esi, eax
cmp eax, 0xffffffff
cmovne esi, r13d
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14011a370
mov eax, esi
jmp 0x14004556a
cmp eax, 3
jne 0x140045519
mov rdx, qword [rdi + 0x80]
movsx ecx, byte [rsp + 0x5f]
call fcn.14012a980
cmp eax, 0xffffffff
cmove r13d, eax
mov ebp, r13d
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x140045558
mov rcx, qword [rsp + 0x60]
add rax, 1
cmp rax, 0x1000
jb 0x140045553
test cl, 0x1f
jne 0x14004557e
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14004557e
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
mov rcx, rax
jae 0x14004557e
call fcn.14011a350
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14011a370
mov eax, ebp
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140120f80
ud2