Function at 0x482c5a
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10c
cmp dword [ebp + 0xc], 0
jne 0x482c78
mov byte [ebp - 0x101], 0
jmp 0x482f87
call fcn.0043f37c
mov ebx, eax
lea eax, [ebp - 0xf0]
mov dword [esp], eax
call fcn.0066643c
mov dword [esp + 4], str.SELECT__id____value____param____expires__FROM__bans__WHERE__type__
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00702728
mov dword [esp + 4], str._AND__active___1
mov dword [esp], eax
call fcn.0076107c
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x34]
lea edx, [ebp - 0xe4]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov ebx, eax
lea eax, [ebp - 0x34]
mov dword [esp], eax
call fcn.0070479c
jmp 0x482d0d
test ebx, ebx
je 0x482f72
mov byte [ebp - 0x101], 0
lea edi, [ebp - 0x28]
mov eax, dword [ebx]
mov esi, dword [eax]
lea eax, [ebp - 0x29]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d4170
lea edx, [ebp - 0x30]
mov dword [esp], edx
call fcn.007041ec
lea eax, [ebp - 0x30]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov dword [ebp - 0xfc], eax
mov esi, dword [ebp - 0x30]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x482dca
cmp dword [0x8e6f60], 0
je 0x482d81
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x100], eax
jmp 0x482d90
mov edx, dword [esi + 8]
mov dword [ebp - 0x100], edx
mov eax, edx
dec eax
mov dword [esi + 8], eax
cmp dword [ebp - 0x100], 0
jg 0x482dca
lea eax, [ebp - 0x1a]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x482dca
mov eax, dword [ebx]
mov esi, dword [eax]
lea edx, [ebp - 0x21]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x7d4176
mov dword [esp], edi
call fcn.007041ec
mov dword [esp + 4], edi
mov dword [esp], ebx
call esi
mov esi, eax
mov eax, dword [ebp - 0x28]
sub eax, 0xc
mov dword [ebp - 0x100], eax
mov eax, 0x7bf7a4
cmp eax, dword [ebp - 0x100]
je 0x482e90
cmp dword [0x8e6f60], 0
je 0x482e37
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x100]
add eax, 8
mov dword [esp], eax
call fcn.006b2de0
mov dword [ebp - 0x108], eax
jmp 0x482e50
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 8]
mov dword [ebp - 0x108], eax
dec eax
mov edx, dword [ebp - 0x100]
mov dword [edx + 8], eax
cmp dword [ebp - 0x108], 0
jg 0x482e90
lea eax, [ebp - 0x19]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x100]
mov dword [esp], eax
call fcn.00702c78
jmp 0x482e90
mov edx, dword [ebp + 0x10]
and edx, dword [ebp + 0xc]
and edx, esi
mov eax, dword [ebp - 0xfc]
and eax, dword [ebp + 0x10]
and eax, esi
cmp edx, eax
jne 0x482f40
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x1b]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d417c
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 dword [ebp - 0x100]
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.0070479c
jmp 0x482f06
cmp dword [ebp - 0x100], 0
jle 0x482f95
mov dword [esp], 0
call sub.msvcrt.dll_time
cmp dword [ebp - 0x100], eax
jg 0x482f95
mov dword [esp + 8], esi
mov edx, dword [ebp - 0xfc]
mov dword [esp + 4], edx
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00482a7a
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x14]
test al, al
jne 0x482d1f
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x10]
jmp 0x482f79
mov byte [ebp - 0x101], 0
lea eax, [ebp - 0xf0]
mov dword [esp], eax
call fcn.006668d4
mov al, byte [ebp - 0x101]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret
mov byte [ebp - 0x101], 1
jmp 0x482f40