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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74e328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x400
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x6c03cd
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x6c03cd
mov eax, dword [esi]
push 0x28
push 1
mov ecx, esi
call dword [eax + 0x34]
push eax
call fcn.005db690
add esp, 8
test al, al
je 0x6c03cd
mov edx, dword [esi]
push 0xd
mov ecx, esi
call dword [edx + 0x34]
lea ecx, [eax + eax*4]
mov eax, 0x431bde83
shl ecx, 1
imul ecx
sar edx, 0x12
mov eax, edx
push 0xd
shr eax, 0x1f
add edx, eax
mov ecx, esi
mov edi, edx
mov edx, dword [esi]
call dword [edx + 0x34]
lea ecx, [edi + edi*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
shl ecx, 5
sub eax, ecx
lea eax, [eax + eax*4]
shl eax, 1
test eax, eax
jle 0x6c032b
inc edi
push ebx
push 0x79a1ac
lea edx, [ebp - 0x40c]
push str.SELECT__FROM__s_WHERE_id_u_LIMIT_1
push edx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x10
lea edx, [ebp - 0x40c]
mov eax, dword [ecx]
push 1
push edx
call dword [eax]
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
mov dword [ebp - 4], 0
je 0x6c03cd
mov ebx, dword [esi]
push 0x62
mov ecx, esi
call dword [ebx + 0x44]
add eax, edi
mov ecx, esi
push eax
push 0x62
call dword [ebx + 0x18]
test esi, esi
jne 0x6c039d
push 0x22
push str.....common_autoptr.h
push str.m_ptr
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0xc]
test esi, esi
mov dword [ebp - 4], 0xffffffff
je 0x6c03b8
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
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 0x6c17e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74e430
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]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ebx
je 0x6c1844
push 0x37
push 0x7d99dc
push str._m_pData
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 4
push 0xc
call fcn.00728cf3
add esp, 4
cmp eax, edi
je 0x6c1862
mov dword [eax], 0x75f168
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov esi, eax
jmp 0x6c1864
xor esi, esi
cmp esi, edi
mov dword [ebx], esi
jne 0x6c189d
push 0x3a
push 0x7d99dc
push str.m_pData
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 4
mov edi, dword [0x7fd5f0]
push 0x7b4240
push str.cq_building
lea eax, [ebp - 0x114]
push str.SELECT__FROM__s_WHERE__s0_LIMIT_1
push eax
call fcn.0070258b
mov ecx, dword [0x8019b8]
add esp, 0x10
test ecx, ecx
jne 0x6c1913
mov edx, dword [edi]
lea eax, [ebp - 0x114]
push ecx
push eax
mov ecx, edi
call dword [edx]
push eax
mov ecx, 0x8019b8
call fcn.0047bd90
mov ecx, dword [0x8019b8]
test ecx, ecx
setne al
test al, al
jne 0x6c1913
push 0x38
push str.....GameBaseCodeMTGameData.h
push str.CreateNewDefault_pDb_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x6c193f
mov edx, dword [ecx]
push 0
call dword [edx]
test eax, eax
mov dword [esi + 4], eax
je 0x6c192f
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 0x6c19cb
push 0x3c
push 0x7d99dc
push str.m_pData__Create_Database____ID_NONE_
push str.IF_NOT
push 0x793720
call fcn.00401080
mov ecx, dword [ebx]
add esp, 0x14
test ecx, ecx
je 0x6c19b6
mov eax, dword [ecx]
mov dword [ebp - 4], 0
call dword [eax]
mov dword [ebx], 0
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 4
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 4
mov ecx, dword [ebx]
mov eax, dword [ebp + 8]
push eax
push 1
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [ebx]
mov edx, dword [ecx]
call dword [edx + 0x30]
test eax, eax
jne 0x6c1a73
push 0x44
push 0x7d99dc
push str.m_pData__InsertRecord__
push str.IF_NOT
push 0x793720
call fcn.00401080
mov ecx, dword [ebx]
add esp, 0x14
test ecx, ecx
je 0x6c1a5e
mov eax, dword [ecx]
mov dword [ebp - 4], 2
call dword [eax]
mov dword [ebx], 0
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 4
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 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x6c2fa0
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 0x6c2fde
push 0x29
push 0x7d9b88
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 8
mov edi, dword [ebp + 8]
test edi, edi
jne 0x6c300e
push 0x2a
push 0x7d9b88
push str.pInfo
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 8
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x6c303e
push 0x2b
push 0x7d9b88
push 0x7999e8
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 8
call fcn.006c31e0
mov ebx, eax
test ebx, ebx
mov dword [ebp + 8], ebx
mov dword [esi + 8], ebx
jne 0x6c3078
push 0x2e
push 0x7d9b88
push str.m_pData
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 8
push 0x7b4240
push str.cq_taskdetail
lea eax, [ebp - 0x100]
push str.SELECT__FROM__s_WHERE__s0_LIMIT_1
push eax
call fcn.0070258b
mov ecx, dword [0x8019b0]
add esp, 0x10
test ecx, ecx
jne 0x6c3111
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x100]
push 0
push eax
mov edx, dword [ecx]
call dword [edx]
mov ebx, eax
mov eax, dword [0x8019b0]
test eax, eax
jne 0x6c30bf
test ebx, ebx
jne 0x6c30dd
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 [0x8019b0], ecx
jne 0x6c310e
push 0x38
push str.....GameBaseCodeMTGameData.h
push str.CreateNewDefault_pDb_
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x6c3139
mov ebx, dword [ebp + 8]
mov edx, dword [ecx]
push 0
call dword [edx]
test eax, eax
mov dword [ebx + 4], eax
je 0x6c312d
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 0x6c3162
push 0x31
push 0x7d9b88
push str.m_pData__Create_pDb__ID_NONE_
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 8
mov ecx, dword [esi + 8]
mov edx, dword [edi]
push edx
push 1
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 8]
mov edx, dword [edi + 4]
push edx
push 2
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 8]
mov edx, dword [edi + 8]
push edx
push 3
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esi + 8]
mov edx, dword [edi + 0xc]
push edx
push 4
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [esi + 8]
push 0
push 1
mov edi, dword [eax]
call fcn.0040ab00
mov ecx, dword [esi + 8]
add esp, 8
push eax
push 5
call dword [edi + 0x10]
mov ecx, dword [esi + 8]
push 0
push 6
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x6c66f0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x3ff]
mov byte [ebp - 0x400], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x400]
stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], ebx
push eax
push str.cq_mission
push str.SELECT__FROM__s_WHERE_Owner_npc_d
push 0x400
push ecx
call fcn.00704f86
add esp, 0x14
lea edx, [ebp - 0x400]
mov ecx, esi
push edx
push ebx
call fcn.006c67b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x6c8410
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
xor eax, eax
mov cl, byte [edx]
test cl, cl
je 0x6c8431
imul eax, eax, 0x1000193
movsx ecx, cl
xor eax, ecx
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x6c841e
and eax, 0xff
pop ebp
ret

