Function at 0x42afe0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48862d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
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 ebx, edx
mov dword [ebp - 0x1c], ebx
mov esi, ecx
mov dword [ebp - 0x18], esi
test ebx, ebx
jg 0x42b037
mov dword [esi], 0
mov eax, esi
mov dword [esi + 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
push ebx
lea ecx, [ebp - 0x3c]
call fcn.004314c0
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x42b074
mov dword [esi], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 4], 0
mov dword [esi + 4], eax
mov eax, 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 ebx
push 0x4aaab4
push 0x4ab4b4
push str.SELECT_g._name__c._name__g._guild_lv__g._connect_member__g._max_member__g._average_lv__g._exp__g._next_exp__g._skill_point__g._mes1__g._mes2__g._emblem_len__g._emblem_id__COALESCE_UNIX_TIMESTAMP_g._last_master_change___0___g._emblem_data__FROM___s__g_LEFT_JOIN___s__c_ON_c._char_id___g._char_id__WHERE_g._guild_id__d
push dword [0x4ad1b4]
call fcn.0043d8e0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x42b142
mov ecx, dword [0x4ad1b4]
test ecx, ecx
jne 0x42b0b6
push 0x167
push str.D:_ragnarokbr_rathena_srccharint_guild.cpp
push str.at__s:_lu___self_is_NULL_n
jmp 0x42b0ee
mov edx, dword [ecx + 4]
mov eax, edx
sub eax, dword [ecx]
test eax, eax
jle 0x42b0df
mov byte [edx], 0
push dword [ecx]
push 0x167
push str.D:_ragnarokbr_rathena_srccharint_guild.cpp
push str.at__s:_lu____s_n
call fcn.004427f0
add esp, 0x10
jmp 0x42b0f6
push 0x167
push str.D:_ragnarokbr_rathena_srccharint_guild.cpp
push str.at__s:_lu_n
call fcn.004427f0
add esp, 0xc
mov dword [esi], 0
mov dword [esi + 4], 0
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x42b12b
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x42b12b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x42b12b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x18]
mov eax, 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
mov esi, dword [0x4ad1b4]
test esi, esi
je 0x42c43c
mov eax, dword [esi + 0x3e0]
test eax, eax
je 0x42c43c
push eax
call dword [sym.imp.libmysql.dll_mysql_fetch_row]
mov dword [esi + 0x3e4], eax
test eax, eax
je 0x42c428
push dword [esi + 0x3e0]
call dword [sym.imp.libmysql.dll_mysql_fetch_lengths]
push 0x2c88
mov dword [esi + 0x3e8], eax
call fcn.0045f6ff
mov edi, eax
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x14], edi
lea eax, [edi + 4]
mov dword [ebp - 0x20], eax
movq qword [edi], xmm0
lea ebx, [edi + 0x10]
mov dword [edi + 8], 0
push 0x2c78
mov dword [eax], 1
lea eax, [edi + 8]
push 0
push ebx
mov dword [ebp - 0x24], eax
mov dword [eax], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_CharGuild_.0
call fcn.00461440
mov esi, dword [ebp - 0x38]
add esp, 0xc
mov dword [ebp - 0x38], edi
or edi, 0xffffffff
mov dword [ebp - 0x3c], ebx
test esi, esi
je 0x42b205
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x42b205
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x42b205
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov dword [ebx], eax
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x42b24a
cmp dword [edi + 0x3e4], 0
je 0x42b24a
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b244
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
test eax, eax
je 0x42b244
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax]
mov eax, dword [edi + 0x3e8]
mov ebx, dword [eax]
jmp 0x42b250
xor esi, esi
xor ebx, ebx
jmp 0x42b250
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
mov eax, 0x18
add ecx, 0x34
mov dword [ebp - 0x10], ebx
cmp ebx, eax
cmovb eax, ebx
push eax
push esi
push ecx
call fcn.00460ec0
mov edi, dword [0x4ad1b4]
add esp, 0xc
test edi, edi
je 0x42b2b2
cmp dword [edi + 0x3e4], 0
je 0x42b2b2
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b2ab
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 1
jbe 0x42b2ab
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x3e8]
mov ebx, dword [eax + 4]
jmp 0x42b2af
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov eax, 0x18
cmp ebx, eax
cmovb eax, ebx
push eax
mov eax, dword [ebp - 0x14]
add eax, 0x4c
push esi
push eax
call fcn.00460ec0
mov edi, dword [0x4ad1b4]
add esp, 0xc
test edi, edi
je 0x42b303
cmp dword [edi + 0x3e4], 0
je 0x42b303
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b301
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 2
jbe 0x42b301
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 8]
jmp 0x42b303
xor esi, esi
push esi
call fcn.0046d2ec
mov ecx, dword [ebp - 0x14]
add esp, 4
mov word [ecx + 0x14], ax
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x42b349
cmp dword [edi + 0x3e4], 0
je 0x42b349
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b347
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 3
jbe 0x42b347
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0xc]
jmp 0x42b349
xor esi, esi
push esi
call fcn.0046d2ec
mov ecx, dword [ebp - 0x14]
add esp, 4
mov word [ecx + 0x16], ax
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x42b38f
cmp dword [edi + 0x3e4], 0
je 0x42b38f
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b38d
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 4
jbe 0x42b38d
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x10]
jmp 0x42b38f
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [ebp - 0x14]
add esp, 4
movzx eax, ax
mov word [edi + 0x18], ax
cmp ax, 0x4c
jle 0x42b3c9
push 0x4c
cwde
push eax
lea eax, [edi + 0x34]
push eax
push dword [ebp - 0x1c]
push str.Guild__d:_s_specifies_higher_capacity___d__than_MAX_GUILD___d__n
call fcn.004427d0
mov eax, 0x4c
add esp, 0x14
mov word [edi + 0x18], ax
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x42b3ff
cmp dword [edi + 0x3e4], 0
je 0x42b3ff
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b3fd
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 5
jbe 0x42b3fd
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x14]
jmp 0x42b3ff
xor esi, esi
push esi
call fcn.0046d2ec
mov ecx, dword [ebp - 0x14]
add esp, 4
mov word [ecx + 0x1a], ax
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x42b445
cmp dword [edi + 0x3e4], 0
je 0x42b445
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b443
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 6
jbe 0x42b443
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x18]
jmp 0x42b445
xor esi, esi
push 0xa
push 0
push esi
call fcn.0046a5d7
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x42b491
cmp dword [edi + 0x3e4], 0
je 0x42b491
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b48f
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 7
jbe 0x42b48f
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x1c]
jmp 0x42b491
xor esi, esi
push 0xa
push 0
push esi
call fcn.0046a5d7
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], edx
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x42b4dd
cmp dword [edi + 0x3e4], 0
je 0x42b4dd
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b4db
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 8
jbe 0x42b4db
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x20]
jmp 0x42b4dd
xor esi, esi
push esi
call fcn.0046d2ec
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [ecx + 0x30], eax
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x42b530
cmp dword [edi + 0x3e4], 0
je 0x42b530
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b529
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 9
jbe 0x42b529
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x24]
mov eax, dword [edi + 0x3e8]
mov ebx, dword [eax + 0x24]
jmp 0x42b52d
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov eax, 0x3c
cmp ebx, eax
cmovb eax, ebx
push eax
mov eax, dword [ebp - 0x14]
add eax, 0x1898
push esi
push eax
call fcn.00460ec0
mov edi, dword [0x4ad1b4]
add esp, 0xc
test edi, edi
je 0x42b591
cmp dword [edi + 0x3e4], 0
je 0x42b591
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b58a
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 0xa
jbe 0x42b58a
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x28]
mov eax, dword [edi + 0x3e8]
mov ebx, dword [eax + 0x28]
jmp 0x42b58e
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov eax, 0x78
cmp ebx, eax
cmovb eax, ebx
mov ebx, dword [ebp - 0x14]
push eax
push esi
lea eax, [ebx + 0x18d4]
push eax
call fcn.00460ec0
mov edi, dword [0x4ad1b4]
add esp, 0xc
test edi, edi
je 0x42b5f3
cmp dword [edi + 0x3e4], 0
je 0x42b5f3
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b5ec
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 0xb
jbe 0x42b5ec
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x2c]
mov eax, dword [edi + 0x3e8]
mov eax, dword [eax + 0x2c]
jmp 0x42b5f0
xor esi, esi
xor eax, eax
mov dword [ebp - 0x10], eax
push esi
call fcn.0046d2ec
mov dword [ebx + 0x194c], eax
add esp, 4
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x42b646
cmp dword [edi + 0x3e4], 0
je 0x42b646
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b63f
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 0xc
jbe 0x42b63f
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x30]
mov eax, dword [edi + 0x3e8]
mov eax, dword [eax + 0x30]
jmp 0x42b643
xor esi, esi
xor eax, eax
mov dword [ebp - 0x10], eax
push esi
call fcn.0046d2ec
mov dword [ebx + 0x1950], eax
add esp, 4
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x42b68b
cmp dword [edi + 0x3e4], 0
je 0x42b68b
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b689
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 0xd
jbe 0x42b689
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x34]
jmp 0x42b68b
xor esi, esi
push esi
call fcn.0046d2ec
cdq
add esp, 4
mov dword [ebx + 0x2c78], eax
mov dword [ebx + 0x2c7c], edx
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x42b6e5
cmp dword [edi + 0x3e4], 0
je 0x42b6e5
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b6de
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 0xe
jbe 0x42b6de
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x38]
mov eax, dword [edi + 0x3e8]
mov eax, dword [eax + 0x38]
jmp 0x42b6e2
xor esi, esi
xor eax, eax
mov dword [ebp - 0x10], eax
xor edi, edi
lea ecx, [ebx + 0x1954]
cmp dword [ebx + 0x194c], edi
jle 0x42b756
mov al, byte [esi]
cmp al, 0x30
jl 0x42b703
cmp al, 0x39
jg 0x42b703
sub al, 0x30
jmp 0x42b719
cmp al, 0x61
jl 0x42b70f
cmp al, 0x66
jg 0x42b71b
sub al, 0x57
jmp 0x42b719
cmp al, 0x41
jl 0x42b71b
cmp al, 0x46
jg 0x42b71b
sub al, 0x37
mov byte [ecx], al
shl byte [ecx], 4
mov al, byte [esi + 1]
mov dl, byte [ecx]
cmp al, 0x30
jl 0x42b72f
cmp al, 0x39
jg 0x42b72f
sub al, 0x30
jmp 0x42b745
cmp al, 0x61
jl 0x42b73b
cmp al, 0x66
jg 0x42b749
sub al, 0x57
jmp 0x42b745
cmp al, 0x41
jl 0x42b749
cmp al, 0x46
jg 0x42b749
sub al, 0x37
or al, dl
mov byte [ecx], al
inc edi
add esi, 2
inc ecx
cmp edi, dword [ebx + 0x194c]
jl 0x42b6f5
push dword [ebp - 0x1c]
push 0x4aaab4
push 0x4ab8b4
push str.SELECT__c_._account_id___m_._char_id___c_._hair___c_._hair_color___c_._sex___c_._class___c_._base_level___m_._exp___c_._online___m_._position___c_._name__coalesce_UNIX_TIMESTAMP__c_._last_login___0__FROM___s___m__INNER_JOIN___s___c__on__c_._char_id__m_._char_id__WHERE__m_._guild_id__d_ORDER_BY__position_
push dword [0x4ad1b4]
call fcn.0043d8e0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x42b7bd
mov ecx, dword [0x4ad1b4]
test ecx, ecx
jne 0x42b799
push 0x1a1
push str.D:_ragnarokbr_rathena_srccharint_guild.cpp
push str.at__s:_lu___self_is_NULL_n
jmp 0x42c011
mov edx, dword [ecx + 4]
mov eax, edx
sub eax, dword [ecx]
test eax, eax
jle 0x42b7b3
mov byte [edx], 0
push dword [ecx]
push 0x1a1
jmp 0x42bfee
push 0x1a1
jmp 0x42c007
mov eax, dword [ebp - 0x14]
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x28], ebx
cmp cx, word [eax + 0x18]
jge 0x42bbd8
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x42bbd8
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42bbd8
push eax
call dword [sym.imp.libmysql.dll_mysql_fetch_row]
mov dword [edi + 0x3e4], eax
test eax, eax
je 0x42bbc4
push dword [edi + 0x3e0]
call dword [sym.imp.libmysql.dll_mysql_fetch_lengths]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x3e8], eax
lea eax, [ebx + ebx*8]
mov edi, dword [0x4ad1b4]
lea ebx, [ecx + eax*8]
test edi, edi
je 0x42b851
cmp dword [edi + 0x3e4], 0
je 0x42b851
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b84f
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
test eax, eax
je 0x42b84f
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax]
jmp 0x42b851
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov dword [ebx + 0x68], eax
test edi, edi
je 0x42b893
cmp dword [edi + 0x3e4], 0
je 0x42b893
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b891
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 1
jbe 0x42b891
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 4]
jmp 0x42b893
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov dword [ebx + 0x6c], eax
test edi, edi
je 0x42b8d5
cmp dword [edi + 0x3e4], 0
je 0x42b8d5
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b8d3
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 2
jbe 0x42b8d3
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 8]
jmp 0x42b8d5
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov word [ebx + 0x70], ax
test edi, edi
je 0x42b918
cmp dword [edi + 0x3e4], 0
je 0x42b918
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b916
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 3
jbe 0x42b916
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0xc]
jmp 0x42b918
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov word [ebx + 0x72], ax
test edi, edi
je 0x42b95b
cmp dword [edi + 0x3e4], 0
je 0x42b95b
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b959
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 4
jbe 0x42b959
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x10]
jmp 0x42b95b
xor esi, esi
mov cl, byte [esi]
mov al, cl
cmp al, 0x46
je 0x42b982
cmp al, 0x4d
je 0x42b97b
push dword [ebx + 0x6c]
movsx eax, cl
push eax
push str.inter_guild_fromsql:_Unsupported_gender__c_for_char_id__u._Defaulting_to_male..._n
call fcn.004427d0
add esp, 0xc
mov eax, 1
jmp 0x42b984
xor eax, eax
mov edi, dword [0x4ad1b4]
mov word [ebx + 0x74], ax
test edi, edi
je 0x42b9be
cmp dword [edi + 0x3e4], 0
je 0x42b9be
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b9bc
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 5
jbe 0x42b9bc
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x14]
jmp 0x42b9be
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov word [ebx + 0x76], ax
test edi, edi
je 0x42ba01
cmp dword [edi + 0x3e4], 0
je 0x42ba01
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42b9ff
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 6
jbe 0x42b9ff
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x18]
jmp 0x42ba01
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov word [ebx + 0x78], ax
test edi, edi
je 0x42ba44
cmp dword [edi + 0x3e4], 0
je 0x42ba44
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42ba42
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 7
jbe 0x42ba42
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x1c]
jmp 0x42ba44
xor esi, esi
push 0xa
push 0
push esi
call fcn.0046a5d7
mov edi, dword [0x4ad1b4]
add esp, 0xc
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], edx
test edi, edi
je 0x42ba93
cmp dword [edi + 0x3e4], 0
je 0x42ba93
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42ba91
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 8
jbe 0x42ba91
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x20]
jmp 0x42ba93
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov word [ebx + 0x88], ax
test edi, edi
je 0x42bad9
cmp dword [edi + 0x3e4], 0
je 0x42bad9
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42bad7
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 9
jbe 0x42bad7
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x24]
jmp 0x42bad9
xor esi, esi
push esi
call fcn.0046d2ec
movzx eax, ax
add esp, 4
mov word [ebx + 0x8a], ax
cmp ax, 0x14
jl 0x42bafe
mov eax, 0x13
mov word [ebx + 0x8a], ax
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x42bb43
cmp dword [edi + 0x3e4], 0
je 0x42bb43
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42bb3e
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 0xa
jbe 0x42bb3e
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x28]
mov eax, dword [edi + 0x3e8]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
jmp 0x42bb43
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 + 0x8c]
push esi
push eax
call fcn.00460ec0
mov edi, dword [0x4ad1b4]
add esp, 0xc
test edi, edi
je 0x42bb96
cmp dword [edi + 0x3e4], 0
je 0x42bb96
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42bb94
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 0xb
jbe 0x42bb94
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0x2c]
jmp 0x42bb96
xor esi, esi
push esi
call fcn.0046d2ec
mov dword [ebx + 0xac], eax
add esp, 4
mov eax, dword [ebp - 0x14]
mov byte [ebx + 0xa8], 0
mov ebx, dword [ebp - 0x28]
inc ebx
movsx eax, word [eax + 0x18]
mov dword [ebp - 0x28], ebx
cmp ebx, eax
jl 0x42b7d1
jmp 0x42bbd8
lea eax, [edi + 0x10]
mov dword [edi + 0x3e8], 0
push eax
call dword [sym.imp.libmysql.dll_mysql_errno]
push dword [ebp - 0x1c]
push 0x4ab9b4
push str.SELECT__position___name___mode___exp_mode__FROM___s__WHERE__guild_id__d
push dword [0x4ad1b4]
call fcn.0043d8e0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42bc40
mov ecx, dword [0x4ad1b4]
test ecx, ecx
jne 0x42bc16
push 0x1c8
push str.D:_ragnarokbr_rathena_srccharint_guild.cpp
push str.at__s:_lu___self_is_NULL_n
jmp 0x42c011
mov edx, dword [ecx + 4]
mov eax, edx
sub eax, dword [ecx]
test eax, eax
jle 0x42bc30
mov byte [edx], 0
push dword [ecx]
push 0x1c8
jmp 0x42bfee
push 0x1c8
jmp 0x42c007
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x42bddb
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42bddb
push eax
call dword [sym.imp.libmysql.dll_mysql_fetch_row]
mov dword [edi + 0x3e4], eax
test eax, eax
je 0x42bdc1
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 0x42bcb7
cmp dword [edi + 0x3e4], 0
je 0x42bcb7
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42bcb5
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
test eax, eax
je 0x42bcb5
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax]
jmp 0x42bcb7
xor esi, esi
push esi
call fcn.0046d2ec
add esp, 4
cmp eax, 0x13
ja 0x42bc40
mov ecx, dword [ebp - 0x14]
lea ebx, [eax*8 + 0x572]
mov edi, dword [0x4ad1b4]
add ebx, eax
lea ebx, [ecx + ebx*4]
test edi, edi
je 0x42bd1d
cmp dword [edi + 0x3e4], 0
je 0x42bd1d
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42bd18
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 1
jbe 0x42bd18
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x3e8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
jmp 0x42bd1d
xor esi, esi
mov dword [ebp - 0x10], esi
mov eax, 0x18
cmp dword [ebp - 0x10], eax
cmovb eax, dword [ebp - 0x10]
push eax
push esi
push ebx
call fcn.00460ec0
mov edi, dword [0x4ad1b4]
add esp, 0xc
test edi, edi
je 0x42bd6a
cmp dword [edi + 0x3e4], 0
je 0x42bd6a
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42bd68
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 2
jbe 0x42bd68
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 8]
jmp 0x42bd6a
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov dword [ebx + 0x18], eax
test edi, edi
je 0x42bdac
cmp dword [edi + 0x3e4], 0
je 0x42bdac
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42bdaa
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 3
jbe 0x42bdaa
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 0xc]
jmp 0x42bdac
xor esi, esi
push esi
call fcn.0046d2ec
add esp, 4
mov dword [ebx + 0x1c], eax
mov byte [ebx + 0x20], 0
jmp 0x42bc40
lea eax, [edi + 0x10]
mov dword [edi + 0x3e8], 0
push eax
call dword [sym.imp.libmysql.dll_mysql_errno]
mov edi, dword [0x4ad1b4]
push dword [ebp - 0x1c]
push 0x4ab5b4
push str.SELECT__opposition___alliance_id___name__FROM___s__WHERE__guild_id__d
push edi
call fcn.0043d8e0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42be38
mov ecx, dword [0x4ad1b4]
test ecx, ecx
jne 0x42be14
push 0x1dd
push str.D:_ragnarokbr_rathena_srccharint_guild.cpp
push str.at__s:_lu___self_is_NULL_n
jmp 0x42c011
mov edx, dword [ecx + 4]
mov eax, edx
sub eax, dword [ecx]
test eax, eax
jle 0x42be2e
mov byte [edx], 0
push dword [ecx]
push 0x1dd
jmp 0x42bfee
push 0x1dd
jmp 0x42c007
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x28], 0
add ebx, 0x215c
nop dword [eax + eax]
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x42bf9a
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42bf9a
push eax
call dword [sym.imp.libmysql.dll_mysql_fetch_row]
mov dword [edi + 0x3e4], eax
test eax, eax
je 0x42bf86
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 0x42bec7
cmp dword [edi + 0x3e4], 0
je 0x42bec7
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42bec5
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
test eax, eax
je 0x42bec5
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax]
jmp 0x42bec7
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov dword [ebx - 8], eax
test edi, edi
je 0x42bf09
cmp dword [edi + 0x3e4], 0
je 0x42bf09
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42bf07
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 1
jbe 0x42bf07
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 4]
jmp 0x42bf09
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov dword [ebx - 4], eax
test edi, edi
je 0x42bf5a
cmp dword [edi + 0x3e4], 0
je 0x42bf5a
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42bf55
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 2
jbe 0x42bf55
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 0x42bf5a
xor esi, esi
mov dword [ebp - 0x10], esi
mov eax, 0x18
cmp dword [ebp - 0x10], eax
cmovb eax, dword [ebp - 0x10]
push eax
push esi
push ebx
call fcn.00460ec0
mov eax, dword [ebp - 0x28]
add esp, 0xc
inc eax
add ebx, 0x20
mov dword [ebp - 0x28], eax
cmp eax, 0x10
jl 0x42be50
jmp 0x42bf9a
lea eax, [edi + 0x10]
mov dword [edi + 0x3e8], 0
push eax
call dword [sym.imp.libmysql.dll_mysql_errno]
push dword [ebp - 0x1c]
push 0x4ab7b4
push str.SELECT__account_id___name___mes__FROM___s__WHERE__guild_id__d
push dword [0x4ad1b4]
call fcn.0043d8e0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42c06d
mov ecx, dword [0x4ad1b4]
test ecx, ecx
jne 0x42bfd9
push 0x1ec
push str.D:_ragnarokbr_rathena_srccharint_guild.cpp
push str.at__s:_lu___self_is_NULL_n
jmp 0x42c011
mov edx, dword [ecx + 4]
mov eax, edx
sub eax, dword [ecx]
test eax, eax
jle 0x42c002
mov byte [edx], 0
push dword [ecx]
push 0x1ec
push str.D:_ragnarokbr_rathena_srccharint_guild.cpp
push str.at__s:_lu____s_n
call fcn.004427f0
add esp, 0x10
jmp 0x42c019
push 0x1ec
push str.D:_ragnarokbr_rathena_srccharint_guild.cpp
push str.at__s:_lu_n
call fcn.004427f0
add esp, 0xc
mov edi, dword [ebp - 0x18]
or ebx, 0xffffffff
mov ecx, dword [ebp - 0x20]
mov eax, ebx
mov dword [edi], 0
mov dword [edi + 4], 0
lock xadd dword [ecx], eax
jne 0x42b12e
mov esi, dword [ebp - 0x14]
mov ecx, esi
mov eax, dword [esi]
call dword [eax]
mov eax, dword [ebp - 0x24]
lock xadd dword [eax], ebx
dec ebx
jne 0x42b12e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, 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
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x28], 0
add ebx, 0x236c
nop dword [eax]
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x42c1e7
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42c1e7
push eax
call dword [sym.imp.libmysql.dll_mysql_fetch_row]
mov dword [edi + 0x3e4], eax
test eax, eax
je 0x42c1d3
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 0x42c0f7
cmp dword [edi + 0x3e4], 0
je 0x42c0f7
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42c0f5
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
test eax, eax
je 0x42c0f5
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax]
jmp 0x42c0f7
xor esi, esi
push esi
call fcn.0046d2ec
mov edi, dword [0x4ad1b4]
add esp, 4
mov dword [ebx + 0x28], eax
test edi, edi
je 0x42c148
cmp dword [edi + 0x3e4], 0
je 0x42c148
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42c143
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 1
jbe 0x42c143
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 4]
mov eax, dword [edi + 0x3e8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
jmp 0x42c148
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 - 0x18]
push esi
push eax
call fcn.00460ec0
mov edi, dword [0x4ad1b4]
add esp, 0xc
test edi, edi
je 0x42c1a7
cmp dword [edi + 0x3e4], 0
je 0x42c1a7
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42c1a2
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 2
jbe 0x42c1a2
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 0x42c1a7
xor esi, esi
mov dword [ebp - 0x10], esi
mov eax, 0x28
cmp dword [ebp - 0x10], eax
cmovb eax, dword [ebp - 0x10]
push eax
push esi
push ebx
call fcn.00460ec0
mov eax, dword [ebp - 0x28]
add esp, 0xc
inc eax
add ebx, 0x44
mov dword [ebp - 0x28], eax
cmp eax, 0x20
jl 0x42c080
jmp 0x42c1e7
lea eax, [edi + 0x10]
mov dword [edi + 0x3e8], 0
push eax
call dword [sym.imp.libmysql.dll_mysql_errno]
push dword [ebp - 0x1c]
push 0x4abab4
push str.SELECT__id___lv__FROM___s__WHERE__guild_id__d_ORDER_BY__id_
push dword [0x4ad1b4]
call fcn.0043d8e0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x42c249
mov ecx, dword [0x4ad1b4]
test ecx, ecx
jne 0x42c225
push 0x1fb
push str.D:_ragnarokbr_rathena_srccharint_guild.cpp
push str.at__s:_lu___self_is_NULL_n
jmp 0x42c011
mov edx, dword [ecx + 4]
mov eax, edx
sub eax, dword [ecx]
test eax, eax
jle 0x42c23f
mov byte [edx], 0
push dword [ecx]
push 0x1fb
jmp 0x42bfee
push 0x1fb
jmp 0x42c007
mov edx, dword [ebp - 0x14]
xor ecx, ecx
add edx, 0x2bd4
lea eax, [ecx + 0x2710]
inc ecx
mov dword [edx], eax
lea edx, [edx + 8]
cmp ecx, 0x14
jl 0x42c254
nop word [eax + eax]
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x42c39c
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42c369
push eax
call dword [sym.imp.libmysql.dll_mysql_fetch_row]
mov dword [edi + 0x3e4], eax
test eax, eax
je 0x42c34f
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 0x42c2e7
cmp dword [edi + 0x3e4], 0
je 0x42c2e7
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42c2e5
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
test eax, eax
je 0x42c2e5
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax]
jmp 0x42c2e7
xor esi, esi
push esi
call fcn.0046d2ec
mov ebx, eax
add esp, 4
lea ecx, [ebx - 0x2710]
cmp ecx, 0x13
ja 0x42c270
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x42c337
cmp dword [edi + 0x3e4], 0
je 0x42c337
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42c335
push eax
call dword [sym.imp.libmysql.dll_mysql_num_fields]
cmp eax, 1
jbe 0x42c335
mov eax, dword [edi + 0x3e4]
mov esi, dword [eax + 4]
jmp 0x42c337
xor esi, esi
push esi
call fcn.0046d2ec
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [ecx + ebx*8 - 0x10ca8], eax
jmp 0x42c270
lea eax, [edi + 0x10]
mov dword [edi + 0x3e8], 0
push eax
call dword [sym.imp.libmysql.dll_mysql_errno]
mov edi, dword [0x4ad1b4]
test edi, edi
je 0x42c39c
mov eax, dword [edi + 0x3e0]
test eax, eax
je 0x42c39c
push eax
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 ebx, dword [ebp - 0x14]
lea edi, [ebx + 0x10]
push edi
call fcn.00431010
lea ecx, [ebx + 4]
lock inc dword [ecx]
mov esi, dword [eax + 4]
mov dword [eax], edi
mov dword [eax + 4], ebx
test esi, esi
je 0x42c3de
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x42c3db
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x42c3db
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ebx, dword [ebp - 0x14]
mov eax, 0x8000
or word [edi + 0x2c70], ax
cmp dword [0x4a9e18], 0
je 0x42c407
lea eax, [ebx + 0x34]
push eax
push dword [ebp - 0x1c]
push str.Guild_loaded___d____s__n
call fcn.00442790
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], 0
mov dword [eax], edi
mov dword [eax + 4], 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
lea eax, [esi + 0x10]
mov dword [esi + 0x3e8], 0
push eax
call dword [sym.imp.libmysql.dll_mysql_errno]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x38]
mov dword [edi], 0
mov dword [edi + 4], 0
test esi, esi
je 0x42b12e
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x42b12e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jmp 0x42c04c