Function at 0x4b3ca0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7ab6
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x62700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
jne 0x4b3cdb
xor al, al
jmp 0x4b3f2c
call fcn.00488470
push ecx
lea ecx, [ebp - 0xf8]
mov esi, eax
call fcn.0041c300
push 1
mov edx, str.SELECT__id____value____param____expires__FROM__bans__WHERE__type__
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xe8]
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___int_]
mov edx, 0x5d5874
mov ecx, eax
call fcn.004064c0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00404ef0
mov byte [ebp - 4], 1
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x1c]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.00405b30
xor bl, bl
test esi, esi
je 0x4b3f1f
nop
mov eax, dword [0x5d7258]
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x28], eax
mov al, byte [0x5d725c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 5
mov byte [ebp - 0x24], al
mov byte [ebp - 0x23], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
cmp ecx, 0x10
jb 0x4b3dc6
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b3dbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b3f4a
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov eax, dword [0x5d7250]
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x28], eax
mov al, byte [0x5d7254]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 5
mov byte [ebp - 0x24], al
mov byte [ebp - 0x23], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
mov byte [ebp - 4], 0
mov edi, eax
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x4b3e3b
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b3e31
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b3f4a
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov ecx, edi
mov eax, edi
and ecx, dword [ebp - 0x48]
and eax, dword [ebp + 8]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0xc]
cmp eax, ecx
jne 0x4b3f07
mov eax, dword [0x5d5a74]
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x28], eax
mov ax, word [0x5d5a78]
mov word [ebp - 0x24], ax
mov al, byte [0x5d5a7a]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 7
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x44], eax
cmp ecx, 0x10
jb 0x4b3ed9
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4b3ecc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b3f4a
push ecx
push edx
call fcn.0045b34b
mov eax, dword [ebp - 0x44]
add esp, 8
test eax, eax
jle 0x4b3ef8
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
cmp dword [ebp - 0x44], eax
jg 0x4b3ef8
push edi
push dword [ebp - 0x48]
call fcn.004b3430
jmp 0x4b3f07
test bl, bl
movzx eax, bl
mov ecx, 1
cmove eax, ecx
mov bl, al
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x4b3d50
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x10]
lea ecx, [ebp - 0xf8]
call fcn.0041c440
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ad9e
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3