Function at 0x625d50
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74a398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x508
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
mov edi, ecx
jne 0x625d88
push 0x28
push 0x7c6870
push str.pUser
jmp 0x625dd3
lea esi, [edi + 8]
mov ecx, esi
call fcn.0055bb90
lea eax, [ebx + 0x7dc]
mov ecx, esi
push eax
call fcn.004f9720
push 0xc
call fcn.00728cf3
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x625dbe
mov dword [eax], 0x75a244
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
jmp 0x625dc0
xor eax, eax
cmp eax, ecx
mov dword [edi + 4], eax
jne 0x625dea
push 0x2d
push 0x7c6870
push str.m_pData
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x625f3d
mov eax, dword [ebx + 0x5e4]
lea ecx, [ebp - 0x514]
push eax
push str.cq_ip_log
push str.SELECT__FROM__s_WHERE_account_id_u_LIMIT_1
push ecx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x10
lea eax, [ebp - 0x514]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
mov dword [ebp - 4], 0
je 0x625e66
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
jbe 0x625e66
mov ecx, dword [edi + 4]
push esi
mov eax, dword [ecx]
call dword [eax + 0x24]
mov edx, dword [esi]
mov ecx, esi
mov bl, al
mov dword [ebp - 4], 0xffffffff
call dword [edx + 4]
pop edi
mov al, bl
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 4]
mov ebx, dword [0x7fd5f0]
push 0x7b4240
push str.cq_ip_log
lea ecx, [ebp - 0x114]
push str.SELECT__FROM__s_WHERE__s0_LIMIT_1
push ecx
mov dword [ebp - 0x10], eax
call fcn.0070258b
mov ecx, dword [0x801a10]
add esp, 0x10
test ecx, ecx
jne 0x625ee2
mov edx, dword [ebx]
lea eax, [ebp - 0x114]
push ecx
push eax
mov ecx, ebx
call dword [edx]
push eax
mov ecx, 0x801a10
call fcn.0047bd90
mov ecx, dword [0x801a10]
test ecx, ecx
setne al
test al, al
jne 0x625ee2
push 0x38
push str.....GameBaseCodeMTGameData.h
push str.CreateNewDefault_pDb_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x625f0d
mov edx, dword [ecx]
push 0
call dword [edx]
mov ebx, dword [ebp - 0x10]
test eax, eax
mov dword [ebx + 4], eax
je 0x625f01
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 0x625f52
push 0x39
push 0x7c6870
push str.m_pData__Create_Database____ID_NONE_
push str.IF_OK
push 0x793720
call fcn.00401080
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x625f3d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 4]
mov eax, dword [eax + 0x5e4]
mov edx, dword [ecx]
push eax
push 1
call dword [edx + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
setne bl
test esi, esi
mov dword [ebp - 4], 0xffffffff
je 0x625f85
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4