Function at 0x63d800
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 0x63dbbb
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x63dbbb
mov ecx, dword [ebx + 0x98]
push 4
mov eax, dword [ecx]
call dword [eax + 8]
cmp eax, 0x21
jne 0x63dbdc
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x63d947
jg 0x63d852
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jbe 0x63d932
mov ecx, dword [ebx + 0x98]
test ecx, ecx
jne 0x63d881
push 0x227
push 0x797d04
push str.m_pData
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor edi, edi
jmp 0x63d888
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, eax
mov ecx, dword [ebx + 0x14]
cmp ecx, 4
jb 0x63d8b3
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 0x63d8d8
push 0x157
push 0x797a90
push str.CMapGroup::IsValidMapGroupProcessID_idProcess_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor eax, eax
jmp 0x63d8e0
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, esi
mov eax, dword [eax + 0x6c]
test eax, eax
jne 0x63d91d
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 1
call fcn.004ddb80
jmp 0x63da11
mov edx, dword [ebp + 8]
push 2
push edi
push edx
mov ecx, eax
push 1
call fcn.004ddb80
jmp 0x63da11
test eax, eax
jg 0x63da11
jl 0x63d947
mov eax, dword [ebp + 0xc]
test eax, eax
jae 0x63da11
mov ecx, dword [ebx + 0x98]
test ecx, ecx
jne 0x63d976
push 0x227
push 0x797d04
push str.m_pData
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor edi, edi
jmp 0x63d97d
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, eax
mov ecx, dword [ebx + 0x14]
cmp ecx, 4
jb 0x63d9a8
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 0x63d9cd
push 0x157
push 0x797a90
push str.CMapGroup::IsValidMapGroupProcessID_idProcess_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor eax, eax
jmp 0x63d9d5
lea eax, [ecx + ecx*4]
shl eax, 5
add eax, esi
mov eax, dword [eax + 0x6c]
test eax, eax
jne 0x63da01
push 0xde
push 0x797a90
push str.m_pBoothMgr
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor ecx, ecx
jmp 0x63da03
mov ecx, eax
mov edx, dword [ebp + 8]
push 2
push edi
push edx
push 1
call fcn.004dddd0
mov ecx, dword [ebx + 0x4c]
xor edi, edi
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
jle 0x63da5b
mov ecx, dword [ebx + 0x4c]
push edi
mov edx, dword [ecx]
call dword [edx + 8]
mov esi, eax
test esi, esi
je 0x63da4e
mov eax, dword [esi]
push 2
mov ecx, esi
call dword [eax + 8]
cmp eax, dword [ebp + 8]
jne 0x63da4e
mov edx, dword [esi]
push 3
mov ecx, esi
call dword [edx + 8]
cmp eax, 1
je 0x63daf8
mov ecx, dword [ebx + 0x4c]
inc edi
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, eax
jl 0x63da1f
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x63dbdc
jg 0x63da73
mov eax, dword [ebp + 0xc]
test eax, eax
jb 0x63dbdc
call fcn.00642d30
mov esi, eax
test esi, esi
je 0x63db4e
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 0x63db26
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 0x63db26
push 0x38
push str.....GameBaseCodeMTGameData.h
push str.CreateNewDefault_pDb_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x63db4e
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 0x63db42
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 0x63db64
push 0x87d
push 0x7c93d4
push str.pData__pData__Create_Database____ID_NONE_
push str.IF_OK
jmp 0x63dbcf
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 1
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 0x85e
push 0x7c93d4
push str.idUser__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