Function at 0x4f06d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1cc
mov dword [ebp - 0x124], 0x80c9e4
mov dword [ebp - 0x120], 0x992b07
lea eax, [ebp - 0x18]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], 0x4f0c23
mov dword [ebp - 0x114], esp
lea eax, [ebp - 0x13c]
mov dword [esp], eax
call fcn.0080f6e4
mov dword [ebp - 0x138], 0xffffffff
call fcn.0047a7e2
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0xa4]
mov dword [esp], eax
call fcn.00815f44
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 0x2f], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [esp + 8], 0x18
mov dword [esp + 4], 0x9eb3c4
lea edx, [ebp - 0xd8]
mov dword [esp], edx
mov dword [ebp - 0x138], 0x1c
call fcn.00939a94
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
mov dword [esp], 0x9f1940
mov dword [ebp - 0x138], 0x1b
call fcn.008b5758
jmp 0x4f0820
mov dword [esp + 4], str.SELECT__guild_ranks_._guild_id__FROM__players____guild_ranks__WHERE__players_._id__
lea eax, [ebp - 0xd0]
mov dword [esp], eax
mov dword [ebp - 0x138], 0x1a
call fcn.00987374
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.009285a8
mov dword [esp + 4], str._AND__guild_ranks_._id____players_._rank_id__LIMIT_1
mov dword [esp], eax
call fcn.00987374
lea eax, [ebp - 0xd8]
mov dword [esp + 4], eax
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.0090c954
sub esp, 4
mov edx, dword [ebp - 0x144]
mov eax, dword [edx]
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x144]
mov dword [esp], edx
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x138], 0x19
call eax
jmp 0x4f097d
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x164], edx
sub edx, 0xc
mov dword [ebp - 0x160], edx
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x160], 0x9aba1c
je 0x4f0a24
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x164]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x138], 0x17
call fcn.00815de4
test eax, eax
jg 0x4f0a24
lea eax, [ebp - 0xf8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x160]
mov dword [esp], edx
call fcn.00929958
jmp 0x4f0a24
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.00922338
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922348
cmp dword [ebp - 0x150], 0
jne 0x4f0e4e
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.00922308
lea eax, [ebp - 0xf8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x9b58d8
lea edx, [ebp - 0x108]
mov dword [esp], edx
mov dword [ebp - 0x138], 4
call fcn.0092bb18
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea edx, [ebp - 0xd8]
mov dword [esp], edx
mov dword [ebp - 0x138], 3
call fcn.00939554
jmp 0x4f0b9e
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x1bc], edx
sub edx, 0xc
mov dword [ebp - 0x1b8], edx
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x1b8], 0x9aba1c
je 0x4f0d57
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1bc]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x138], 1
call fcn.00815de4
test eax, eax
jg 0x4f0d57
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x1b8]
mov dword [esp], edx
call fcn.00929958
jmp 0x4f0d57
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
mov dword [esp], 0x9f1940
mov dword [ebp - 0x138], 5
call fcn.008b57ec
jmp 0x4f0dbb
mov dword [esp + 4], 0x9eb3c4
lea edx, [ebp - 0xd8]
mov dword [esp], edx
mov dword [ebp - 0x138], 6
call fcn.00939e54
jmp 0x4f0e1a
lea eax, [ebp - 0xd8]
add eax, 0x34
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [esp], eax
mov dword [ebp - 0x138], 0xffffffff
call fcn.00816174
mov dword [ebp - 0x140], 0
jmp 0x4f166e
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.00922308
lea eax, [ebp - 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x9b5e86
lea edx, [ebp - 0xf8]
mov dword [esp], edx
mov dword [ebp - 0x138], 0x16
call fcn.0092bb18
mov edx, dword [ebp - 0x148]
mov eax, dword [edx]
lea edx, [ebp - 0xf8]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x148]
mov dword [esp], edx
mov eax, dword [eax]
mov dword [ebp - 0x138], 0x15
call eax
jmp 0x4f0f88
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0x17c], edx
sub edx, 0xc
mov dword [ebp - 0x178], edx
lea eax, [ebp - 0xf8]
mov dword [esp + 4], eax
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x178], 0x9aba1c
je 0x4f1037
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x17c]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x138], 0x13
call fcn.00815de4
test eax, eax
jg 0x4f1037
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x178]
mov dword [esp], edx
call fcn.00929958
jmp 0x4f1037
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.00922338
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922348
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922338
mov edx, dword [ebp - 0x148]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x138], 0x1a
call eax
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0xf8]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x9b58d8
lea eax, [ebp - 0x108]
mov dword [esp], eax
mov dword [ebp - 0x138], 0xa
call fcn.0092bb18
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x138], 9
call fcn.00939554
jmp 0x4f11cc
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x1a8], eax
sub eax, 0xc
mov dword [ebp - 0x1a4], eax
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x1a4], 0x9aba1c
je 0x4f1272
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1a8]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x138], 7
call fcn.00815de4
test eax, eax
jg 0x4f1272
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x1a4]
mov dword [esp], eax
call fcn.00929958
jmp 0x4f1272
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922338
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00922348
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
mov dword [esp], 0x9f1940
mov dword [ebp - 0x138], 0xb
call fcn.008b57ec
jmp 0x4f12d6
mov dword [esp + 4], 0x9eb3c4
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x138], 0xc
call fcn.00939e54
jmp 0x4f1335
lea eax, [ebp - 0xd8]
add eax, 0x34
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [esp], eax
mov dword [ebp - 0x138], 0xffffffff
call fcn.00816174
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x140], eax
jmp 0x4f166e
lea eax, [ebp - 0x13c]
mov dword [esp], eax
call fcn.0080f7c4
mov eax, dword [ebp - 0x140]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret