Function at 0x6d8690
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74f178
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x488
mov eax, dword [ebp + 0x28]
test eax, eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x10], ecx
jne 0x6d86da
test edi, edi
jle 0x6d86da
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x24
test edi, edi
mov dword [ebp + 0x28], 1
jg 0x6d8705
mov ebx, dword [ebp + 8]
push edi
push ebx
push 0x79a1ac
lea eax, [ebp - 0x494]
push str.SELECT_id__name__account_id__recordmap_id__level__password_id__type_FROM__s_WHERE_account_id_u__type_d
push eax
call fcn.0070258b
add esp, 0x14
jmp 0x6d8726
mov ecx, dword [ebp + 8]
push ecx
push eax
push 0x79a1ac
lea edx, [ebp - 0x494]
push str.SELECT_id__name__account_id__recordmap_id__level__password_id__type_FROM__s_WHERE_id_u__account_id_u
push edx
call fcn.0070258b
mov ebx, dword [ebp + 8]
add esp, 0x14
mov eax, dword [0x7ff318]
test eax, eax
jne 0x6d8750
push 0xc2
push 0x7db568
push str.CWorldKernel::m_pWorld
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov eax, dword [0x7ff318]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx]
push 1
lea eax, [ebp - 0x494]
push eax
call dword [edx]
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
mov dword [ebp - 4], 0
je 0x6d8b67
mov edx, dword [esi]
push 0x7cb354
mov ecx, esi
call dword [edx + 0x30]
mov dword [ebp + 0x28], eax
mov eax, dword [esi]
push str.account_id
mov ecx, esi
call dword [eax + 0x30]
cmp eax, ebx
je 0x6d8820
push eax
push ebx
push str._error_:_account_id_dismatch__account_id_from_account_server:___u____from_user_table:___u_.
push str.sysloglogin
call fcn.0040a4e0
add esp, 0x10
test edi, edi
jne 0x6d8acb
mov eax, dword [0x7ff318]
test eax, eax
jne 0x6d87e2
push 0xc2
push 0x7db568
push str.CWorldKernel::m_pWorld
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov ecx, dword [0x7ff318]
push 5
push ebx
call fcn.006ceb40
mov ecx, dword [0x7ff314]
test ecx, ecx
jne 0x6d881a
push 0x26
push 0x7dbf74
push str.g_pUserTrace
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor ecx, ecx
push ebx
jmp 0x6d8ac6
mov cl, byte [0x79612a]
mov ax, word [0x796128]
xor edx, edx
mov dword [ebp - 0x1d], edx
mov byte [ebp - 0x1e], cl
mov dword [ebp - 0x19], edx
push 0x10
mov dword [ebp - 0x15], edx
push str.name
lea ecx, [ebp - 0x20]
mov word [ebp - 0x20], ax
mov byte [ebp - 0x11], dl
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov edx, dword [esi]
push str.recordmap_id
mov ecx, esi
call dword [edx + 0x30]
mov ebx, eax
mov eax, dword [0x7ff318]
test eax, eax
jne 0x6d888b
push 0xc2
push 0x7db568
push str.CWorldKernel::m_pWorld
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov eax, dword [0x7ff318]
lea edi, [eax + 0x3c]
cmp dword [edi], 0
jne 0x6d88b6
push 0x4c
push 0x7db568
push str.m_pMapList
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov ecx, dword [edi]
push ebx
call fcn.006de680
mov edx, dword [esi]
push 0x7a72f8
mov ecx, esi
mov ebx, eax
call dword [edx + 0x14]
mov edx, eax
xor eax, eax
mov ecx, 0x1b
lea edi, [ebp - 0x94]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x90], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x8c], edx
mov dx, word [ebp + 0xc]
mov dword [ebp - 0x88], eax
push 0x10
lea eax, [ebp - 0x20]
mov dword [ebp - 0x84], ecx
mov word [ebp - 0x44], dx
mov edx, dword [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x68]
push ecx
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x80], edx
call fcn.0040cc10
mov ebx, dword [ebp + 0x10]
push 0x10
lea edx, [ebp - 0x7c]
push ebx
push edx
call fcn.0040cc10
mov eax, dword [esi]
add esp, 0x18
push str.password_id
mov ecx, esi
call dword [eax + 0x14]
mov dword [ebp - 0x40], eax
mov edx, dword [esi]
push 0x7a66fc
mov ecx, esi
call dword [edx + 0x14]
mov byte [ebp - 0x30], al
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2c], eax
mov edi, str._NO_POINT_
mov eax, ebx
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x6d8993
test cl, cl
je 0x6d898f
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x6d8993
add eax, 2
add edi, 2
test cl, cl
jne 0x6d896b
xor eax, eax
jmp 0x6d8998
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x6d8a42
cmp dword [ebp - 0x24], 0x10
jl 0x6d8a42
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x6d8a1c
mov eax, dword [0x7ff318]
test eax, eax
jne 0x6d89db
push 0xc2
push 0x7db568
push str.CWorldKernel::m_pWorld
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov edi, dword [ebp + 8]
mov ecx, dword [0x7ff318]
push 5
push edi
call fcn.006ceb40
mov ecx, dword [0x7ff314]
test ecx, ecx
jne 0x6d8a16
push 0x26
push 0x7dbf74
push str.g_pUserTrace
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor ecx, ecx
push edi
call fcn.006e27a0
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 4]
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x24
lea ecx, [ebp - 0x94]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.006d9560
test eax, eax
jne 0x6d8af1
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x6d8acb
mov eax, dword [0x7ff318]
test eax, eax
jne 0x6d8a8a
push 0xc2
push 0x7db568
push str.CWorldKernel::m_pWorld
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov edi, dword [ebp + 8]
mov ecx, dword [0x7ff318]
push 5
push edi
call fcn.006ceb40
mov ecx, dword [0x7ff314]
test ecx, ecx
jne 0x6d8ac5
push 0x26
push 0x7dbf74
push str.g_pUserTrace
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor ecx, ecx
push edi
call fcn.006e27a0
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [edx + 4]
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 0x20]
xor ebx, ebx
test eax, eax
jne 0x6d8b6a
mov eax, dword [0x7ff318]
test eax, eax
jne 0x6d8b24
push 0xc2
push 0x7db568
push str.CWorldKernel::m_pWorld
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov edi, dword [ebp + 8]
mov ecx, dword [0x7ff318]
push 0
push edi
call fcn.006ceb40
mov ecx, dword [0x7ff314]
test ecx, ecx
jne 0x6d8b5f
push 0x26
push 0x7dbf74
push str.g_pUserTrace
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor ecx, ecx
push edi
call fcn.006e24f0
jmp 0x6d8b6a
mov ebx, dword [ebp + 0x28]
test esi, esi
mov dword [ebp - 4], 0xffffffff
je 0x6d8b7c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x24