Function at 0x14003cb10
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14007d008]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r12d, r9d
mov rsi, r8
mov rbx, rdx
mov qword [rsp + 0x78], 0
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x40]
test al, al
je 0x14003cb6b
xor al, al
jmp 0x14003cfb8
mov rdx, rbx
lea rcx, [rbp - 0x18]
call qword [sym.imp.acdb21.dll_public:_void___cdecl_AdXREFString::constructor_class_AdXREFString_const____ptr64____ptr64]
nop
lea rdx, [rbp - 0x18]
call fcn.14003c960
test al, al
je 0x14003cfa9
lea rcx, [rbp - 0x18]
call qword [sym.imp.acdb21.dll_public:_wchar_t_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64_void_const___ptr64]
mov rdx, rax
lea r8, [0x14005bf90]
lea rcx, [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen_s]
mov r9, qword [rsp + 0x78]
test r9, r9
je 0x14003cfa9
mov edx, 4
lea r8d, [rdx - 3]
lea rcx, [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 1
je 0x14003cbe0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14003cfa9
mov ecx, dword [rbp - 0x80]
mov edx, ecx
and edx, 0xff0000
mov eax, ecx
shr eax, 0x10
or edx, eax
shr edx, 8
mov eax, ecx
and eax, 0xff00
shl ecx, 0x10
or eax, ecx
shl eax, 8
or edx, eax
cmp edx, 0x74746366
je 0x14003cd04
lea rdx, [0x14005be04]
lea rcx, [rbp - 0x78]
call qword [sym.imp.acdb21.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64]
nop
mov rax, qword [rsi]
mov r8d, 1
lea rdx, [rbp - 0x50]
mov rcx, rsi
call qword [rax + 0x20]
nop
mov r8, qword [rax]
lea rdx, [rbp - 0x78]
mov rcx, rax
call qword [r8 + 0x80]
test eax, eax
sete bl
lea rcx, [rbp - 0x50]
call qword [sym.imp.acdb21.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.acdb21.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
mov rcx, qword [rsp + 0x78]
test bl, bl
je 0x14003ccd8
test rcx, rcx
je 0x14003cbd5
mov r9, rsi
xor edx, edx
mov r8d, reloc.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup
call fcn.14003cfe0
test al, al
je 0x14003cbd0
mov rdx, rsi
lea rcx, [rbp - 0x78]
call qword [sym.imp.acdb21.dll_public:_void___cdecl_AdXREFString::constructor_class_AdXREFString_const____ptr64____ptr64]
nop
lea rdx, [0x14005be04]
mov rcx, rsi
call qword [sym.imp.acdb21.dll_public:_class_AdXREFString_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64____ptr64]
mov rax, qword [rsi]
lea rdx, [rbp - 0x78]
mov rcx, rsi
call qword [rax + 0xe8]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.acdb21.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
mov bl, 1
jmp 0x14003cfab
test rcx, rcx
je 0x14003ccf7
mov r9, rsi
xor edx, edx
mov r8d, reloc.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup
call fcn.14003cfe0
movzx ebx, al
mov rcx, qword [rsp + 0x78]
jmp 0x14003ccf9
xor bl, bl
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14003cfab
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov r9, qword [rsp + 0x78]
mov edx, 0xc
lea r8d, [rdx - 0xb]
lea rcx, [rbp - 0x28]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 1
jne 0x14003cbd0
mov ecx, dword [rbp - 0x20]
mov r15d, ecx
and r15d, 0xff0000
mov eax, ecx
shr eax, 0x10
or r15d, eax
shr r15d, 8
mov eax, ecx
and eax, 0xff00
shl eax, 8
or r15d, eax
shl ecx, 0x18
and ecx, 0xff000000
or r15d, ecx
lea rcx, [rbp - 0x50]
call qword [sym.imp.acdb21.dll_public:_void___cdecl_AdXREFString::constructor_void____ptr64]
nop
mov r14d, 1
cmp r15d, r14d
jl 0x14003cf90
movzx ebx, byte [rsp + 0x30]
nop word [rax + rax]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14003cdab
lea r9, [rbp - 0x50]
mov r8d, r12d
mov edx, r14d
call fcn.14003cfe0
jmp 0x14003cdad
xor al, al
test al, al
je 0x14003ceaa
lea rdx, [0x14005be04]
lea rcx, [rbp - 0x78]
call qword [sym.imp.acdb21.dll_public:_void___cdecl_AdXREFString::constructor_wchar_t_const____ptr64____ptr64]
nop
mov rax, qword [rsi]
mov r8d, 1
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [rax + 0x20]
nop
mov r8, qword [rax]
lea rdx, [rbp - 0x78]
mov rcx, rax
call qword [r8 + 0x80]
test eax, eax
sete dil
lea rcx, [rsp + 0x50]
call qword [sym.imp.acdb21.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.acdb21.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
test dil, dil
je 0x14003ce4a
mov rax, qword [rsi]
or r9, 0xffffffffffffffff
lea r8d, [r9 + 2]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [rax + VariantCopy]
nop
mov rdx, rax
lea rcx, [rbp - 0x50]
call qword [sym.imp.acdb21.dll_public_virtual:_int___cdecl_AdXREFString::CollateNoCase_class_AdXREFString_const____ptr64_const___ptr64]
test eax, eax
sete dil
lea rcx, [rsp + 0x50]
call qword [sym.imp.acdb21.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
test dil, dil
jne 0x14003cebb
jmp 0x14003ceaa
mov rdx, rsi
lea rcx, [rbp - 0x50]
call qword [sym.imp.acdb21.dll_public_virtual:_int___cdecl_AdXREFString::CollateNoCase_class_AdXREFString_const____ptr64_const___ptr64]
test eax, eax
je 0x14003cf44
lea rcx, [rbp - 0x78]
call qword [sym.imp.acdb21.dll_public:_void___cdecl_AdXREFString::constructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14003ce86
lea r9, [rbp - 0x78]
mov r8d, reloc.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup
mov edx, r14d
call fcn.14003cfe0
mov byte [rsp + 0x20], bl
lea r9, [rbp - 0x78]
lea rdx, [rsp + 0x38]
lea rcx, [0x1400806d8]
call fcn.140021450
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.acdb21.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
inc r14d
cmp r14d, r15d
jg 0x14003cf90
jmp 0x14003cd90
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14003cf3a
mov r9, rsi
mov r8d, reloc.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup
mov edx, r14d
call fcn.14003cfe0
movzx ebx, al
test al, al
je 0x14003cf33
mov rdx, rsi
lea rcx, [rbp - 0x78]
call qword [sym.imp.acdb21.dll_public:_void___cdecl_AdXREFString::constructor_class_AdXREFString_const____ptr64____ptr64]
nop
lea rdx, [0x14005be04]
mov rcx, rsi
call qword [sym.imp.acdb21.dll_public:_class_AdXREFString_const____ptr64___cdecl_AdXREFString::operator_wchar_t_const____ptr64____ptr64]
mov rax, qword [rsi]
lea rdx, [rbp - 0x78]
mov rcx, rsi
call qword [rax + 0xe8]
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
mov r9, rsi
lea rdx, [rsp + 0x38]
lea rcx, [0x1400806d8]
call fcn.140021450
nop
lea rcx, [rbp - 0x78]
call qword [sym.imp.acdb21.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
mov rcx, qword [rsp + 0x78]
jmp 0x14003cf3c
xor bl, bl
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14003cf9d
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14003cf64
mov r9, rsi
mov r8d, reloc.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup
mov edx, r14d
call fcn.14003cfe0
movzx ebx, al
jmp 0x14003cf66
xor bl, bl
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
mov r9, rsi
lea rdx, [rsp + 0x38]
lea rcx, [0x1400806d8]
call fcn.140021450
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14003cf9d
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor bl, bl
lea rcx, [rbp - 0x50]
call qword [sym.imp.acdb21.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
jmp 0x14003cfab
xor bl, bl
lea rcx, [rbp - 0x18]
call qword [sym.imp.acdb21.dll_public_virtual:_void___cdecl_AdXREFString::destructor_void____ptr64]
movzx eax, bl
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400489c0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret