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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov r14, rcx
xor edi, edi
lea rdx, [0x18006dce0]
lea rcx, [rbp + 0x7f]
call fcn.1800191c0
nop
call fcn.1800063d0
mov r8, rax
lea r9, str.ThirdPartySyncAdBlockerAdBlockerRule.dat
lea rdx, [0x18006f400]
lea rcx, [rbp + 0x7f]
call fcn.1800177d0
mov r11, qword [rbp + 0x7f]
mov qword [rsp + 0x20], r11
lea r9, str.CAdBlockerMgr::LoadAdWndRules_0___s_
lea r8, str.AdBlocker
lea edx, [rdi + 0xf]
lea rcx, [0x180092038]
call fcn.180011f30
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rdi + 1]
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x180003d06
lea r9, str.CAdBlockerMgr::LoadAdWndRules__CreateFile_Dest__Failed
lea r8, str.AdBlocker
lea edx, [rdi + 0xf]
lea rcx, [0x180092038]
call fcn.180011f30
nop
lea rcx, [rbp + 0x7f]
call fcn.180016820
jmp 0x18000402b
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [rsp + 0x20], eax
lea r9, str.CAdBlockerMgr::LoadAdWndRules_1___d_
lea r8, str.AdBlocker
mov edx, 0xf
lea rcx, [0x180092038]
call fcn.180011f30
test ebx, ebx
je 0x180004019
cmp ebx, 0x2faf080
ja 0x180004019
lea eax, [rbx + 2]
mov r13d, eax
mov ecx, eax
call fcn.18002ae9c
mov rsi, rax
test rax, rax
jne 0x180003d82
lea r9, str.CAdBlockerMgr::LoadAdWndRules__new_BYTE__Failed
lea r8, str.AdBlocker
lea edx, [rax + 0xf]
lea rcx, [0x180092038]
call fcn.180011f30
nop
jmp 0x180004019
mov r8, r13
xor edx, edx
mov rcx, rax
call fcn.18002a9c0
mov dword [rbp + 0x6f], edi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x6f]
mov r8d, ebx
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rbp + 0x6f]
test eax, eax
je 0x180003fd1
cmp ecx, ebx
ja 0x180003fd1
mov rdx, rsi
lea rcx, [rbp + 0x77]
call fcn.1800191c0
nop
mov r8d, 4
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x77]
call fcn.1800197c0
nop
lea rdx, str.FFFE
mov rcx, qword [rbp - 0x29]
call fcn.18002a008
test eax, eax
je 0x180003e0b
lea rcx, [rbp - 0x29]
call fcn.180016820
nop
lea rcx, [rbp + 0x77]
call fcn.180016820
nop
jmp 0x180003ff9
mov rax, qword [rbp + 0x77]
mov eax, dword [rax - 8]
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
mov dword [rsp + 0x20], ebx
lea r9, str.CAdBlockerMgr::LoadAdWndRules_2___d_
lea r8, str.AdBlocker
mov edx, 0xf
lea rcx, [0x180092038]
call fcn.180011f30
test ebx, ebx
jne 0x180003e59
lea rcx, [rbp - 0x29]
call fcn.180016820
nop
lea rcx, [rbp + 0x77]
call fcn.180016820
nop
jmp 0x180003ff9
mov rcx, rbx
call fcn.18002ae9c
mov rdi, rax
test rax, rax
jne 0x180003e82
lea rcx, [rbp - 0x29]
call fcn.180016820
nop
lea rcx, [rbp + 0x77]
call fcn.180016820
nop
jmp 0x180003ff9
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.18002a9c0
mov r8d, ebx
mov rdx, rdi
mov rcx, qword [rbp + 0x77]
call fcn.180027b30
shr ebx, 1
mov r8d, ebx
mov rdx, rdi
lea rcx, [rbp - 0x21]
call fcn.180019350
nop
mov rdx, rax
lea rcx, [rbp + 0x77]
call fcn.180016930
nop
lea rcx, [rbp - 0x21]
call fcn.180016820
lea r8, [0x18006dce0]
lea rdx, [0x18006f228]
lea rcx, [rbp + 0x77]
call fcn.1800170a0
lea rcx, [rbp - 0x11]
call fcn.180001b80
nop
lea r8, [rbp - 0x11]
mov rdx, qword [rbp + 0x77]
mov rcx, r14
call fcn.180003680
lea rcx, [rbp - 0x11]
call fcn.180001b90
mov ebx, eax
mov dword [rsp + 0x28], eax
mov rcx, qword [rbp + 0x77]
mov qword [rsp + 0x20], rcx
lea r9, str.CAdBlockerMgr::LoadAdWndRules_3___s____d_
lea r8, str.AdBlocker
mov edx, 0xf
lea rcx, [0x180092038]
call fcn.180011f30
test ebx, ebx
jne 0x180003f55
lea rcx, [rbp - 0x11]
call fcn.180001ef0
nop
lea rcx, [rbp - 0x29]
call fcn.180016820
nop
lea rcx, [rbp + 0x77]
call fcn.180016820
nop
jmp 0x180003ff9
lea rdx, [r14 + 0x10]
mov r8d, 1
lea rcx, [rbp + 7]
call fcn.18001e400
lea rcx, [rbp + 7]
call fcn.18001e480
lea rdx, [rbp - 0x11]
lea rcx, [r14 + 0xf0]
call fcn.180001ea0
lea rcx, [r14 + 0xf0]
call fcn.180001b90
mov dword [rsp + 0x20], eax
lea r9, str.CAdBlockerMgr::LoadAdWndRules_4___d_
lea r8, str.AdBlocker
mov edx, 0xf
lea rcx, [0x180092038]
call fcn.180011f30
nop
lea rcx, [rbp - 0x11]
call fcn.180001ef0
nop
lea rcx, [rbp - 0x29]
call fcn.180016820
nop
lea rcx, [rbp + 0x77]
call fcn.180016820
nop
jmp 0x180003ff9
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ecx
lea r9, str.CAdBlockerMgr::LoadAdWndRules__ReadSrcFile_Update__Failed___d____d_
lea r8, str.AdBlocker
mov edx, 0xf
lea rcx, [0x180092038]
call fcn.180011f30
nop
lea rcx, [rbp + 0x7f]
call fcn.180016820
mov rcx, rsi
call fcn.18002af40
test rdi, rdi
je 0x180004022
mov rcx, rdi
call fcn.18002af40
jmp 0x180004022
lea rcx, [rbp + 0x7f]
call fcn.180016820
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x90
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret