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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488acd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
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 dword [ebp - 0x14], edx
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
test edx, edx
jg 0x437b15
mov dword [ebx], 0
mov eax, ebx
mov dword [ebx + 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
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 0x28], edx
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp - 0x12]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp - 0x11]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0043a300
mov esi, dword [0x4cf824]
mov eax, dword [eax + 4]
test eax, eax
cmovne esi, eax
cmp esi, dword [0x4cf824]
je 0x437b80
mov eax, dword [esi + 0x10]
test eax, eax
je 0x437b78
lock inc dword [eax + 4]
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 0x10]
jmp 0x437b84
xor eax, eax
xor esi, esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x437bb5
mov dword [ebx + 4], 0
mov dword [ebx], eax
mov eax, ebx
mov dword [ebx + 4], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x14]
push 0x4abcb4
push str.SELECT__party_id____name___exp___item____leader_id____leader_char__FROM___s__WHERE__party_id__d
push dword [0x4ad1b4]
call fcn.0043d8e0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x437c86
mov ecx, dword [0x4ad1b4]
test ecx, ecx
jne 0x437bf4
push 0xd8
push str.D:_ragnarokbr_rathena_srccharint_party.cpp
push str.at__s:_lu___self_is_NULL_n
jmp 0x437c2c
mov edx, dword [ecx + 4]
mov eax, edx
sub eax, dword [ecx]
test eax, eax
jle 0x437c1d
mov byte [edx], 0
push dword [ecx]
push 0xd8
push str.D:_ragnarokbr_rathena_srccharint_party.cpp
push str.at__s:_lu____s_n
call fcn.004427f0
add esp, 0x10
jmp 0x437c34
push 0xd8
push str.D:_ragnarokbr_rathena_srccharint_party.cpp
push str.at__s:_lu_n
call fcn.004427f0
add esp, 0xc
mov dword [ebx], 0
mov dword [ebx + 4], 0
test esi, esi
je 0x437fc9
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x437fc9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x437fc9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x437c34
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x437c34
push eax
call dword [sym.imp.libmysql.dll_mysql_fetch_row]
mov dword [edi + 0x3e4], eax
test eax, eax
je 0x438377
push dword [edi + 0x3e0]
call dword [sym.imp.libmysql.dll_mysql_fetch_lengths]
push 0x2e0
mov dword [edi + 0x3e8], eax
call fcn.0045f6ff
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
lea eax, [edi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x24], eax
lea ebx, [edi + 8]
movq qword [edi], xmm0
mov dword [edi + 8], 0
push 0x2d4
mov dword [eax], 1
lea eax, [edi + 0xc]
push 0
push eax
mov dword [ebx], 1
mov dword [edi], vtable.std::_Ref_count_obj2_struct_party_data_.0
mov dword [ebp - 0x18], eax
call fcn.00461440
lea eax, [edi + 0xc]
mov dword [ebp - 0x48], edi
add esp, 0xc
mov dword [ebp - 0x4c], eax
or edi, 0xffffffff
test esi, esi
je 0x437d41
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x437d41
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x437d41
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x437d8c
cmp dword [edi + 0x3e4], 0
je 0x437d8c
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x437d86
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 1
jbe 0x437d86
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x3e8]
mov ecx, dword [eax + 4]
jmp 0x437d92
xor esi, esi
xor ecx, ecx
jmp 0x437d92
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x18]
mov eax, 0x18
add edx, 4
mov dword [ebp - 0x10], ecx
cmp ecx, eax
mov dword [ebp - 0x34], edx
cmovb eax, ecx
push eax
push esi
push edx
call fcn.00460ec0
mov edi, dword [0x4ad1b4]
add esp, 0xc
test edi, edi
je 0x437de9
cmp dword [edi + 0x3e4], 0
je 0x437de9
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x437de7
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 2
jbe 0x437de7
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 8]
jmp 0x437de9
xor esi, esi
push esi
call fcn.0046d2ec
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov edi, dword [0x4ad1b4]
add esp, 4
test eax, eax
mov eax, dword [edx + 0x20]
setne cl
and eax, 0xfffffffe
or ecx, eax
mov dword [edx + 0x20], ecx
test edi, edi
je 0x437e3d
cmp dword [edi + 0x3e4], 0
je 0x437e3d
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x437e3b
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 3
jbe 0x437e3b
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0xc]
jmp 0x437e3d
xor esi, esi
push esi
call fcn.0046d2ec
mov edx, dword [ebp - 0x18]
add eax, eax
mov edi, dword [0x4ad1b4]
add esp, 4
xor eax, dword [edx + 0x20]
and eax, 6
xor dword [edx + 0x20], eax
test edi, edi
je 0x437e8a
cmp dword [edi + 0x3e4], 0
je 0x437e8a
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x437e88
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 4
jbe 0x437e88
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x10]
jmp 0x437e8a
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov dword [ebp - 0x2c], eax
test edi, edi
je 0x437ecc
cmp dword [edi + 0x3e4], 0
je 0x437ecc
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x437eca
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 5
jbe 0x437eca
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x14]
jmp 0x437ecc
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov dword [ebp - 0x30], eax
test edi, edi
je 0x437f17
mov ecx, dword [edi + 0x3e0]
test ecx, ecx
je 0x437f17
push ecx
call dword [sym.imp.libmysql.dll_mysql_free_result]
mov dword [edi + 0x3e0], 0
mov dword [edi + 0x3e4], 0
mov dword [edi + 0x3e8], 0
mov edi, dword [0x4ad1b4]
push dword [ebp - 0x14]
push 0x4aaab4
push str.SELECT__account_id___char_id___name___base_level___last_map___online___class__FROM___s__WHERE__party_id__d
push edi
call fcn.0043d8e0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x437fdd
mov ecx, dword [0x4ad1b4]
test ecx, ecx
jne 0x437f51
push 0xec
push str.D:_ragnarokbr_rathena_srccharint_party.cpp
push str.at__s:_lu___self_is_NULL_n
jmp 0x437f89
mov edx, dword [ecx + 4]
mov eax, edx
sub eax, dword [ecx]
test eax, eax
jle 0x437f7a
mov byte [edx], 0
push dword [ecx]
push 0xec
push str.D:_ragnarokbr_rathena_srccharint_party.cpp
push str.at__s:_lu____s_n
call fcn.004427f0
add esp, 0x10
jmp 0x437f91
push 0xec
push str.D:_ragnarokbr_rathena_srccharint_party.cpp
push str.at__s:_lu_n
call fcn.004427f0
add esp, 0xc
mov eax, dword [ebp - 0x1c]
or esi, 0xffffffff
mov ecx, dword [ebp - 0x24]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, esi
lock xadd dword [ecx], eax
jne 0x437fc6
mov edi, dword [ebp - 0x28]
mov ecx, edi
mov eax, dword [edi]
call dword [eax]
lock xadd dword [ebx], esi
dec esi
jne 0x437fc6
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ebx, dword [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x20], 0
add ebx, 0x56
nop word [eax + eax]
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x438296
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x438296
push eax
call dword [sym.imp.libmysql.dll_mysql_fetch_row]
mov dword [edi + 0x3e4], eax
test eax, eax
je 0x438282
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 0x438067
cmp dword [edi + 0x3e4], 0
je 0x438067
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x438065
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
test eax, eax
je 0x438065
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax]
jmp 0x438067
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov dword [ebx - 0x32], eax
test edi, edi
je 0x4380a9
cmp dword [edi + 0x3e4], 0
je 0x4380a9
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x4380a7
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 1
jbe 0x4380a7
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 4]
jmp 0x4380a9
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov dword [ebx - 0x2e], eax
test edi, edi
je 0x4380fa
cmp dword [edi + 0x3e4], 0
je 0x4380fa
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x4380f5
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 2
jbe 0x4380f5
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 8]
mov eax, dword [edi + 0x3e8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], eax
jmp 0x4380fa
xor esi, esi
mov dword [ebp - 0x10], esi
mov eax, 0x18
cmp dword [ebp - 0x10], eax
cmovb eax, dword [ebp - 0x10]
push eax
lea eax, [ebx - 0x2a]
push esi
push eax
call fcn.00460ec0
mov edi, dword [0x4ad1b4]
add esp, 0xc
test edi, edi
je 0x43814a
cmp dword [edi + 0x3e4], 0
je 0x43814a
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x438148
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 3
jbe 0x438148
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0xc]
jmp 0x43814a
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov word [ebx], ax
test edi, edi
je 0x43819b
cmp dword [edi + 0x3e4], 0
je 0x43819b
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x438196
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 4
jbe 0x438196
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x10]
mov eax, dword [edi + 0x3e8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], eax
jmp 0x43819b
xor esi, esi
mov dword [ebp - 0x10], esi
mov eax, 0x10
cmp dword [ebp - 0x10], eax
cmovb eax, dword [ebp - 0x10]
push eax
lea eax, [ebx - 0x10]
push esi
push eax
call fcn.00460ec0
mov edi, dword [0x4ad1b4]
add esp, 0xc
test edi, edi
je 0x4381eb
cmp dword [edi + 0x3e4], 0
je 0x4381eb
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x4381e9
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 5
jbe 0x4381e9
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x14]
jmp 0x4381eb
xor esi, esi
push esi
call fcn.0046d2ec
mov ecx, dword [ebx + 2]
add esp, 4
mov edi, dword [0x4ad1b4]
neg eax
sbb eax, eax
and ecx, 0xfffffffd
and eax, 2
or eax, ecx
mov dword [ebx + 2], eax
test edi, edi
je 0x43823c
cmp dword [edi + 0x3e4], 0
je 0x43823c
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x43823a
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 6
jbe 0x43823a
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x18]
jmp 0x43823c
xor esi, esi
push esi
call fcn.0046d2ec
mov word [ebx - 0x12], ax
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebx - 0x32], eax
jne 0x438260
mov eax, dword [ebp - 0x30]
cmp dword [ebx - 0x2e], eax
jne 0x438260
mov ecx, 1
jmp 0x438262
xor ecx, ecx
mov eax, dword [ebx + 2]
and eax, 0xfffffffe
or eax, ecx
mov dword [ebx + 2], eax
add ebx, 0x38
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, 0xc
jl 0x437ff0
jmp 0x438296
lea eax, [edi + 0x10]
mov dword [edi + 0x3e8], 0
push eax
call dword [sym.imp.libmysql.dll_mysql_errno]
mov esi, dword [0x4ad1b4]
test esi, esi
je 0x4382cf
mov eax, dword [esi + 0x3e0]
test eax, eax
je 0x4382cf
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
cmp dword [0x4a9e18], 0
je 0x4382eb
push dword [ebp - 0x34]
push dword [ebp - 0x14]
push str.Party_loaded___d____s_._n
call fcn.00442790
add esp, 0xc
mov ebx, dword [ebp - 0x24]
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [ebx]
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x28]
mov dword [eax], esi
mov dword [eax + 4], edi
call fcn.00437370
add esp, 8
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.00439f40
mov eax, dword [eax]
lock inc dword [ebx]
mov dword [eax + 0xc], esi
mov esi, dword [eax + 0x10]
mov dword [eax + 0x10], edi
test esi, esi
je 0x438353
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x438353
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x438353
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
lea ecx, [edi + 0xc]
mov dword [eax + 4], 0
mov dword [eax], ecx
mov dword [eax + 4], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
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]
jmp 0x437c34