Function at 0x4f647e
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1dc
mov dword [ebp - 0x134], 0x80c9e4
mov dword [ebp - 0x130], 0x992c63
lea eax, [ebp - 0x18]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], 0x4f6a14
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 - 0x150], 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 - 0x148], 0x20
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], 0x1f
call fcn.008b5758
jmp 0x4f65ce
mov dword [esp + 4], str.SELECT__motd__FROM__guilds__WHERE__id__
lea eax, [ebp - 0xd0]
mov dword [esp], eax
mov dword [ebp - 0x148], 0x1e
call fcn.00987374
mov edx, dword [ebp + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.009285a8
mov dword [esp + 4], 0x9b58cf
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 - 0x150]
mov eax, dword [edx]
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x150]
mov dword [esp], edx
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x148], 0x1d
call eax
jmp 0x4f672b
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x15c], eax
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x170], edx
sub edx, 0xc
mov dword [ebp - 0x16c], edx
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x16c], 0x9aba1c
je 0x4f67d2
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x170]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x148], 0x1b
call fcn.00815de4
test eax, eax
jg 0x4f67d2
lea eax, [ebp - 0xf8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x16c]
mov dword [esp], edx
call fcn.00929958
jmp 0x4f67d2
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 - 0x15c], 0
jne 0x4f6c6c
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
mov edx, dword [ebp + 8]
mov dword [esp], edx
mov dword [ebp - 0x148], 0x1a
call fcn.0092bb18
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
lea edx, [ebp - 0x118]
mov dword [esp], edx
call fcn.00922308
lea eax, [ebp - 0x118]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x9b58d8
lea edx, [ebp - 0xe8]
mov dword [esp], edx
mov dword [ebp - 0x148], 4
call fcn.0092bb18
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
lea edx, [ebp - 0xd8]
mov dword [esp], edx
mov dword [ebp - 0x148], 3
call fcn.00939554
jmp 0x4f698f
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x1d8], edx
sub edx, 0xc
mov dword [ebp - 0x1d4], edx
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x1d4], 0x9aba1c
je 0x4f6b6c
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1d8]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x148], 1
call fcn.00815de4
test eax, eax
jg 0x4f6b6c
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x1d4]
mov dword [esp], edx
call fcn.00929958
jmp 0x4f6b6c
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0x118]
mov dword [esp], eax
call fcn.00922338
mov dword [esp], 0x9f1940
mov dword [ebp - 0x148], 5
call fcn.008b57ec
jmp 0x4f6bd0
mov dword [esp + 4], 0x9eb3c4
lea edx, [ebp - 0xd8]
mov dword [esp], edx
mov dword [ebp - 0x148], 6
call fcn.00939e54
jmp 0x4f6c2f
lea eax, [ebp - 0xd8]
add eax, 0x34
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [esp], eax
mov dword [ebp - 0x148], 0xffffffff
call fcn.00816174
jmp 0x4f7620
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.00922308
lea eax, [ebp - 0x108]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x9b5f7e
lea edx, [ebp - 0xe8]
mov dword [esp], edx
mov dword [ebp - 0x148], 0x19
call fcn.0092bb18
mov edx, dword [ebp - 0x154]
mov eax, dword [edx]
lea edx, [ebp - 0xe8]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x154]
mov dword [esp + 4], edx
lea edx, [ebp - 0xf8]
mov dword [esp], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x148], 0x18
call eax
jmp 0x4f6db1
sub esp, 4
mov edx, dword [ebp - 0xe8]
mov dword [ebp - 0x184], edx
sub edx, 0xc
mov dword [ebp - 0x180], edx
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
lea edx, [ebp - 0x118]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x180], 0x9aba1c
je 0x4f6e5d
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x184]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x148], 0x16
call fcn.00815de4
test eax, eax
jg 0x4f6e5d
lea eax, [ebp - 0x118]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x180]
mov dword [esp], edx
call fcn.00929958
jmp 0x4f6e5d
lea eax, [ebp - 0x118]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00922338
mov edx, dword [ebp - 0x154]
mov eax, dword [edx]
mov dword [esp], edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x148], 0x15
call eax
lea eax, [ebp - 0xf8]
mov dword [esp + 4], eax
mov edx, dword [ebp + 8]
mov dword [esp], edx
call fcn.0092bbc8
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x1b0], eax
sub eax, 0xc
mov dword [ebp - 0x1ac], eax
lea edx, [ebp - 0xf8]
mov dword [esp + 4], edx
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x1ac], 0x9aba1c
je 0x4f6f51
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1b0]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x148], 0xd
call fcn.00815de4
test eax, eax
jg 0x4f6f51
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x1ac]
mov dword [esp], eax
call fcn.00929958
jmp 0x4f6f51
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.00922348
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
lea eax, [ebp - 0x118]
mov dword [esp], eax
call fcn.00922308
lea edx, [ebp - 0x118]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x9b58d8
lea eax, [ebp - 0xe8]
mov dword [esp], eax
mov dword [ebp - 0x148], 0xa
call fcn.0092bb18
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x148], 9
call fcn.00939554
jmp 0x4f70be
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x1c4], eax
sub eax, 0xc
mov dword [ebp - 0x1c0], eax
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x1c0], 0x9aba1c
je 0x4f7164
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1c4]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x148], 7
call fcn.00815de4
test eax, eax
jg 0x4f7164
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x1c0]
mov dword [esp], eax
call fcn.00929958
jmp 0x4f7164
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 dword [esp], 0x9f1940
mov dword [ebp - 0x148], 0xb
call fcn.008b57ec
jmp 0x4f71c8
mov dword [esp + 4], 0x9eb3c4
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x148], 0xc
call fcn.00939e54
jmp 0x4f7227
lea eax, [ebp - 0xd8]
add eax, 0x34
mov dword [ebp - 0xa4], 0x9f07b0
mov dword [esp], eax
mov dword [ebp - 0x148], 0xffffffff
call fcn.00816174
jmp 0x4f7620
lea eax, [ebp - 0x14c]
mov dword [esp], eax
call fcn.0080f7c4
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4