joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a98f0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x747130
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x408
push ebx
push esi
mov esi, dword [ecx + 0x5e4]
lea ecx, [ebp - 0x414]
mov eax, esi
xor eax, 0xbe6e0
push eax
push esi
push str.cq_card
push str.SELECT__FROM__s_WHERE_account_id_u__used0__chk_sum_u_ref_id__1_
push ecx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x14
lea eax, [ebp - 0x414]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
mov dword [ebp - 4], 0
je 0x5a9986
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x60]
test eax, eax
jbe 0x5a9986
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call dword [eax + 4]
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push edi
mov ecx, 0x100
xor eax, eax
lea edi, [ebp - 0x414]
rep stosd dword es:[edi], eax
mov ecx, esi
lea edx, [ebp - 0x414]
xor ecx, 0xbe6e1
push ecx
push esi
push str.cq_card2
push str.SELECT__FROM__s_WHERE_account_id_u__used0__chk_sum_u_ref_id__1_
push edx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x14
lea edx, [ebp - 0x414]
mov eax, dword [ecx]
push 1
push edx
call dword [eax]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
mov byte [ebp - 4], 1
pop edi
je 0x5a9a14
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
test eax, eax
jbe 0x5a9a14
mov edx, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0
call dword [edx + 4]
test ebx, ebx
mov dword [ebp - 4], 0xffffffff
je 0x5a9a02
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
test esi, esi
mov byte [ebp - 4], 0
je 0x5a9a23
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
test ebx, ebx
mov dword [ebp - 4], 0xffffffff
je 0x5a9a35
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5b86b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
test eax, eax
je 0x5b86e3
push 0x34
push 0x7bca0c
push str._m_pData
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov eax, dword [ebp + 8]
test eax, eax
je 0x5b8849
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5b8849
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x5b8849
call fcn.005ba720
mov ebx, eax
test ebx, ebx
mov dword [esi + 8], ebx
jne 0x5b8723
push 0x38
push 0x7bca0c
push str.m_pData
jmp 0x5b8855
mov edi, dword [0x7fd5f0]
push 0x7b4240
push str.cq_partner
lea eax, [ebp - 0x100]
push str.SELECT__FROM__s_WHERE__s0_LIMIT_1
push eax
call fcn.0070258b
mov ecx, dword [0x801a24]
add esp, 0x10
test ecx, ecx
jne 0x5b87bd
mov edx, dword [edi]
lea eax, [ebp - 0x100]
push ecx
push eax
mov ecx, edi
call dword [edx]
mov edi, eax
mov eax, dword [0x801a24]
test eax, eax
jne 0x5b876e
test edi, edi
jne 0x5b878c
push 0x1a
push str.....common_autoptr.h
push str._m_ptr__ptr
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
test edi, edi
setne al
mov ecx, edi
test al, al
mov dword [0x801a24], ecx
jne 0x5b87bd
push 0x38
push str.....GameBaseCodeMTGameData.h
push str.CreateNewDefault_pDb_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x5b87e5
mov edx, dword [ecx]
push 0
call dword [edx]
test eax, eax
mov dword [ebx + 4], eax
je 0x5b87d9
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 0x5b87f8
push 0x3a
push 0x7bca0c
push str.m_pData__Create_Database____ID_NONE_
push str.IF_OK
jmp 0x5b885a
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 8]
push edx
push 1
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0xc]
push edx
push 2
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0x10]
push 0x10
push edx
mov eax, dword [ecx]
push 3
call dword [eax + 0x14]
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0x14]
push edx
push 4
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x30]
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
neg eax
mov esp, ebp
pop ebp
ret 0x10
push 0x35
push 0x7bca0c
push str.idUser__idTarget__lpszName
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x5b8f50
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x747c53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x408
push ebx
mov ebx, ecx
push edi
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x5b8fae
push 0xb9
push 0x7bca0c
push str.m_pPartnerSet
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x5b8fea
push 0xba
push 0x7bca0c
push str.pUser
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
push esi
lea esi, [ebx + 4]
mov dword [ebx + 0x1c], eax
mov ecx, esi
call fcn.0055bb90
add edi, 0x7dc
mov ecx, esi
push edi
call fcn.004f9720
cmp dword [esi], 0
jne 0x5b902c
push 0x28
push str.....commonAutoLink.h
push str.IsValid__
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov ecx, dword [esi]
push 0x14
mov edx, dword [ecx]
call dword [edx + 4]
push eax
push 0x7b10f8
lea eax, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_user_id_u_limit__d
push eax
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x14
lea eax, [ebp - 0x414]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov edi, eax
mov dword [ebp - 0x14], edi
xor eax, eax
cmp edi, eax
mov dword [ebp - 4], eax
je 0x5b9153
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp + 0xc], eax
call dword [edx + 0x60]
cmp dword [ebp + 0xc], eax
jae 0x5b9153
mov eax, dword [ebx + 0x1c]
push 0x18
mov dword [ebp + 8], eax
call fcn.005b84b0
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
mov byte [ebp - 4], 1
je 0x5b90ad
mov ecx, eax
call fcn.005b8520
mov esi, eax
jmp 0x5b90af
xor esi, esi
test esi, esi
mov byte [ebp - 4], 0
je 0x5b90f4
mov ecx, dword [ebp + 8]
push edi
mov dword [esi + 0x14], ecx
mov ecx, esi
call fcn.005b8610
test al, al
je 0x5b913c
push 2
mov ecx, esi
call fcn.005b88e0
push eax
mov ecx, ebx
call fcn.005b9430
test al, al
jne 0x5b9125
mov ecx, dword [ebx + 0x10]
push esi
mov edx, dword [ecx]
call dword [edx + 0x10]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x64]
mov eax, dword [ebp + 0xc]
inc eax
jmp 0x5b9074
push 0xc8
push 0x7bca0c
push str.pPartner
push str.IF_OK
push 0x793720
call fcn.00401080
mov eax, dword [edi]
add esp, 0x14
mov ecx, edi
call dword [eax + 0x64]
mov eax, dword [ebp + 0xc]
inc eax
jmp 0x5b9074
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x64]
mov eax, dword [ebp + 0xc]
inc eax
jmp 0x5b9074
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x64]
mov eax, dword [ebp + 0xc]
inc eax
jmp 0x5b9074
push 0
mov ecx, ebx
call fcn.005b9730
test edi, edi
mov dword [ebp - 4], 0xffffffff
pop esi
je 0x5b916f
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x5bfcb0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x747ef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x400
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
mov esi, ecx
je 0x5bfd62
call fcn.005bfc70
test al, al
je 0x5bfcff
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 4
mov eax, dword [esi + 0x9dc]
mov ecx, dword [esi + 0x9d8]
sub eax, ecx
xor edi, edi
mov ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x5bfd62
xor ebx, ebx
mov eax, dword [esi + 0x9d8]
add eax, ebx
test eax, eax
je 0x5bfd3b
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
cmp edx, ecx
je 0x5bfd7a
mov ecx, dword [esi + 0x9dc]
mov edx, dword [esi + 0x9d8]
sub ecx, edx
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
inc edi
shr eax, 0x1f
add edx, eax
add ebx, 0x24
cmp edi, edx
jb 0x5bfd26
pop edi
pop esi
mov eax, 3
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
add eax, 4
lea ecx, [ebp - 0x40c]
push eax
push 0x79a1ac
push str.SELECT__FROM__s_WHERE_name_like__s_LIMIT_1
push ecx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x10
lea eax, [ebp - 0x40c]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
mov dword [ebp - 4], 0
je 0x5bfdeb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
jbe 0x5bfdeb
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 4
test esi, esi
mov dword [ebp - 4], 0xffffffff
je 0x5bfdfd
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x5c0610
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x747fb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x430
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.005bfc00
test al, al
jne 0x5c07af
mov eax, dword [edi]
push esi
mov esi, dword [edi + 0x5e4]
mov ecx, edi
call dword [eax + 4]
push eax
push esi
push str.cq_deluser
lea ecx, [ebp - 0x43c]
push str.SELECT__FROM__s_WHERE_account_id_u__id____u__type_0_ORDER_BY_last_login_DESC_LIMIT_5
push ecx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x14
lea eax, [ebp - 0x43c]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov ebx, eax
mov dword [ebp - 0x3c], ebx
xor eax, eax
cmp ebx, eax
mov dword [ebp - 4], eax
je 0x5c079c
mov edx, dword [ebx]
mov ecx, ebx
mov dword [ebp - 0x10], eax
call dword [edx + 0x60]
cmp dword [ebp - 0x10], eax
jae 0x5c079c
mov eax, dword [ebx]
push 0x22
mov ecx, ebx
call dword [eax + 0x44]
mov ecx, eax
mov eax, 0xd1b71759
mul ecx
mov esi, edx
push 0
push 2
shr esi, 0xd
call fcn.0040ab00
mov edx, eax
mov eax, 0xd1b71759
mul edx
shr edx, 0xd
push esi
push edx
call fcn.0040b550
add esp, 0x10
cmp eax, 0x1e
jg 0x5c079c
mov eax, dword [ebx]
push 0x21
mov ecx, ebx
call dword [eax + 0x44]
mov dword [ebp - 0x38], eax
mov edx, dword [ebx]
push 0x15
mov ecx, ebx
call dword [edx + 0x44]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx]
push 9
mov ecx, ebx
call dword [eax + 0x44]
mov dword [ebp - 0x20], eax
mov edx, dword [ebx]
push 0x66
mov ecx, ebx
call dword [edx + 0x44]
mov byte [ebp - 0x24], al
mov eax, dword [ebx]
push 0x22
mov ecx, ebx
call dword [eax + 0x44]
mov dword [ebp - 0x18], eax
mov edx, dword [ebx]
push 0x10
push 0
mov ecx, ebx
call dword [edx + 0x48]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040cc10
mov edx, dword [edi + 0x9dc]
mov ecx, dword [edi + 0x9e0]
lea eax, [edi + 0x9d8]
add esp, 0xc
cmp edx, ecx
mov byte [ebp - 0x23], 0
mov byte [ebp - 0x22], 1
je 0x5c0780
test edx, edx
je 0x5c0767
mov ecx, 9
lea esi, [ebp - 0x38]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
add ecx, 0x24
mov dword [eax + 4], ecx
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x64]
mov eax, dword [ebp - 0x10]
inc eax
jmp 0x5c0690
lea ecx, [ebp - 0x38]
push ecx
push edx
mov ecx, eax
call fcn.005c2500
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x64]
mov eax, dword [ebp - 0x10]
inc eax
jmp 0x5c0690
test ebx, ebx
mov dword [ebp - 4], 0xffffffff
pop esi
je 0x5c07af
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5df910
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x748849
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
call fcn.005dfa60
xor edi, edi
mov word [esi + 0x56], di
mov word [esi + 0x54], di
mov word [esi + 0x52], di
mov word [esi + 0x50], di
mov word [esi + 0x5a], di
mov word [esi + 0x58], di
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
lea ebx, [esi + 0x74]
push 0x18
mov eax, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
mov dword [eax], edi
call fcn.004055b0
mov ecx, ebx
add esp, 4
mov dword [ecx], eax
mov al, byte [ebp - 0xd]
mov byte [ebp - 4], 2
mov dword [ecx + 4], edi
mov byte [ecx + 8], al
call fcn.004fa3b0
mov dword [esi + 0x80], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 8], edi
mov dword [esi + 4], edi
mov dword [esi], edi
mov word [esi + 0x18], di
mov word [esi + 0x16], di
mov word [esi + 0x14], di
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x28], edi
mov word [esi + 0x56], di
mov word [esi + 0x54], di
mov word [esi + 0x52], di
mov word [esi + 0x50], di
mov word [esi + 0x5a], di
mov word [esi + 0x58], di
mov eax, dword [ebx + 4]
mov byte [ebp - 4], 3
cmp eax, edi
je 0x5dfa45
mov ecx, dword [ebx]
mov eax, dword [ecx + 4]
cmp eax, edi
mov dword [ebp - 0x14], eax
je 0x5dfa33
jmp 0x5dfa0a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0xc]
mov ecx, ebx
push edx
call fcn.00440650
mov eax, dword [ebp - 0x14]
push 0x18
push eax
mov ecx, dword [eax + 8]
mov dword [ebp - 0x14], ecx
call fcn.004051b0
mov eax, dword [ebp - 0x14]
add esp, 8
cmp eax, edi
mov dword [ebp - 0x14], eax
jne 0x5dfa07
mov eax, dword [ebx]
mov dword [eax + 8], eax
mov edx, dword [ebx]
mov dword [edx + 4], edi
mov eax, dword [ebx]
mov dword [eax + 0xc], eax
mov dword [ebx + 4], edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5e9e00
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x74]
cmp edi, 4
jb 0x5e9e38
mov ecx, dword [0x7fd4fc]
mov edx, dword [0x7fd4f8]
sub ecx, edx
mov eax, 0x66666667
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edi, edx
jb 0x5e9e61
push 0x114
push 0x7c0d90
push str.CMapGroup::IsValidMapGroupProcessID_m_idProcess_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x5e9e91
push 0x115
push 0x7c0d90
push str.m_setData
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x78]
test ecx, ecx
jne 0x5e9ec1
push 0x116
push 0x7c0d90
push str.m_pOwner
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx]
call dword [edx + 4]
push eax
push 0x79a188
lea eax, [ebp - 0x400]
push str.SELECT__FROM__s_WHERE_ownerid_u__unlearn0
push eax
call fcn.0070258b
mov eax, dword [0x7fd5f0]
mov ecx, dword [esi + 0xc]
add esp, 0x10
mov edx, dword [ecx]
push eax
lea eax, [ebp - 0x400]
push eax
call dword [edx + 8]
test al, al
jne 0x5e9f22
push 0x11e
push 0x7c0d90
push str.m_setData__Create_szSQL__Database___
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x622c60
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74a238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x408
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov eax, dword [ebx + 4]
push edi
cmp eax, esi
jne 0x622caa
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]
push eax
push str.cq_suspicion_event
lea ecx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_user_id_u
push ecx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x10
lea eax, [ebp - 0x414]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, esi
mov dword [ebp - 4], esi
je 0x622dbe
mov dword [ebp - 0x10], esi
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x60]
cmp dword [ebp - 0x10], eax
jae 0x622dbe
push 0xc
call fcn.00728cf3
mov esi, eax
xor eax, eax
add esp, 4
cmp esi, eax
je 0x622d7f
mov dword [esi], 0x75a148
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x24]
test al, al
je 0x622d40
push esi
mov ecx, ebx
call fcn.00623760
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x64]
inc dword [ebp - 0x10]
jmp 0x622cf2
push 0x42
push 0x7c65dc
push str.pEvent__Create_pRes_
push str.IF_NOT
push 0x793720
call fcn.00401080
mov edx, dword [edi]
add esp, 0x14
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call dword [edx + 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
push 0x40
push 0x7c65dc
push str.pEvent
push str.CHECKF
push 0x793720
call fcn.00401080
mov eax, dword [edi]
add esp, 0x14
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
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
mov ecx, ebx
call fcn.00624750
test edi, edi
mov dword [ebp - 4], 0xffffffff
je 0x622dd7
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x622df0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74a258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 4], ebx
jne 0x622e38
push 0x28
push str.....commonAutoLink.h
push str.IsValid__
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov eax, dword [edi + 4]
cmp eax, ebx
mov esi, dword [eax + 0x5e4]
jne 0x622e63
push 0x28
push str.....commonAutoLink.h
push str.IsValid__
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov ecx, dword [edi + 4]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push eax
push 0x7a5030
lea ecx, [ebp - 0x418]
push str.SELECT__FROM__s_WHERE__owner_type0_AND_owner_id_u__OR__owner_type1_AND_owner_id_u_
push ecx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x14
lea eax, [ebp - 0x418]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, ebx
mov dword [ebp - 4], ebx
je 0x622fb3
mov dword [ebp - 0x10], ebx
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
cmp dword [ebp - 0x10], eax
jae 0x622fb3
push 0xc
call fcn.00728cf3
add esp, 4
cmp eax, ebx
je 0x622ed8
mov dword [eax], 0x75a18c
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x622eda
xor eax, eax
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x622f74
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x24]
test al, al
je 0x622f35
mov eax, dword [edi + 0x28]
mov edx, dword [edi + 0x2c]
lea ecx, [edi + 0x24]
cmp eax, edx
je 0x622f1c
cmp eax, ebx
je 0x622f07
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov eax, dword [ecx + 4]
add eax, 4
mov dword [ecx + 4], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x64]
inc dword [ebp - 0x10]
jmp 0x622eac
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.00625500
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x64]
inc dword [ebp - 0x10]
jmp 0x622eac
push 0x62
push 0x7c65dc
push str.pData__Create_pRes_
push str.IF_NOT
push 0x793720
call fcn.00401080
mov eax, dword [esi]
add esp, 0x14
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
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
push 0x60
push 0x7c65dc
push str.pData
push str.CHECKF
push 0x793720
call fcn.00401080
mov edx, dword [esi]
add esp, 0x14
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [edx + 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
push ebx
mov ecx, edi
call fcn.00624860
mov ecx, edi
call fcn.00624570
cmp esi, ebx
mov dword [ebp - 4], 0xffffffff
je 0x622fd4
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x628800
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74a4a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x400
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
test eax, eax
je 0x628937
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push edi
push eax
push str.cq_flower
lea edx, [ebp - 0x40c]
push str.SELECT_flower_flower_w_FROM__s_WHERE_player_id_u
mov dword [ebx], 0
push edx
mov dword [ecx], 0
call fcn.0070258b
mov ecx, dword [esi + 0x10]
add esp, 0x10
cmp ecx, 4
jb 0x628886
mov eax, dword [0x7fd4fc]
mov edi, dword [0x7fd4f8]
sub eax, edi
mov edx, eax
mov eax, 0x66666667
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ecx, edx
jb 0x6288ab
push 0x157
push 0x797a90
push str.CMapGroup::IsValidMapGroupProcessID_idProcess_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor esi, esi
jmp 0x6288b3
lea esi, [ecx + ecx*4]
shl esi, 5
add esi, edi
mov eax, dword [esi + 0x24]
pop edi
test eax, eax
jne 0x6288dc
push 0xcb
push 0x797a90
push str.m_pDb
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov ecx, dword [esi + 0x24]
lea eax, [ebp - 0x40c]
push 1
push eax
mov edx, dword [ecx]
call dword [edx]
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
mov dword [ebp - 4], 0
je 0x628937
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x44]
mov dword [ebx], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x44]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
mov dword [ecx], eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0xc]
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc