Function at 0x488aa8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10c
call fcn.0043f37c
mov ebx, eax
lea eax, [ebp - 0xf4]
mov dword [esp], eax
call fcn.0066643c
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00484d2e
mov esi, eax
mov dword [esp + 4], str.SELECT__id__FROM__guild_ranks__WHERE__guild_id__
lea eax, [ebp - 0xec]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00701d98
mov dword [esp + 4], str._AND__level__
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], 0x7d48da
mov dword [esp], eax
call fcn.0076107c
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x38]
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov esi, eax
mov edi, dword [ebp - 0x38]
sub edi, 0xc
cmp edi, 0x7bf7a4
je 0x488bcd
cmp dword [0x8e6f60], 0
je 0x488b8b
mov dword [esp + 4], 0xffffffff
lea eax, [edi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0xfc], eax
jmp 0x488b9a
mov edx, dword [edi + 8]
mov dword [ebp - 0xfc], edx
mov eax, edx
dec eax
mov dword [edi + 8], eax
cmp dword [ebp - 0xfc], 0
jg 0x488bcd
lea eax, [ebp - 0x1a]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00702c78
jmp 0x488bcd
test esi, esi
je 0x488dee
lea eax, [ebp - 0x2d]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d46bc
lea eax, [ebp - 0x34]
mov dword [esp], eax
call fcn.007041ec
mov eax, dword [ebp - 0x34]
mov edx, dword [eax - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [ebp - 0xc4]
mov dword [esp], eax
call fcn.0070342c
mov eax, dword [ebp - 0xc8]
test al, 3
jne 0x488c1c
mov edi, 0
jmp 0x488c25
mov eax, dword [ebp - 0xc4]
mov edi, dword [eax - 0xc]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov eax, dword [ebp - 0xc4]
mov dword [esp + 4], eax
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00717e3c
jmp 0x488c5d
lea eax, [ebp - 0x34]
mov dword [esp], eax
call fcn.0070479c
jmp 0x488c71
lea edx, [ebp - 0x2c]
mov eax, dword [ebx]
mov dword [esp + 4], ebx
mov dword [esp], edx
call dword [eax + 0x30]
sub esp, 4
mov eax, dword [esi]
mov edi, dword [eax]
lea eax, [ebp - 0x21]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d4bfc
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], esi
call edi
mov edi, eax
mov dword [esp + 4], str.UPDATE__players__SET__rank_id__
lea eax, [ebp - 0xec]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], 0x7d4906
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00701d98
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx - 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00757358
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.0070479c
jmp 0x488d26
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x488d43
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 0x10]
mov eax, dword [ebx]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x20]
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov bl, al
mov esi, dword [ebp - 0x20]
sub esi, 0xc
mov eax, 0x7bf7a4
cmp eax, esi
je 0x488df0
cmp dword [0x8e6f60], 0
je 0x488da5
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov edi, eax
jmp 0x488dae
mov edi, dword [esi + 8]
lea eax, [edi - 1]
mov dword [esi + 8], eax
test edi, edi
jg 0x488df0
lea eax, [ebp - 0x19]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x488df0
mov bl, 0
lea eax, [ebp - 0xf4]
mov dword [esp], eax
call fcn.006668d4
mov al, bl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret