Function at 0x180132740
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x350
mov qword [rsp + 0x130], 0xfffffffffffffffe
mov rax, qword [0x180208090]
xor rax, rsp
mov qword [rsp + 0x340], rax
mov dword [rsp + 0x44], 0
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x48], 0xffffffffffffffff
mov qword [rsp + 0x50], 0
mov rcx, qword [rsp + 0x368]
call fcn.180003a80
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 7
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1801328ed
call fcn.1800bbb60
mov qword [rsp + 0xa8], rax
mov edx, 2
mov rcx, qword [rsp + 0xa8]
call fcn.1800bc4a0
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jbe 0x1801328e8
lea rax, [rsp + 0x178]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov rcx, rax
call fcn.180005120
nop
lea rcx, [rsp + 0x178]
call fcn.180004020
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xc0], eax
mov r8d, dword [rsp + 0xc0]
lea rdx, [0x1801996d8]
lea rcx, [rsp + 0x178]
call fcn.1800bc9a0
mov dword [rsp + 0x28], 0x5db
lea rax, str.RC::RCSearchEngineLock::IsProviderCfgExisted
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_safewebmon_src_rcsearchenginelock.cpp
lea r8, [rsp + 0x178]
mov edx, 2
mov rcx, qword [rsp + 0xa8]
call fcn.1800bc500
lea rdx, [rsp + 0x178]
mov rcx, qword [rsp + 0xa8]
call fcn.180082c70
cmp dword [rsp + 0x60], 1
jbe 0x1801328ca
lea rdx, [rsp + 0x178]
mov rcx, qword [rsp + 0xa8]
call fcn.1800bc860
nop
lea rcx, [rsp + 0x178]
call fcn.180003f40
nop
lea rax, [rsp + 0x178]
mov qword [rsp + 0x138], rax
jmp 0x18013301b
mov dword [rsp + 0x58], 0
lea rax, [rsp + 0x5c]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x180132a2e
call fcn.1800bbb60
mov qword [rsp + 0xb0], rax
mov edx, 2
mov rcx, qword [rsp + 0xb0]
call fcn.1800bc4a0
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jbe 0x180132a29
lea rax, [rsp + 0x198]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov rcx, rax
call fcn.180005120
nop
lea rcx, [rsp + 0x198]
call fcn.180004020
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xc4], eax
mov r8d, dword [rsp + 0xc4]
lea rdx, [0x180199770]
lea rcx, [rsp + 0x198]
call fcn.1800bc9a0
mov dword [rsp + 0x28], 0x5e2
lea rax, str.RC::RCSearchEngineLock::IsProviderCfgExisted
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_safewebmon_src_rcsearchenginelock.cpp
lea r8, [rsp + 0x198]
mov edx, 2
mov rcx, qword [rsp + 0xb0]
call fcn.1800bc500
lea rdx, [rsp + 0x198]
mov rcx, qword [rsp + 0xb0]
call fcn.180082c70
cmp dword [rsp + 0x64], 1
jbe 0x180132a0b
lea rdx, [rsp + 0x198]
mov rcx, qword [rsp + 0xb0]
call fcn.1800bc860
nop
lea rcx, [rsp + 0x198]
call fcn.180003f40
nop
lea rax, [rsp + 0x198]
mov qword [rsp + 0x140], rax
jmp 0x18013301b
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x180132b39
call fcn.1800bbb60
mov qword [rsp + 0xb8], rax
mov edx, 2
mov rcx, qword [rsp + 0xb8]
call fcn.1800bc4a0
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jbe 0x180132b34
lea rcx, [rsp + 0x1b8]
call fcn.180003c60
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xc8], eax
mov r8d, dword [rsp + 0xc8]
lea rdx, [0x1801997a0]
lea rcx, [rsp + 0x1b8]
call fcn.1800bc9a0
mov dword [rsp + 0x28], 0x5e8
lea rax, str.RC::RCSearchEngineLock::IsProviderCfgExisted
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_safewebmon_src_rcsearchenginelock.cpp
lea r8, [rsp + 0x1b8]
mov edx, 2
mov rcx, qword [rsp + 0xb8]
call fcn.1800bc500
lea rdx, [rsp + 0x1b8]
mov rcx, qword [rsp + 0xb8]
call fcn.180082c70
cmp dword [rsp + 0x68], 1
jbe 0x180132b16
lea rdx, [rsp + 0x1b8]
mov rcx, qword [rsp + 0xb8]
call fcn.1800bc860
nop
lea rcx, [rsp + 0x1b8]
call fcn.180003f40
nop
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x148], rax
jmp 0x18013301b
mov eax, dword [rsp + 0x58]
inc eax
mov eax, eax
mov ecx, eax
call fcn.1800d85d0
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x180132b6a
jmp 0x18013301b
mov eax, dword [rsp + 0x58]
inc eax
mov eax, eax
mov qword [rsp + 0xf8], rax
mov rdi, qword [rsp + 0x50]
xor eax, eax
mov rcx, qword [rsp + 0xf8]
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180132cad
call fcn.1800bbb60
mov qword [rsp + 0xa0], rax
mov edx, 2
mov rcx, qword [rsp + 0xa0]
call fcn.1800bc4a0
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
jbe 0x180132ca8
lea rcx, [rsp + 0x1d8]
call fcn.180003c60
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xcc], eax
mov r8d, dword [rsp + 0xcc]
lea rdx, [0x1801997d0]
lea rcx, [rsp + 0x1d8]
call fcn.1800bc9a0
mov dword [rsp + 0x28], 0x5f6
lea rax, str.RC::RCSearchEngineLock::IsProviderCfgExisted
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_safewebmon_src_rcsearchenginelock.cpp
lea r8, [rsp + 0x1d8]
mov edx, 2
mov rcx, qword [rsp + 0xa0]
call fcn.1800bc500
lea rdx, [rsp + 0x1d8]
mov rcx, qword [rsp + 0xa0]
call fcn.180082c70
cmp dword [rsp + 0x6c], 1
jbe 0x180132c8a
lea rdx, [rsp + 0x1d8]
mov rcx, qword [rsp + 0xa0]
call fcn.1800bc860
nop
lea rcx, [rsp + 0x1d8]
call fcn.180003f40
nop
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0x150], rax
jmp 0x18013301b
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x70], eax
je 0x180132d9d
call fcn.1800bbb60
mov qword [rsp + 0x88], rax
mov edx, 2
mov rcx, qword [rsp + 0x88]
call fcn.1800bc4a0
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jbe 0x180132d98
lea rcx, [rsp + 0x1f8]
call fcn.180003c60
nop
lea r8, [0x180199800]
lea rdx, [rsp + 0x1f8]
mov rcx, qword [rsp + 0x88]
call fcn.1800bc4f0
mov dword [rsp + 0x28], 0x5fc
lea rax, str.RC::RCSearchEngineLock::IsProviderCfgExisted
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_safewebmon_src_rcsearchenginelock.cpp
lea r8, [rsp + 0x1f8]
mov edx, 2
mov rcx, qword [rsp + 0x88]
call fcn.1800bc500
lea rdx, [rsp + 0x1f8]
mov rcx, qword [rsp + 0x88]
call fcn.180082c70
cmp dword [rsp + 0x74], 1
jbe 0x180132d7a
lea rdx, [rsp + 0x1f8]
mov rcx, qword [rsp + 0x88]
call fcn.1800bc860
nop
lea rcx, [rsp + 0x1f8]
call fcn.180003f40
nop
lea rax, [rsp + 0x1f8]
mov qword [rsp + 0x158], rax
jmp 0x18013301b
lea rcx, [rsp + 0xd8]
call fcn.1800bcda0
mov rdx, rax
lea rcx, [rsp + 0x280]
call fcn.1800bcdb0
nop
xor edx, edx
lea rcx, [rsp + 0x108]
call fcn.1800c6e50
nop
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x258]
call fcn.18000a5b0
nop
mov eax, dword [rsp + 0x44]
or eax, 1
mov dword [rsp + 0x44], eax
mov r9b, 1
lea r8, [rsp + 0x108]
lea rdx, [rsp + 0x258]
lea rcx, [rsp + 0x280]
call fcn.1800bcf70
movzx eax, al
test eax, eax
je 0x180132e42
lea rcx, [rsp + 0x108]
call fcn.1800c7ae0
movzx eax, al
test eax, eax
jne 0x180132e42
lea rcx, [rsp + 0x108]
call fcn.1800c89e0
movzx eax, al
test eax, eax
je 0x180132e42
mov dword [rsp + 0x78], 0
jmp 0x180132e4a
mov dword [rsp + 0x78], 1
movzx eax, byte [rsp + 0x78]
mov byte [rsp + 0x41], al
mov eax, dword [rsp + 0x44]
and eax, 1
test eax, eax
je 0x180132e81
and dword [rsp + 0x44], 0xfffffffe
lea rcx, [rsp + 0x258]
call fcn.18000ac70
nop
lea rax, [rsp + 0x258]
mov qword [rsp + 0x160], rax
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x180132f8c
call fcn.1800bbb60
mov qword [rsp + 0x90], rax
mov edx, 2
mov rcx, qword [rsp + 0x90]
call fcn.1800bc4a0
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0
jbe 0x180132f6b
lea rcx, [rsp + 0x218]
call fcn.180003c60
nop
lea r8, [0x180199820]
lea rdx, [rsp + 0x218]
mov rcx, qword [rsp + 0x90]
call fcn.1800bc4f0
mov dword [rsp + 0x28], 0x609
lea rax, str.RC::RCSearchEngineLock::IsProviderCfgExisted
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotectwebprotect_src_safewebmon_src_rcsearchenginelock.cpp
lea r8, [rsp + 0x218]
mov edx, 2
mov rcx, qword [rsp + 0x90]
call fcn.1800bc500
lea rdx, [rsp + 0x218]
mov rcx, qword [rsp + 0x90]
call fcn.180082c70
cmp dword [rsp + 0x7c], 1
jbe 0x180132f4d
lea rdx, [rsp + 0x218]
mov rcx, qword [rsp + 0x90]
call fcn.1800bc860
nop
lea rcx, [rsp + 0x218]
call fcn.180003f40
nop
lea rax, [rsp + 0x218]
mov qword [rsp + 0x168], rax
lea rcx, [rsp + 0x108]
call fcn.1800c72c0
nop
lea rcx, [rsp + 0x280]
call fcn.180009e80
nop
jmp 0x18013301b
lea rdx, str.default_search_provider_data
lea rcx, [rsp + 0x108]
call fcn.1800c8480
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.1800c7ae0
movzx eax, al
test eax, eax
jne 0x180132fd0
mov rcx, qword [rsp + 0xd0]
call fcn.1800c89e0
movzx eax, al
test eax, eax
jne 0x180132fee
lea rcx, [rsp + 0x108]
call fcn.1800c72c0
nop
lea rcx, [rsp + 0x280]
call fcn.180009e80
nop
jmp 0x18013301b
mov byte [rsp + 0x40], 1
lea rcx, [rsp + 0x108]
call fcn.1800c72c0
nop
lea rcx, [rsp + 0x280]
call fcn.180009e80
nop
jmp 0x180133011
xor eax, eax
test eax, eax
jne 0x18013278f
cmp qword [rsp + 0x50], 0
je 0x18013304b
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x100], rax
mov edx, 1
mov rcx, qword [rsp + 0x100]
call fcn.1800d80b0
mov qword [rsp + 0x50], 0
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x180133067
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x48], 0xffffffffffffffff
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.1800d8050
add rsp, 0x350
pop rdi
ret