Function at 0x428790
Capabilities:
Check for time delay via gettickcount
Reference sql statements

Disassembly:
mov eax, dword [0x476ecf4]
sub esp, 0x848
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x4287b0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x848
ret
lea eax, [esp + 0x30]
push 0
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.004265e0
add esp, 0x24
test eax, eax
jne 0x4287f1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x848
ret
push 0x46054d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x516f90]
xor ebp, ebp
mov edx, dword [ecx]
call dword [edx + 0x14]
mov esi, dword [esp + 0x85c]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x34]
push 0x476ed38
push ecx
push 0x476ed38
push esi
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
call edi
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push eax
push 0x476ed38
push 0x476ed38
push 0x476ed38
lea edx, [esp + 0xb0]
push str.UPDATE_GATC__sBADGE_SET_GATC__sBADGE.datiextraX__GATC__sBADGE.cpccchk_010lu_FROM_GATC__sBADGE_JOIN_codd__ssubject15_ON_codd__ssubject15.idcompanyGATC__sBADGE.idcompany_AND_codd__ssubject15.idsubjectGATC__sBADGE.idsubject_AND_codd__ssubject15.idsystemGATC__sBADGE.idsystem_AND_codd__ssubject15.idticketGATC__sBADGE.idticket_AND_codd__ssubject15.dtactivatGATC__sBADGE.dtactivat_WHERE_GATC__sBADGE.hextessera_s_AND_codd__ssubject15.dtactivat__s_AND_codd__ssubject15.dtexpirat__s
push edx
call ebx
push str.Oracle
push 0x517fac
call fcn.0045f6d0
add esp, 0x68
test eax, eax
je 0x42891e
call edi
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x38]
push 0x476ed38
push ecx
push 0x476ed38
push esi
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
lea edx, [esp + 0xac]
push str.UPDATE__SELECT_GATC__sBADGE.datiextra_GATC__sBADGE.cpccchk_FROM_GATC__sBADGE_JOIN_codd__ssubject15_ON_codd__ssubject15.idcompanyGATC__sBADGE.idcompany_AND_codd__ssubject15.idsubjectGATC__sBADGE.idsubject_AND_codd__ssubject15.idsystemGATC__sBADGE.idsystem_AND_codd__ssubject15.idticketGATC__sBADGE.idticket_AND_codd__ssubject15.dtactivatGATC__sBADGE.dtactivat_WHERE_GATC__sBADGE.hextessera_s_AND_codd__ssubject15.dtactivat__s_AND_codd__ssubject15.dtexpirat__s__t_SETt.datiextraX_t.cpccchk_010lu
push edx
call ebx
add esp, 0x5c
push str.PostgreSQL
push 0x517fac
call fcn.0045f6d0
add esp, 8
test eax, eax
je 0x42899f
lea eax, [esp + 0x30]
lea ecx, [esp + 0x30]
push eax
push 0x476ed38
push ecx
push 0x476ed38
push esi
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
call edi
push eax
push 0x476ed38
lea edx, [esp + 0xa4]
push str.UPDATE_GATC__sBADGE_SETdatiextraX_cpccchk_010lu_FROM_codd__ssubject15_WHERE_codd__ssubject15.idcompanyGATC__sBADGE.idcompany_AND_codd__ssubject15.idsubjectGATC__sBADGE.idsubject_AND_codd__ssubject15.idsystemGATC__sBADGE.idsystem_AND_codd__ssubject15.idticketGATC__sBADGE.idticket_AND_codd__ssubject15.dtactivatGATC__sBADGE.dtactivat_AND_GATC__sBADGE.hextessera_s_AND_codd__ssubject15.dtactivat__s_AND_codd__ssubject15.dtexpirat__s
push edx
call ebx
add esp, 0x54
push str.MySQL
push 0x517fac
call fcn.0045f6d0
add esp, 8
test eax, eax
je 0x428a2a
lea eax, [esp + 0x30]
lea ecx, [esp + 0x30]
push eax
push 0x476ed38
push ecx
push 0x476ed38
push esi
push 0x476ed38
call edi
push eax
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
lea edx, [esp + 0xac]
push str.UPDATE_GATC__sBADGE_JOIN_codd__ssubject15_ON_codd__ssubject15.idcompanyGATC__sBADGE.idcompany_AND_codd__ssubject15.idsubjectGATC__sBADGE.idsubject_AND_codd__ssubject15.idsystemGATC__sBADGE.idsystem_AND_codd__ssubject15.idticketGATC__sBADGE.idticket_AND_codd__ssubject15.dtactivatGATC__sBADGE.dtactivat_SETGATC__sBADGE.datiextraX_GATC__sBADGE.cpccchk_010lu_WHERE_GATC__sBADGE.hextessera_s_AND_codd__ssubject15.dtactivat__s_AND_codd__ssubject15.dtexpirat___s
push edx
call ebx
add esp, 0x5c
sub esp, 0x10
lea eax, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00445210
mov ecx, dword [0x516f90]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, dword [0x516f90]
cmp eax, 1
jne 0x428a5f
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ebp, 1
jmp 0x428a64
mov edx, dword [ecx]
call dword [edx + 0x1c]
push 0x46054d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x848
ret