Function at 0x6c8e40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [0x7da964]
mov eax, dword [str.tqdigital]
mov dx, word [0x7da968]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
xor ecx, ecx
test edi, edi
mov dword [ebp - 0xc], eax
mov word [ebp - 4], dx
jle 0x6c8e9a
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ecx
mov ebx, 0xa
div ebx
mov al, byte [ebp + edx - 0xc]
xor al, byte [ecx + esi]
mov dl, al
and dl, 0xf
shl dl, 4
shr al, 4
or dl, al
mov byte [ecx + esi], dl
inc ecx
cmp ecx, edi
jl 0x6c8e71
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x6ca3a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74e87b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push 0x3c
call fcn.00728cf3
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
xor ebx, ebx
cmp esi, ebx
mov dword [ebp - 4], ebx
je 0x6ca461
push edi
mov dword [esi], 0x75f61c
mov ecx, 0x7e5430
mov byte [ebp - 4], 1
mov dword [esi + 0x14], ebx
call fcn.00401df0
mov byte [ebp - 4], 2
mov edi, dword [0x7e53f8]
cmp edi, ebx
jne 0x6ca40d
push 0x18
call fcn.00405f50
add esp, 4
mov edi, eax
jmp 0x6ca414
mov eax, dword [edi]
mov dword [0x7e53f8], eax
mov ecx, 0x7e5430
mov byte [ebp - 4], 1
call fcn.00404e70
mov cl, byte [ebp - 0xd]
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], ebx
mov byte [esi + 0x1c], cl
mov byte [edi], bl
mov edx, dword [esi + 0x14]
mov dword [edx + 4], ebx
mov eax, dword [esi + 0x14]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x14]
mov dword [eax + 0xc], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
pop edi
mov dword [esi], 0x75f600
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x6ca7a0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
push edi
je 0x6ca7bd
cmp dword [eax], 0
jne 0x6ca86f
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [ebp - 8]
push ecx
push 0
push 0
lea edx, [ebp - 0x10c]
push edx
mov edi, eax
push 0
mov dword [ebp - 0x108], edi
mov dword [ebp - 0x10c], 1
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x6ca86f
lea eax, [ebp - 0x10c]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x6ca86f
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
call dword [edx + 4]
cmp eax, 0xffffffff
je 0x6ca86f
push eax
call fcn.006cb540
mov edi, eax
add esp, 4
test edi, edi
je 0x6ca86f
mov eax, dword [esi + 8]
test eax, eax
jne 0x6ca844
push 0x14
push 1
call fcn.00704199
add esp, 8
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
mov dword [eax + 4], 4
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x18]
mov ecx, dword [esi + 8]
mov dword [ecx + 0xc], eax
mov edx, dword [esi + 8]
mov byte [edx + 8], 0
mov eax, dword [esi + 8]
mov dword [eax], edi
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x6ca880
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x530
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
xor esi, esi
cmp eax, esi
mov dword [ebp - 0xc], edi
je 0x6ca9e4
cmp dword [eax], esi
je 0x6ca9e4
mov dword [ebp - 0x118], esi
mov ebx, dword [eax]
cmp ebx, esi
je 0x6ca8c5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov dword [ebp - 0x114], eax
inc dword [ebp - 0x118]
lea ecx, [ebp - 0x14]
push ecx
push esi
push esi
lea edx, [ebp - 0x118]
push edx
push 0x40
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.WS2_32.dll_select]
lea eax, [ebp - 0x118]
mov dword [ebp - 4], esi
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x1c]
push eax
call sub.WS2_32.dll___WSAFDIsSet
mov edx, dword [ebx]
push eax
lea eax, [ebp - 4]
push eax
mov ecx, ebx
call dword [edx + 4]
mov edx, dword [ebx]
mov ecx, ebx
mov esi, eax
call dword [edx + 0x10]
test al, al
jne 0x6ca939
mov eax, dword [edi + 8]
mov cl, byte [eax + 8]
test cl, cl
jne 0x6ca9e4
mov ecx, dword [edi]
push 0
push ecx
call fcn.006ca9f0
mov edx, dword [edi + 8]
add esp, 8
pop edi
pop esi
mov byte [edx + 8], 1
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x6ca9e4
mov ecx, dword [ebp - 4]
test ecx, ecx
jle 0x6ca9e4
cmp ecx, 4
jle 0x6ca9e4
xor eax, eax
mov ax, word [esi]
mov edx, eax
and edx, 0xffff
cmp edx, ecx
mov dword [ebp - 8], edx
jg 0x6ca9e4
cmp ax, 4
jb 0x6ca9e4
cmp ax, 0x400
ja 0x6ca9e4
xor eax, eax
mov ax, word [esi + 2]
add esi, 4
test edx, edx
lea ecx, [edx - 4]
je 0x6ca9e4
mov dword [ebp - 0x524], ecx
mov dword [ebp - 0x52c], eax
mov eax, dword [edi + 8]
mov word [ebp - 0x530], 0xe89
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x528], edx
mov edx, ecx
shr ecx, 2
lea edi, [ebp - 0x520]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov eax, dword [eax + 4]
mov edx, dword [ecx]
lea esi, [ebp - 0x530]
push esi
push 0x418
push 0x3e9
push eax
call dword [edx + 0x1c]
mov eax, dword [ebp - 8]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6cacf0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
lea eax, [ebp - 0x190]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x6cad1f
push str.ERROR:_Init_WSAStartup___failed.
call fcn.00401080
add esp, 4
xor al, al
mov esp, ebp
pop ebp
ret
mov ax, word [ebp - 0x190]
cmp al, 2
jne 0x6cad38
xor ecx, ecx
mov cl, ah
test cl, cl
jne 0x6cad38
mov al, 1
mov esp, ebp
pop ebp
ret
push str.ERROR:_WSAStartup_Version_not_match_2.0
call fcn.00401080
add esp, 4
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x6cb6c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 4]
cmp ecx, 0xffffffff
push edi
jne 0x6cb6dd
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x1100c]
test eax, eax
je 0x6cb748
push 0
push eax
lea edi, [ebx + 0x100c]
push edi
push ecx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x6cb750
mov ecx, dword [ebx + 0x1100c]
sub ecx, eax
test ecx, ecx
jle 0x6cb71f
mov edx, ecx
push esi
shr ecx, 2
lea esi, [eax + ebx + 0x100c]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
sub dword [ebx + 0x1100c], eax
jns 0x6cb748
push 0x1a1
push 0x7dafc0
push str.m_nSendLen___0
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
pop edi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
cmp edx, 0x2733
je 0x6cb748
mov al, byte [0x7e5328]
mov byte [ebp - 0x80], al
xor eax, eax
mov ecx, 0x1f
lea edi, [ebp - 0x7f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 0x11010]
test eax, eax
push edx
je 0x6cb799
movsx ecx, word [eax]
push ecx
lea edx, [ebp - 0x80]
push str.SNDBUF
push edx
call fcn.0070258b
add esp, 0x10
jmp 0x6cb7aa
lea eax, [ebp - 0x80]
push 0x7db0dc
push eax
call fcn.0070258b
add esp, 0xc
lea ecx, [ebp - 0x80]
push ecx
push str.syslog_track_login
call fcn.0040a4e0
mov edx, dword [ebx]
add esp, 8
push 1
mov ecx, ebx
mov dword [ebx + 0x11014], 2
call dword [edx + 0x14]
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6d8090
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74f0c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi], 0x75f940
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
push edi
mov dword [ebp - 0x14], esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
push 0xc
mov byte [ebp - 4], 3
call fcn.004055b0
mov dword [esi + 0x3c], eax
mov dword [eax], eax
mov eax, dword [esi + 0x3c]
mov dword [eax + 4], eax
push 0x24
mov byte [ebp - 4], 4
mov dword [esi + 0x40], ebx
call fcn.004055b0
mov cl, byte [ebp - 0xd]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ebx
mov byte [esi + 0x48], cl
mov byte [eax], bl
mov edx, dword [esi + 0x40]
mov dword [edx + 4], ebx
mov eax, dword [esi + 0x40]
mov dword [eax + 8], eax
mov eax, dword [esi + 0x40]
mov dword [eax + 0xc], eax
push 0x14
mov byte [ebp - 4], 5
mov dword [esi], 0x75f938
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 4], 6
call fcn.00728cf3
add esp, 0xc
cmp eax, ebx
je 0x6d815c
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax], 0x75f918
mov byte [eax + 0x10], 1
mov edi, eax
jmp 0x6d815e
xor edi, edi
cmp dword [esi + 0x1c], ebx
jne 0x6d8167
cmp edi, ebx
jne 0x6d8185
push 0x1a
push str.....commonAutoPtr.h
push str._m_ptr__ptr
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov dword [esi + 0x1c], edi
call fcn.00402290
cmp eax, ebx
je 0x6d8199
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [0x7ff41c], esi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x6d8ba0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [ebp + 8]
push eax
push 0x79a1ac
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x414]
push str.SELECT_id__name__recordmap_id__level_FROM__s_WHERE_id_u__account_id0
push ecx
call fcn.0070258b
mov eax, dword [0x7ff318]
add esp, 0x10
test eax, eax
jne 0x6d8bf3
push 0xc2
push 0x7db568
push str.CWorldKernel::m_pWorld
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov edx, dword [0x7ff318]
mov ecx, dword [edx + 0x30]
mov eax, dword [ecx]
push esi
push 1
lea edx, [ebp - 0x414]
push edx
call dword [eax]
mov esi, eax
test esi, esi
je 0x6d8cf6
mov eax, dword [esi]
push ebx
push edi
push 0x7cb354
mov ecx, esi
call dword [eax + 0x30]
mov cx, word [0x796128]
mov dl, byte [0x79612a]
xor eax, eax
mov dword [ebp - 0xd], eax
mov dword [ebp - 9], eax
mov dword [ebp - 5], eax
push 0x10
mov byte [ebp - 1], al
push str.name
lea eax, [ebp - 0x10]
mov word [ebp - 0x10], cx
mov byte [ebp - 0xe], dl
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 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 0x6d8c8e
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 0x6d8cb9
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 edi, eax
call dword [edx + 0x14]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push edi
call fcn.006d97f0
test al, al
pop edi
pop ebx
je 0x6d8cf6
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x6dc150
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74f2f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x400
mov eax, dword [ebp + 8]
test eax, eax
push esi
je 0x6dc22f
push eax
push 0x79a1ac
lea eax, [ebp - 0x40c]
push str.SELECT_COUNT___AS_amount__FROM__s_WHERE_account_id___u
push eax
call fcn.0070258b
mov eax, dword [0x7ff318]
add esp, 0x10
test eax, eax
jne 0x6dc1be
push 0xc2
push 0x7db568
push str.CWorldKernel::m_pWorld
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov ecx, dword [0x7ff318]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx]
push 1
lea eax, [ebp - 0x40c]
push eax
call dword [edx]
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
mov dword [ebp - 4], 0
je 0x6dc21d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
jbe 0x6dc21d
mov eax, dword [esi]
push edi
push 0
mov ecx, esi
call dword [eax + 0x44]
mov edx, dword [esi]
mov ecx, esi
mov edi, eax
mov dword [ebp - 4], 0xffffffff
call dword [edx + 4]
mov eax, edi
pop edi
pop esi
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 0x6dc22f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x6de680
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
lea esi, [ecx + 4]
mov ecx, dword [esi + 4]
push edi
sub ecx, dword [esi]
mov edi, dword [ebp + 8]
xor eax, eax
sar ecx, 2
je 0x6de6c0
mov ebx, dword [esi]
mov edx, ebx
mov ecx, dword [edx]
test ecx, ecx
je 0x6de6b0
cmp dword [ecx], edi
je 0x6de73f
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
inc eax
sar ecx, 2
add edx, 4
cmp eax, ecx
jb 0x6de6a2
push edi
push str.cq_dynamap
lea eax, [ebp - 0x400]
push str.SELECT_id_mapgroup_portal0_x_portal0_y_FROM__s_WHERE_id_u_LIMIT_1
push eax
mov ebx, 4
call fcn.0070258b
mov eax, dword [0x7ff318]
add esp, 0x10
test eax, eax
jne 0x6de709
push 0xc2
push 0x7db568
push str.CWorldKernel::m_pWorld
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov ecx, dword [0x7ff318]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx]
push 1
lea eax, [ebp - 0x400]
push eax
call dword [edx]
mov edi, eax
test edi, edi
je 0x6de7d1
push 0x10
call fcn.00728cf3
add esp, 4
test eax, eax
je 0x6de751
mov dword [eax], 0
jmp 0x6de753
mov edx, dword [ebx + eax*4]
mov eax, dword [edx + 4]
pop edi
pop esi
add eax, 4
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
test eax, eax
mov dword [ebp + 8], eax
je 0x6de7ca
mov edx, dword [edi]
push 0x7cb354
mov ecx, edi
call dword [edx + 0x30]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [edi]
push str.mapgroup
mov ecx, edi
call dword [edx + 0x30]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [edi]
push str.portal0_x
mov ecx, edi
call dword [edx + 0x30]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov edx, dword [edi]
push str.portal0_y
mov ecx, edi
call dword [edx + 0x30]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x6de7b8
test eax, eax
je 0x6de7b2
mov edx, dword [ebp + 8]
mov dword [eax], edx
add dword [esi + 4], 4
jmp 0x6de7c4
lea ecx, [ebp + 8]
push ecx
push eax
mov ecx, esi
call fcn.006de830
mov edx, dword [ebp + 8]
mov ebx, dword [edx + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4