Function at 0x63dbf0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
mov ebx, ecx
je 0x63dfab
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x63dfab
mov ecx, dword [ebx + 0x98]
push 4
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, 0x21
jne 0x63dfcc
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x63dd37
jg 0x63dc42
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jbe 0x63dd22
mov ecx, dword [ebx + 0x98]
test ecx, ecx
jne 0x63dc71
push 0x227
push 0x797d04
push str.m_pData
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor edi, edi
jmp 0x63dc78
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
mov ecx, dword [ebx + 0x14]
cmp ecx, 4
jb 0x63dca3
mov edx, dword [0x7fd4fc]
mov esi, dword [0x7fd4f8]
sub edx, esi
mov eax, 0x66666667
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ecx, edx
jb 0x63dcc8
push 0x157
push 0x797a90
push str.CMapGroup::IsValidMapGroupProcessID_idProcess_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor eax, eax
jmp 0x63dcd0
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, esi
mov eax, dword [eax + 0x6c]
test eax, eax
jne 0x63dd0d
push 0xde
push 0x797a90
push str.m_pBoothMgr
push str.CHECKF
push 0x793720
call fcn.00401080
mov edx, dword [ebp + 8]
add esp, 0x14
xor ecx, ecx
push 2
push edi
push edx
push 2
call fcn.004ddb80
jmp 0x63de01
mov edx, dword [ebp + 8]
push 2
push edi
push edx
mov ecx, eax
push 2
call fcn.004ddb80
jmp 0x63de01
test eax, eax
jg 0x63de01
jl 0x63dd37
mov eax, dword [ebp + 0xc]
test eax, eax
jae 0x63de01
mov ecx, dword [ebx + 0x98]
test ecx, ecx
jne 0x63dd66
push 0x227
push 0x797d04
push str.m_pData
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor edi, edi
jmp 0x63dd6d
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, eax
mov ecx, dword [ebx + 0x14]
cmp ecx, 4
jb 0x63dd98
mov edx, dword [0x7fd4fc]
mov esi, dword [0x7fd4f8]
sub edx, esi
mov eax, 0x66666667
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ecx, edx
jb 0x63ddbd
push 0x157
push 0x797a90
push str.CMapGroup::IsValidMapGroupProcessID_idProcess_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor eax, eax
jmp 0x63ddc5
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, esi
mov eax, dword [eax + 0x6c]
test eax, eax
jne 0x63ddf1
push 0xde
push 0x797a90
push str.m_pBoothMgr
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor ecx, ecx
jmp 0x63ddf3
mov ecx, eax
mov edx, dword [ebp + 8]
push 2
push edi
push edx
push 2
call fcn.004dddd0
mov ecx, dword [ebx + 0x4c]
xor edi, edi
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
jle 0x63de4b
mov ecx, dword [ebx + 0x4c]
push edi
mov edx, dword [ecx]
call dword [edx + 8]
mov esi, eax
test esi, esi
je 0x63de3e
mov eax, dword [esi]
push 2
mov ecx, esi
call dword [eax + 8]
cmp eax, dword [ebp + 8]
jne 0x63de3e
mov edx, dword [esi]
push 3
mov ecx, esi
call dword [edx + 8]
cmp eax, 2
je 0x63dee8
mov ecx, dword [ebx + 0x4c]
inc edi
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, eax
jl 0x63de0f
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x63dfcc
jg 0x63de63
mov eax, dword [ebp + 0xc]
test eax, eax
jb 0x63dfcc
call fcn.00642d30
mov esi, eax
test esi, esi
je 0x63df3e
mov edi, dword [0x7fd5f0]
push 0x7b4240
push 0x7c9204
lea ecx, [ebp - 0x100]
push str.SELECT__FROM__s_WHERE__s0_LIMIT_1
push ecx
call fcn.0070258b
mov ecx, dword [0x801a08]
add esp, 0x10
test ecx, ecx
jne 0x63df16
mov edx, dword [edi]
lea eax, [ebp - 0x100]
push ecx
push eax
mov ecx, edi
call dword [edx]
push eax
mov ecx, 0x801a08
call fcn.0047bd90
mov ecx, dword [0x801a08]
test ecx, ecx
setne al
test al, al
jne 0x63df16
push 0x38
push str.....GameBaseCodeMTGameData.h
push str.CreateNewDefault_pDb_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x63df3e
mov edx, dword [esi]
push 5
mov ecx, esi
call dword [edx + 0x18]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
add eax, edi
mov edi, dword [esi]
adc edx, ecx
mov ecx, esi
push edx
push eax
push 5
call dword [edi + 0x1c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ecx]
push 0
call dword [edx]
test eax, eax
mov dword [esi + 4], eax
je 0x63df32
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
jne 0x63df54
push 0x8a9
push 0x7c93d4
push str.pData__pData__Create_Database____ID_NONE_
push str.IF_OK
jmp 0x63dfbf
mov ecx, dword [ebx + 0x98]
mov edi, dword [esi]
mov eax, dword [ecx]
call dword [eax + 4]
push eax
push 1
mov ecx, esi
call dword [edi + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [esi]
push eax
push 2
mov ecx, esi
call dword [edx + 0x10]
mov edx, dword [esi]
push 2
push 3
mov ecx, esi
call dword [edx + 0x10]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [esi]
push ecx
push edx
push 5
mov ecx, esi
call dword [eax + 0x1c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [ebx + 0x4c]
push esi
mov edx, dword [ecx]
call dword [edx + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x88b
push 0x7c93d4
push str.idSyn__m_setIncome
push str.CHECK
push 0x793720
call fcn.00401080
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc