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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b2b48
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 0x1003c4d5
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 0x1003c4c2
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x90]
mov byte [eax + 0x1c], bl
call fcn.1001de40
push 0x100e80d4
lea ecx, [ebp - 0x3c]
call fcn.100266f0
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.10011b50
push ecx
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3c]
push eax
push 0x100e80d4
call fcn.10024f60
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x1003c581
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c577
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ca82
push edx
push ecx
call fcn.1005cbc1
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.1002b900
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x3c]
push eax
sub esp, 8
lea eax, [ebp - 0x34]
push eax
call fcn.10025270
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x1003c5cb
mov eax, dword [ecx + 0x18]
inc eax
mov dword [ecx + 0x18], eax
cmp eax, dword [ecx + 8]
jge 0x1003c5cb
cmp eax, edx
setl al
jmp 0x1003c5da
sub esp, 0xc
mov dword [ecx + 0x18], 0
call fcn.10025b80
test al, al
je 0x1003c9f1
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.10011b50
lea eax, [ebp + 8]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.1002bd80
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x1003c64f
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c645
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ca87
push edx
push ecx
call fcn.1005cbc1
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.10011b50
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.1002bd80
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x1003c6bc
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c6b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ca8c
push edx
push ecx
call fcn.1005cbc1
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.10011b50
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.1002bd80
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x1003c729
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c71f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ca91
push edx
push ecx
call fcn.1005cbc1
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.10011b50
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.1002bd80
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x1003c796
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c78c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ca96
push edx
push ecx
call fcn.1005cbc1
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.10011b50
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.1002bd80
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x1003c803
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c7f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ca9b
push edx
push ecx
call fcn.1005cbc1
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.10011b50
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.1002bd80
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x1003c870
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c866
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003caa0
push edx
push ecx
call fcn.1005cbc1
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 0x1003c8c4
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 0x1003c906
cmp bl, 2
jne 0x1003c8e6
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 0x1003c906
cmp bl, 3
jne 0x1003c909
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 [0x100e826c]
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 [0x100e8278]
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 [0x100e8264]
cmp ebx, edx
jne 0x1003c96d
mov ecx, edx
jmp 0x1003c975
mov ecx, dword [ebp - 0x24]
mov ecx, dword [edi + ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x1003c988
mov ecx, dword [eax + 8]
cmp ecx, dword [esi]
je 0x1003c984
mov eax, dword [eax]
jmp 0x1003c965
cmp eax, edx
jne 0x1003c9dc
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.1005c2f0
mov edx, eax
mov ecx, 0xffffffe
mov eax, dword [0x100e8268]
sub ecx, eax
cmp ecx, 1
jb 0x1003caa5
inc eax
mov ecx, 0x100e8260
mov dword [0x100e8268], eax
mov dword [esi + 4], edx
mov dword [edi], edx
mov eax, dword [0x100e8264]
mov eax, dword [eax]
push eax
add eax, 8
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10037cc0
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 0x1003ca1e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1003ca1e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1003ca1e
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 0x1003c4c2
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1003c4c2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1003c4c2
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.10078e0c
call fcn.10078e0c
call fcn.10078e0c
call fcn.10078e0c
call fcn.10078e0c
call fcn.10078e0c
call fcn.10078e0c
push str.list_T__too_long
call fcn.1005dddf
int3