Function at 0x1004b970
Capabilities:
Hash data using fnv
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c33c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
mov dword [ebp - 0x10], esp
push 8
mov eax, dword [esi]
mov eax, dword [eax + 0x578]
call eax
test eax, eax
jne 0x1004ba15
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x90]
mov dword [eax + 0x20], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x90]
mov byte [eax + 0x1d], 1
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x90]
mov dword [eax + 0x28], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x90]
mov dword [eax + 0x24], 0
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov ecx, dword [eax + 0x90]
mov eax, dword [edx + 0x20]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x90]
mov byte [eax + 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x18]
movzx ebx, word [eax + 0x80]
shr ebx, 0xb
test bl, bl
je 0x1004ba02
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x90]
mov byte [eax + 0x1c], bl
call fcn.10022a20
push 0x100fe0ec
lea ecx, [ebp - 0x3c]
call fcn.10031120
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
push 0x35
push str.SELECT__FROM__CharTriJob_with_nolock__WHERE_CharID_
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.1000a420
push ecx
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
push eax
push 0x100fe0ec
call fcn.1002f8e0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x1004bac1
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004bab7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004bfc2
push edx
push ecx
call fcn.1006cd71
add esp, 8
mov eax, dword [esi + 0x34]
sub esp, 0xc
mov ecx, dword [ebp - 0x3c]
add eax, 0x20
push eax
push 0
push 0
call fcn.10036330
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x3c]
push eax
sub esp, 8
lea eax, [ebp - 0x34]
push eax
call fcn.1002fbf0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x1004bb0b
mov eax, dword [ecx + 0x18]
inc eax
mov dword [ecx + 0x18], eax
cmp eax, dword [ecx + 8]
jge 0x1004bb0b
cmp eax, edx
setl al
jmp 0x1004bb1a
sub esp, 0xc
mov dword [ecx + 0x18], 0
call fcn.100305b0
test al, al
je 0x1004bf31
push 0xd
push str.JobLvl_Trader
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.1000a420
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.100367b0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x1004bb8f
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004bb85
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004bfc7
push edx
push ecx
call fcn.1006cd71
add esp, 8
push 0xd
push str.JobLvl_Hunter
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.1000a420
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.100367b0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x1004bbfc
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004bbf2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004bfcc
push edx
push ecx
call fcn.1006cd71
add esp, 8
push 0xd
push str.JobLvl_Robber
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.1000a420
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.100367b0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x1004bc69
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004bc5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004bfd1
push edx
push ecx
call fcn.1006cd71
add esp, 8
push 0xa
push str.Trader_Exp
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.1000a420
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.100367b0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x1004bcd6
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004bccc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004bfd6
push edx
push ecx
call fcn.1006cd71
add esp, 8
push 0xa
push str.Hunter_Exp
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.1000a420
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.100367b0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x1004bd43
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004bd39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004bfdb
push edx
push ecx
call fcn.1006cd71
add esp, 8
push 0xa
push str.Robber_Exp
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.1000a420
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.100367b0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x1004bdb0
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004bda6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004bfe0
push edx
push ecx
call fcn.1006cd71
add esp, 8
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov ecx, dword [eax + 0x90]
mov eax, dword [edx + 0x20]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x90]
mov dword [eax + 0x28], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x90]
mov dword [eax + 0x24], 0
cmp bl, 1
jne 0x1004be04
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x90]
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x90]
mov al, byte [ebp + 8]
jmp 0x1004be46
cmp bl, 2
jne 0x1004be26
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x90]
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x90]
mov al, byte [ebp - 0x14]
jmp 0x1004be46
cmp bl, 3
jne 0x1004be49
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x90]
mov eax, dword [ebp - 0x24]
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x90]
mov al, byte [ebp - 0x18]
mov byte [ecx + 0x1d], al
mov esi, dword [esi + 0x34]
add esi, 0x20
mov edi, dword [0x100fe30c]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul ecx, ecx, 0x1000193
and ecx, dword [0x100fe318]
mov eax, dword [edi + ecx*8]
add ecx, ecx
mov ebx, dword [edi + ecx*4]
lea edx, [ecx*4 + 4]
mov dword [ebp - 0x24], edx
mov edx, dword [0x100fe304]
cmp ebx, edx
jne 0x1004bead
mov ecx, edx
jmp 0x1004beb5
mov ecx, dword [ebp - 0x24]
mov ecx, dword [edi + ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1004bec8
mov ecx, dword [eax + 8]
cmp ecx, dword [esi]
je 0x1004bec4
mov eax, dword [eax]
jmp 0x1004bea5
cmp eax, edx
jne 0x1004bf1c
push ecx
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x24]
mov esi, dword [edx]
push eax
push ecx
mov edi, dword [esi + 4]
push edi
push esi
call fcn.1006c420
mov edx, eax
mov ecx, 0xffffffe
mov eax, dword [0x100fe308]
sub ecx, eax
cmp ecx, 1
jb 0x1004bfe5
inc eax
mov ecx, 0x100fe300
mov dword [0x100fe308], eax
mov dword [esi + 4], edx
mov dword [edi], edx
mov eax, dword [0x100fe304]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100188b0
mov eax, dword [ebp - 0x28]
movzx ecx, byte [ebp + 8]
mov byte [eax + 0xe], cl
movzx ecx, byte [ebp - 0x14]
mov byte [eax + 0xd], cl
movzx ecx, byte [ebp - 0x18]
mov byte [eax + 0xc], cl
mov byte [ebp - 4], 0xa
or edi, 0xffffffff
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x1004bf5e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1004bf5e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1004bf5e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x1004ba02
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1004ba02
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1004ba02
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.10087f1c
call fcn.10087f1c
call fcn.10087f1c
call fcn.10087f1c
call fcn.10087f1c
call fcn.10087f1c
call fcn.10087f1c
push str.list_T__too_long
call fcn.1006df8f
int3