Function at 0x47f608
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x13c
mov esi, dword [ebp + 0xc]
call fcn.0043f37c
mov ebx, eax
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.0066643c
mov edi, dword [esi + 0xc]
mov dword [esp + 4], str.SELECT__FROM__bans__WHERE__value__
lea eax, [ebp - 0x130]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00701d98
mov edi, dword [esi + 0x10]
test edi, edi
je 0x47f67a
mov dword [esp + 4], str._AND__param__
lea eax, [ebp - 0x130]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00701d98
mov edi, dword [esi]
test edi, edi
je 0x47f6a2
mov dword [esp + 4], str._AND__type__
lea eax, [ebp - 0x130]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00702728
mov dword [esp], 0
call sub.msvcrt.dll_time
mov edi, eax
mov dword [esp + 4], str._AND__active___1_AND___expires___
lea eax, [ebp - 0x130]
mov dword [esp], eax
call fcn.0076107c
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00701bc0
mov dword [esp + 4], str._OR__expires____0__LIMIT_1
mov dword [esp], eax
call fcn.0076107c
mov eax, dword [ebx]
mov edi, dword [eax + 0x1c]
lea eax, [ebp - 0x7c]
lea edx, [ebp - 0x12c]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x7c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call edi
mov ebx, eax
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x47f72c
test ebx, ebx
je 0x47fb50
mov eax, dword [ebx]
mov edi, dword [eax]
lea eax, [ebp - 0x71]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d4168
lea eax, [ebp - 0x78]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x78]
mov dword [esp + 4], eax
mov dword [esp], ebx
call edi
mov dword [esi + 8], eax
lea eax, [ebp - 0x78]
mov dword [esp], eax
call fcn.0070479c
jmp 0x47f787
mov eax, dword [ebx]
mov edi, dword [eax]
lea eax, [ebp - 0x69]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d416b
lea eax, [ebp - 0x70]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x70]
mov dword [esp + 4], eax
mov dword [esp], ebx
call edi
mov dword [esi], eax
lea eax, [ebp - 0x70]
mov dword [esp], eax
call fcn.0070479c
jmp 0x47f7d9
mov eax, dword [ebx]
mov edi, dword [eax]
lea eax, [ebp - 0x61]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d4170
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x68]
mov dword [esp + 4], eax
mov dword [esp], ebx
call edi
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.0070479c
jmp 0x47f82c
mov eax, dword [ebx]
mov edi, dword [eax]
lea eax, [ebp - 0x59]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d4176
lea eax, [ebp - 0x60]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x60]
mov dword [esp + 4], eax
mov dword [esp], ebx
call edi
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x60]
mov dword [esp], eax
call fcn.0070479c
jmp 0x47f87f
mov eax, dword [ebx]
mov edi, dword [eax + 4]
lea eax, [ebp - 0x51]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d417c
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
mov dword [esp], ebx
call edi
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call fcn.0070479c
jmp 0x47f8d3
mov eax, dword [ebx]
mov edi, dword [eax + 4]
lea eax, [ebp - 0x49]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d4184
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x50]
mov dword [esp + 4], eax
mov dword [esp], ebx
call edi
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x50]
mov dword [esp], eax
call fcn.0070479c
jmp 0x47f927
mov eax, dword [ebx]
mov edi, dword [eax]
lea eax, [ebp - 0x41]
mov dword [esp + 8], eax
mov dword [esp + 4], str.admin_id
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov dword [esp], ebx
call edi
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x48]
mov dword [esp], eax
call fcn.0070479c
jmp 0x47f97a
mov eax, dword [ebx]
mov edi, dword [eax + 8]
lea eax, [ebp - 0x35]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d4193
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x40]
lea edx, [ebp - 0x3c]
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call edi
sub esp, 4
lea eax, [ebp - 0x40]
mov dword [esp + 4], eax
lea eax, [esi + 0x24]
mov dword [esp], eax
call fcn.00703510
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.0070479c
jmp 0x47f9ef
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x47fa03
mov eax, dword [ebx]
mov edi, dword [eax]
lea eax, [ebp - 0x2d]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d419b
lea eax, [ebp - 0x34]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
mov dword [esp], ebx
call edi
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x34]
mov dword [esp], eax
call fcn.0070479c
jmp 0x47fa56
mov eax, dword [ebx]
mov edi, dword [eax]
lea eax, [ebp - 0x25]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d41a2
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call edi
mov dword [esi + 4], eax
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call fcn.0070479c
jmp 0x47faa9
mov eax, dword [ebx]
mov edi, dword [eax + 8]
lea eax, [ebp - 0x19]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x7d41a9
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.007041ec
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x20]
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov dword [esp], eax
call edi
sub esp, 4
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
add esi, 0x28
mov dword [esp], esi
call fcn.00703510
lea eax, [ebp - 0x24]
mov dword [esp], eax
call fcn.0070479c
jmp 0x47fb1b
lea eax, [ebp - 0x20]
mov dword [esp], eax
call fcn.0070479c
jmp 0x47fb2c
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x10]
jmp 0x47fb4e
mov bl, 1
lea eax, [ebp - 0x138]
mov dword [esp], eax
call fcn.006668d4
mov al, bl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret