Function at 0x6bcf50
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov ebx, ecx
je 0x6bd03e
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x6bd03e
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x6bd03e
mov eax, dword [edi + 4]
push eax
call fcn.006bcef0
test eax, eax
jne 0x6bd040
call fcn.006bd270
mov esi, eax
test esi, esi
je 0x6bd03e
mov ecx, dword [ebx + 0x2c]
push 0x7b4240
push 0x7d8d30
lea edx, [ebp - 0x10c]
push str.SELECT__FROM__s_WHERE__s0_LIMIT_1
push edx
mov dword [ebp + 8], ecx
call fcn.0070258b
mov ecx, dword [0x8019c0]
add esp, 0x10
test ecx, ecx
jne 0x6bd049
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x10c]
push 0
push edx
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [0x8019c0]
mov dword [ebp + 8], eax
test ecx, ecx
jne 0x6bcfee
test eax, eax
jne 0x6bd00f
push 0x1a
push str.....common_autoptr.h
push str._m_ptr__ptr
push str.ASSERT
push 0x793720
call fcn.00401080
mov eax, dword [ebp + 8]
add esp, 0x14
test eax, eax
mov ecx, eax
setne al
test al, al
mov dword [0x8019c0], ecx
jne 0x6bd049
push 0x38
push str.....GameBaseCodeMTGameData.h
push str.CreateNewDefault_pDb_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ecx]
push 0
call dword [eax]
test eax, eax
mov dword [esi + 4], eax
je 0x6bd065
mov edx, dword [eax]
push 0x7b4240
mov ecx, eax
call dword [edx + 0x30]
mov dword [esi + 8], eax
mov edx, dword [esi + 4]
test edx, edx
setne al
test al, al
je 0x6bd03e
mov ecx, dword [edi]
mov eax, dword [esi]
push ecx
push 1
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [edi + 4]
mov edx, dword [esi]
push eax
push 2
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [edi + 8]
mov edx, dword [esi]
push eax
push 3
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [edi + 0xc]
mov edx, dword [esi]
push eax
push 4
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [edi + 0x10]
mov edx, dword [esi]
push eax
push 5
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [edi + 0x14]
mov edx, dword [esi]
push eax
push 6
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [edi + 0x18]
mov edx, dword [esi]
push eax
push 7
mov ecx, esi
call dword [edx + 0x10]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov ecx, dword [edi + 4]
mov edx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], esi
mov ebx, dword [edx + 4]
mov dword [ebp - 4], eax
mov edi, edx
test ebx, ebx
mov al, 1
je 0x6bd109
mov eax, dword [ebx + 0x10]
mov edi, ebx
cmp ecx, eax
setb al
test al, al
je 0x6bd102
mov ebx, dword [ebx + 8]
jmp 0x6bd105
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x6bd0ef
test al, al
mov dword [ebp + 8], edi
je 0x6bd13a
cmp edi, dword [edx + 8]
jne 0x6bd132
lea eax, [ebp - 0xc]
lea ecx, [ebp - 4]
push eax
push edi
push ebx
push ecx
mov ecx, dword [ebp - 4]
call fcn.006bdb20
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp + 8]
call fcn.00437850
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
cmp eax, ecx
jae 0x6bd159
lea ecx, [ebp - 0xc]
lea edx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 4]
push edi
push ebx
push edx
call fcn.006bdb20
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4