Function at 0x180054c10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov rax, qword [0x180089b10]
xor rax, rsp
mov qword [rbp + 0x17], rax
lea ebx, [rcx + 0x762]
mov qword [rbp - 0x41], rdx
mov dword [rbp - 0x59], ebx
cmp ecx, ebx
mov rbx, qword [rbp - 0x39]
mov r13, r8
mov r15, rdx
mov dword [rbp - 0x51], ecx
mov r14d, ecx
jae 0x180054e22
mov esi, dword [rbp - 0x49]
xor edi, edi
mov r12, qword [rbp - 0x39]
mov eax, dword [rbp - 0x59]
nop dword [rax + rax]
cmp r14d, 0x313
ja 0x180054ea2
je 0x180054e00
cmp r14d, 0x1f
je 0x180054de0
cmp r14d, 0x46
je 0x180054d9b
cmp r14d, 0xdc
je 0x180054d46
cmp r14d, 0x199
je 0x180054ce7
cmp r14d, 0x256
jne 0x180055569
cmp byte [r15], 0x2d
jne 0x180054cca
cmp byte [r15 + 1], dil
je 0x180055582
mov r8d, 0x50
lea rcx, [0x18007cb50]
mov rdx, r15
call fcn.18002f9f0
mov r12, rax
jmp 0x180055566
test r15, r15
jne 0x180055569
mov r14d, 0xeb
nop word [rax + rax]
mov eax, r14d
sub eax, 0xe9
je 0x180054e22
sub eax, 1
je 0x180054d32
cmp eax, 1
jne 0x180054d35
lea rcx, [r13 + 0xf8]
mov edx, pe_nt_image_headers64
lea r8, str.Check_failed:__backbuffer_size__.IsEmpty__.
call fcn.18006f620
jmp 0x180054d35
mov rbx, rdi
dec r14d
cmp r14d, 0xe8
ja 0x180054d00
jmp 0x180055562
cmp esi, 0xffffffff
jne 0x180055569
mov r14d, 0x34
mov eax, r14d
sub eax, 0x34
je 0x180054d6a
cmp eax, 1
jne 0x180054d8d
mov rax, rdi
jmp 0x180054e25
lea rcx, [r13 + 0xf8]
mov dword [rsp + 0x20], 0xffffffff
mov r9, r15
lea r8, str.Failed_to_remove__s_provisional_serial_number_in__s
mov edx, pe_nt_image_headers64
call fcn.18006f620
inc r14d
cmp r14d, 0x36
jb 0x180054d55
jmp 0x180055562
mov r8, r13
mov edx, 0xf6
xor ecx, ecx
call fcn.18003c700
cmp eax, 1
jne 0x180055566
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rdi
mov r9d, 0x6b
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp - 0x51], 2
xor edx, edx
mov rcx, r13
call fcn.180019060
jmp 0x180055566
mov eax, dword [r13 + 0x74]
lea r9, [rbp - 0x51]
xor edx, edx
mov dword [rbp - 0x51], eax
xor r8d, r8d
lea ecx, [rdx + 0x39]
call fcn.18002b5c0
mov rsi, rax
jmp 0x180055566
test r12, r12
jne 0x180055569
mov r14d, 0xb3
nop
cmp r14d, 0xb3
je 0x180054e4c
cmp r14d, 0xeaf
jne 0x180054e89
mov rax, rbx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.18006fee0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
xor edx, edx
mov ecx, dword [rax]
mov dword [rbp - 0x31], ecx
lea r8d, [rdx + 0x6b]
lea rcx, [rbp - 0x31]
call fcn.1800390d0
lea rcx, [r13 + 0xf8]
mov qword [rsp + 0x20], rax
mov r9, r15
lea r8, str._s:__s
mov edx, pe_nt_image_headers64
call fcn.18006f620
mov rbx, rdi
add r14d, 0xdfc
cmp r14d, 0x1bf8
jbe 0x180054e10
jmp 0x180055562
cmp r14d, 0x3d0
je 0x18005545e
cmp r14d, 0x48d
je 0x180054f66
cmp r14d, 0x54a
je 0x180054eda
cmp r14d, 0x607
jne 0x180055569
mov rax, r12
jmp 0x180054e25
xor edx, edx
mov rcx, r12
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
cmp eax, 0xffffffff
jne 0x180055566
mov r14d, 0x23
mov eax, r14d
sub eax, 0x23
je 0x180054f1e
sub eax, 1
je 0x180054f10
cmp eax, 1
je 0x180054e22
jmp 0x180054f58
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, rdi
jmp 0x180054f58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
xor edx, edx
mov ecx, dword [rax]
mov dword [rbp - 0x29], ecx
lea r8d, [rdx + 0x6b]
lea rcx, [rbp - 0x29]
call fcn.1800390d0
lea rcx, [r13 + 0xf8]
mov qword [rsp + 0x20], rax
mov r9, r15
lea r8, str.GPF_in_CCI3Avi::uiCreate___
mov edx, pe_nt_image_headers64
call fcn.18006f620
inc r14d
cmp r14d, 0x26
jb 0x180054ef8
jmp 0x180055562
xor r9d, r9d
xor edx, edx
mov rcx, r12
lea r8d, [r9 + 4]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_setvbuf]
cmp qword [rbp - 0x39], rdi
jbe 0x180055390
mov ecx, dword [rbp - 1]
mov r15d, 0xd7
nop dword [rax + rax]
cmp r15d, 0xd7
je 0x18005510a
cmp r15d, 0x169
je 0x180055363
cmp r15d, 0x1fb
je 0x18005502f
cmp r15d, 0x28d
jne 0x180055373
mov eax, dword [rbp + 0xf]
cmp dword [r13 + 0x70], eax
je 0x180055373
mov r14d, 0xcf
mov eax, r14d
sub eax, 0xcf
je 0x180054ffb
sub eax, 1
je 0x180054fed
cmp eax, 1
je 0x180054e22
jmp 0x180055017
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, rdi
jmp 0x180055017
mov r9, qword [rbp - 0x41]
lea rcx, [r13 + 0xf8]
lea r8, str.IR::Instruction__rightSafeInstruction__0
mov edx, pe_nt_image_headers64
call fcn.18006f620
inc r14d
cmp r14d, 0xd2
jb 0x180054fd3
mov ecx, dword [rbp - 1]
mov r14d, dword [rbp - 0x51]
jmp 0x180055373
cmp word [rbp + 3], 2
jne 0x18005503d
cmp word [rbp + 5], 4
je 0x1800550a1
mov r14d, 0x121
mov eax, r14d
sub eax, 0x121
je 0x180055058
cmp eax, 8
je 0x180054d62
jmp 0x18005508d
movzx edx, word [rbp + 3]
lea rcx, [r13 + 0xf8]
movzx eax, word [rbp + 5]
lea r8, str.component__d_already_active__not_signalling
mov r9, qword [rbp - 0x41]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov edx, pe_nt_image_headers64
call fcn.18006f620
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add r14d, 8
cmp r14d, 0x131
jb 0x180055043
mov ecx, dword [rbp - 1]
mov r14d, dword [rbp - 0x51]
cmp esi, dword [rbp + 0x13]
je 0x180055373
mov r14d, 0x85
mov eax, r14d
sub eax, 0x83
je 0x180054e22
sub eax, 1
je 0x1800550e6
cmp eax, 1
jne 0x1800550f2
mov r9, qword [rbp - 0x41]
lea rcx, [r13 + 0xf8]
lea r8, str.Enable_use_of_TBAA_during_MI_DAG_construction
mov edx, pe_nt_image_headers64
call fcn.18006f620
jmp 0x1800550f2
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, rdi
dec r14d
cmp r14d, 0x82
ja 0x1800550b0
mov ecx, dword [rbp - 1]
mov r14d, dword [rbp - 0x51]
jmp 0x180055373
cmp ecx, 0xa1b23c4d
ja 0x1800551cc
je 0x18005514d
cmp ecx, 0x34cdb2a1
je 0x18005523f
cmp ecx, 0x4d3c2ba1
je 0x18005523f
cmp ecx, 0x4d3cb2a1
je 0x1800551ec
cmp ecx, 0xa12b3c4d
je 0x18005523f
jmp 0x1800552a8
mov eax, 5
cmp eax, 5
je 0x180055164
add eax, 0x15
cmp eax, 0x1a
jb 0x180055152
jmp 0x1800551ec
cmp dword [r13 + 0xb4], 1
je 0x180055363
mov r14d, 0xa4
nop dword [rax + rax]
mov eax, r14d
sub eax, 0xa4
je 0x180055195
cmp eax, 0x30
je 0x180054d62
jmp 0x1800551ba
mov r9, qword [rbp - 0x41]
lea rcx, [r13 + 0xf8]
lea r8, str.Folding_can_be_done_only_for___GSHandlerCheck_SEH_handler
mov edx, pe_nt_image_headers64
call fcn.18006f620
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add r14d, 0x30
cmp r14d, 0x104
jb 0x180055180
jmp 0x180055360
cmp ecx, 0xa1b2c3d4
je 0x180055300
cmp ecx, 0xa1b2cd34
je 0x18005523f
cmp ecx, 0xd4c3b2a1
jne 0x1800552a8
mov r14d, 0xd8
mov eax, r14d
sub eax, 0xd8
je 0x180055217
sub eax, 1
je 0x18005520c
cmp eax, 1
je 0x180054d62
jmp 0x180055233
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x180055233
mov r9, qword [rbp - 0x41]
lea rcx, [r13 + 0xf8]
lea r8, str.if__aCnull__throw__make_range_error_155_aB__
mov edx, pe_nt_image_headers64
call fcn.18006f620
inc r14d
cmp r14d, 0xdb
jb 0x1800551f2
mov r14d, ILFindLastID
cmp r14d, 0xb
je 0x18005527c
cmp r14d, 0xc2
je 0x180055271
cmp r14d, 0x179
je 0x18005526c
cmp r14d, 0x230
je 0x180054e22
jmp 0x180055298
mov rbx, rdi
jmp 0x180055298
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x180055298
mov r9, qword [rbp - 0x41]
lea rcx, [r13 + 0xf8]
lea r8, str.EnumPackagesByUserSidNamePublisherInternal
mov edx, pe_nt_image_headers64
call fcn.18006f620
add r14d, 0xb7
cmp r14d, 0x2e7
jb 0x180055245
mov r14d, 0x4c
nop
mov eax, r14d
sub eax, 0x4c
je 0x1800552c3
cmp eax, 1
je 0x180054d62
jmp 0x1800552e8
mov r9, qword [rbp - 0x41]
lea rcx, [r13 + 0xf8]
lea r8, str.ProfileHeaderStruct
mov edx, pe_nt_image_headers64
call fcn.18006f620
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
inc r14d
cmp r14d, 0x4e
jb 0x1800552b0
mov ecx, dword [rbp - 1]
mov r14d, dword [rbp - 0x51]
jmp 0x180055373
cmp dword [r13 + 0xb4], edi
je 0x180055363
mov r14d, 0xa8
nop
mov eax, r14d
sub eax, 0xa8
je 0x180055338
sub eax, 1
je 0x18005532a
cmp eax, 1
je 0x180054e22
jmp 0x180055354
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, rdi
jmp 0x180055354
mov r9, qword [rbp - 0x41]
lea rcx, [r13 + 0xf8]
lea r8, str.VNL_ConnectVnetAdapter:_couldnt_open_device_for_vmnet__d
mov edx, pe_nt_image_headers64
call fcn.18006f620
inc r14d
cmp r14d, 0xab
jb 0x180055310
mov ecx, dword [rbp - 1]
mov r14d, 0x48d
mov r15d, 0x169
mov dword [rbp - 0x51], r14d
add r15d, 0x92
cmp r15d, 0x31f
jb 0x180054f90
mov r15, qword [rbp - 0x41]
jmp 0x180055566
mov eax, dword [r13 + 0x70]
lea r9, [rbp - 0x19]
mov dword [rbp - 0x11], eax
lea rdx, [rbp - 0x11]
mov eax, dword [r13 + 0x7c]
mov r8d, 0x39
mov dword [rbp - 0x21], eax
mov rcx, r12
lea rax, [rbp - 0x21]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x19], esi
call fcn.1800620c0
cmp eax, 0xffffffff
jne 0x180055566
mov r14d, 0x73
cmp r14d, 0x73
je 0x18005540b
cmp r14d, 0x1e19
je 0x180055400
cmp r14d, 0x3bbf
je 0x1800553fb
cmp r14d, 0x5965
je 0x180054e22
jmp 0x180055445
mov rbx, rdi
jmp 0x180055445
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x180055445
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
xor edx, edx
mov ecx, dword [rax]
mov dword [rbp - 9], ecx
lea r8d, [rdx + 0x6b]
lea rcx, [rbp - 9]
call fcn.1800390d0
lea rcx, [r13 + 0xf8]
mov qword [rsp + 0x20], rax
mov r9, r15
lea r8, str.Meters___EQ___120_DPI
mov edx, pe_nt_image_headers64
call fcn.18006f620
add r14d, 0x1da6
cmp r14d, 0x7698
jbe 0x1800553d4
jmp 0x180055562
mov edx, 1
lea rcx, [rbp - 1]
mov r9, r12
lea r8d, [rdx + 0x17]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rbp - 0x39], rax
cmp rax, 0x18
je 0x180055566
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
test eax, eax
je 0x180055509
mov r14d, 0x12
nop word [rax + rax]
mov eax, r14d
sub eax, 0x10
je 0x180054e22
sub eax, 1
je 0x1800554fb
cmp eax, 1
jne 0x1800554fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
xor edx, edx
mov ecx, dword [rax]
mov dword [rbp - 0x49], ecx
lea r8d, [rdx + 0x6b]
lea rcx, [rbp - 0x49]
call fcn.1800390d0
lea rcx, [r13 + 0xf8]
mov qword [rsp + 0x20], rax
mov r9, r15
lea r8, str._s:__s
mov edx, pe_nt_image_headers64
call fcn.18006f620
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1800554fe
mov rbx, rdi
dec r14d
cmp r14d, 0xf
ja 0x1800554a0
jmp 0x180055562
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
je 0x180055566
cmp qword [rbp - 0x39], rdi
jbe 0x180055566
mov r14d, 0x3e
cmp r14d, 0x3e
je 0x180055534
cmp r14d, 0x5b
je 0x180054d62
jmp 0x180055558
lea rcx, [r13 + 0xf8]
mov r9, r15
lea r8, str.OOBELib_RecordEULAOnline_ENDED
mov edx, pe_nt_image_headers64
call fcn.18006f620
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add r14d, 0x1d
cmp r14d, 0x78
jb 0x180055522
mov r14d, dword [rbp - 0x51]
mov eax, dword [rbp - 0x59]
add r14d, 0xbd
mov dword [rbp - 0x51], r14d
cmp r14d, eax
jb 0x180054c70
jmp 0x180054e22
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rcx, str.InsecureAddress
mov dword [rbp - 0x49], esi
mov qword [rsp + 0x28], rcx
lea rdx, [rbp - 0x49]
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov r9, r13
mov r8d, 0x4c
call fcn.18005c4b0
jmp 0x180054e25