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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x4b0
mov rsi, rcx
mov rax, qword [0x14017b818]
xor rax, rsp
mov qword [rsp + 0x4a8], rax
lea rdi, [rcx + 8]
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.14002cda0
mov r14, qword [rsp + 0x70]
add r14, qword [rsp + 0x68]
mov rax, qword [rsi + 8]
movsxd rax, dword [rax + 4]
mov rax, qword [rsi + rax + 0x48]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x88], rcx
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0x80]
call fcn.14002dd70
mov rbx, rax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x14002c8c3
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14002c8c3
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [rbx]
mov dl, 0xa
mov rcx, rbx
call qword [rax + 0x40]
mov rcx, rdi
mov edx, eax
call fcn.14002def0
mov rcx, rdi
call fcn.140006790
lea rdi, [rsi + 0x10]
lea rbx, [rsp + 0x488]
mov rcx, rdi
mov rdx, rbx
call fcn.14002dc60
mov rax, qword [0x14017cbd0]
test rax, rax
je 0x14002c97f
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
je 0x14002c97f
mov rax, qword [rsp + 0x4a0]
cmp rax, 0x10
jb 0x14002ccd6
mov rcx, qword [rsp + 0x488]
add rax, 1
cmp rax, 0x1000
jb 0x14002c975
test cl, 0x1f
jne 0x14002cd91
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14002cd91
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
mov rcx, rax
jae 0x14002cd91
call fcn.14011a350
jmp 0x14002ccd6
test byte [0x14017b508], 2
jne 0x14002c9b8
cmp dword [rsi], 2
jl 0x14002ca2c
mov ecx, 2
call fcn.140126810
mov rdx, qword [rsp + 0x498]
cmp qword [rsp + 0x4a0], 0xf
jbe 0x14002ca04
mov rcx, qword [rsp + 0x488]
jmp 0x14002ca0c
cmp qword [rsp + 0x4a0], 0xf
mov rcx, rbx
jbe 0x14002c9ce
mov rcx, qword [rsp + 0x488]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, 2
call fcn.140126810
mov rdx, qword [rsp + 0x498]
cmp qword [rsp + 0x4a0], 0xf
jbe 0x14002c9f9
mov rbx, qword [rsp + 0x488]
mov r8d, 1
mov rcx, rbx
jmp 0x14002ca12
lea rcx, [rsp + 0x488]
mov r8d, 1
mov r9, rax
call fcn.1401272a0
mov ecx, 2
call fcn.140126810
mov rcx, rax
call fcn.140127620
test byte [0x14017b508], 1
je 0x14002ca81
call fcn.14002be90
test al, al
je 0x14002ca81
mov r8d, dword [rsp + 0x498]
cmp qword [rsp + 0x4a0], 0xf
jbe 0x14002ca5b
mov rdx, qword [rsp + 0x488]
jmp 0x14002ca63
lea rdx, [rsp + 0x488]
mov rcx, qword [0x14017cc08]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsi], 3
jne 0x14002cc79
mov rcx, qword [0x14017ccc0]
test rcx, rcx
je 0x14002cacf
mov rax, qword [rsp + 0x498]
cmp qword [rsp + 0x4a0], 0xf
jbe 0x14002cab3
mov rdx, qword [rsp + 0x488]
jmp 0x14002cabb
lea rdx, [rsp + 0x488]
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rax
lea rdx, [rsp + 0x58]
call fcn.140054560
cmp qword [rsp + 0x4a0], 0xf
jbe 0x14002cae4
mov rdx, qword [rsp + 0x488]
jmp 0x14002caec
lea rdx, [rsp + 0x488]
lea rbx, [rsp + 0x80]
mov r8d, 0x400
mov rcx, rbx
call fcn.14003eb10
mov rcx, rbx
call fcn.14004be30
mov rax, qword [0x14017cbe0]
test rax, rax
je 0x14002cb73
mov rbx, qword [0x14017cbe0]
cmp rbx, 1
ja 0x14002cb69
lea rcx, [0x14017cbe0]
call fcn.140048530
test al, al
je 0x14002cb62
xorps xmm0, xmm0
movups xmmword [0x14017cbf8], xmm0
movups xmmword [0x14017cbe8], xmm0
lea rbx, [0x14017cbe8]
lea rcx, [0x14017cbe0]
xor r8d, r8d
mov rdx, rbx
mov r9, rcx
call fcn.1400485f0
jmp 0x14002cb69
mov rbx, qword [0x14017cbe0]
mov rax, qword [rbx + 0x10]
cmp rax, qword [rbx + 0x18]
jne 0x14002cb7d
call fcn.1400566e0
jmp 0x14002cc79
mov rbx, qword [0x14017cbe0]
cmp rbx, 1
ja 0x14002cbd0
lea rcx, [0x14017cbe0]
call fcn.140048530
test al, al
je 0x14002cbc9
xorps xmm0, xmm0
movups xmmword [0x14017cbf8], xmm0
movups xmmword [0x14017cbe8], xmm0
lea rbx, [0x14017cbe8]
lea rcx, [0x14017cbe0]
xor r8d, r8d
mov rdx, rbx
mov r9, rcx
call fcn.1400485f0
jmp 0x14002cbd0
mov rbx, qword [0x14017cbe0]
mov rax, qword [rbx + 0x18]
test rax, rax
jne 0x14002cbdd
mov rax, qword [rbx + 8]
mov rcx, qword [rbx]
lea rdx, [rcx + rax*8]
add rdx, 0xfffffffffffffff8
lea rcx, [rsp + 0x50]
call fcn.140046eb0
mov r15, qword [rsp + 0x50]
test r15, r15
je 0x14002cc6f
cmp qword [rsp + 0x4a0], 0xf
jbe 0x14002cc11
mov rbx, qword [rsp + 0x488]
jmp 0x14002cc19
lea rbx, [rsp + 0x488]
mov rcx, rbx
add rcx, r14
mov qword [rsp + 0x40], rcx
je 0x14002cc2d
call fcn.140120c40
jmp 0x14002cc2f
xor eax, eax
mov qword [rsp + 0x48], rax
mov rax, qword [rsi + 0xf0]
sub r14, rax
add rbx, rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], r14
mov r8d, dword [rsi + 0x100]
mov rdx, qword [rsi + 0xf8]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov rcx, r15
call qword [r15 + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rsp + 0x50]
call fcn.140046e90
mov rax, qword [rsp + 0x4a0]
cmp rax, 0x10
jb 0x14002ccca
mov rcx, qword [rsp + 0x488]
add rax, 1
cmp rax, 0x1000
jb 0x14002ccc5
test cl, 0x1f
jne 0x14002cd91
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14002cd91
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
mov rcx, rax
jae 0x14002cd91
call fcn.14011a350
mov qword [rsp + 0x4a0], 0xf
mov ecx, dword [rsi + 0x104]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi + 8]
movsxd rax, dword [rax + 4]
lea rcx, [0x14014eef8]
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, [0x14014e490]
mov qword [rsi + 0x10], rax
mov rcx, rdi
call fcn.140025170
lea rax, vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov qword [rsi + 0x10], rax
mov rdi, qword [rsi + 0x70]
lea rsi, [rsi + 0x90]
test rdi, rdi
je 0x14002cd5f
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14002cd57
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14002cd57
mov rbx, qword [rax]
mov edx, 1
mov rcx, rax
call qword [rbx]
mov rcx, rdi
call fcn.14011a350
lea rax, vtable.std::ios_base.0
mov qword [rsi], rax
mov rcx, rsi
call fcn.14011c3c0
mov rcx, qword [rsp + 0x4a8]
xor rcx, rsp
call fcn.14011a370
nop
add rsp, 0x4b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140120f80
ud2