Function at 0x140226490
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
mov rbp, rsp
push r15
mov r15, r9
push r14
push r13
mov r13, rcx
push r12
push rdi
push rsi
push rbx
mov ebx, edx
and rsp, 0xfffffffffffffff0
sub rsp, 0x50
mov qword [rsp + 0x48], r8
call fcn.140226440
mov r14d, eax
test eax, eax
jne 0x1402267c3
mov r12, qword [r13 + 0xa8]
mov r8d, ebx
mov rcx, r13
mov rdx, r12
call fcn.1402260a0
mov rax, qword [rsp + 0x48]
lea r11, [r12 + 0x14]
movaps xmm0, xmmword [0x1403f2490]
mov qword [r12 + 0x1c], rax
mov qword [r12 + 0xc4], rax
movups xmmword [r12 + 0xd4], xmm0
test r15, r15
je 0x14022668a
test rax, rax
je 0x140226579
xor r8d, r8d
mov rdx, r15
mov rcx, r13
mov qword [rsp + 0x40], r11
call fcn.14014a110
mov r11, qword [rsp + 0x40]
test al, al
jne 0x140226579
cmp byte [0x1403f1a48], 0
je 0x14022656e
mov rcx, r15
lea r9, str.bailout_overriding_meta__u_since_model_failed_freedb_maindb__s_check_for_txnid__lli_n
mov r8d, 0x3eb7
call fcn.140223140
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x30], rax
lea rax, [0x1402b8b29]
mov qword [rsp + 0x28], rax
lea rdx, str.mdbx_override_meta
mov ecx, 1
call fcn.1402232f0
mov r14d, 0xffff87c5
jmp 0x1402267c3
test byte [0x1403f1a49], 0x40
je 0x14022658a
mov rax, qword [r15]
mov qword [r12 + 0x14], rax
mov eax, dword [r15 + 0x10]
lea rsi, [r15 + 0x28]
mov ecx, 0x18
cmp qword [rsp + 0x48], 0
mov word [r12 + 0x24], ax
mov al, byte [r15 + 0x12]
mov byte [r12 + 0x26], al
mov al, byte [r15 + 0x13]
mov byte [r12 + 0x27], al
movups xmm1, xmmword [r15 + 0x14]
movups xmmword [r12 + 0x28], xmm1
mov eax, dword [r15 + 0x24]
mov dword [r12 + 0x38], eax
lea rax, [r12 + 0x3c]
mov rdi, rax
rep movsd dword [rdi], dword [rsi]
movups xmm2, xmmword [r15 + 0x88]
movups xmmword [r12 + 0x9c], xmm2
movups xmm3, xmmword [r15 + 0x98]
movups xmmword [r12 + 0xac], xmm3
mov rax, qword [r15 + 0xb8]
mov qword [r12 + 0xcc], rax
je 0x14022668a
cmp qword [r12 + 0x64], 0
jne 0x14022661a
cmp dword [r12 + 0x44], 0xffffffff
jne 0x14022662d
cmp qword [r12 + 0x94], 0
jne 0x140226635
cmp dword [r12 + 0x74], 0xffffffff
je 0x140226635
mov rax, qword [r15]
mov qword [r12 + 0x14], rax
xor r8d, r8d
mov rdx, r11
mov rcx, r13
mov qword [rsp + 0x40], r11
call fcn.14014a110
mov r11, qword [rsp + 0x40]
test al, al
jne 0x14022668a
cmp byte [0x1403f1a48], 0
je 0x14022656e
mov rax, qword [rsp + 0x48]
mov dword [rsp + 0x20], ebx
lea r9, str.bailout_overriding_meta__u_since_model_failed_freedb_maindb__s_check_for_txnid__lli_n
mov r8d, 0x3ecf
mov qword [rsp + 0x30], rax
lea rax, str.post
mov qword [rsp + 0x28], rax
jmp 0x14022655d
mov rdx, r11
mov r9d, ebx
mov r8, r12
mov rcx, r13
mov qword [r12 + 0xbc], 0xffffffffffffffff
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x48], r11
call fcn.140223a00
mov r11, qword [rsp + 0x48]
inc eax
cmp eax, 1
ja 0x14022656e
test r15, r15
je 0x1402266e3
mov r8d, 0xd0
mov rdx, r15
mov rcx, r11
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1402267c3
mov rdx, qword [r13 + 0x70]
mov rax, qword [rdx + 0x78]
inc rax
mov qword [rdx + 0x78], rax
test byte [r13 + 6], 8
je 0x140226773
mov edx, dword [r12 + 0x38]
mov rcx, r13
lea r15, [r13 + 8]
mov r9d, 5
call fcn.140214f80
xor edx, edx
mov rcx, r15
mov r8, rax
call fcn.140224cd0
mov r14d, eax
test eax, eax
jne 0x1402267c3
movzx ecx, byte [r13 + 0x80]
mov eax, ebx
mov rsi, r12
shl rax, cl
add rax, qword [r13 + 8]
mov ecx, dword [r13 + 0x78]
mov rdi, rax
rep movsb byte [rdi], byte [rsi]
lea edx, [rbx + 1]
mov rcx, r13
mov r9d, 5
call fcn.140214f80
lea rsp, [rbp - 0x38]
mov rcx, r15
xor edx, edx
pop rbx
mov r8, rax
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp fcn.140224cd0
mov r15, qword [r13 + 0x38]
cmp r15, 0xffffffffffffffff
jne 0x140226781
mov r15, qword [r13 + 0x10]
movzx ecx, byte [r13 + 0x80]
mov r9d, ebx
mov r8d, dword [r13 + 0x78]
mov rdx, r12
shl r9, cl
mov rcx, r15
call fcn.140220f60
test eax, eax
jne 0x1402267c0
cmp r15, qword [r13 + 0x10]
jne 0x1402267c3
lea rsp, [rbp - 0x38]
mov rcx, r15
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp fcn.1402229d0
mov r14d, eax
lea rsp, [rbp - 0x38]
mov eax, r14d
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret