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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
mov ebx, ecx
je 0x64217b
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
jne 0x641faa
push 0xc6d
push 0x7c93d4
push str.m_setIncome
push str.CHECK
push 0x793720
call fcn.00401080
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ecx]
xor edi, edi
call dword [eax + 4]
test eax, eax
jle 0x641ff1
mov ecx, dword [ebx + 0x4c]
push edi
mov edx, dword [ecx]
call dword [edx + 8]
mov esi, eax
test esi, esi
je 0x641fe4
mov eax, dword [esi]
push 2
mov ecx, esi
call dword [eax + 8]
cmp eax, dword [ebp + 8]
jne 0x641fe4
mov edx, dword [esi]
push 3
mov ecx, esi
call dword [edx + 8]
cmp eax, 2
je 0x6420b7
mov ecx, dword [ebx + 0x4c]
inc edi
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, eax
jl 0x641fb5
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x64217b
call fcn.00642d30
mov esi, eax
mov eax, dword [ebx + 0x98]
test eax, eax
je 0x642107
test esi, esi
je 0x642107
mov edi, dword [0x7fd5f0]
push 0x7b4240
push 0x7c9204
lea ecx, [ebp - 0x100]
push str.SELECT__FROM__s_WHERE__s0_LIMIT_1
push ecx
call fcn.0070258b
mov ecx, dword [0x801a08]
add esp, 0x10
test ecx, ecx
jne 0x6420df
mov edx, dword [edi]
lea eax, [ebp - 0x100]
push ecx
push eax
mov ecx, edi
call dword [edx]
mov edi, eax
mov eax, dword [0x801a08]
test eax, eax
jne 0x642068
test edi, edi
jne 0x642086
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 [0x801a08], ecx
jne 0x6420df
push 0x38
push str.....GameBaseCodeMTGameData.h
push str.CreateNewDefault_pDb_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x642107
mov edx, dword [esi]
push 6
mov ecx, esi
call dword [edx + 8]
mov edx, dword [ebp + 0xc]
mov ecx, esi
add eax, edx
mov edx, dword [esi]
push eax
push 6
call dword [edx + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ecx]
push 0
call dword [edx]
test eax, eax
mov dword [esi + 4], eax
je 0x6420fb
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 0x642131
push 0xc7d
push 0x7c93d4
push str.m_pData__pData__pData__Create_Database____ID_NONE_
push str.IF_OK
push 0x793720
call fcn.00401080
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x98]
mov edi, dword [esi]
mov eax, dword [ecx]
call dword [eax + 4]
push eax
push 1
mov ecx, esi
call dword [edi + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [esi]
push eax
push 2
mov ecx, esi
call dword [edx + 0x10]
mov edx, dword [esi]
push 2
push 3
mov ecx, esi
call dword [edx + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi]
push ecx
push 6
mov ecx, esi
call dword [eax + 0x10]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov ecx, dword [ebx + 0x4c]
push esi
mov eax, dword [ecx]
call dword [eax + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x644820
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x644853
push 0x34
push 0x7caa34
push str._m_pData
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
call fcn.006471c0
mov ebx, eax
test ebx, ebx
mov dword [edi + 8], ebx
jne 0x64488a
push 0x37
push 0x7caa34
push str.m_pData
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 4
mov esi, dword [0x7fd5f0]
push 0x7b4240
push str.cq_family
lea eax, [ebp - 0x100]
push str.SELECT__FROM__s_WHERE__s0_LIMIT_1
push eax
call fcn.0070258b
mov ecx, dword [0x801a00]
add esp, 0x10
test ecx, ecx
jne 0x644924
mov edx, dword [esi]
lea eax, [ebp - 0x100]
push ecx
push eax
mov ecx, esi
call dword [edx]
mov esi, eax
mov eax, dword [0x801a00]
test eax, eax
jne 0x6448d5
test esi, esi
jne 0x6448f3
push 0x1a
push str.....common_autoptr.h
push str._m_ptr__ptr
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
test esi, esi
setne al
mov ecx, esi
test al, al
mov dword [0x801a00], ecx
jne 0x644924
push 0x38
push str.....GameBaseCodeMTGameData.h
push str.CreateNewDefault_pDb_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x64494c
mov edx, dword [ecx]
push 0
call dword [edx]
test eax, eax
mov dword [ebx + 4], eax
je 0x644940
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 0x644962
push 0x39
push 0x7caa34
push str.m_pData__Create_Database____ID_NONE_
push str.IF_OK
jmp 0x644872
mov esi, dword [ebp + 8]
mov ecx, dword [edi + 8]
push 0x10
mov eax, dword [ecx]
lea edx, [esi + 4]
push edx
push 1
call dword [eax + 0x14]
mov ecx, dword [edi + 8]
mov edx, dword [esi + 0x14]
push edx
push 2
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [edi + 8]
lea edx, [esi + 0x1c]
push 0x10
push edx
mov eax, dword [ecx]
push 3
call dword [eax + 0x14]
mov ecx, dword [edi + 8]
mov edx, dword [esi + 0x18]
push edx
push 4
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edx, dword [esi + 0x34]
mov ecx, dword [edi + 8]
push edx
mov edx, dword [esi + 0x30]
mov eax, dword [ecx]
push edx
push 6
call dword [eax + 0x1c]
mov ecx, dword [edi + 8]
mov edx, dword [esi + 0x2c]
push edx
push 7
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [edi + 8]
mov edx, dword [esi + 0x38]
push edx
push 8
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [edi + 8]
mov edx, dword [esi + 0x3c]
push edx
push 0x13
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [edi + 8]
add esi, 0x40
push 0x10
push esi
mov eax, dword [ecx]
push 0x14
call dword [eax + 0x14]
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
call dword [edx + 0x30]
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
neg eax
mov esp, ebp
pop ebp
ret 4
Function at 0x6450e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
mov ebx, ecx
push esi
push 0xc
mov eax, dword [ebx]
call dword [eax + 4]
push eax
push 0x79a1ac
push str.cq_family_attr
lea ecx, [ebp - 0x400]
push str.SELECT_u.id__u.name__f.rank_FROM__s_as_f_LEFT_JOIN__s_AS_u_ON_u.idf.id_WHERE_f.family_id_u__u.id_IS_NOT_NULL_ORDER_BY_f.rank_DESC_LIMIT__d
push ecx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x18
lea eax, [ebp - 0x400]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov esi, eax
test esi, esi
je 0x645182
mov edx, dword [esi]
push edi
mov ecx, esi
xor edi, edi
call dword [edx + 0x60]
test eax, eax
jbe 0x645172
mov eax, dword [esi]
push 2
mov ecx, esi
call dword [eax + 0x44]
mov edx, dword [esi]
push eax
push 1
mov ecx, esi
call dword [edx + 0x48]
push eax
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x44]
push eax
mov ecx, ebx
call fcn.00645190
mov edx, dword [esi]
mov ecx, esi
inc edi
call dword [edx + 0x64]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
cmp edi, eax
jb 0x64513a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x656520
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74b7d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], edi
cmp ecx, ebx
jne 0x656580
push 0x1d
push 0x7cd9f8
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 4
push esi
mov dword [edi + 0x10], ecx
mov eax, dword [ecx]
push 0xd5
push 0xd3
push 0xce
call dword [eax + 4]
push eax
push 0x79a140
lea ecx, [ebp - 0x420]
push str.SELECT_owner_id_player_id_position_FROM__s_WHERE_player_id_u_AND__position_d_OR_position_d_OR_position_d__GROUP_BY_owner_id
push ecx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x1c
lea eax, [ebp - 0x420]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, ebx
mov dword [ebp - 4], ebx
je 0x656669
mov dword [ebp + 8], ebx
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
cmp dword [ebp + 8], eax
jae 0x656669
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x44]
mov dword [ebp - 0x10], eax
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x44]
mov ebx, eax
mov eax, dword [esi]
push 2
mov ecx, esi
call dword [eax + 0x44]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x10]
lea ecx, [edi + 4]
lea eax, [ebp - 0x18]
push edx
push eax
mov edi, dword [ecx]
call fcn.00657850
cmp dword [ebp - 0x18], edi
je 0x656642
push 0x33
push 0x7cd9f8
push str.m_mapEudPackage.find_idNpc___m_mapEudPackage.end__
push str.IF_OK
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x656653
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
push ebx
push ecx
mov ecx, dword [ebp - 0x14]
push edx
call fcn.00656690
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x64]
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x14]
inc eax
mov dword [ebp + 8], eax
jmp 0x6565d8
test esi, esi
mov dword [ebp - 4], 0xffffffff
je 0x65667b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop esi
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x658d60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74b988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x14], esi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
lea eax, [ebp - 0xd]
lea ecx, [esi + 0x68]
push eax
mov byte [ebp - 4], 7
call fcn.0065abc0
lea edx, [ebp - 0xe]
lea eax, [ebp - 0xf]
push edx
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 8
call fcn.0049d1d0
lea edx, [ebp - 0xd]
lea eax, [ebp - 0x10]
push edx
lea ecx, [esi + 0x80]
push eax
mov byte [ebp - 4], 9
call fcn.0065ac00
lea edx, [ebp - 0xf]
lea ecx, [esi + 0x8c]
push edx
mov byte [ebp - 4], 0xa
call fcn.0065adc0
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x98]
push eax
mov byte [ebp - 4], 0xb
call fcn.0042a8b0
mov ecx, esi
mov byte [ebp - 4], 0xc
mov dword [esi], 0x75b8b0
call fcn.00659260
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x685510
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
push 1
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
call fcn.00685e10
mov edx, dword [ebp + 0x10]
add esp, 4
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x400]
push edx
push str.cq_table
push str.SELECT__FROM__s_WHERE_npc_id_u_ORDER_BY_id_LIMIT_100
push eax
call fcn.0070258b
mov edx, dword [pe_dos_header]
mov ebx, dword [esi + 0xc]
add esp, 0x10
lea eax, [ebp - 0x400]
xor ecx, ecx
push 0
push eax
call dword [edx]
mov esi, eax
test esi, esi
je 0x6855da
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp + 0xc], 0
call dword [edx + 0x60]
test eax, eax
jbe 0x6855ba
call fcn.00686240
mov edi, eax
test edi, edi
je 0x6855d3
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x24]
test al, al
je 0x6855cc
mov edx, dword [ebx]
push edi
mov ecx, ebx
call dword [edx + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x64]
mov edi, dword [ebp + 0xc]
mov edx, dword [esi]
inc edi
mov ecx, esi
mov dword [ebp + 0xc], edi
call dword [edx + 0x60]
cmp edi, eax
jb 0x685582
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x40]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0x22
push 0x7d40a8
push str.m_setTable__Create_szSQL__false_
push str.IF_NOT
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x68a8f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
xor esi, esi
test ebx, ebx
jle 0x68a925
push edi
mov edi, dword [esp + 0x10]
push esi
call fcn.0068a7a0
mov cl, byte [esi + edi]
push 3
xor cl, al
mov al, cl
mov byte [esi + edi], cl
push eax
call fcn.0068a800
add esp, 0xc
mov byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x68a901
pop edi
pop esi
pop ebx
ret
Function at 0x695dd0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push 0x7b4240
push str.cq_eudemon
lea eax, [ebp - 0x100]
push str.SELECT__FROM__s_WHERE__s0_LIMIT_1
push eax
call fcn.0070258b
mov eax, dword [0x801aa4]
add esp, 0x10
test eax, eax
je 0x695e06
mov al, 1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
lea eax, [ebp - 0x100]
push 0
mov edx, dword [ecx]
push eax
call dword [edx]
mov esi, eax
mov eax, dword [0x801aa4]
test eax, eax
jne 0x695e26
test esi, esi
jne 0x695e44
push 0x1a
push str.....common_autoptr.h
push str._m_ptr__ptr
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
xor eax, eax
mov dword [0x801aa4], esi
test esi, esi
setne al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x6accd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74db06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
mov dword [esi + 4], 0x756360
mov dword [ebp - 4], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [ebp - 4], 1
mov dword [esi], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.007028fe
add eax, 0x1b7740
push 0x14
mov dword [esi + 0x34], eax
call fcn.00728cf3
add esp, 4
cmp eax, ebx
je 0x6acd53
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax], 0x75e6f0
mov byte [eax + 0x10], 1
mov edi, eax
jmp 0x6acd55
xor edi, edi
cmp dword [esi + 0x18], ebx
jne 0x6acd5e
cmp edi, ebx
jne 0x6acd7c
push 0x1a
push str.....common_autoptr.h
push str._m_ptr__ptr
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x18], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x6afd90
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
mov ecx, dword [ebp + 0xc]
push 0
mov dword [ebp - 8], ebx
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], ecx
call fcn.006affe0
mov edx, dword [ebp + 0x10]
add esp, 4
mov dword [ebx + 4], eax
lea eax, [ebp - 0x408]
push edx
push str.cq_goods
push str.SELECT__FROM__s_WHERE_ownerid_u
push eax
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x10
lea eax, [ebp - 0x408]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov esi, eax
test esi, esi
je 0x6afeb6
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp + 8], 0
call dword [edx + 0x60]
test eax, eax
jbe 0x6afeaf
push edi
mov eax, dword [esi]
push 2
mov ecx, esi
call dword [eax + 0x44]
mov ecx, dword [0x7fd504]
mov edi, eax
test ecx, ecx
mov dword [ebp - 4], edi
jne 0x6afe45
push 0x18f
push 0x797a90
push str.g_pItemType
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor ecx, ecx
push edi
call fcn.004f0bb0
mov edi, eax
test edi, edi
je 0x6afe7c
mov ecx, dword [ebx + 4]
mov edx, dword [edi]
mov ebx, dword [ecx]
mov ecx, edi
call dword [edx + 4]
mov dword [ebp + 0xc], ebx
mov ebx, dword [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 4]
call dword [eax + 0x14]
test eax, eax
jne 0x6afe7c
mov ecx, dword [ebx + 4]
push edi
mov edx, dword [ecx]
call dword [edx + 0xc]
jmp 0x6afe91
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
push ecx
push edx
push 0x7d6eec
call fcn.00401560
add esp, 0xc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x64]
mov edi, dword [ebp + 8]
mov edx, dword [esi]
inc edi
mov ecx, esi
mov dword [ebp + 8], edi
call dword [edx + 0x60]
cmp edi, eax
jb 0x6afe0a
pop edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6bc990
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74e198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov ecx, 0x7e5430
mov dword [esi + 4], ebx
call fcn.00401df0
mov dword [ebp - 4], ebx
mov eax, dword [0x7e53f8]
cmp eax, ebx
jne 0x6bca18
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x14
push eax
push 0x18
call fcn.00406240
mov ecx, dword [ebp - 0x14]
mov edi, 1
add esp, 8
cmp ecx, edi
je 0x6bca20
lea ecx, [eax + 0x18]
mov dword [0x7e53f8], ecx
mov ebx, dword [ebp - 0x14]
mov edx, ecx
add ecx, 0x18
dec ebx
cmp ebx, edi
je 0x6bca12
mov dword [edx], ecx
mov ebx, dword [ebp - 0x14]
mov edx, ecx
inc edi
add ecx, 0x18
dec ebx
cmp ebx, edi
jne 0x6bca02
xor ebx, ebx
mov dword [edx], ebx
jmp 0x6bca20
mov ecx, dword [eax]
mov dword [0x7e53f8], ecx
mov dword [0x7e5430], ebx
mov dl, byte [ebp - 0xd]
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov byte [esi + 0xc], dl
mov byte [eax], bl
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax + 4], ebx
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [esi + 4]
mov dword [eax + 0xc], eax
mov dword [esi], 0x75ee20
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x6bcd80
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74e1f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x414
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 0x10], ecx
je 0x6bceb6
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x6bceb6
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x2c], esi
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
push eax
push str.cq_controlcenter
lea eax, [ebp - 0x420]
push str.SELECT__FROM__s_WHERE_player_id_u
push eax
call fcn.0070258b
mov edx, dword [esi]
add esp, 0x10
lea eax, [ebp - 0x420]
mov ecx, esi
push 1
push eax
call dword [edx]
mov esi, eax
mov dword [ebp + 8], esi
cmp esi, ebx
mov dword [ebp - 4], ebx
je 0x6bce8f
mov dword [ebp + 0xc], ebx
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
cmp dword [ebp + 0xc], eax
jae 0x6bce8f
push 0xc
call fcn.00728cf3
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x6bce6f
mov dword [edi], 0x75ee24
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi]
push 2
mov ecx, esi
call dword [eax + 0x44]
mov edx, dword [edi]
push esi
mov ecx, edi
mov ebx, eax
call dword [edx + 0x24]
test al, al
je 0x6bce7f
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x20]
push eax
push ecx
lea ecx, [edx + 4]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
call fcn.006bd760
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x64]
mov eax, dword [ebp + 0xc]
inc eax
xor ebx, ebx
mov dword [ebp + 0xc], eax
jmp 0x6bce05
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [edx + 4]
jmp 0x6bced4
mov eax, dword [esi]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 4]
jmp 0x6bced4
cmp esi, ebx
mov dword [ebp - 4], 0xffffffff
je 0x6bcea1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push 0x1e
push 0x7d8d54
push str.pDb__pOwner
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x6c00a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74e313
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x810
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], esp
push 0xafc80
push 0xcf
push edi
push 0x79a1d8
lea eax, [ebp - 0x41c]
xor ebx, ebx
push str.SELECT__FROM__s_WHERE_owner_id_d__position_d__type_u__LIMIT_1
push eax
mov dword [ebp - 4], ebx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x18
lea eax, [ebp - 0x41c]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov esi, eax
mov dword [ebp + 8], esi
cmp esi, ebx
mov byte [ebp - 4], 1
je 0x6c0174
mov edx, dword [esi]
push 0xd
mov ecx, esi
call dword [edx + 0x44]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi]
add eax, ecx
mov ecx, esi
push eax
push 0xd
call dword [edx + 0x18]
cmp esi, ebx
jne 0x6c014a
push 0x22
push str.....common_autoptr.h
push str.m_ptr
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0xc]
cmp esi, ebx
mov byte [ebp - 4], bl
je 0x6c0161
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x24
call fcn.005d7e60
mov ecx, eax
add esp, 4
mov dword [ebp - 0x14], ecx
cmp ecx, ebx
mov byte [ebp - 4], 2
je 0x6c0194
call fcn.005d7f00
mov esi, eax
jmp 0x6c0196
xor esi, esi
cmp esi, ebx
mov byte [ebp - 4], 1
jne 0x6c01d2
push 0x257
push 0x7d8f74
push str.pItem
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
mov edx, dword [esi]
push 0xcf
push edi
push 0xafc80
mov ecx, esi
call dword [edx + 0x20]
cmp al, bl
mov eax, dword [esi]
push 1
je 0x6c0212
mov ecx, dword [ebp + 0xc]
push ecx
push 0xd
mov ecx, esi
call dword [eax + 0x3c]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, esi
call dword [eax]
push str.Create_DefaultItem_Error_
call fcn.00401080
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8