Function at 0x40bed0
Capabilities:
Reference sql statements

Disassembly:
mov eax, dword [0x476ecf4]
sub esp, 0x814
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x40bef0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x814
ret
push 0x46054d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x476ed38
mov eax, ecx
mov esi, edi
mov edi, 0x518fcc
push str.SELECT_antipassback_istosendoutput_istocheckmax_ischeckmaxpermode_installazione_nreentertime_nreenteracctime_typelettav_securelettav_badgewriterparms_flnotforcedstmtlog_nmaxreceiving_FROM_GATG__sPARAGENE_WHERE_idparms1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x24]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, eax
xor eax, eax
test ebx, ebx
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x40c119
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x24]
test al, al
jne 0x40c119
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x10]
call fcn.0045f9d8
mov dword [0x523fb0], eax
mov edx, dword [ebx]
push 2
mov ecx, ebx
call dword [edx + 0x10]
call fcn.0045f9d8
mov dword [0x559cd8], eax
mov eax, dword [ebx]
push 3
mov ecx, ebx
call dword [eax + 0x10]
call fcn.0045f9d8
mov dword [0x5187ac], eax
mov edx, dword [ebx]
push 4
mov ecx, ebx
call dword [edx + 0x10]
call fcn.0045f9d8
lea ecx, [esp + 0x10]
mov dword [0x518fc8], eax
mov eax, dword [ebx]
push 5
push ecx
mov ecx, ebx
call dword [eax + 0x14]
mov edi, dword [eax + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x5187b0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00445280
mov ebp, dword [sym.imp.SHLWAPI.dll_StrTrimA]
push 0x46e08c
push 0x5187b0
call ebp
mov eax, dword [ebx]
push 6
mov ecx, ebx
call dword [eax + 0x10]
call fcn.0045f9d8
mov dword [0x476edc8], eax
mov edx, dword [ebx]
push 7
mov ecx, ebx
call dword [edx + 0x10]
call fcn.0045f9d8
lea ecx, [esp + 0x10]
mov dword [0x476edcc], eax
mov eax, dword [ebx]
push 8
push ecx
mov ecx, ebx
call dword [eax + 0x14]
mov edi, dword [eax + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x4602cb0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00445280
push 0x46e08c
push 0x4602cb0
call ebp
mov eax, dword [ebx]
push 9
mov ecx, ebx
call dword [eax + 0x10]
call fcn.0045f9d8
mov dword [0x46054d0], eax
mov edx, dword [ebx]
lea eax, [esp + 0x10]
push 0xa
push eax
mov ecx, ebx
call dword [edx + 0x14]
mov edi, dword [eax + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x518fcc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00445280
push 0x46e08c
push 0x518fcc
call ebp
mov eax, dword [ebx]
push 0xb
mov ecx, ebx
call dword [eax + 0x10]
call fcn.0045f9d8
mov dword [0x60b8ad8], eax
mov edx, dword [ebx]
push 0xc
mov ecx, ebx
call dword [edx + 0x10]
call fcn.0045f9d8
mov dword [0x476edc4], eax
mov eax, dword [ebx]
mov ecx, ebx
mov ebp, 1
call dword [eax + 0x1c]
test ebx, ebx
je 0x40c119
mov edx, dword [ebx]
push ebp
mov ecx, ebx
call dword [edx]
push 0x46054d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x814
ret