Function at 0x485a96
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xfc
call fcn.0043f37c
mov ebx, eax
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.0066643c
mov dword [esp + 4], 0x35
mov dword [esp], 0x8dfd80
call fcn.0041b8da
mov esi, eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], edx
call dword [eax + 0x20]
sub esp, 4
lea edx, [ebp - 0x28]
mov eax, dword [ebx]
mov dword [esp + 4], ebx
mov dword [esp], edx
call dword [eax + 0x2c]
sub esp, 4
mov dword [esp + 4], str.SELECT__id__FROM__guilds__WHERE__name_
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx - 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00757358
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
mov dword [esp + 4], 0x7d4c80
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], 0x7d48da
mov dword [esp], eax
call fcn.0076107c
jmp 0x485b77
mov edi, dword [ebp - 0x28]
sub edi, 0xc
mov esi, 0x7bf7a4
cmp edi, esi
je 0x485be7
cmp dword [0x8e6f60], 0
je 0x485baa
mov dword [esp + 4], 0xffffffff
lea eax, [edi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0xec], eax
jmp 0x485bb7
mov eax, dword [edi + 8]
mov dword [ebp - 0xec], eax
dec eax
mov dword [edi + 8], eax
cmp dword [ebp - 0xec], 0
jg 0x485be7
lea eax, [ebp - 0x1b]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00702c78
jmp 0x485be7
mov edi, dword [ebp - 0x2c]
sub edi, 0xc
cmp esi, edi
je 0x485c43
cmp dword [0x8e6f60], 0
je 0x485c15
mov dword [esp + 4], 0xffffffff
lea eax, [edi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0xec], eax
jmp 0x485c22
mov eax, dword [edi + 8]
mov dword [ebp - 0xec], eax
dec eax
mov dword [edi + 8], eax
cmp dword [ebp - 0xec], 0
jg 0x485c43
lea eax, [ebp - 0x1a]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00702c78
jmp 0x485c43
mov eax, dword [ebx]
mov edi, dword [eax + 0x1c]
lea eax, [ebp - 0x24]
lea edx, [ebp - 0xdc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], ebx
call edi
mov ebx, eax
mov edi, dword [ebp - 0x24]
sub edi, 0xc
cmp esi, edi
je 0x485cc9
cmp dword [0x8e6f60], 0
je 0x485c98
mov dword [esp + 4], 0xffffffff
lea eax, [edi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov esi, eax
jmp 0x485ca1
mov esi, dword [edi + 8]
lea eax, [esi - 1]
mov dword [edi + 8], eax
test esi, esi
jg 0x485cc9
lea eax, [ebp - 0x19]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00702c78
jmp 0x485cc9
test ebx, ebx
je 0x485d40
mov eax, dword [ebx]
mov esi, dword [eax]
lea eax, [ebp - 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d4bfc
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.0070479c
jmp 0x485d1c
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x10]
jmp 0x485d3e
mov bl, 1
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.006668d4
mov al, bl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret