Function at 0x4e29aa
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1fc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x134], 0x80c9e4
mov dword [ebp - 0x130], 0x9927ea
lea edx, [ebp - 0x18]
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x128], 0x4e2f64
mov dword [ebp - 0x124], esp
lea eax, [ebp - 0x14c]
mov dword [esp], eax
call fcn.0080f6e4
mov dword [ebp - 0x148], 0xffffffff
call fcn.0047a7e2
mov dword [ebp - 0x158], 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 ecx, [ebp - 0xd8]
mov dword [esp], ecx
mov dword [ebp - 0x148], 0x23
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 - 0x148], 0x22
call fcn.008b5758
jmp 0x4e2b03
mov dword [esp + 4], str.SELECT__id____name__FROM__guild_ranks__WHERE__guild_id__
lea ecx, [ebp - 0xd0]
mov dword [esp], ecx
mov dword [ebp - 0x148], 0x21
call fcn.00987374
mov edx, dword [ebp + 0x14]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.009285a8
mov dword [esp + 4], str._AND__level__
mov dword [esp], eax
call fcn.00987374
mov edx, dword [ebp + 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00928568
mov eax, dword [ebp - 0x154]
cmp dword [eax], 0
je 0x4e2b86
mov dword [esp + 4], str._AND__id__
lea edx, [ebp - 0xd0]
mov dword [esp], edx
call fcn.00987374
mov ecx, dword [ebp - 0x154]
mov edx, dword [ecx]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.009285a8
mov dword [esp + 4], 0x9b58cf
lea eax, [ebp - 0xd0]
mov dword [esp], eax
mov dword [ebp - 0x148], 0x21
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 ecx, dword [ebp - 0x158]
mov eax, dword [ecx]
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
mov dword [esp], ecx
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x148], 0x20
call eax
jmp 0x4e2cbe
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x178], ecx
sub ecx, 0xc
mov dword [ebp - 0x174], ecx
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x174], 0x9aba1c
je 0x4e2d65
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x178]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x148], 0x1e
call fcn.00815de4
test eax, eax
jg 0x4e2d65
lea ecx, [ebp - 0xf8]
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x174]
mov dword [esp], eax
call fcn.00929958
jmp 0x4e2d65
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
lea ecx, [ebp - 0xe8]
mov dword [esp], ecx
call fcn.00922348
cmp dword [ebp - 0x164], 0
jne 0x4e31ce
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0x108]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x9b58d8
lea ecx, [ebp - 0x118]
mov dword [esp], ecx
mov dword [ebp - 0x148], 4
call fcn.0092bb18
lea eax, [ebp - 0x118]
mov dword [esp + 4], eax
lea edx, [ebp - 0xd8]
mov dword [esp], edx
mov dword [ebp - 0x148], 3
call fcn.00939554
jmp 0x4e2edf
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x1f4], ecx
sub ecx, 0xc
mov dword [ebp - 0x1f0], ecx
lea eax, [ebp - 0x118]
mov dword [esp + 4], eax
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x1f0], 0x9aba1c
je 0x4e30d7
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1f4]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x148], 1
call fcn.00815de4
test eax, eax
jg 0x4e30d7
lea ecx, [ebp - 0xf8]
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x1f0]
mov dword [esp], eax
call fcn.00929958
jmp 0x4e30d7
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
lea eax, [ebp - 0x118]
mov dword [esp], eax
call fcn.00922348
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00922338
mov dword [esp], 0x9f1940
mov dword [ebp - 0x148], 5
call fcn.008b57ec
jmp 0x4e313b
mov dword [esp + 4], 0x9eb3c4
lea ecx, [ebp - 0xd8]
mov dword [esp], ecx
mov dword [ebp - 0x148], 6
call fcn.00939e54
jmp 0x4e319a
lea eax, [ebp - 0xd8]
add eax, 0x34
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [esp], eax
mov dword [ebp - 0x148], 0xffffffff
call fcn.00816174
mov dword [ebp - 0x150], 0
jmp 0x4e3dbc
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.00922308
lea ecx, [ebp - 0x108]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x9b5906
lea eax, [ebp - 0xe8]
mov dword [esp], eax
mov dword [ebp - 0x148], 0x1d
call fcn.0092bb18
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx]
lea ecx, [ebp - 0xe8]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
lea edx, [ebp - 0xf8]
mov dword [esp], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x148], 0x1c
call eax
sub esp, 4
lea ecx, [ebp - 0xf8]
mov dword [esp + 4], ecx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
mov dword [ebp - 0x148], 0x1b
call fcn.0092a4e8
jmp 0x4e332f
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x18c], eax
sub eax, 0xc
mov dword [ebp - 0x188], eax
lea edx, [ebp - 0xf8]
mov dword [esp + 4], edx
lea ecx, [ebp - 0x118]
mov dword [esp], ecx
call fcn.009222f8
cmp dword [ebp - 0x188], 0x9aba1c
je 0x4e34a4
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x18c]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x148], 0x19
call fcn.00815de4
test eax, eax
jg 0x4e34a4
lea eax, [ebp - 0x118]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x188]
mov dword [esp], edx
call fcn.00929958
jmp 0x4e34a4
lea eax, [ebp - 0x118]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.00922348
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x1a0], ecx
sub ecx, 0xc
mov dword [ebp - 0x19c], ecx
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
lea edx, [ebp - 0x118]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x19c], 0x9aba1c
je 0x4e3569
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1a0]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x148], 0x17
call fcn.00815de4
test eax, eax
jg 0x4e3569
lea ecx, [ebp - 0x118]
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x19c]
mov dword [esp], eax
call fcn.00929958
jmp 0x4e3569
lea ecx, [ebp - 0x118]
mov dword [esp], ecx
call fcn.00922338
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922348
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00922338
mov edx, dword [ebp - 0x154]
cmp dword [edx], 0
jne 0x4e37b1
lea ecx, [ebp - 0x118]
mov dword [esp], ecx
call fcn.00922308
lea eax, [ebp - 0x118]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x9b58d9
lea edx, [ebp - 0xe8]
mov dword [esp], edx
mov dword [ebp - 0x148], 0x16
call fcn.0092bb18
mov ecx, dword [ebp - 0x15c]
mov eax, dword [ecx]
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
mov dword [esp], ecx
mov eax, dword [eax]
mov dword [ebp - 0x148], 0x15
call eax
jmp 0x4e36d6
mov ecx, dword [ebp - 0x154]
mov dword [ecx], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x1b4], eax
sub eax, 0xc
mov dword [ebp - 0x1b0], eax
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
lea ecx, [ebp - 0x108]
mov dword [esp], ecx
call fcn.009222f8
cmp dword [ebp - 0x1b0], 0x9aba1c
je 0x4e3787
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1b4]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x148], 0x13
call fcn.00815de4
test eax, eax
jg 0x4e3787
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x1b0]
mov dword [esp], edx
call fcn.00929958
jmp 0x4e3787
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00922338
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922348
lea eax, [ebp - 0x118]
mov dword [esp], eax
call fcn.00922338
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x148], 0x21
call eax
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
lea ecx, [ebp - 0x108]
mov dword [esp], ecx
call fcn.00922308
lea eax, [ebp - 0x108]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x9b58d8
lea edx, [ebp - 0x118]
mov dword [esp], edx
mov dword [ebp - 0x148], 0xa
call fcn.0092bb18
lea ecx, [ebp - 0x118]
mov dword [esp + 4], ecx
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x148], 9
call fcn.00939554
jmp 0x4e391c
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x1e0], edx
sub edx, 0xc
mov dword [ebp - 0x1dc], edx
lea ecx, [ebp - 0x118]
mov dword [esp + 4], ecx
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x1dc], 0x9aba1c
je 0x4e39c2
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1e0]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x148], 7
call fcn.00815de4
test eax, eax
jg 0x4e39c2
lea edx, [ebp - 0xf8]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x1dc]
mov dword [esp], ecx
call fcn.00929958
jmp 0x4e39c2
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x118]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00922338
mov dword [esp], 0x9f1940
mov dword [ebp - 0x148], 0xb
call fcn.008b57ec
jmp 0x4e3a26
mov dword [esp + 4], 0x9eb3c4
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x148], 0xc
call fcn.00939e54
jmp 0x4e3a85
lea eax, [ebp - 0xd8]
add eax, 0x34
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [esp], eax
mov dword [ebp - 0x148], 0xffffffff
call fcn.00816174
mov dword [ebp - 0x150], 1
jmp 0x4e3dbc
lea eax, [ebp - 0x14c]
mov dword [esp], eax
call fcn.0080f7c4
mov eax, dword [ebp - 0x150]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret