Function at 0x100382f0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101792de
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x10204014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x14]
push eax
mov dword [ebp - 0x74], eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x1003833e
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
mov dword [ebp - 4], 0
mov al, byte [esi]
test al, al
je 0x10038352
mov bl, 1
jmp 0x10038631
cmp dword [esi + 0xc], 0
jne 0x1003835f
xor bl, bl
jmp 0x10038631
push 9
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x8c]
push str.DU01.data
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
call fcn.10007fb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.100b0d30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
push ecx
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.101360c0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa4]
call fcn.10007f50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8c]
call fcn.10007f50
cmp dword [ebp - 0x60], 0
je 0x10038623
lea eax, [ebp - 0x70]
push eax
lea ecx, [esi + 0x4c]
call dword [sym.imp.BasicSQLite.dll_public:_bool___thiscall_RC::RCSQLiteConnection::LoadDB_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esi + 0x6c]
xchg byte [ecx], al
mov al, byte [ecx]
test al, al
jne 0x1003848c
push 2
mov ecx, 0x10208e74
call fcn.1015aeb0
mov esi, eax
test esi, esi
je 0x10038623
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
push 0xd
push 0x101ace30
call fcn.10007fb0
push 0x4c
push str.RC::RCNewTabPageCfgMapMgr::Init
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_newtabpagelock_rcnewtabpageconfigmgr.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push eax
push 2
call fcn.1015aef0
cmp esi, 1
jbe 0x1003847b
lea eax, [ebp - 0x28]
mov ecx, 0x10208e74
push eax
call fcn.1015b210
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.10007f50
jmp 0x10038623
push 0x3e8
lea ecx, [esi + 0xc]
call fcn.1013dea0
test al, al
jne 0x1003852c
push 2
mov ecx, 0x10208e74
call fcn.1015aeb0
mov esi, eax
test esi, esi
je 0x10038623
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
push 0x10
push 0x101acf9c
call fcn.10007fb0
push 0x52
push str.RC::RCNewTabPageCfgMapMgr::Init
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_newtabpagelock_rcnewtabpageconfigmgr.cpp
lea eax, [ebp - 0x40]
mov ecx, 0x10208e74
push eax
push 2
call fcn.1015aef0
cmp esi, 1
jbe 0x1003851b
lea eax, [ebp - 0x40]
mov ecx, 0x10208e74
push eax
call fcn.1015b210
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.10007f50
jmp 0x10038623
push str.RC_SAFE_F7B7DE7F_BFAB_4F89_A893_B89D9B216C8C
push 0x1000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
test eax, eax
je 0x1003861b
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
test eax, eax
je 0x1003860b
push 0x1000
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov al, 1
xchg byte [esi], al
lea ecx, [esi + 0xc]
call fcn.1013ded0
push 2
mov ecx, 0x10208e74
call fcn.1015aeb0
mov esi, eax
test esi, esi
je 0x10038607
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x58]
push 0x10
push 0x101ad01c
call fcn.10007fb0
push 0x60
push str.RC::RCNewTabPageCfgMapMgr::Init
push str.d:jenkinsworkspacepc_2345mpcsafe_build_2_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_newtabpagelock_rcnewtabpageconfigmgr.cpp
lea eax, [ebp - 0x58]
mov ecx, 0x10208e74
push eax
push 2
call fcn.1015aef0
cmp esi, 1
jbe 0x100385fb
lea eax, [ebp - 0x58]
mov ecx, 0x10208e74
push eax
call fcn.1015b210
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.10007f50
mov bl, 1
jmp 0x10038625
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
lea ecx, [esi + 0xc]
call fcn.1013ded0
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.10007f50
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x74]
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
test eax, eax
je 0x10038652
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016e794
mov esp, ebp
pop ebp
ret