Function at 0x1402210b0
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.140221060
mov r14d, eax
test eax, eax
jne 0x1402213e3
mov r12, qword [r13 + 0xa8]
mov r8d, ebx
mov rcx, r13
mov rdx, r12
call fcn.140220cc0
mov rax, qword [rsp + 0x48]
lea r11, [r12 + 0x14]
movaps xmm0, xmmword [0x1403ec450]
mov qword [r12 + 0x1c], rax
mov qword [r12 + 0xc4], rax
movups xmmword [r12 + 0xd4], xmm0
test r15, r15
je 0x1402212aa
test rax, rax
je 0x140221199
xor r8d, r8d
mov rdx, r15
mov rcx, r13
mov qword [rsp + 0x40], r11
call fcn.1401446e0
mov r11, qword [rsp + 0x40]
test al, al
jne 0x140221199
cmp byte [0x1403eba08], 0
je 0x14022118e
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.14021dd60
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x30], rax
lea rax, [0x1402b3209]
mov qword [rsp + 0x28], rax
lea rdx, str.mdbx_override_meta
mov ecx, 1
call fcn.14021df10
mov r14d, 0xffff87c5
jmp 0x1402213e3
test byte [0x1403eba09], 0x40
je 0x1402211aa
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 0x1402212aa
cmp qword [r12 + 0x64], 0
jne 0x14022123a
cmp dword [r12 + 0x44], 0xffffffff
jne 0x14022124d
cmp qword [r12 + 0x94], 0
jne 0x140221255
cmp dword [r12 + 0x74], 0xffffffff
je 0x140221255
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.1401446e0
mov r11, qword [rsp + 0x40]
test al, al
jne 0x1402212aa
cmp byte [0x1403eba08], 0
je 0x14022118e
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 0x14022117d
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.14021e620
mov r11, qword [rsp + 0x48]
inc eax
cmp eax, 1
ja 0x14022118e
test r15, r15
je 0x140221303
mov r8d, 0xd0
mov rdx, r15
mov rcx, r11
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x1402213e3
mov rdx, qword [r13 + 0x70]
mov rax, qword [rdx + 0x78]
inc rax
mov qword [rdx + 0x78], rax
test byte [r13 + 6], 8
je 0x140221393
mov edx, dword [r12 + 0x38]
mov rcx, r13
lea r15, [r13 + 8]
mov r9d, 5
call fcn.14020fba0
xor edx, edx
mov rcx, r15
mov r8, rax
call fcn.14021f8f0
mov r14d, eax
test eax, eax
jne 0x1402213e3
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.14020fba0
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.14021f8f0
mov r15, qword [r13 + 0x38]
cmp r15, 0xffffffffffffffff
jne 0x1402213a1
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.14021bb80
test eax, eax
jne 0x1402213e0
cmp r15, qword [r13 + 0x10]
jne 0x1402213e3
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.14021d5f0
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