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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x20], eax
mov eax, 0x10
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0x48], rax
cmp dword [rsp + 0x20], 1
jne 0x140071dd1
mov rax, qword [rsp + 0x78]
movsx eax, word [rax + 0x3c]
test eax, eax
jl 0x140071dcf
cmp qword [rsp + 0x48], 0
jne 0x140071d9f
xor eax, eax
jmp 0x140072091
mov rax, qword [rsp + 0x78]
movsx rax, word [rax + 0x3c]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 8]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rcx + rax]
call fcn.14000d664
test eax, eax
jne 0x140071dcf
xor eax, eax
jmp 0x140072091
jmp 0x140071e1c
cmp qword [rsp + 0x90], 0
je 0x140071e1c
movsxd rax, dword [rsp + 0x20]
shl rax, 2
mov rdx, rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.140008ea8
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140071e0c
mov eax, 1
jmp 0x140072091
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x38], rax
jmp 0x140071e3a
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140072023
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x5e]
cmp eax, dword [rsp + 0x20]
jne 0x14007201e
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x62]
test eax, eax
je 0x14007201e
cmp qword [rsp + 0x48], 0
jne 0x140071ed7
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x64]
and eax, 3
cmp eax, 2
jne 0x140071ed2
cmp qword [rsp + 0x40], 0
je 0x140071ecd
mov dword [rsp + 0x30], 0
jmp 0x140071e9e
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x30], eax
jge 0x140071ecd
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x10
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x80]
mov eax, dword [r8 + rax + 0x40]
mov dword [rdx + rcx*4], eax
jmp 0x140071e94
jmp 0x140072023
jmp 0x14007201e
mov dword [rsp + 0x24], 0
jmp 0x140071eeb
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jge 0x140072012
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 8]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x28], ax
movsx eax, word [rsp + 0x28]
test eax, eax
jge 0x140071f1e
jmp 0x140072012
movsx rax, word [rsp + 0x28]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 8]
mov rax, qword [rcx + rax + 0x10]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x140071f4f
lea rax, [0x1400b2bcc]
mov qword [rsp + 0x50], rax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x40]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rcx + rax*8]
call fcn.14000d664
test eax, eax
je 0x140071f74
jmp 0x140072012
movsx rax, word [rsp + 0x28]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 8]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x2c], 0
jmp 0x140071fa4
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x2c], eax
jge 0x140072001
movsxd rax, dword [rsp + 0x2c]
imul rax, rax, 0x10
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + rax + 0x48]
call fcn.14000d664
test eax, eax
jne 0x140071fff
cmp qword [rsp + 0x40], 0
je 0x140071ffd
movsxd rax, dword [rsp + 0x2c]
imul rax, rax, 0x10
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x80]
mov eax, dword [r8 + rax + 0x40]
mov dword [rdx + rcx*4], eax
jmp 0x140072001
jmp 0x140071f9a
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x2c], eax
jne 0x14007200d
jmp 0x140072012
jmp 0x140071ee1
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
jne 0x14007201e
jmp 0x140072023
jmp 0x140071e2c
cmp qword [rsp + 0x38], 0
jne 0x14007207f
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax + 0xc2]
test eax, eax
jne 0x140072066
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x80]
mov r9, qword [rcx + 0x10]
mov r8, qword [rax]
lea rdx, str.foreign_key_mismatch_____w__referencing___w_
mov rcx, qword [rsp + 0x70]
call fcn.14000d418
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.140008b08
mov eax, 1
jmp 0x140072091
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
xor eax, eax
add rsp, 0x68
ret