Function at 0x14003c3a0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x498
lea rbp, [rsp + 0x80]
mov rsi, rcx
mov rax, qword [0x1401e3a38]
xor rax, rbp
mov qword [rbp + 0x410], rax
lea rdi, [rcx + 8]
lea rdx, [rbp - 0x18]
mov rcx, rdi
call fcn.14003c890
mov r14, qword [rbp - 0x10]
add r14, qword [rbp - 0x18]
mov rax, qword [rsi + 8]
movsxd rax, dword [rax + 4]
mov rax, qword [rsi + rax + 0x48]
mov rcx, qword [rax + 8]
mov qword [rbp - 0x10], rcx
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x18]
call fcn.140037980
mov rbx, qword [rax]
mov rcx, rax
mov dl, 0xa
call qword [rbx + 0x40]
mov ebx, eax
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14003c436
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14003c436
mov r8, qword [rax]
mov rcx, rax
mov edx, 1
call qword [r8]
mov rcx, rdi
mov edx, ebx
call fcn.14003d050
mov rcx, rdi
call fcn.140006bf0
lea r15, [rsi + 0x10]
lea rbx, [rbp + 0x3f0]
mov rcx, r15
mov rdx, rbx
call fcn.140015280
mov rax, qword [0x1401e6460]
test rax, rax
je 0x14003c490
mov r9, qword [rsi + 0xf0]
mov r8d, dword [rsi + 0x100]
mov rdx, qword [rsi + 0xf8]
mov ecx, dword [rsi]
mov qword [rsp + 0x20], rbx
call rax
test al, al
jne 0x14003c776
test byte [0x1401e2280], 2
jne 0x14003c4c6
cmp dword [rsi], 2
jl 0x14003c534
mov ecx, 2
call fcn.1401708c0
mov rdx, qword [rbp + 0x400]
cmp qword [rbp + 0x408], 0xf
jbe 0x14003c50d
mov rcx, qword [rbp + 0x3f0]
jmp 0x14003c514
cmp qword [rbp + 0x408], 0xf
mov rcx, rbx
jbe 0x14003c4da
mov rcx, qword [rbp + 0x3f0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, 2
call fcn.1401708c0
mov rdx, qword [rbp + 0x400]
cmp qword [rbp + 0x408], 0xf
jbe 0x14003c502
mov rbx, qword [rbp + 0x3f0]
mov r8d, 1
mov rcx, rbx
jmp 0x14003c51a
lea rcx, [rbp + 0x3f0]
mov r8d, 1
mov r9, rax
call fcn.140180360
mov ecx, 2
call fcn.1401708c0
mov rcx, rax
call fcn.14017f0c0
test byte [0x1401e2280], 1
je 0x14003c581
call fcn.14003ba00
test al, al
je 0x14003c581
mov r8d, dword [rbp + 0x400]
cmp qword [rbp + 0x408], 0xf
jbe 0x14003c560
mov rdx, qword [rbp + 0x3f0]
jmp 0x14003c567
lea rdx, [rbp + 0x3f0]
mov rcx, qword [0x1401e64a0]
mov qword [rsp + 0x20], 0
lea r9, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsi], 3
jne 0x14003c776
mov rcx, qword [0x1401ea778]
test rcx, rcx
je 0x14003c5c8
mov rax, qword [rbp + 0x400]
cmp qword [rbp + 0x408], 0xf
jbe 0x14003c5b0
mov rdx, qword [rbp + 0x3f0]
jmp 0x14003c5b7
lea rdx, [rbp + 0x3f0]
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], rax
lea rdx, [rbp - 0x28]
call fcn.14008ec00
mov dword [rbp - 0x18], 0xbedead01
mov dword [rbp + 0x3ec], 0x5050dead
cmp qword [rbp + 0x408], 0xf
jbe 0x14003c5ec
mov rdx, qword [rbp + 0x3f0]
jmp 0x14003c5f3
lea rdx, [rbp + 0x3f0]
lea rcx, [rbp - 0x14]
mov r8d, 0x400
call fcn.14004bf70
lea rcx, [rbp - 0x18]
call fcn.140012100
mov rax, qword [0x1401e6478]
test rax, rax
je 0x14003c876
mov rbx, qword [0x1401e6478]
cmp rbx, 1
ja 0x14003c66e
lea rcx, [0x1401e6478]
call fcn.14003b640
test al, al
je 0x14003c667
xorps xmm0, xmm0
movups xmmword [0x1401e6490], xmm0
movups xmmword [0x1401e6480], xmm0
lea rbx, [0x1401e6480]
lea rcx, [0x1401e6478]
mov rdx, rbx
xor r8d, r8d
mov r9, rcx
call fcn.14003b6f0
jmp 0x14003c66e
mov rbx, qword [0x1401e6478]
mov rax, qword [rbx + 0x10]
cmp rax, qword [rbx + 0x18]
je 0x14003c876
mov rbx, qword [0x1401e6478]
cmp rbx, 1
ja 0x14003c6cf
lea rcx, [0x1401e6478]
call fcn.14003b640
test al, al
je 0x14003c6c8
xorps xmm0, xmm0
movups xmmword [0x1401e6490], xmm0
movups xmmword [0x1401e6480], xmm0
lea rbx, [0x1401e6480]
lea rcx, [0x1401e6478]
mov rdx, rbx
xor r8d, r8d
mov r9, rcx
call fcn.14003b6f0
jmp 0x14003c6cf
mov rbx, qword [0x1401e6478]
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x18]
test rdx, rdx
cmove rdx, rax
add rdx, 0xffffffffffffffff
cmp rax, rdx
jb 0x14003c87d
shl rdx, 3
add rdx, qword [rbx]
lea rcx, [rbp - 0x30]
call fcn.14002b3e0
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x14003c76d
cmp qword [rbp + 0x408], 0xf
jbe 0x14003c717
mov rdi, qword [rbp + 0x3f0]
jmp 0x14003c71e
lea rdi, [rbp + 0x3f0]
mov rcx, rdi
add rcx, r14
mov qword [rbp - 0x40], rcx
je 0x14003c731
call fcn.140186380
jmp 0x14003c733
xor eax, eax
mov qword [rbp - 0x38], rax
mov rax, qword [rsi + 0xf0]
sub r14, rax
add rdi, rax
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], r14
mov r8d, dword [rsi + 0x100]
mov rdx, qword [rsi + 0xf8]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
mov rcx, rbx
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x30]
call fcn.14002b3c0
mov rax, qword [rbp + 0x408]
cmp rax, 0x10
jb 0x14003c7bb
mov rcx, qword [rbp + 0x3f0]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14003c7b6
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14003c884
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.14014b210
lea rcx, [rsi + 0x104]
call fcn.14008c660
mov rax, qword [rsi + 8]
movsxd rax, dword [rax + 4]
lea rcx, [0x14019a110]
mov qword [rsi + rax + 8], rcx
mov rax, qword [rsi + 8]
movsxd rax, dword [rax + 4]
lea ecx, [rax - 0x88]
mov dword [rsi + rax + 4], ecx
lea rax, [0x14019a120]
mov qword [rsi + 0x10], rax
mov rcx, r15
call fcn.140014b00
lea rax, [0x14019a1a0]
mov qword [rsi + 0x10], rax
mov rdi, qword [rsi + 0x70]
lea rsi, [rsi + 0x90]
test rdi, rdi
je 0x14003c844
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14003c83c
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14003c83c
mov rbx, qword [rax]
mov rcx, rax
mov edx, 1
call qword [rbx]
mov rcx, rdi
call fcn.14014b200
lea rax, [0x14019a218]
mov qword [rsi], rax
mov rcx, rsi
call fcn.14014bb90
mov rcx, qword [rbp + 0x410]
xor rcx, rbp
call fcn.14014b5e0
nop
add rsp, 0x498
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
int3
int3
call fcn.140179190
ud2