Function at 0x4e6f82
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x22c
mov dword [ebp - 0x124], 0x80c9e4
mov dword [ebp - 0x120], 0x9928e6
lea eax, [ebp - 0x18]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], 0x4e773c
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], 0x2c
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], 0x2b
call fcn.008b5758
jmp 0x4e70d2
mov dword [esp], 0
call sub.msvcrt.dll_time
mov dword [ebp - 0x150], eax
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x570]
mov dword [ebp - 0x154], edx
mov eax, dword [ebp + 0xc]
add eax, 0x668
mov ecx, dword [ebp - 0x144]
mov edx, dword [ecx]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
lea eax, [ebp - 0xe8]
mov dword [esp], eax
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x138], 0x2a
call eax
sub esp, 4
mov dword [esp + 4], 0x33
mov dword [esp], 0x9f3980
mov dword [ebp - 0x138], 0x29
call fcn.004414ce
mov dword [ebp - 0x158], eax
mov dword [esp + 4], str.INSERT_INTO__guilds____id____world_id____name____ownerid____creationdata____motd___VALUES__NULL_
lea eax, [ebp - 0xd0]
mov dword [esp], eax
call fcn.00987374
mov edx, dword [ebp - 0x158]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00928568
mov dword [esp + 4], 0x9b5b26
mov dword [esp], eax
call fcn.00987374
lea ecx, [ebp - 0xe8]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00987ad4
mov dword [esp + 4], 0x9b5b26
mov dword [esp], eax
call fcn.00987374
mov edx, dword [ebp - 0x154]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.009285a8
mov dword [esp + 4], 0x9b5b26
mov dword [esp], eax
call fcn.00987374
mov ecx, dword [ebp - 0x150]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.009285b8
mov dword [esp + 4], str.__Your_guild_has_been_successfully_created__to_view_all_available_commands_type:__commands._If_you_would_like_to_remove_this_message_use__cleanmotd_and_to_set_new_motd_use__setmotd_text._
mov dword [esp], eax
call fcn.00987374
jmp 0x4e72c1
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x16c], eax
sub eax, 0xc
mov dword [ebp - 0x168], eax
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
lea ecx, [ebp - 0xf8]
mov dword [esp], ecx
call fcn.009222f8
cmp dword [ebp - 0x168], 0x9aba1c
je 0x4e735c
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x16c]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x138], 0x27
call fcn.00815de4
test eax, eax
jg 0x4e735c
lea eax, [ebp - 0xf8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x168]
mov dword [esp], edx
call fcn.00929958
jmp 0x4e735c
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0xd8]
mov dword [esp + 4], eax
lea ecx, [ebp - 0xf8]
mov dword [esp], ecx
mov dword [ebp - 0x138], 0x2a
call fcn.0090c954
sub esp, 4
mov edx, dword [ebp - 0x144]
mov eax, dword [edx]
lea ecx, [ebp - 0xf8]
mov dword [esp + 4], ecx
mov dword [esp], edx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x138], 0x26
call eax
jmp 0x4e749a
xor al, 1
mov byte [ebp - 0x16d], al
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x184], eax
sub eax, 0xc
mov dword [ebp - 0x180], eax
lea edx, [ebp - 0xf8]
mov dword [esp + 4], edx
lea ecx, [ebp - 0xe8]
mov dword [esp], ecx
call fcn.009222f8
cmp dword [ebp - 0x180], 0x9aba1c
je 0x4e753d
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x184]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x138], 0x24
call fcn.00815de4
test eax, eax
jg 0x4e753d
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x180]
mov dword [esp], edx
call fcn.00929958
jmp 0x4e753d
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922338
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922348
cmp byte [ebp - 0x16d], 0
je 0x4e79f7
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 ecx, [ebp - 0xf8]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x9b58d8
lea eax, [ebp - 0x108]
mov dword [esp], eax
mov dword [ebp - 0x138], 4
call fcn.0092bb18
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
lea ecx, [ebp - 0xd8]
mov dword [esp], ecx
mov dword [ebp - 0x138], 3
call fcn.00939554
jmp 0x4e76b7
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x224], eax
sub eax, 0xc
mov dword [ebp - 0x220], eax
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
lea ecx, [ebp - 0xe8]
mov dword [esp], ecx
call fcn.009222f8
cmp dword [ebp - 0x220], 0x9aba1c
je 0x4e7900
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x224]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x138], 1
call fcn.00815de4
test eax, eax
jg 0x4e7900
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x220]
mov dword [esp], edx
call fcn.00929958
jmp 0x4e7900
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 0x4e7964
mov dword [esp + 4], 0x9eb3c4
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x138], 6
call fcn.00939e54
jmp 0x4e79c3
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 0x4e896b
lea ecx, [ebp - 0xe8]
mov dword [esp], ecx
call fcn.00922308
lea eax, [ebp - 0xe8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x9b58d8
lea edx, [ebp - 0xf8]
mov dword [esp], edx
mov dword [ebp - 0x138], 0x23
call fcn.0092bb18
lea ecx, [ebp - 0xf8]
mov dword [esp + 4], ecx
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x138], 0x22
call fcn.00939554
jmp 0x4e7b2a
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x198], eax
sub eax, 0xc
mov dword [ebp - 0x194], eax
lea edx, [ebp - 0xf8]
mov dword [esp + 4], edx
lea ecx, [ebp - 0x108]
mov dword [esp], ecx
call fcn.009222f8
cmp dword [ebp - 0x194], 0x9aba1c
je 0x4e7bd3
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x198]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x138], 0x20
call fcn.00815de4
test eax, eax
jg 0x4e7bd3
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x194]
mov dword [esp], edx
call fcn.00929958
jmp 0x4e7bd3
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0xf8]
mov dword [esp], edx
call fcn.00922348
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922338
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x570]
mov dword [ebp - 0x19c], ecx
mov dword [esp + 4], str.SELECT__id__FROM__guilds__WHERE__ownerid__
lea eax, [ebp - 0xd0]
mov dword [esp], eax
mov dword [ebp - 0x138], 0x2a
call fcn.00987374
mov edx, dword [ebp - 0x19c]
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 ecx, [ebp - 0xd8]
mov dword [esp + 4], ecx
lea eax, [ebp - 0x108]
mov dword [esp], eax
call fcn.0090c954
sub esp, 4
mov edx, dword [ebp - 0x144]
mov eax, dword [edx]
lea ecx, [ebp - 0x108]
mov dword [esp + 4], ecx
mov dword [esp], edx
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x138], 0x1f
call eax
jmp 0x4e7d66
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x1b4], eax
sub eax, 0xc
mov dword [ebp - 0x1b0], eax
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
lea ecx, [ebp - 0xf8]
mov dword [esp], ecx
call fcn.009222f8
cmp dword [ebp - 0x1b0], 0x9aba1c
je 0x4e7e0d
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1b4]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x138], 0x1d
call fcn.00815de4
test eax, eax
jg 0x4e7e0d
lea eax, [ebp - 0xf8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x1b0]
mov dword [esp], edx
call fcn.00929958
jmp 0x4e7e0d
lea eax, [ebp - 0xf8]
mov dword [esp], eax
call fcn.00922338
lea edx, [ebp - 0x108]
mov dword [esp], edx
call fcn.00922348
cmp dword [ebp - 0x1a0], 0
jne 0x4e8124
mov dword [ebp - 0xd8], vtable.D.11.0
mov dword [ebp - 0xa4], 0x9ed9d4
mov dword [ebp - 0xd0], 0x9ed9c0
lea ecx, [ebp - 0xf8]
mov dword [esp], ecx
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], 0xa
call fcn.0092bb18
lea ecx, [ebp - 0x108]
mov dword [esp + 4], ecx
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x138], 9
call fcn.00939554
jmp 0x4e7f87
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x210], edx
sub edx, 0xc
mov dword [ebp - 0x20c], edx
lea ecx, [ebp - 0x108]
mov dword [esp + 4], ecx
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.009222f8
cmp dword [ebp - 0x20c], 0x9aba1c
je 0x4e802d
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x210]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x138], 7
call fcn.00815de4
test eax, eax
jg 0x4e802d
lea edx, [ebp - 0xe8]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x20c]
mov dword [esp], ecx
call fcn.00929958
jmp 0x4e802d
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], 0xb
call fcn.008b57ec
jmp 0x4e8091
mov dword [esp + 4], 0x9eb3c4
lea eax, [ebp - 0xd8]
mov dword [esp], eax
mov dword [ebp - 0x138], 0xc
call fcn.00939e54
jmp 0x4e80f0
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 0x4e896b
lea ecx, [ebp - 0xf8]
mov dword [esp], ecx
call fcn.00922308
lea eax, [ebp - 0xf8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x9b58d9
lea edx, [ebp - 0x108]
mov dword [esp], edx
mov dword [ebp - 0x138], 0x1c
call fcn.0092bb18
mov ecx, dword [ebp - 0x148]
mov eax, dword [ecx]
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
mov dword [esp], ecx
mov eax, dword [eax]
mov dword [ebp - 0x138], 0x1b
call eax
jmp 0x4e8258
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x1cc], ecx
sub ecx, 0xc
mov dword [ebp - 0x1c8], ecx
lea eax, [ebp - 0x108]
mov dword [esp + 4], eax
lea edx, [ebp - 0xe8]
mov dword [esp], edx
call fcn.009222f8
cmp dword [ebp - 0x1c8], 0x9aba1c
je 0x4e8307
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1cc]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x138], 0x19
call fcn.00815de4
test eax, eax
jg 0x4e8307
lea ecx, [ebp - 0xe8]
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x1c8]
mov dword [esp], eax
call fcn.00929958
jmp 0x4e8307
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.00922338
lea ecx, [ebp - 0x108]
mov dword [esp], ecx
call fcn.00922348
lea eax, [ebp - 0xf8]
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], 0x2a
call eax
mov dword [esp + 0xc], 1
mov ecx, dword [ebp - 0x1b8]
mov dword [esp + 8], ecx
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004e8988
movzx eax, al
mov dword [ebp - 0x1d0], eax
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 ecx, [ebp - 0xf8]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x9b58d8
lea eax, [ebp - 0x108]
mov dword [esp], eax
mov dword [ebp - 0x138], 0x10
call fcn.0092bb18
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
lea ecx, [ebp - 0xd8]
mov dword [esp], ecx
mov dword [ebp - 0x138], 0xf
call fcn.00939554
jmp 0x4e84c9
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x1fc], eax
sub eax, 0xc
mov dword [ebp - 0x1f8], eax
lea edx, [ebp - 0x108]
mov dword [esp + 4], edx
lea ecx, [ebp - 0xe8]
mov dword [esp], ecx
call fcn.009222f8
cmp dword [ebp - 0x1f8], 0x9aba1c
je 0x4e856f
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1fc]
sub eax, 4
mov dword [esp], eax
mov dword [ebp - 0x138], 0xd
call fcn.00815de4
test eax, eax
jg 0x4e856f
lea eax, [ebp - 0xe8]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x1f8]
mov dword [esp], edx
call fcn.00929958
jmp 0x4e856f
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], 0x11
call fcn.008b57ec
jmp 0x4e85d3
mov dword [esp + 4], 0x9eb3c4
lea ecx, [ebp - 0xd8]
mov dword [esp], ecx
mov dword [ebp - 0x138], 0x12
call fcn.00939e54
jmp 0x4e8632
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 edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x140], edx
jmp 0x4e896b
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