Function at 0x4a5d70
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73fd10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], esp
cmp edi, ebx
jne 0x4a5dd1
push 0x1ac
push 0x7a4da0
push str.pInfo
push str.CHECK
push 0x793720
call fcn.00401080
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 0xc], ebx
jne 0x4a5de7
push 0x1ad
push 0x7a4da0
push str.pszCheckerName
jmp 0x4a5dac
push 0xc
call fcn.00728cf3
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4a5ea5
push 0x7b4240
push str.cq_suspicion_log
lea eax, [ebp - 0x110]
push str.SELECT__FROM__s_WHERE__s0_LIMIT_1
mov dword [esi], 0x75351c
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov ebx, dword [0x7fd5f0]
push eax
call fcn.0070258b
mov ecx, dword [0x801a88]
add esp, 0x10
test ecx, ecx
jne 0x4a5eb9
mov edx, dword [ebx]
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, ebx
call dword [edx]
mov ebx, eax
mov eax, dword [0x801a88]
test eax, eax
jne 0x4a5e56
test ebx, ebx
jne 0x4a5e74
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 [0x801a88], ecx
jne 0x4a5eb9
push 0x38
push str.....GameBaseCodeMTGameData.h
push str.CreateNewDefault_pDb_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x4a5ee1
push 0x1b0
push 0x7a4da0
push str.pData
jmp 0x4a5dac
mov edx, dword [ecx]
push 0
call dword [edx]
test eax, eax
mov dword [esi + 4], eax
je 0x4a5ed5
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 0x4a5f49
push 0x1b2
push 0x7a4da0
push str.pData__Create__Database____ID_NONE_
push str.IF_NOT
push 0x793720
call fcn.00401080
add esp, 0x14
mov dword [ebp - 4], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esi]
push 0
push 1
mov ecx, esi
call dword [edx + 0x10]
mov ecx, dword [edi]
mov eax, dword [esi]
push ecx
push 2
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [edi + 4]
mov edx, dword [esi]
push eax
push 3
mov ecx, esi
call dword [edx + 0x10]
mov edx, dword [esi]
lea eax, [edi + 8]
push 0x10
push eax
push 4
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [edi + 0x18]
mov edx, dword [esi]
push eax
push 5
mov ecx, esi
call dword [edx + 0x10]
mov edx, dword [esi]
xor eax, eax
mov ax, word [edi + 0x1c]
mov ecx, esi
push eax
push 6
call dword [edx + 0x10]
mov edx, dword [esi]
lea eax, [edi + 0x1e]
push 0xff
push eax
push 7
mov ecx, esi
call dword [edx + 0x14]
mov edx, dword [esi]
xor eax, eax
mov ax, word [edi + 0x11e]
mov ecx, esi
push eax
push 8
call dword [edx + 0x10]
mov edx, dword [esi]
lea eax, [edi + 0x120]
push 0xff
push eax
push 9
mov ecx, esi
call dword [edx + 0x14]
mov edx, dword [esi]
xor eax, eax
mov ax, word [edi + 0x220]
mov ecx, esi
push eax
push 0xa
call dword [edx + 0x10]
mov edx, dword [esi]
lea eax, [edi + 0x222]
push 0xff
push eax
push 0xb
mov ecx, esi
call dword [edx + 0x14]
mov edx, dword [esi]
xor eax, eax
mov ax, word [edi + 0x322]
mov ecx, esi
push eax
push 0xc
call dword [edx + 0x10]
mov edx, dword [esi]
push 0xff
lea eax, [edi + 0x324]
mov ecx, esi
push eax
push 0xd
call dword [edx + 0x14]
mov edx, dword [esi]
xor eax, eax
mov ax, word [edi + 0x424]
mov ecx, esi
push eax
push 0xe
call dword [edx + 0x10]
mov edx, dword [esi]
lea eax, [edi + 0x426]
push 0xff
push eax
push 0xf
mov ecx, esi
call dword [edx + 0x14]
mov edx, dword [esi]
xor eax, eax
mov ax, word [edi + 0x526]
mov ecx, esi
push eax
push 0x10
call dword [edx + 0x10]
mov edx, dword [esi]
lea eax, [edi + 0x528]
push 0xff
push eax
push 0x11
mov ecx, esi
call dword [edx + 0x14]
mov edx, dword [esi]
xor eax, eax
mov ax, word [edi + 0x628]
mov ecx, esi
push eax
push 0x12
call dword [edx + 0x10]
mov edx, dword [esi]
lea eax, [edi + 0x62a]
push 0xff
push eax
push 0x13
mov ecx, esi
call dword [edx + 0x14]
mov edx, dword [esi]
xor eax, eax
mov ax, word [edi + 0x72a]
mov ecx, esi
push eax
push 0x14
call dword [edx + 0x10]
mov edx, dword [esi]
add edi, 0x72c
push 0xff
push edi
push 0x15
mov ecx, esi
call dword [edx + 0x14]
mov edi, dword [esi]
push 0
push 2
call fcn.0040ab00
add esp, 8
mov ecx, esi
push eax
push 0x16
call dword [edi + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi]
push 0x10
push ecx
push 0x17
mov ecx, esi
call dword [eax + 0x14]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
test eax, eax
jne 0x4a6100
push str.CSuspicionMgr::SaveCheckPunishLog___InsertRecord_error.
call fcn.0040a420
add esp, 4
mov dword [ebp - 4], 2
jmp 0x4a5f09