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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edi
mov bl, byte [edi]
test bl, bl
je 0x407b05
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4079b0
sub ecx, edx
cmp ecx, 4
jb 0x407b05
mov esi, edi
xor edi, edi
movzx eax, bl
push eax
call fcn.00474800
add esp, 4
test eax, eax
je 0x4079de
mov byte [esi], 0x5f
mov edi, 1
mov bl, byte [esi + 1]
inc esi
test bl, bl
jne 0x4079c6
test edi, edi
mov edi, dword [ebp - 8]
jne 0x407b05
push 0x4a9814
push edi
call fcn.0047720b
add esp, 8
test eax, eax
je 0x407bc0
cmp byte [edi], 0x23
je 0x407b05
mov eax, dword [0x4a9df8]
cmp eax, 1
jne 0x407a48
xor esi, esi
nop dword [eax]
mov al, byte [esi + edi]
test al, al
je 0x407a76
movsx eax, al
push eax
push 0x4a99f5
call fcn.00460b00
add esp, 8
test eax, eax
je 0x407b05
inc esi
cmp esi, 0x18
jl 0x407a20
jmp 0x407a76
cmp eax, 2
jne 0x407a76
xor esi, esi
nop
mov al, byte [esi + edi]
test al, al
je 0x407a76
movsx eax, al
push eax
push 0x4a99f5
call fcn.00460b00
add esp, 8
test eax, eax
jne 0x407b05
inc esi
cmp esi, 0x18
jl 0x407a50
cmp byte [0x4a99dc], 0
push dword [ebp - 4]
push 0x4aaab4
je 0x407b11
push str.SELECT_1_FROM___s__WHERE_BINARY__name____s_LIMIT_1
push dword [0x4ad1b4]
call fcn.0043d8e0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x407b93
mov ecx, dword [0x4ad1b4]
test ecx, ecx
jne 0x407ad4
push 0x571
push str.D:_ragnarokbr_rathena_srccharchar.cpp
push str.at__s:_lu___self_is_NULL_n
call fcn.004427f0
add esp, 0xc
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx + 4]
mov eax, edx
sub eax, dword [ecx]
test eax, eax
jle 0x407aee
mov byte [edx], 0
push dword [ecx]
push 0x571
jmp 0x407b6b
push 0x571
push str.D:_ragnarokbr_rathena_srccharchar.cpp
push str.at__s:_lu_n
call fcn.004427f0
add esp, 0xc
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.SELECT_1_FROM___s__WHERE__name____s_LIMIT_1
push dword [0x4ad1b4]
call fcn.0043d8e0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x407b93
mov ecx, dword [0x4ad1b4]
test ecx, ecx
jne 0x407b56
push 0x576
push str.D:_ragnarokbr_rathena_srccharchar.cpp
push str.at__s:_lu___self_is_NULL_n
call fcn.004427f0
add esp, 0xc
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx + 4]
mov eax, edx
sub eax, dword [ecx]
test eax, eax
jle 0x407b89
mov byte [edx], 0
push dword [ecx]
push 0x576
push str.D:_ragnarokbr_rathena_srccharchar.cpp
push str.at__s:_lu____s_n
call fcn.004427f0
add esp, 0x10
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x576
jmp 0x407af3
mov eax, dword [0x4ad1b4]
test eax, eax
je 0x407bb7
mov eax, dword [eax + 0x3e0]
test eax, eax
je 0x407bb7
push eax
call dword [sym.imp.libmysql.dll_mysql_num_rows]
test edx, edx
ja 0x407bc0
jb 0x407bb7
test eax, eax
jne 0x407bc0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409b60
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, edx
test ecx, ecx
je 0x409d20
test edi, edi
je 0x409d20
push ecx
push 0x4aaab4
push str.SELECT__child__FROM___s__WHERE__char_id____d
push dword [0x4ad1b4]
call fcn.0043d8e0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x409c06
mov ecx, dword [0x4ad1b4]
test ecx, ecx
jne 0x409bbe
push 0x773
push str.D:_ragnarokbr_rathena_srccharchar.cpp
push str.at__s:_lu___self_is_NULL_n
call fcn.004427f0
add esp, 0xc
jmp 0x409ce7
mov edx, dword [ecx + 4]
mov eax, edx
sub eax, dword [ecx]
test eax, eax
jle 0x409bea
mov byte [edx], 0
push dword [ecx]
push 0x773
push str.D:_ragnarokbr_rathena_srccharchar.cpp
push str.at__s:_lu____s_n
call fcn.004427f0
add esp, 0x10
jmp 0x409ce7
push 0x773
push str.D:_ragnarokbr_rathena_srccharchar.cpp
push str.at__s:_lu_n
call fcn.004427f0
add esp, 0xc
jmp 0x409ce7
mov esi, dword [0x4ad1b4]
test esi, esi
je 0x409ce7
mov eax, dword [esi + 0x3e0]
test eax, eax
je 0x409ce7
push eax
call dword [sym.imp.libmysql.dll_mysql_fetch_row]
mov dword [esi + 0x3e4], eax
test eax, eax
je 0x409cd3
push dword [esi + 0x3e0]
call dword [sym.imp.libmysql.dll_mysql_fetch_lengths]
mov dword [esi + 0x3e8], eax
mov esi, dword [0x4ad1b4]
test esi, esi
je 0x409c7f
cmp dword [esi + 0x3e4], 0
je 0x409c7f
mov eax, dword [esi + 0x3e0]
test eax, eax
je 0x409c7b
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
test eax, eax
je 0x409c7b
mov eax, dword [esi + 0x3e4]
mov eax, dword [eax]
jmp 0x409c82
xor eax, eax
jmp 0x409c82
mov eax, dword [ebp - 4]
push eax
call fcn.0046d2ec
add esp, 4
cmp edi, eax
jne 0x409ce7
mov esi, dword [0x4ad1b4]
test esi, esi
je 0x409cc8
mov eax, dword [esi + 0x3e0]
test eax, eax
je 0x409cc8
push eax
call dword [sym.imp.libmysql.dll_mysql_free_result]
mov dword [esi + 0x3e0], 0
mov dword [esi + 0x3e4], 0
mov dword [esi + 0x3e8], 0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x10]
mov dword [esi + 0x3e8], 0
push eax
call dword [sym.imp.libmysql.dll_mysql_errno]
mov esi, dword [0x4ad1b4]
test esi, esi
je 0x409d20
mov eax, dword [esi + 0x3e0]
test eax, eax
je 0x409d20
push eax
call dword [sym.imp.libmysql.dll_mysql_free_result]
mov dword [esi + 0x3e0], 0
mov dword [esi + 0x3e4], 0
mov dword [esi + 0x3e8], 0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40a990
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push ecx
push 0x4aaab4
push str.SELECT__name__FROM___s__WHERE__char_id__d
push dword [0x4ad1b4]
mov esi, edx
call fcn.0043d8e0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x40aa3c
mov ecx, dword [0x4ad1b4]
test ecx, ecx
jne 0x40a9e8
push 0x822
push str.D:_ragnarokbr_rathena_srccharchar.cpp
push str.at__s:_lu___self_is_NULL_n
call fcn.004427f0
add esp, 0xc
mov byte [esi], 0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx + 4]
mov eax, edx
sub eax, dword [ecx]
test eax, eax
jle 0x40aa1a
mov byte [edx], 0
push dword [ecx]
push 0x822
push str.D:_ragnarokbr_rathena_srccharchar.cpp
push str.at__s:_lu____s_n
call fcn.004427f0
add esp, 0x10
mov byte [esi], 0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x822
push str.D:_ragnarokbr_rathena_srccharchar.cpp
push str.at__s:_lu_n
call fcn.004427f0
add esp, 0xc
mov byte [esi], 0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x40ab0a
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x40ab0a
push eax
call dword [sym.imp.libmysql.dll_mysql_fetch_row]
mov dword [edi + 0x3e4], eax
test eax, eax
je 0x40aaf6
push dword [edi + 0x3e0]
call dword [sym.imp.libmysql.dll_mysql_fetch_lengths]
mov dword [edi + 0x3e8], eax
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x40aab5
cmp dword [edi + 0x3e4], 0
je 0x40aab5
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x40aab1
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
test eax, eax
je 0x40aab1
mov eax, dword [edi + 0x3e4]
mov edx, dword [eax]
jmp 0x40aab8
xor edx, edx
jmp 0x40aab8
mov edx, dword [ebp - 4]
mov ecx, 0x17
mov byte [esi + 0x17], 0
sub edx, esi
mov al, byte [edx + esi]
dec ecx
mov byte [esi], al
inc esi
test al, al
je 0x40aadb
test ecx, ecx
jne 0x40aac3
lea eax, [ecx + 1]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x40aaeb
push ecx
push 0
push esi
call fcn.00461440
add esp, 0xc
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0x10]
mov dword [edi + 0x3e8], 0
push eax
call dword [sym.imp.libmysql.dll_mysql_errno]
pop edi
mov byte [esi], 0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40ff20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, edx
mov edx, dword [ebp + 8]
push esi
movzx eax, dl
xor eax, 0x811c9dc5
imul esi, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
push edi
mov edi, ecx
xor esi, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
imul ecx, esi, 0x1000193
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00410560
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x40ffb3
mov eax, dword [ebx + 4]
mov dword [edi], 0
mov dword [edi + 4], 0
cmp ecx, eax
je 0x40ffc0
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x40ff9f
lock inc dword [eax + 4]
mov eax, dword [ecx + 0xc]
mov dword [edi], eax
mov eax, dword [ecx + 0x10]
mov dword [edi + 4], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi], 0
mov dword [edi + 4], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ffd0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487b25
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4a701c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.00410560
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x410063
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 ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0xccccccc
je 0x4101c0
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push 0x14
mov dword [ebp - 0x10], 0
call fcn.0045f6ff
mov ecx, dword [ebx]
mov esi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x10], esi
add esp, 4
mov dword [esi + 8], ecx
movq qword [esi + 0xc], xmm0
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a2ae0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x4a2ae0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x410162
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.00485050
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.00487770
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x410144
cmp ebx, 0x200
jae 0x410142
shl ebx, 3
cmp ebx, ecx
jae 0x410144
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.004103f0
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00410560
mov edx, dword [eax]
jmp 0x410165
mov edx, dword [ebp - 0x20]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x410190
mov dword [ecx + eax*8], esi
jmp 0x41019f
cmp edi, edx
jne 0x410199
mov dword [ecx + eax*8], esi
jmp 0x4101a3
cmp dword [ecx + eax*8 + 4], ebx
jne 0x4101a3
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0045f6b1
int3
Function at 0x4103f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 4], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x41054a
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0040fde0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x41051d
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 8], edx
cmp edi, esi
jne 0x4104a3
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x410513
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x4104dd
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x4104d5
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0xc]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
jmp 0x410510
cmp edi, edx
je 0x4104ed
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x410526
cmp edi, edx
jne 0x4104e1
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, ecx
cmp ecx, esi
jne 0x410452
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x410510
push str.invalid_hash_bucket_count
call fcn.0045f6b1
int3
Function at 0x415cc0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
lea eax, [ebp - 8]
imul ebx, ecx, 0x1000193
mov ecx, edi
push ebx
push esi
push eax
call fcn.00410560
mov esi, dword [eax + 4]
test esi, esi
je 0x415d99
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0xc]
and ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x415d40
cmp eax, esi
jne 0x415d38
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x415d48
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x415d48
cmp eax, esi
jne 0x415d48
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [edi + 8]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov edi, dword [esi + 0x10]
test edi, edi
je 0x415d80
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x415d80
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x415d80
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push 0x14
push esi
call fcn.0045fa95
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x418800
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, 0x2b1e
mov edx, 2
mov word [ebp - 4], ax
lea ecx, [ebp - 4]
call fcn.004190a0
mov esi, dword [sym.imp.WS2_32.dll_gethostbyname]
push 0x4a982c
call esi
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
test eax, eax
je 0x418850
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call ebx
test eax, eax
je 0x418850
cmp eax, dword [0x4a98ac]
je 0x418850
mov dword [0x4a98ac], eax
push 0x4a98b2
call esi
test eax, eax
je 0x418906
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call ebx
test eax, eax
je 0x418906
cmp eax, dword [0x4a9934]
je 0x418906
push 0x4a98b2
push str.Updating_IP_for___s_._n
mov dword [0x4a9934], eax
call fcn.00442790
add esp, 8
test edi, edi
je 0x4188c7
mov ecx, dword [edi*4 + 0x4b5420]
mov eax, dword [ecx + 0x1c]
add eax, 6
cmp eax, dword [ecx + 0x14]
jbe 0x4188c7
push str.chlogif_parse_updip
push 0x259
push str.D:_ragnarokbr_rathena_srccharchar_logif.cpp
mov edx, 6
mov ecx, edi
call fcn.00440270
add esp, 0xc
mov eax, dword [edi*4 + 0x4b5420]
mov esi, 0x2736
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
mov word [ecx + eax], si
push dword [0x4a9934]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [edi*4 + 0x4b5420]
mov edx, 6
mov esi, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0xc]
mov dword [esi + ecx + 2], eax
mov ecx, edi
call fcn.004403f0
lea eax, [edi - 1]
mov ecx, 2
cmp eax, 0xffe
ja 0x418978
cmp dword [edi*4 + 0x4b5420], 0
je 0x418978
mov eax, dword [edi*4 + 0x4b5420]
test byte [eax], 1
jne 0x418978
mov esi, eax
mov ebx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
lea eax, [ebx + 2]
cmp edx, eax
jae 0x418975
sub edx, ebx
xor eax, eax
test byte [esi], 1
push edi
cmove eax, edx
push eax
push ecx
push str.RFIFOSKIP:_skipped_past_end_of_read_buffer__Adjusting_from__u_to__d__session__d__n
call fcn.00442810
mov eax, dword [edi*4 + 0x4b5420]
add esp, 0x10
test byte [eax], 1
je 0x41896f
xor ecx, ecx
add dword [esi + 0x20], ecx
lea eax, [ecx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x18]
sub ecx, dword [eax + 0x20]
add dword [esi + 0x20], ecx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422140
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48815d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4a701c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, dword [0x4cf784]
mov edi, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edx
mov esi, dword [ecx]
cmp esi, ecx
je 0x4222d2
mov eax, dword [esi + 0x10]
test eax, eax
je 0x422191
lock inc dword [eax + 4]
mov ebx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x10]
mov ecx, edi
mov dword [ebp - 4], 0
sub ecx, dword [edx + 0x18]
sbb eax, dword [edx + 0x1c]
js 0x422298
jg 0x4221c6
cmp ecx, 0xea60
jbe 0x422298
lea ecx, [edx + 0x38]
push ecx
lea eax, [edx + 0x20]
push eax
push dword [edx]
push str.inter:_wis_data_id_d_time_out_:_from__s_to__s_n
call fcn.004427d0
movzx eax, byte [esi + 8]
lea ebx, [esi + 8]
xor eax, 0x811c9dc5
add esp, 0x10
imul ecx, eax, 0x1000193
mov edi, esi
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [0x4cf78c]
imul ecx, ecx, 0x1000193
and ecx, dword [0x4cf798]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x422242
cmp eax, esi
jne 0x42223a
mov eax, dword [0x4cf784]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x42224a
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x42224a
cmp eax, esi
jne 0x42224a
mov eax, dword [esi]
mov dword [ecx], eax
mov esi, dword [edi]
dec dword [0x4cf788]
mov eax, dword [edi + 4]
mov dword [eax], esi
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x422285
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x422285
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x422285
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push 0x14
push edi
call fcn.0045fa95
mov ebx, dword [ebp - 0x14]
add esp, 8
mov edi, dword [ebp - 0x18]
jmp 0x42229a
mov esi, dword [esi]
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4222c6
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x4222c6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x4222c6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
cmp esi, dword [0x4cf784]
jne 0x422186
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423b00
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 4], eax
push esi
push edi
lea edi, [eax + 0x590]
movzx eax, bl
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
xor edx, eax
mov eax, ebx
shr eax, 0x10
imul ecx, edx, 0x1000193
movzx eax, al
shr ebx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
xor eax, ebx
imul ebx, eax, 0x1000193
lea eax, [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00410560
mov esi, dword [eax + 4]
test esi, esi
je 0x423be0
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0xc]
and ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x423b8f
cmp eax, esi
jne 0x423b87
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x423b97
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x423b97
cmp eax, esi
jne 0x423b97
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov ecx, dword [esi]
dec dword [eax + 0x598]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov edi, dword [esi + 0x10]
test edi, edi
je 0x423bd5
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x423bd5
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], ebx
dec ebx
jne 0x423bd5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push 0x14
push esi
call fcn.0045fa95
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x423cb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, ecx
mov dword [ebp - 4], eax
push esi
push edi
lea edi, [eax + 0x590]
movzx eax, bl
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
xor edx, eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
imul ecx, edx, 0x1000193
shr ebx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
xor eax, ebx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00410560
mov esi, dword [eax + 4]
test esi, esi
jne 0x423d1a
mov esi, dword [edi + 4]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x594]
mov dword [edx], 0
mov dword [edx + 4], 0
cmp esi, eax
je 0x423d4d
mov eax, dword [esi + 0x10]
test eax, eax
je 0x423d42
lock inc dword [eax + 4]
mov ecx, dword [esi + 0xc]
mov dword [edx], ecx
mov ecx, dword [esi + 0x10]
mov dword [edx + 4], ecx
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 8