Function at 0x68bb90
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
test eax, eax
je 0x68bbce
push 0x49
push 0x7d45fc
push str._m_pData
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 8]
test edi, edi
jne 0x68bbfe
push 0x4a
push 0x7d45fc
push str.pInfo
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x68bc2e
push 0x4b
push 0x7d45fc
push 0x7999e8
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0068c3e0
mov ebx, eax
test ebx, ebx
mov dword [ebp + 8], ebx
mov dword [esi + 8], ebx
jne 0x68bc68
push 0x4e
push 0x7d45fc
push str.m_pData
push str.IF_NOT
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x7b4240
push str.cq_mercenary_task
lea eax, [ebp - 0x100]
push str.SELECT__FROM__s_WHERE__s0_LIMIT_1
push eax
call fcn.0070258b
mov ecx, dword [0x8019e0]
add esp, 0x10
test ecx, ecx
jne 0x68bd01
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x100]
push 0
push eax
mov edx, dword [ecx]
call dword [edx]
mov ebx, eax
mov eax, dword [0x8019e0]
test eax, eax
jne 0x68bcaf
test ebx, ebx
jne 0x68bccd
push 0x1a
push str.....common_autoptr.h
push str._m_ptr__ptr
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
test ebx, ebx
setne al
mov ecx, ebx
test al, al
mov dword [0x8019e0], ecx
jne 0x68bcfe
push 0x38
push str.....GameBaseCodeMTGameData.h
push str.CreateNewDefault_pDb_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x68bd29
mov ebx, dword [ebp + 8]
mov edx, dword [ecx]
push 0
call dword [edx]
test eax, eax
mov dword [ebx + 4], eax
je 0x68bd1d
mov edx, dword [eax]
push 0x7b4240
mov ecx, eax
call dword [edx + 0x30]
mov dword [ebx + 8], eax
mov edx, dword [ebx + 4]
test edx, edx
setne al
test al, al
jne 0x68bd52
push 0x51
push 0x7d45fc
push str.m_pData__Create_pDb__ID_NONE_
push str.IF_NOT
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 8]
xor edx, edx
mov dl, byte [edi + 0xc8]
mov eax, dword [ecx]
push edx
push 1
call dword [eax + 0x10]
mov ecx, dword [esi + 8]
mov edx, dword [edi + 4]
push edx
push 2
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 8]
lea edx, [edi + 8]
push 0x10
push edx
mov eax, dword [ecx]
push 3
call dword [eax + 0x14]
mov ecx, dword [esi + 8]
lea edx, [edi + 0x18]
push 0x20
push edx
mov eax, dword [ecx]
push 4
call dword [eax + 0x14]
mov ecx, dword [esi + 8]
lea edx, [edi + 0x38]
push 0x80
push edx
mov eax, dword [ecx]
push 5
call dword [eax + 0x14]
mov ecx, dword [esi + 8]
lea edx, [edi + 0xb8]
push 0x10
push edx
mov eax, dword [ecx]
push 6
call dword [eax + 0x14]
mov ecx, dword [esi + 8]
mov edx, dword [edi + 0xcc]
push edx
push 7
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 8]
xor edx, edx
mov dl, byte [edi + 0xc9]
mov eax, dword [ecx]
push edx
push 8
call dword [eax + 0x10]
mov ecx, dword [esi + 8]
xor edx, edx
mov dl, byte [edi + 0xca]
mov eax, dword [ecx]
push edx
push 9
call dword [eax + 0x10]
mov ecx, dword [esi + 8]
mov edx, dword [edi + 0xe0]
push edx
push 0xa
mov eax, dword [ecx]
call dword [eax + 0x10]
lea eax, [edi + 0xe4]
xor ebx, ebx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 8]
mov eax, dword [eax]
mov edx, dword [ecx]
push eax
lea eax, [ebx + 0xb]
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp + 8]
inc ebx
add ecx, 4
cmp ebx, 5
mov dword [ebp + 8], ecx
jl 0x68be0c
mov ecx, dword [esi + 8]
xor eax, eax
mov al, byte [edi + 0xcb]
mov edx, dword [ecx]
push eax
push 0x10
call dword [edx + 0x10]
mov ecx, dword [esi + 8]
mov eax, dword [edi + 0xd0]
push eax
push 0x11
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [esi + 8]
push 0
push 0x12
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [esi + 8]
mov edx, dword [edi + 0xd8]
push edx
push 0x13
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 8]
push 0
push 0x14
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.0068bec0
test al, al
jne 0x68be92
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
call dword [edx + 0x30]
test eax, eax
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 8