Function at 0x6231b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74a290
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 4]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x10], esp
jne 0x623215
push 0x94
push 0x7c65dc
push str.m_pOwner
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebx + 4], edi
jne 0x623238
push 0x28
push str.....commonAutoLink.h
push str.IsValid__
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
call dword [eax + 4]
cmp eax, dword [ebp + 8]
je 0x62327b
push 0x95
push 0x7c65dc
push str.m_pOwner__GetID____idUser
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x14], edi
jne 0x6232b6
push 0x96
push 0x7c65dc
push str.dwSeconds
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x18], edi
jne 0x6232f1
push 0x97
push 0x7c65dc
push str.lpcszMsg
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x10]
cmp eax, 1
jne 0x623375
cmp dword [ebx + 0x30], edi
jne 0x623325
push 0x110
call fcn.00728cf3
mov edx, eax
add esp, 4
cmp edx, edi
je 0x623320
mov ecx, 0x44
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
xor edi, edi
jmp 0x623322
xor edx, edx
mov dword [ebx + 0x30], edx
mov ecx, dword [ebx + 0x30]
mov edx, dword [ebp + 8]
push 0xff
mov dword [ecx], edx
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebp + 0x18]
mov word [edx + 8], 1
mov eax, dword [ebx + 0x30]
push ecx
mov dword [eax + 0x10c], edi
mov edx, dword [ebx + 0x30]
add edx, 0xa
push edx
call fcn.0040cc10
add esp, 0xc
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 3
mov byte [ebp - 0x11], 1
je 0x623396
cmp eax, 7
je 0x623396
cmp eax, 8
je 0x623396
cmp eax, 9
je 0x623396
cmp eax, 0xb
jne 0x62343f
mov ecx, dword [ebp + 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.00623850
mov esi, eax
cmp esi, edi
je 0x62343f
mov byte [ebp - 0x11], 0
mov ecx, dword [ebp + 0x14]
push ecx
push 2
call fcn.0040ab00
mov edx, dword [esi]
add esp, 8
mov edi, eax
mov eax, dword [ebp + 8]
push eax
push 1
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [esi]
push eax
push 2
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [ebp + 0x10]
mov edx, dword [esi]
push eax
push 3
mov ecx, esi
call dword [edx + 0x10]
mov edx, dword [esi]
push edi
push 5
mov ecx, esi
call dword [edx + 0x10]
mov ecx, dword [ebp + 0x18]
mov eax, dword [esi]
push 0xff
push ecx
push 4
mov ecx, esi
call dword [eax + 0x14]
mov al, byte [ebp - 0x11]
mov edx, dword [esi]
test al, al
mov ecx, esi
je 0x6235c6
call dword [edx + 0x30]
test eax, eax
jne 0x6235c9
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 2
call dword [eax]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0xc
call fcn.00728cf3
add esp, 4
cmp eax, edi
je 0x62345d
mov dword [eax], 0x75a148
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov esi, eax
jmp 0x62345f
xor esi, esi
cmp esi, edi
jne 0x623499
push 0xbd
push 0x7c65dc
push str.pEvent
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edi, dword [0x7fd5f0]
push 0x7b4240
push 0x7c6574
lea edx, [ebp - 0x114]
push str.SELECT__FROM__s_WHERE__s0_LIMIT_1
push edx
call fcn.0070258b
mov ecx, dword [0x801a1c]
add esp, 0x10
test ecx, ecx
jne 0x62350f
mov eax, dword [edi]
push ecx
lea ecx, [ebp - 0x114]
push ecx
mov ecx, edi
call dword [eax]
push eax
mov ecx, 0x801a1c
call fcn.0047bd90
mov ecx, dword [0x801a1c]
test ecx, ecx
setne al
test al, al
jne 0x62350f
push 0x38
push str.....GameBaseCodeMTGameData.h
push str.CreateNewDefault_pDb_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x62353b
mov edx, dword [ecx]
push 0
call dword [edx]
test eax, eax
mov dword [esi + 4], eax
je 0x62352b
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 0x6233b0
push 0xbf
push 0x7c65dc
push str.pEvent__Create__Database____ID_NONE_
push str.IF_NOT
push 0x793720
call fcn.00401080
mov eax, dword [esi]
add esp, 0x14
mov ecx, esi
mov dword [ebp - 4], 0
call dword [eax]
jmp 0x623484
call dword [edx + 0x2c]
push esi
mov ecx, ebx
call fcn.00623760
test al, al
jne 0x623360
push 0xdb
push 0x7c65dc
push str.this__AddSusEvent_pEvent_
push str.IF_NOT
push 0x793720
call fcn.00401080
mov eax, dword [esi]
add esp, 0x14
mov ecx, esi
mov dword [ebp - 4], 4
call dword [eax]
jmp 0x623484