Function at 0x4b1c50
Capabilities:
Reference sql statements

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a76a0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x170
mov eax, dword [0x62700c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0xc]
mov edi, dword [ebx + 8]
mov esi, dword [ebx + 0x14]
mov dword [ebp - 4], 0
mov dword [ebp - 0xc0], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc4], 0
call fcn.00488470
push ecx
lea ecx, [ebp - 0x180]
mov dword [ebp - 0xc8], eax
call fcn.0041c300
mov edx, str.SELECT__FROM__bans__WHERE
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x170]
call fcn.004064c0
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x4b1d27
push eax
push ecx
mov edx, str._value__
lea ecx, [ebp - 0x170]
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov edx, 0x5d78f8
mov ecx, eax
call fcn.004064c0
test esi, esi
je 0x4b1d54
push esi
push ecx
mov edx, str._param__
lea ecx, [ebp - 0x170]
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov edx, str._AND
mov ecx, eax
call fcn.004064c0
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
push edx
push eax
push dword [ebp - 0xc0]
mov edx, str._type__
push ecx
lea ecx, [ebp - 0x170]
call fcn.004064c0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
mov edx, str._AND__active___1_AND___expires___
mov ecx, eax
call fcn.004064c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_long___int64__]
mov edx, str._OR__expires____0_
mov ecx, eax
call fcn.004064c0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xc4], 1
push eax
lea ecx, [ebp - 0x180]
call fcn.00404ef0
push eax
mov edx, dword [ebp - 0xc8]
mov ecx, edx
mov byte [ebp - 4], 2
mov eax, dword [edx]
mov eax, dword [eax + 0x1c]
call eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.00405b30
test esi, esi
je 0x4b2444
lea ecx, [ebp - 0xa0]
call fcn.0043d1f0
mov eax, 0x6469
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 2
mov word [ebp - 0x2c], ax
mov byte [ebp - 0x2a], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax]
call eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x98], eax
cmp ecx, 0x10
jb 0x4b1e7b
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b1e71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2471
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x2c], 0x65707974
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax]
call eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xa0], eax
cmp ecx, 0x10
jb 0x4b1ee2
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b1ed8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2471
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov eax, dword [0x5d7a58]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x2c], eax
mov al, byte [0x5d7a5c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 5
mov byte [ebp - 0x28], al
mov byte [ebp - 0x27], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax]
call eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x94], eax
cmp ecx, 0x10
jb 0x4b1f5d
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b1f53
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2471
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov eax, dword [0x5d7a50]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x2c], eax
mov al, byte [0x5d7a54]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 5
mov byte [ebp - 0x28], al
mov byte [ebp - 0x27], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax]
call eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x90], eax
cmp ecx, 0x10
jb 0x4b1fd8
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b1fce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2471
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov eax, dword [0x5d7994]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x2c], eax
mov ax, word [0x5d7998]
mov word [ebp - 0x28], ax
mov al, byte [0x5d799a]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 7
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x80], eax
cmp ecx, 0x10
jb 0x4b205b
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b2051
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2471
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov eax, dword [0x5d798c]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x2c], eax
mov al, byte [0x5d7990]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 5
mov byte [ebp - 0x28], al
mov byte [ebp - 0x27], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x8c], eax
cmp ecx, 0x10
jb 0x4b20d7
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b20cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2471
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov eax, dword [str.admin_id]
mov ecx, dword [0x5d79a8]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov byte [ebp - 0x24], 0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax]
call eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x88], eax
cmp ecx, 0x10
jb 0x4b2153
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b2149
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2471
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov eax, dword [0x5d799c]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x2c], eax
mov ax, word [0x5d79a0]
mov word [ebp - 0x28], ax
mov al, byte [0x5d79a2]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 7
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0x44]
push ecx
mov eax, dword [eax + 8]
mov ecx, esi
call eax
mov edi, eax
lea eax, [ebp - 0x7c]
cmp eax, edi
je 0x4b21d1
mov ecx, eax
call fcn.00405b30
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x6c], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [ebp - 0x44]
call fcn.00405b30
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x4b2211
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b2207
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2471
push ecx
push edx
call fcn.0045b34b
add esp, 8
push 6
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x5d79b8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00405890
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax]
call eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x84], eax
cmp ecx, 0x10
jb 0x4b2287
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b227d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2471
push ecx
push edx
call fcn.0045b34b
add esp, 8
push 6
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push 0x5d79b0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.00405890
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax]
call eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x9c], eax
cmp ecx, 0x10
jb 0x4b22fd
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b22f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2471
push ecx
push edx
call fcn.0045b34b
add esp, 8
movq xmm0, qword [0x5d79e8]
mov al, byte [0x5d79f0]
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 9
movq qword [ebp - 0x2c], xmm0
mov byte [ebp - 0x24], al
mov byte [ebp - 0x23], 0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x2c]
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0x44]
push ecx
mov eax, dword [eax + 8]
mov ecx, esi
call eax
mov edi, eax
lea eax, [ebp - 0x64]
cmp eax, edi
je 0x4b2376
mov ecx, eax
call fcn.00405b30
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x54], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x4b23aa
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b23a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2471
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0x10
jb 0x4b23f4
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b23ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b2471
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov edi, dword [ebp - 0xcc]
lea ecx, [ebp - 0xa0]
push ecx
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x4b2419
mov edx, eax
call fcn.0043d5d0
add esp, 4
add dword [edi + 4], 0x54
jmp 0x4b2421
push eax
mov ecx, edi
call fcn.0043d3e0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x4b1e0b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x10]
lea ecx, [ebp - 0xa0]
call fcn.0043d260
lea ecx, [ebp - 0x180]
call fcn.0041c440
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045ad9e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3