Function at 0x10034610
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016ab5e
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x101f0014]
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 0x1003465e
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 0x10034672
mov bl, 1
jmp 0x10034951
cmp dword [esi + 0xc], 0
jne 0x1003467f
xor bl, bl
jmp 0x10034951
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.10007cf0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.100a6140
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
push ecx
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.10128250
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa4]
call fcn.10007c90
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8c]
call fcn.10007c90
cmp dword [ebp - 0x60], 0
je 0x10034943
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 0x100347ac
push 2
mov ecx, 0x101f4a2c
call fcn.1014cdf0
mov esi, eax
test esi, esi
je 0x10034943
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 0x1019c3a8
call fcn.10007cf0
push 0x4c
push str.RC::RCNewTabPageCfgMapMgr::Init
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_newtabpagelock_rcnewtabpageconfigmgr.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x101f4a2c
push eax
push 2
call fcn.1014ce30
cmp esi, 1
jbe 0x1003479b
lea eax, [ebp - 0x28]
mov ecx, 0x101f4a2c
push eax
call fcn.1014d150
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.10007c90
jmp 0x10034943
push 0x3e8
lea ecx, [esi + 0xc]
call fcn.10130030
test al, al
jne 0x1003484c
push 2
mov ecx, 0x101f4a2c
call fcn.1014cdf0
mov esi, eax
test esi, esi
je 0x10034943
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 0x1019c510
call fcn.10007cf0
push 0x52
push str.RC::RCNewTabPageCfgMapMgr::Init
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_newtabpagelock_rcnewtabpageconfigmgr.cpp
lea eax, [ebp - 0x40]
mov ecx, 0x101f4a2c
push eax
push 2
call fcn.1014ce30
cmp esi, 1
jbe 0x1003483b
lea eax, [ebp - 0x40]
mov ecx, 0x101f4a2c
push eax
call fcn.1014d150
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.10007c90
jmp 0x10034943
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 0x1003493b
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 0x1003492b
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.10130060
push 2
mov ecx, 0x101f4a2c
call fcn.1014cdf0
mov esi, eax
test esi, esi
je 0x10034927
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 0x1019c594
call fcn.10007cf0
push 0x60
push str.RC::RCNewTabPageCfgMapMgr::Init
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_newtabpagelock_rcnewtabpageconfigmgr.cpp
lea eax, [ebp - 0x58]
mov ecx, 0x101f4a2c
push eax
push 2
call fcn.1014ce30
cmp esi, 1
jbe 0x1003491b
lea eax, [ebp - 0x58]
mov ecx, 0x101f4a2c
push eax
call fcn.1014d150
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.10007c90
mov bl, 1
jmp 0x10034945
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
lea ecx, [esi + 0xc]
call fcn.10130060
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.10007c90
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x74]
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
test eax, eax
je 0x10034972
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.101606b4
mov esp, ebp
pop ebp
ret