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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], 0
push edi
lea eax, [ebp - 4]
mov esi, edx
push eax
push 0xffffffffffffffff
push str.SELECT_Password__FROM_User__WHERE_Uin__
push dword [0x4d1308]
mov ebx, ecx
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x14
test eax, eax
jne 0x4122b2
lea eax, [ebx - 0x2710]
push eax
push 1
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 0x10
cmp eax, 0x64
jne 0x4122b2
push edi
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_column_blob]
add esp, 8
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x4122a3
test cl, cl
je 0x41229f
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x4122a3
add eax, 2
add esi, 2
test cl, cl
jne 0x412283
xor eax, eax
jmp 0x4122a8
sbb eax, eax
or eax, 1
test eax, eax
mov ecx, 1
cmove edi, ecx
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412ac0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 8], edx
push eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
push 0xffffffffffffffff
push str.SELECT_Record__FROM_MapRecord__WHERE_Uin__AND_MapID__
mov dword [ebp - 0xc], esi
mov bl, 1
push dword [eax + 0x1a0]
mov dword [ebp - 4], 0
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
mov edi, dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 0x14
test eax, eax
jne 0x412bf4
push esi
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
push 1
push dword [ebp - 4]
call esi
push dword [ebp - 8]
push 2
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 0x1c
cmp eax, 0x64
jne 0x412b9c
push 0
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 8
cmp eax, dword [ebp + 8]
jae 0x412b56
push dword [ebp - 4]
xor bl, bl
call edi
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
call edi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
mov eax, dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
push 0xffffffffffffffff
push str.UPDATE_MapRecord_SET_Record___WHERE_Uin__AND_MapID__
push dword [0x4d1304]
call eax
add esp, 0x18
test eax, eax
jne 0x412bf4
push dword [ebp + 8]
push 1
push dword [ebp - 4]
call esi
push dword [ebp - 0xc]
push 2
push dword [ebp - 4]
call esi
push dword [ebp - 8]
jmp 0x412be0
push dword [ebp - 4]
call edi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
mov eax, dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
push 0xffffffffffffffff
push str.INSERT_INTO_MapRecord__Uin__MapID__Record__VALUES__________
push dword [0x4d1304]
call eax
add esp, 0x18
test eax, eax
jne 0x412bf4
push dword [ebp - 0xc]
push 1
push dword [ebp - 4]
call esi
push dword [ebp - 8]
push 2
push dword [ebp - 4]
call esi
push dword [ebp + 8]
push 3
push dword [ebp - 4]
call esi
push dword [ebp - 4]
mov eax, dword [sym.imp.sqlite3.dll_sqlite3_step]
call eax
add esp, 0x28
push dword [ebp - 4]
call edi
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4179c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp - 4], ebx
imul edx, eax, 0x1000193
mov eax, ebx
sar eax, 8
movzx eax, al
xor edx, eax
mov eax, ebx
sar eax, 0x10
imul ecx, edx, 0x1000193
movzx eax, al
sar ebx, 0x18
xor ecx, eax
movzx eax, bl
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00428340
mov edx, dword [0x4d2be8]
pop ebx
mov eax, dword [eax + 4]
test eax, eax
cmovne edx, eax
cmp edx, dword [0x4d2be8]
je 0x417a34
mov eax, dword [edx + 0xc]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4206b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.00463070
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_htonl]
mov eax, ecx
push esi
push edi
mov esi, edx
mov dword [ebp - 0xc], eax
push dword [eax + 0x18]
mov dword [ebp - 0x18], esi
call ebx
push esi
mov dword [ebp - 0x2020], eax
call ebx
xor esi, esi
mov dword [ebp - 0x201c], eax
lea edi, [ebp - 0x2018]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x18], esi
jbe 0x42083c
nop dword [eax + eax]
push 0
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi], ax
mov eax, dword [ebp + 8]
push dword [eax + esi*8]
lea eax, [eax + esi*8]
mov dword [ebp - 0x1c], eax
call ebx
push 0
mov dword [edi + 2], eax
call ebx
mov dword [edi + 6], eax
lea esi, [edi + 0xa]
push 0
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
mov eax, dword [ebp - 0xc]
push 0xffffffffffffffff
push str.SELECT_StoneUseOccaType_SkillStoneID__FROM_KartStone_WHERE_ID____
mov dword [ebp - 4], 0
push dword [eax + 0x1a0]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x14
test eax, eax
jne 0x4207de
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
push 1
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
cmp eax, 0x64
jne 0x4207fe
mov edi, dword [ebp - 8]
push 0
inc edi
call dword [sym.imp.WS2_32.dll_htons]
push 0
push dword [ebp - 4]
mov word [esi], ax
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 8
push eax
call ebx
push 1
push dword [ebp - 4]
mov dword [esi + 2], eax
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 8
push eax
call ebx
push 0xa
mov dword [esi + 6], eax
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp - 4]
mov word [esi], ax
add esi, 0xa
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
cmp eax, 0x64
je 0x420783
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0x10]
jmp 0x4207fe
mov eax, dword [ebp - 0xc]
push dword [eax + 0x1a0]
call dword [sym.imp.sqlite3.dll_sqlite3_errmsg]
add esp, 4
push eax
push 0x4b6e7c
call fcn.00413de0
add esp, 8
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov dword [ebp - 4], 0
push dword [ebp - 8]
call ebx
mov dword [edi + 6], eax
mov eax, esi
sub eax, edi
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi], ax
mov edi, esi
mov esi, dword [ebp - 0x14]
inc esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x18]
jb 0x420700
mov ecx, dword [ebp - 0xc]
mov edx, 0xe4
mov al, byte [ebp + 0xc]
push 1
mov byte [edi], al
movzx eax, word [ecx + 0x10]
push 2
push eax
push 1
push eax
lea eax, [ebp - 0x2020]
sub edi, eax
inc edi
push edi
push eax
call fcn.00437370
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420870
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.00463070
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_htonl]
mov eax, ecx
push esi
push edi
mov esi, edx
mov dword [ebp - 0xc], eax
push dword [eax + 0x18]
mov dword [ebp - 0x18], esi
call ebx
push esi
mov dword [ebp - 0x2020], eax
call ebx
xor esi, esi
mov dword [ebp - 0x201c], eax
lea edi, [ebp - 0x2018]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x18], esi
jbe 0x4209fc
nop dword [eax + eax]
push 0
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi], ax
mov eax, dword [ebp + 8]
push dword [eax + esi*8]
lea eax, [eax + esi*8]
mov dword [ebp - 0x1c], eax
call ebx
push 0
mov dword [edi + 2], eax
call ebx
mov dword [edi + 6], eax
lea esi, [edi + 0xa]
push 0
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
mov eax, dword [ebp - 0xc]
push 0xffffffffffffffff
push str.SELECT_StoneUseOccaType_SkillStoneID__FROM_KartStone_WHERE_ID____
mov dword [ebp - 4], 0
push dword [eax + 0x1a0]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x14
test eax, eax
jne 0x42099e
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
push 1
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
cmp eax, 0x64
jne 0x4209be
mov edi, dword [ebp - 8]
push 0
inc edi
call dword [sym.imp.WS2_32.dll_htons]
push 0
push dword [ebp - 4]
mov word [esi], ax
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 8
push eax
call ebx
push 1
push dword [ebp - 4]
mov dword [esi + 2], eax
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 8
push eax
call ebx
push 0xa
mov dword [esi + 6], eax
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp - 4]
mov word [esi], ax
add esi, 0xa
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
cmp eax, 0x64
je 0x420943
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0x10]
jmp 0x4209be
mov eax, dword [ebp - 0xc]
push dword [eax + 0x1a0]
call dword [sym.imp.sqlite3.dll_sqlite3_errmsg]
add esp, 4
push eax
push 0x4b6e7c
call fcn.00413de0
add esp, 8
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov dword [ebp - 4], 0
push dword [ebp - 8]
call ebx
mov dword [edi + 6], eax
mov eax, esi
sub eax, edi
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi], ax
mov edi, esi
mov esi, dword [ebp - 0x14]
inc esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
cmp esi, dword [ebp - 0x18]
jb 0x4208c0
mov ecx, dword [ebp - 0xc]
mov edx, 0x6f00
mov al, byte [ebp + 0xc]
push 1
mov byte [edi], al
movzx eax, word [ecx + 0x10]
push 2
push eax
push 1
push eax
lea eax, [ebp - 0x2020]
sub edi, eax
inc edi
push edi
push eax
call fcn.00437370
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4244c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.00463070
push ebx
movzx eax, cl
mov ebx, edx
xor eax, 0x811c9dc5
mov dword [ebp - 0xc], ecx
push esi
imul esi, eax, 0x1000193
movzx eax, ch
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ebx
xor esi, eax
movzx eax, byte [ebp - 0xa]
imul edx, esi, 0x1000193
xor edx, eax
movzx eax, byte [ebp - 9]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004454e0
mov esi, dword [0x4d2c38]
mov eax, dword [eax + 4]
test eax, eax
cmovne esi, eax
cmp esi, dword [0x4d2c38]
je 0x4246da
mov esi, dword [esi + 0xc]
test esi, esi
je 0x4246da
mov esi, dword [esi]
test esi, esi
je 0x4246da
push edi
push 0x1c0
call fcn.004622fd
push 0x1c0
mov edi, eax
push 0
push edi
mov dword [ebp - 0x14], edi
call fcn.00476670
add esp, 0x10
xor dl, dl
nop word [eax + eax]
movsx eax, dl
cmp eax, dword [esi + 0x28]
jae 0x4245a7
lea ecx, [eax*8]
inc dl
sub ecx, eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax + ecx*4]
mov dword [edi + ecx*4], eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax + ecx*4 + 4]
mov dword [edi + ecx*4 + 4], eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax + ecx*4 + 8]
mov dword [edi + ecx*4 + 8], eax
cmp dl, 0x10
jl 0x424570
mov esi, dword [sym.imp.WS2_32.dll_htons]
xor al, al
push 0
mov byte [ebp - 1], al
call esi
push dword [ebx + 0x18]
mov word [ebp - 0x1018], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0
mov dword [ebp - 0x1016], eax
call esi
mov word [ebp - 0x1012], ax
lea ebx, [ebp - 0x1010]
mov dword [ebp - 8], 0
cmp dword [edi], 0
je 0x424641
inc byte [ebp - 1]
push 0
call esi
mov word [ebx], ax
push dword [edi]
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebx + 2], eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebx + 6], eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_htonl]
push 2
mov dword [ebx + 0xa], eax
call dword [sym.imp.WS2_32.dll_htons]
mov esi, dword [sym.imp.WS2_32.dll_htons]
push 0x10
mov word [ebx + 0xe], ax
call esi
mov word [ebx], ax
add edi, 0x1c
mov eax, dword [ebp - 8]
add ebx, 0x10
inc eax
mov dword [ebp - 8], eax
cmp eax, 0x10
jb 0x4245e4
mov al, byte [ebp - 1]
cbw
movzx eax, ax
push eax
call esi
push 0
mov word [ebp - 0x1012], ax
call esi
mov edi, dword [sym.imp.WS2_32.dll_htonl]
push 0
mov word [ebx], ax
call edi
push 0
mov dword [ebx + 2], eax
call edi
push 0
mov dword [ebx + 6], eax
call edi
mov edi, dword [sym.imp.WS2_32.dll_htons]
push 0
mov dword [ebx + 0xa], eax
call edi
push 0x10
mov word [ebx + 0xe], ax
call edi
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push 0xa
mov word [ebx], ax
call esi
push 0x64
mov dword [ebx + 0x10], eax
call esi
push dword [ebp - 0xc]
mov dword [ebx + 0x14], eax
add ebx, 0x18
call esi
mov ecx, dword [ebp - 0x10]
mov edx, 0x139
push 1
mov dword [ebx], eax
push 1
movzx eax, word [ecx + 0x10]
push eax
push 1
push eax
lea eax, [ebp - 0x1018]
sub ebx, eax
add ebx, 4
push ebx
push eax
call fcn.00437370
push dword [ebp - 0x14]
call fcn.00462046
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427170
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1d0d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x20]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.00428340
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4271f1
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
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 [0x4d2bec], 0xfffffff
je 0x427370
mov dword [ebp - 0x14], 0x4d2be8
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x10], 0
call fcn.0046204b
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x4d2bec]
mov edi, dword [0x4d2c00]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4bf0d0]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x4bf0d0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x4d2be4]
comiss xmm1, xmm0
jbe 0x4272ff
divss xmm2, xmm0
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.0049cc00
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0049e040
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x4272e1
cmp edi, 0x200
jae 0x4272df
shl edi, 3
cmp edi, ecx
jae 0x4272e1
mov edi, ecx
push edi
call fcn.00427850
push ebx
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00428340
mov ecx, dword [0x4d2bec]
mov edx, dword [eax]
jmp 0x427302
mov edx, dword [ebp - 0x20]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x4d2bec], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x4d2bfc]
mov ecx, dword [0x4d2bf0]
and eax, ebx
mov dword [ebp - 0x10], 0
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x4d2be8]
jne 0x42733a
mov dword [ecx + eax*8], esi
jmp 0x427349
cmp ebx, edx
jne 0x427343
mov dword [ecx + eax*8], esi
jmp 0x42734d
cmp dword [ecx + eax*8 + 4], edi
jne 0x42734d
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00460ee1
int3
Function at 0x427850
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a1d8d
push eax
mov eax, 0x1fffffff
mov dword fs:[0], esp
bsr ecx, eax
sub esp, 0xc
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x4279ec
lea eax, [ecx - 1]
mov esi, dword [0x4d2be8]
or eax, edi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x4d2bf0
lea eax, [edi + edi]
push eax
call fcn.00425460
lea eax, [edi - 1]
mov dword [0x4d2c00], edi
mov dword [0x4d2bfc], eax
mov dword [ebp - 0x14], 0x4d2be4
mov dword [ebp - 4], 0
mov ecx, dword [0x4d2be8]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x4279a9
nop word [eax + eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
mov eax, dword [0x4d2bf0]
imul edi, edi, 0x1000193
and edi, dword [0x4d2bfc]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [ebp + 8], eax
cmp ebx, esi
jne 0x427934
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x42799f
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x42796b
mov eax, dword [eax]
cmp eax, ecx
je 0x427963
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
jmp 0x42799f
cmp ebx, eax
je 0x42797c
nop
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x4279ca
cmp ebx, eax
jne 0x427970
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
jne 0x4278e0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp + 8], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x42799f
push str.invalid_hash_bucket_count
call fcn.00460ee1
int3
Function at 0x427ac0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1dad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp edx, esi
je 0x427c6d
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
push edi
mov edi, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
nop word [eax + eax]
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.0046207b
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x427bae
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x427b70
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x427c5d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x427c5d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x427bc0
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x427bc3
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x427c5d
nop
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.0046207b
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x427c41
cmp edi, esi
je 0x427c58
mov eax, dword [ebp + 0xc]
jmp 0x427c17
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x427c5d
mov edx, dword [ebp - 0x10]
jmp 0x427bd0
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov dword [edi + 4], eax
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x430560
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2044
call fcn.00463070
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
mov ebx, ecx
push edi
push dword [edx]
lea edi, [edx + 4]
call esi
mov edx, dword [edi]
push edx
mov dword [ebp - 0x10], eax
call esi
push dword [edi + 4]
call esi
mov dword [ebp - 0xc], eax
mov al, byte [edi + 8]
push 0
mov byte [ebp - 5], al
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
push str.UPDATE_PlayerPetInfo_SET_PetStatus__WHERE_Uin__and_PetID__
push dword [0x4d1304]
mov dword [ebp - 4], 0
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
add esp, 0x14
test eax, eax
jne 0x4305f1
movzx eax, byte [ebp - 5]
push eax
push 1
push dword [ebp - 4]
call esi
push dword [ebp - 0x10]
push 2
push dword [ebp - 4]
call esi
mov edi, dword [ebp - 0xc]
push edi
push 3
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 0x28
jmp 0x4305f4
mov edi, dword [ebp - 0xc]
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
push 0x34
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00476670
push 0
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
push str.SELECT_PetLevel_PetStatus_PetStrengLevel_FROM_PlayerPetInfo_WHERE_Uin____and_PetID___
push dword [ebx + 0x1a0]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x24
test eax, eax
jne 0x430681
push dword [ebx + 0x18]
push 1
push dword [ebp - 4]
call esi
push edi
push 2
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 0x1c
cmp eax, 0x64
jne 0x430681
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_column_int]
push 0
push dword [ebp - 4]
mov dword [ebp - 0x44], edi
call esi
push 1
push dword [ebp - 4]
mov word [ebp - 0x2e], ax
call esi
push 2
push dword [ebp - 4]
mov word [ebp - 0x2c], ax
call esi
add esp, 0x18
mov word [ebp - 0x2a], ax
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
mov al, byte [ebp - 5]
add esp, 4
mov esi, dword [sym.imp.WS2_32.dll_htons]
mov dword [ebp - 4], 0
mov byte [ebx + 0xd0], al
push 0
call esi
mov word [ebp - 0x2044], ax
mov al, byte [ebp - 5]
push 0
mov byte [ebp - 0x2042], al
call esi
push 1
push 1
mov word [ebp - 0x2041], ax
mov edx, 0x3c26
movzx eax, word [ebx + 0x10]
mov ecx, ebx
push eax
push 1
push eax
lea eax, [ebp - 0x2044]
push 5
push eax
call fcn.00437370
add esp, 0x1c
lea edx, [ebp - 0x44]
mov ecx, ebx
call fcn.00430470
lea edx, [ebp - 0x44]
mov ecx, ebx
call fcn.00430710
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret