Function at 0x41b1d0
Capabilities:
Check for time delay via gettickcount
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x46a8e0
push eax
mov eax, 0x4d750
mov dword fs:[0], esp
call fcn.0045ec70
mov eax, dword [0x476ecf4]
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov dword [esp + 0x98], ebx
je 0x41b20c
xor eax, eax
jmp 0x4205b8
mov ebp, dword [esp + 0x4d780]
mov edi, 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0x10c], 0xf
mov dword [esp + 0x68], ebx
mov esi, str.ISFROMFILE
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41b26c
test cl, cl
je 0x41b268
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41b26c
add eax, 2
add esi, 2
test cl, cl
jne 0x41b248
xor eax, eax
jmp 0x41b271
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x41b29b
mov dword [esp + 0x68], edi
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebp, dword [esp + 0x4d778]
push 0xa
lea edx, [esp + 0x48]
lea ecx, [ebp + 0xc]
push ecx
push edx
call fcn.0045eb70
mov eax, dword [esp + 0x4d788]
add esp, 0xc
cmp eax, ebx
mov byte [esp + 0x4e], 0
je 0x41b2e4
movsx eax, byte [ebp + 5]
movsx ecx, byte [ebp + 4]
push eax
push ecx
lea edx, [esp + 0x30]
push str.:_c_c
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x41b350
movsx eax, byte [ebp + 0x26]
push eax
push str.012345
call fcn.0045f5d0
add esp, 8
test eax, eax
je 0x41b32a
movsx ecx, byte [ebp + 0x27]
push ecx
push str.0123456789
call fcn.0045f5d0
add esp, 8
test eax, eax
je 0x41b32a
mov dl, byte [ebp + 0x26]
mov al, byte [ebp + 0x27]
mov byte [esp + 0x28], 0x3a
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], 0
jmp 0x41b350
mov edi, 0x47a824
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x476030
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1ac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebx, [ebp + 0x16]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0xa
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
mov dword [esp + 0x58], ebx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1b6]
push ecx
call fcn.0045eb70
lea edx, [esp + 0x35]
push 2
lea eax, [esp + 0x1c8]
push edx
push eax
call fcn.0045eb70
mov edi, str.2000_01_01_00:00:00
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x88]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.SQL_Server
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x517fac
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov byte [esp + 0x1da], 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0045f6d0
add esp, 0x20
test eax, eax
jne 0x41b401
push str.SQL_Native_Client
push 0x517fac
call fcn.0045f6d0
add esp, 8
test eax, eax
je 0x41b451
movsx edx, byte [ebp + 0x1f]
movsx eax, byte [ebp + 0x1e]
lea ecx, [esp + 0x28]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push ecx
push edx
movsx ecx, byte [ebp + 0x1d]
movsx edx, byte [ebp + 0x1c]
push eax
push ecx
movsx eax, byte [ebp + 0x17]
movsx ecx, byte [ebx]
push edx
push eax
movsx edx, byte [ebp + 0x19]
movsx eax, byte [ebp + 0x18]
push ecx
push edx
movsx ecx, byte [ebp + 0x1b]
movsx edx, byte [ebp + 0x1a]
push eax
push ecx
push edx
lea eax, [esp + 0x9c]
push str._c_c__c_c_20_c_c__c_c:_c_c_s
push eax
call esi
add esp, 0x34
jmp 0x41b457
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push str.PostgreSQL
push 0x517fac
call fcn.0045f6d0
add esp, 8
test eax, eax
je 0x41b4b5
movsx edx, byte [ebp + 0x1f]
movsx eax, byte [ebp + 0x1e]
lea ecx, [esp + 0x28]
push ecx
push edx
movsx ecx, byte [ebp + 0x1d]
movsx edx, byte [ebp + 0x1c]
push eax
push ecx
movsx eax, byte [ebp + 0x1b]
movsx ecx, byte [ebp + 0x1a]
push edx
push eax
movsx edx, byte [ebp + 0x19]
movsx eax, byte [ebp + 0x18]
push ecx
push edx
movsx ecx, byte [ebp + 0x17]
movsx edx, byte [ebx]
push eax
push ecx
push edx
lea eax, [esp + 0x9c]
push str.20_c_c__c_c__c_c__c_c:_c_c_s
push eax
call esi
add esp, 0x34
push str.Oracle
push 0x517fac
call fcn.0045f6d0
add esp, 8
test eax, eax
je 0x41b513
movsx edx, byte [ebp + 0x1f]
movsx eax, byte [ebp + 0x1e]
lea ecx, [esp + 0x28]
push ecx
push edx
movsx ecx, byte [ebp + 0x1d]
movsx edx, byte [ebp + 0x1c]
push eax
push ecx
movsx eax, byte [ebp + 0x1b]
movsx ecx, byte [ebp + 0x1a]
push edx
push eax
movsx edx, byte [ebp + 0x19]
movsx eax, byte [ebp + 0x18]
push ecx
push edx
movsx ecx, byte [ebp + 0x17]
movsx edx, byte [ebx]
push eax
push ecx
push edx
lea eax, [esp + 0x9c]
push str.timestamp20_c_c__c_c__c_c__c_c:_c_c_s
push eax
call esi
add esp, 0x34
push str.MySQL
push 0x517fac
call fcn.0045f6d0
add esp, 8
test eax, eax
je 0x41b571
movsx edx, byte [ebp + 0x1f]
movsx eax, byte [ebp + 0x1e]
lea ecx, [esp + 0x28]
push ecx
push edx
movsx ecx, byte [ebp + 0x1d]
movsx edx, byte [ebp + 0x1c]
push eax
push ecx
movsx eax, byte [ebp + 0x1b]
movsx ecx, byte [ebp + 0x1a]
push edx
push eax
movsx edx, byte [ebp + 0x19]
movsx eax, byte [ebp + 0x18]
push ecx
push edx
movsx ecx, byte [ebp + 0x17]
movsx edx, byte [ebx]
push eax
push ecx
push edx
lea eax, [esp + 0x9c]
push 0x47a784
push eax
call esi
add esp, 0x34
mov eax, dword [esp + 0x4d77c]
mov esi, dword [esp + 0x4d774]
mov ebx, dword [esp + 0x4d770]
test eax, eax
jne 0x41b691
lea eax, [ebx + ebx*2]
lea ecx, [eax + eax*8]
lea eax, [ebx + ecx*8]
lea edx, [eax + eax*2]
lea eax, [ebx + edx*2]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
shl eax, 2
mov dword [esp + 0x14], eax
mov dword [eax + 0x65743c], 0
mov ecx, dword [eax + 0x6585fc]
cmp ecx, 2
jne 0x41b691
mov ecx, dword [eax + 0x65717c]
test ecx, ecx
je 0x41b691
lea ecx, [esp + 0x112]
lea edx, [esp + 0x11a]
push ecx
lea eax, [esp + 0x74]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
push esi
push ebx
call fcn.00421520
add esp, 0x18
test eax, eax
je 0x41b691
mov edi, 0x471e68
lea esi, [esp + 0x11a]
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x41b631
test al, al
je 0x41b62d
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x41b631
add esi, 2
add edi, 2
test al, al
jne 0x41b609
xor eax, eax
jmp 0x41b636
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41b67e
mov edi, 0x470e70
lea esi, [esp + 0x112]
mov dl, byte [esi]
mov cl, byte [edi]
mov al, dl
cmp dl, cl
jne 0x41b66e
test al, al
je 0x41b66a
mov cl, byte [esi + 1]
mov dl, byte [edi + 1]
mov al, cl
cmp cl, dl
jne 0x41b66e
add esi, 2
add edi, 2
test al, al
jne 0x41b646
xor eax, eax
jmp 0x41b673
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41b67e
mov eax, 1
jmp 0x41b680
xor eax, eax
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x4d774]
mov dword [edx + 0x65743c], eax
lea eax, [ebx + ebx*2]
lea eax, [eax + eax*8]
lea eax, [ebx + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebx + ecx*2]
lea edx, [eax + eax*4]
lea esi, [esi + edx*8]
shl esi, 2
mov dword [esp + 0x14], esi
mov eax, dword [esi + 0x6585fc]
cmp eax, 1
je 0x41b6d1
cmp eax, 2
jne 0x41b6c7
mov eax, dword [esi + 0x65743c]
test eax, eax
jne 0x41b6d1
mov dword [esp + 0x30], 0
jmp 0x41b6d9
mov dword [esp + 0x30], 1
lea eax, [ebp + 6]
push 4
lea ecx, [esp + 0x5c]
push eax
push ecx
call fcn.0045eb70
mov edx, dword [esp + 0x5c]
push 6
lea eax, [esp + 0x14c]
push edx
push eax
mov byte [esp + 0x74], 0
call fcn.0045eb70
lea eax, [ebp + 0x1c]
push 4
lea ecx, [esp + 0x110]
push eax
push ecx
mov byte [esp + 0x166], 0
call fcn.0045eb70
lea eax, [ebp + 0xa]
mov byte [esp + 0x11c], 0x30
push eax
mov byte [esp + 0x121], 0x30
mov byte [esp + 0x122], 0
call fcn.0045a970
push eax
lea edx, [esp + 0x3e]
push 0x47a780
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x4d7b0]
add esp, 0x34
test eax, eax
je 0x41b78d
mov eax, dword [esi + 0x658b7c]
test eax, eax
je 0x41b78d
mov edi, 0x47a77c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x12]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x477694
lea esi, [esp + 0x12]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x41b7be
test al, al
je 0x41b7ba
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x41b7be
add esi, 2
add edi, 2
test al, al
jne 0x41b796
xor eax, eax
jmp 0x41b7c3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41b8a2
lea eax, [ebx + ebx*2]
mov dword [esp + 0x2c], 1
mov edi, 0x514f20
lea eax, [eax + eax*8]
lea eax, [ebx + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebx + ecx*2]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x4d774]
shl edx, 4
add edx, eax
lea ecx, [edx*2 + 0x655c3c]
mov esi, ecx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x41b823
test al, al
je 0x41b81f
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x41b823
add esi, 2
add edi, 2
test al, al
jne 0x41b7ff
xor eax, eax
jmp 0x41b828
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41b849
mov edx, dword [esp + 0x4d774]
lea eax, [esp + 0x12]
lea ecx, [esp + 0x58]
push eax
push ecx
push edx
push ebx
call fcn.0041a940
add esp, 0x10
jmp 0x41b86c
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x12]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x4d77c]
lea edx, [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x4d778]
lea eax, [esp + 0x5c]
push edx
push eax
push ecx
push ebx
call fcn.0041a6d0
add esp, 0x14
test eax, eax
jne 0x41b8a2
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x41b8a2
xor eax, eax
jmp 0x4205b8
lea eax, [ebx + ebx*2]
lea edi, [esp + 0x12]
or ecx, 0xffffffff
lea edx, [eax + eax*8]
lea eax, [ebx + edx*8]
mov edx, dword [esp + 0x4d774]
lea eax, [eax + eax*2]
lea eax, [ebx + eax*2]
lea eax, [eax + eax*4]
shl eax, 4
add eax, edx
shl eax, 1
mov dword [esp + 0xe0], eax
lea edx, [eax + 0x655c3c]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp + 0xa]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0045a970
lea ecx, [ebp + 0x20]
push 6
lea edx, [esp + 0x3c]
push ecx
push edx
mov byte [esp + 0x21], al
call fcn.0045eb70
mov eax, dword [esp + 0x4d78c]
add esp, 0x10
test eax, eax
mov byte [esp + 0x3a], 0
je 0x41b933
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x6755c8]
test ecx, ecx
je 0x41b933
mov byte [esp + 0x34], 0x50
mov eax, dword [esp + 0x30]
test eax, eax
je 0x41bb0d
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x128]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x6585fc]
dec eax
je 0x41ba44
dec eax
jne 0x41bb0d
lea eax, [ebx + ebx*2]
push 0x46e08c
lea edx, [eax + eax*8]
lea eax, [ebx + edx*8]
lea eax, [eax + eax*2]
lea eax, [ebx + eax*2]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x4d778]
shl ecx, 5
lea edx, [eax + eax*4]
lea eax, [eax + edx*8]
lea edx, [esp + 0x2f8]
lea edi, [ecx + eax + 0x65781c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0x2f8]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
lea edx, [esp + 0x1320]
lea eax, [esp + 0x2f4]
push edx
push 0xa
push 0x30
push eax
push 0
call fcn.0045ab10
lea edi, [esp + 0x1334]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x128]
mov edi, ecx
lea ecx, [esp + 0x1320]
sub ecx, 0xa
add edi, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x41bb0d
lea eax, [ebx + ebx*2]
mov edi, 0x46f4c0
lea ecx, [eax + eax*8]
lea eax, [ebx + ecx*8]
lea edx, [eax + eax*2]
lea eax, [ebx + edx*2]
lea esi, [eax + eax*4]
shl esi, 5
add esi, 0x6439f7
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x41ba8c
test al, al
je 0x41ba88
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x41ba8c
add esi, 2
add edi, 2
test al, al
jne 0x41ba64
xor eax, eax
jmp 0x41ba91
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41babd
lea edi, [esp + 0x44]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x128]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x41bb0d
lea ecx, [esp + 0x46]
push ecx
call fcn.0045a970
lea edx, [esp + 0x4c]
mov esi, eax
push edx
shl esi, 8
call fcn.0045a970
add esi, eax
lea eax, [esp + 0x52]
push eax
shl esi, 8
call fcn.0045a970
lea ecx, [esp + 0x58]
add esi, eax
push ecx
shl esi, 8
call fcn.0045a970
add esi, eax
lea edx, [esp + 0x138]
push esi
push str._010ld
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
cmp byte [esp + 0x34], 0x44
jne 0x41bb42
lea eax, [esp + 0x12]
lea ecx, [esp + 0x70]
push eax
mov eax, dword [esp + 0x4d778]
lea edx, [esp + 0x48]
push ecx
push edx
push eax
push ebx
call fcn.00425fb0
add esp, 0x14
test eax, eax
je 0x41bb42
mov eax, 1
jmp 0x4205b8
mov eax, dword [esp + 0x4d77c]
test eax, eax
jne 0x41bbc6
mov esi, dword [esp + 0x4d774]
lea ecx, [esp + 0x70]
lea edx, [esp + 0x58]
push ecx
push edx
push esi
push ebx
call fcn.00425d60
add esp, 0x10
test eax, eax
je 0x41bbcd
mov eax, dword [esp + 0x50]
push 0xa
lea ecx, [esp + 0x120]
push eax
push ecx
call fcn.0045eb70
lea edx, [esp + 0x128]
lea eax, [esp + 0x64]
push edx
push eax
lea ecx, [esp + 0x1334]
push str.YAC:__s__s
push ecx
mov byte [esp + 0x142], 0
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x133c]
push edx
push esi
push ebx
push 7
call fcn.00457a90
add esp, 0x2c
mov eax, 1
jmp 0x4205b8
mov esi, dword [esp + 0x4d774]
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x28]
push eax
push ecx
push esi
push ebx
call fcn.0045c360
add esp, 0x10
test eax, eax
jne 0x41be53
push ebp
push str.outdate.txt
call fcn.00407910
mov edx, dword [esp + 0x58]
push 0xa
push str.0001010000
push edx
call fcn.0045eb70
push 2
lea eax, [ebp + 0x26]
push 0x46f4b4
push eax
call fcn.0045eb70
lea eax, [ebx + ebx*2]
mov edi, str.000101000000
push str.SQL_Server
push 0x517fac
lea ecx, [eax + eax*8]
lea eax, [ebx + ecx*8]
lea edx, [eax + eax*2]
lea eax, [ebx + edx*2]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x4d79c]
shl ecx, 5
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
lea edx, [ecx + eax + 0x655c9c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x50]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x47a824
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x98]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.01_01_2000_00:00:00
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0045f6d0
add esp, 0x28
test eax, eax
jne 0x41bcdb
push str.SQL_Native_Client
push 0x517fac
call fcn.0045f6d0
add esp, 8
test eax, eax
je 0x41bd2f
movsx edx, byte [ebp + 0x1f]
movsx eax, byte [ebp + 0x1e]
mov esi, dword [esp + 0x50]
lea ecx, [esp + 0x28]
push ecx
push edx
movsx ecx, byte [ebp + 0x1d]
movsx edx, byte [ebp + 0x1c]
push eax
push ecx
movsx eax, byte [ebp + 0x17]
movsx ecx, byte [esi]
push edx
push eax
movsx edx, byte [ebp + 0x19]
movsx eax, byte [ebp + 0x18]
push ecx
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
movsx ecx, byte [ebp + 0x1b]
push edx
push eax
movsx edx, byte [ebp + 0x1a]
push ecx
push edx
lea eax, [esp + 0x9c]
push str._c_c__c_c_20_c_c__c_c:_c_c_s
push eax
call edi
add esp, 0x34
jmp 0x41bd39
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [esp + 0x50]
push str.PostgreSQL
push 0x517fac
call fcn.0045f6d0
add esp, 8
test eax, eax
je 0x41bd97
movsx edx, byte [ebp + 0x1f]
movsx eax, byte [ebp + 0x1e]
lea ecx, [esp + 0x28]
push ecx
push edx
movsx ecx, byte [ebp + 0x1d]
movsx edx, byte [ebp + 0x1c]
push eax
push ecx
movsx eax, byte [ebp + 0x1b]
movsx ecx, byte [ebp + 0x1a]
push edx
push eax
movsx edx, byte [ebp + 0x19]
movsx eax, byte [ebp + 0x18]
push ecx
push edx
movsx ecx, byte [ebp + 0x17]
movsx edx, byte [esi]
push eax
push ecx
push edx
lea eax, [esp + 0x9c]
push str.20_c_c__c_c__c_c__c_c:_c_c_s
push eax
call edi
add esp, 0x34
push str.Oracle
push 0x517fac
call fcn.0045f6d0
add esp, 8
test eax, eax
je 0x41bdf5
movsx edx, byte [ebp + 0x1f]
movsx eax, byte [ebp + 0x1e]
lea ecx, [esp + 0x28]
push ecx
push edx
movsx ecx, byte [ebp + 0x1d]
movsx edx, byte [ebp + 0x1c]
push eax
push ecx
movsx eax, byte [ebp + 0x1b]
movsx ecx, byte [ebp + 0x1a]
push edx
push eax
movsx edx, byte [ebp + 0x19]
movsx eax, byte [ebp + 0x18]
push ecx
push edx
movsx ecx, byte [ebp + 0x17]
movsx edx, byte [esi]
push eax
push ecx
push edx
lea eax, [esp + 0x9c]
push str.timestamp20_c_c__c_c__c_c__c_c:_c_c_s
push eax
call edi
add esp, 0x34
push str.MySQL
push 0x517fac
call fcn.0045f6d0
add esp, 8
test eax, eax
je 0x41be53
movsx edx, byte [ebp + 0x1f]
movsx eax, byte [ebp + 0x1e]
lea ecx, [esp + 0x28]
push ecx
push edx
movsx ecx, byte [ebp + 0x1d]
movsx edx, byte [ebp + 0x1c]
push eax
push ecx
movsx eax, byte [ebp + 0x1b]
movsx ecx, byte [ebp + 0x1a]
push edx
push eax
movsx edx, byte [ebp + 0x19]
movsx eax, byte [ebp + 0x18]
push ecx
push edx
movsx ecx, byte [ebp + 0x17]
movsx edx, byte [esi]
push eax
push ecx
push edx
lea eax, [esp + 0x9c]
push 0x47a784
push eax
call edi
add esp, 0x34
push 0x46054d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x516f90]
mov dword [esp + 0x1c], 0
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x65733c]
test ecx, ecx
jne 0x41f392
mov ecx, dword [eax + 0x658b7c]
test ecx, ecx
jne 0x41c437
mov ecx, dword [eax + 0x67254c]
test ecx, ecx
je 0x41c437
mov al, byte [esp + 0x11]
cmp al, 0x30
je 0x41beb3
cmp al, 0x31
je 0x41beb3
cmp al, 0x32
jne 0x41c437
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
lea ecx, [esp + 0x94]
push 0x476ed38
push ecx
lea edx, [esp + 0x9c]
push 0x476ed38
push edx
lea eax, [esp + 0x78]
push 0x476ed38
push eax
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
lea ecx, [esp + 0x37c]
push str.SELECT_GATC__sBADGE.flenabsca_GATC__sBADGE.fldailysca_GATC__sBADGE.flonlyentsca_GATC__sBADGE.numsca_GATC__sBADGE.datsca_FROM_GATC__sBADGE__codd__ssubject15_WHERE_GATC__sBADGE.hextessera_s_AND_codd__ssubject15.dtactivat__s_AND_codd__ssubject15.dtexpirat__s_AND_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
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x64
lea edx, [esp + 0x320]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
xor eax, eax
test esi, esi
sete al
test eax, eax
mov dword [esp + 0x20], esi
mov dword [0x476ecf4], eax
jne 0x41c0a5
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
test al, al
jne 0x41c0a5
mov al, byte [esi + 4]
test al, al
jne 0x41c08e
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x10]
call fcn.0045f9d8
mov edx, dword [esi]
push 2
mov ecx, esi
mov dword [esp + 0x28], eax
call dword [edx + 0x10]
call fcn.0045f9d8
mov dword [esp + 0x18], eax
mov eax, dword [esi]
push 3
mov ecx, esi
call dword [eax + 0x10]
call fcn.0045f9d8
mov edx, dword [esi]
push 4
mov ecx, esi
mov dword [esp + 0xa0], eax
call dword [edx + 0x10]
call fcn.0045f9d8
lea ecx, [esp + 0x168]
mov dword [esp + 0x40], eax
mov eax, dword [esi]
push 5
push ecx
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [eax + 4]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2b20]
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0x168]
call fcn.00445280
mov edi, 0x514f20
lea esi, [esp + 0x2b20]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x41c05e
test al, al
je 0x41c05a
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x41c05e
add esi, 2
add edi, 2
test al, al
jne 0x41c036
xor eax, eax
jmp 0x41c063
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41c08e
mov edi, str.2000_01_01_00:00:00.000
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x2b20]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x20]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x1c]
test esi, esi
je 0x41c0a5
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [esp + 0x4d77c]
test eax, eax
jne 0x41c0bb
cmp byte [esp + 0x34], 0x46
je 0x41c2cd
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x34], 0x54
test ecx, ecx
jne 0x41c2cd
mov esi, dword [esp + 0x9c]
test esi, esi
je 0x41c0e2
cmp byte [esp + 0x11], 0x30
jne 0x41c2cd
test eax, eax
je 0x41c0f2
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + 0x67264c]
jmp 0x41c0f4
xor edi, edi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x41c2a8
test eax, eax
jne 0x41c2a8
mov edx, dword [esp + 0x50]
push 2
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0045eb70
lea ecx, [ebp + 0x18]
push 2
lea edx, [esp + 0x30]
push ecx
push edx
mov byte [esp + 0x3e], 0
call fcn.0045eb70
add ebp, 0x1a
push 2
lea eax, [esp + 0xb8]
push ebp
push eax
mov byte [esp + 0x46], 0
call fcn.0045eb70
push 0x46f4b4
push 0x46f4b4
lea ecx, [esp + 0xc8]
push 0x46f4b4
lea edx, [esp + 0x50]
push ecx
lea eax, [esp + 0x58]
push edx
push eax
lea ecx, [esp + 0x335c]
push 0x476030
push ecx
mov byte [esp + 0xe2], 0
call fcn.00414fa0
add esp, 0x44
lea edx, [esp + 0x9c]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
push 0x47602c
push 0x47602c
push 0x476028
push edx
push eax
push ecx
lea edx, [esp + 0x1b38]
push 0x476030
push edx
call fcn.00414fa0
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
lea eax, [esp + 0x1b58]
push 0x476ed38
push eax
mov eax, esi
neg eax
sbb eax, eax
lea ecx, [esp + 0x3360]
push 0x476ed38
and al, 0xfe
push ecx
lea edx, [esp + 0x8c]
push 0x476ed38
add eax, 2
xor ecx, ecx
push edx
test esi, esi
push 0x476ed38
push eax
sete cl
push 0x476ed38
push ecx
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push str.SELECT_GATC__sTRANS.idtrans_FROM_GATC__sTRANS__GATD__sDEVICE_WHERE__GATC__sTRANS.versus0_OR_GATC__sTRANS.versus_d_OR_GATC__sTRANS.versus_d__AND_GATC__sTRANS.badge_s_AND_GATC__sTRANS.datora__s_AND_GATC__sTRANS.datora__s_AND_GATC__sTRANS.kcomGATD__sDEVICE.idkcom_AND_GATC__sTRANS.channelGATD__sDEVICE.cntchannel_AND_GATC__sTRANS.deviceGATD__sDEVICE.iddevice_AND_GATD__sDEVICE.flcater1
lea edx, [esp + 0x398]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x7c
lea eax, [esp + 0x320]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00445210
mov ecx, dword [0x516f90]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov esi, eax
xor eax, eax
test esi, esi
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x41c2a8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
test al, al
jne 0x41c2a8
mov al, byte [esi + 4]
test al, al
jne 0x41c295
mov edi, 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
test esi, esi
je 0x41c2a8
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
test edi, edi
jne 0x41c2cd
mov eax, dword [esp + 0x40]
test eax, eax
jle 0x41c2c8
dec eax
mov dword [esp + 0x6c], 1
mov dword [esp + 0x40], eax
mov byte [esp + 0x34], 0x53
jmp 0x41c2cd
mov byte [esp + 0x34], 0x52
lea ecx, [esp + 0xe4]
lea edx, [esp + 0x2b20]
push ecx
push edx
call fcn.0045cb50
add esp, 8
mov edx, dword [esp + 0xe4]
lea eax, [esp + 0x2b20]
push eax
mov eax, dword [esp + 0xec]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x100]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x104]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.0045ccb0
mov eax, dword [esp + 0x80]
add esp, 0x14
test eax, eax
je 0x41c437
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xee]
mov eax, dword [esp + 0xec]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0xee]
and eax, 0xffff
push edx
mov edx, dword [esp + 0xee]
push eax
mov eax, dword [esp + 0xf0]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
mov ecx, 0x64
cdq
idiv ecx
push edx
lea edx, [esp + 0x4b38]
push str._02d_02d_02d_02d_02d_02d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x70]
push 0xa
lea ecx, [esp + 0x1b44]
push eax
push ecx
call fcn.0045eb70
lea edx, [esp + 0x55]
push 2
lea eax, [esp + 0x1b5a]
push edx
push eax
call fcn.0045eb70
add esp, 0x38
mov byte [esp + 0x1b2c], 0
lea edi, [esp + 0x1b20]
lea esi, [esp + 0x4b20]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x41c406
test al, al
je 0x41c402
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x41c406
add esi, 2
add edi, 2
test al, al
jne 0x41c3de
xor eax, eax
jmp 0x41c40b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jge 0x41c437
lea edi, [esp + 0x70]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2b20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
mov edi, 0x514f20
xor eax, eax
lea edx, [esp + 0xa0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x46f4b4
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x148]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x46f4b4
rep movsb byte es:[edi], byte [esi]
mov edi, 0x514f20
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x46f4b4
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x48]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x46f4b0
rep movsb byte es:[edi], byte [esi]
mov edi, 0x514f20
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x46f4b0
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x270]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x46f4b4
rep movsb byte es:[edi], byte [esi]
mov edi, 0x514f20
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x476030
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0x2a4]
push ecx
call fcn.00414fa0
mov edi, 0x476030
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x208]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0xa
and ecx, 3
lea edx, [esp + 0x20c]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x74]
push ecx
push edx
call fcn.0045f7f0
lea edi, [esp + 0x55]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x2c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1e8]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x30]
mov ecx, ebp
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x41cacd
lea eax, [esp + 0x44]
lea ecx, [esp + 0x320]
push eax
push 0x476ed38
push str.SELECT_idcompany_idsubject_idsystem_idticket_dtactivat_FROM_GATC__sBADGE_WHERE_hextessera_s_ORDER_BY_dtactivat
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 0x320]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebp, eax
xor eax, eax
test ebp, ebp
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x41cacd
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x24]
test al, al
jne 0x41cacd
mov al, byte [ebp + 4]
test al, al
jne 0x41cab8
mov eax, dword [ebp]
lea ecx, [esp + 0xe4]
push 5
push ecx
mov ecx, ebp
call dword [eax + 0x14]
lea edx, [esp + 0x168]
push 0x20
push edx
mov ecx, eax
mov dword [esp + 0x4d770], 0
call fcn.004453e0
mov eax, dword [eax + 4]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1bc]
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0x168]
call fcn.00445280
lea ecx, [esp + 0xe4]
mov dword [esp + 0x4d768], 0xffffffff
call fcn.00445280
lea ecx, [esp + 0x1bc]
push 0x46e08c
push ecx
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
lea edx, [esp + 0x1bc]
push 2
lea eax, [esp + 0xc8]
push edx
push eax
call fcn.0045eb70
lea ecx, [esp + 0x1ca]
push 2
lea edx, [esp + 0xd0]
push ecx
push edx
mov byte [esp + 0xde], 0
call fcn.0045eb70
lea eax, [esp + 0x1d9]
push 2
lea ecx, [esp + 0xf0]
push eax
push ecx
mov byte [esp + 0xe6], 0
call fcn.0045eb70
lea edx, [esp + 0x1e8]
push 2
lea eax, [esp + 0xe0]
push edx
push eax
mov byte [esp + 0x106], 0
call fcn.0045eb70
lea ecx, [esp + 0x1f7]
push 2
lea edx, [esp + 0xfc]
push ecx
push edx
mov byte [esp + 0xf6], 0
call fcn.0045eb70
lea eax, [esp + 0x206]
push 2
lea ecx, [esp + 0x10c]
push eax
push ecx
mov byte [esp + 0x112], 0
call fcn.0045eb70
add esp, 0x48
mov byte [esp + 0xce], 0
lea edx, [esp + 0x1cd]
push 2
lea eax, [esp + 0xc0]
push edx
push eax
call fcn.0045eb70
lea ecx, [esp + 0xc8]
lea edx, [esp + 0xd8]
push ecx
lea eax, [esp + 0xd8]
push edx
lea ecx, [esp + 0xcc]
push eax
lea edx, [esp + 0xec]
push ecx
lea eax, [esp + 0xdc]
push edx
lea ecx, [esp + 0xe4]
push eax
push ecx
lea edx, [esp + 0x1e4]
push str._s_s_s_s_s_s_s
push edx
mov byte [esp + 0xee], 0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x30
lea edi, [esp + 0x1bc]
lea esi, [esp + 0x1e8]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x41c7e5
test al, al
je 0x41c7e1
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x41c7e5
add esi, 2
add edi, 2
test al, al
jne 0x41c7bd
xor eax, eax
jmp 0x41c7ea
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jge 0x41c82f
mov edi, 0x514f20
lea esi, [esp + 0xa0]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x41c822
test al, al
je 0x41c81e
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x41c822
add esi, 2
add edi, 2
test al, al
jne 0x41c7fa
xor eax, eax
jmp 0x41c827
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41cab8
mov eax, dword [ebp]
lea ecx, [esp + 0x2e4]
push 1
push ecx
mov ecx, ebp
call dword [eax + 0x14]
lea edx, [esp + 0x2d4]
push 0x20
push edx
mov ecx, eax
mov dword [esp + 0x4d770], 1
call fcn.004453e0
mov eax, dword [eax + 4]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xa0]
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0x2d4]
call fcn.00445280
lea ecx, [esp + 0x2e4]
mov dword [esp + 0x4d768], 0xffffffff
call fcn.00445280
lea ecx, [esp + 0xa0]
push 0x46e08c
push ecx
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
mov edx, dword [ebp]
lea eax, [esp + 0x238]
push 2
push eax
mov ecx, ebp
call dword [edx + 0x14]
lea ecx, [esp + 0x228]
push 0x20
push ecx
mov ecx, eax
mov dword [esp + 0x4d770], 2
call fcn.004453e0
mov eax, dword [eax + 4]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x144]
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0x228]
call fcn.00445280
lea ecx, [esp + 0x238]
mov dword [esp + 0x4d768], 0xffffffff
call fcn.00445280
lea ecx, [esp + 0x144]
push 0x46e08c
push ecx
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
mov edx, dword [ebp]
lea eax, [esp + 0x218]
push 3
push eax
mov ecx, ebp
call dword [edx + 0x14]
lea ecx, [esp + 0x208]
push 0x20
push ecx
mov ecx, eax
mov dword [esp + 0x4d770], 3
call fcn.004453e0
mov eax, dword [eax + 4]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x3c]
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0x208]
call fcn.00445280
lea ecx, [esp + 0x218]
mov dword [esp + 0x4d768], 0xffffffff
call fcn.00445280
lea ecx, [esp + 0x3c]
push 0x46e08c
push ecx
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
mov edx, dword [ebp]
lea eax, [esp + 0xa8]
push 4
push eax
mov ecx, ebp
call dword [edx + 0x14]
lea ecx, [esp + 0x1f8]
push 0x20
push ecx
mov ecx, eax
mov dword [esp + 0x4d770], 4
call fcn.004453e0
mov eax, dword [eax + 4]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x25c]
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0x1f8]
call fcn.00445280
lea ecx, [esp + 0xa8]
mov dword [esp + 0x4d768], 0xffffffff
call fcn.00445280
lea ecx, [esp + 0x25c]
push 0x46e08c
push ecx
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
lea edx, [esp + 0xbc]
lea eax, [esp + 0xcc]
push edx
lea ecx, [esp + 0xcc]
push eax
lea edx, [esp + 0xc0]
push ecx
lea eax, [esp + 0xe0]
push edx
push eax
lea ecx, [esp + 0xd4]
lea edx, [esp + 0xd8]
push ecx
lea eax, [esp + 0x2a0]
push edx
push eax
call fcn.00414fa0
mov edx, dword [ebp]
add esp, 0x20
mov ecx, ebp
call dword [edx + 0x20]
mov al, byte [ebp + 4]
test al, al
je 0x41c5f8
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x1c]
test ebp, ebp
je 0x41cacd
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
cmp dword [edi + 0x658b7c], ebp
jne 0x41cb38
mov dl, byte [esp + 0x12]
cmp esi, ebp
je 0x41caef
mov al, byte [esp + 0x11]
mov cl, dl
jmp 0x41caf5
mov al, byte [esp + 0x11]
mov cl, al
cmp cl, 0x30
jne 0x41cb09
mov eax, dword [edi + 0x65847c]
mov dword [esp + 0x20], eax
jmp 0x41cb92
cmp esi, ebp
mov cl, dl
jne 0x41cb11
mov cl, al
cmp cl, 0x31
jne 0x41cb22
mov ecx, dword [edi + 0x6584fc]
mov dword [esp + 0x20], ecx
jmp 0x41cb92
cmp esi, ebp
je 0x41cb28
mov al, dl
cmp al, 0x32
jne 0x41cb8e
mov edx, dword [edi + 0x65857c]
mov dword [esp + 0x20], edx
jmp 0x41cb92
mov dl, byte [esp + 0x12]
cmp esi, ebp
je 0x41cb48
mov al, byte [esp + 0x11]
mov cl, dl
jmp 0x41cb4e
mov al, byte [esp + 0x11]
mov cl, al
cmp cl, 0x30
jne 0x41cb5f
mov eax, dword [edi + 0x6582fc]
mov dword [esp + 0x20], eax
jmp 0x41cb92
cmp esi, ebp
mov cl, dl
jne 0x41cb67
mov cl, al
cmp cl, 0x31
jne 0x41cb78
mov ecx, dword [edi + 0x65837c]
mov dword [esp + 0x20], ecx
jmp 0x41cb92
cmp esi, ebp
je 0x41cb7e
mov al, dl
cmp al, 0x32
jne 0x41cb8e
mov edx, dword [edi + 0x6583fc]
mov dword [esp + 0x20], edx
jmp 0x41cb92
mov dword [esp + 0x20], ebp
cmp dword [edi + 0x655f9c], ebp
jne 0x41cba6
cmp dword [edi + 0x65601c], ebp
je 0x41ccf4
cmp dword [esp + 0x4d77c], ebp
jne 0x41cbb7
cmp esi, ebp
je 0x41ccf4
mov edi, str.0000000000
lea esi, [esp + 0x44]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x41cbe8
test al, al
je 0x41cbe4
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x41cbe8
add esi, 2
add edi, 2
test al, al
jne 0x41cbc0
xor eax, eax
jmp 0x41cbed
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x41ccf4
lea eax, [ebx + ebx*2]
mov edi, 0x514f20
lea eax, [eax + eax*8]
lea eax, [ebx + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebx + ecx*2]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x4d774]
shl edx, 5
lea ecx, [eax + eax*4]
lea eax, [eax + ecx*2]
lea ebp, [edx + eax + 0x655e3c]
mov esi, ebp
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x41cc4d
test al, al
je 0x41cc49
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x41cc4d
add esi, 2
add edi, 2
test al, al
jne 0x41cc25
xor eax, eax
jmp 0x41cc52
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41ccf4
lea edx, [esp + 0x11c]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x4d77c]
test eax, eax
je 0x41cdfb
lea eax, [ebx + ebx*2]
mov ebp, 0x476fdc
lea eax, [eax + eax*8]
lea eax, [ebx + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebx + ecx*2]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x4d774]
shl edx, 5
lea eax, [eax + eax*2]
lea esi, [edx + eax + 0x655054]
mov cl, byte [esi]
mov dl, byte [ebp]
mov al, cl
cmp cl, dl
jne 0x41cd7e
test al, al
je 0x41cced
mov dl, byte [esi + 1]
mov cl, byte [ebp + 1]
mov al, dl
cmp dl, cl
jne 0x41cd7e
add esi, 2
add ebp, 2
test al, al
jne 0x41ccc0
xor eax, eax
jmp 0x41cd83
mov eax, dword [esp + 0x68]
test eax, eax
je 0x41cd0d
lea edx, [esp + 0x11c]
mov edi, str.isfromfile
jmp 0x41cc63
mov eax, dword [esp + 0x4d77c]
test eax, eax
je 0x41cd51
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov ebp, dword [eax + 0x654608]
lea edx, [eax + 0x676360]
sub ecx, ebp
lea eax, [esp + 0x11c]
push ecx
push edx
push str._s_07lu
push eax
call edi
add esp, 0x10
jmp 0x41cc86
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x11c]
mov edi, dword [ecx + 0x654688]
sub eax, edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
push str._010lu
push edx
call edi
add esp, 0xc
jmp 0x41cdfb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41cdfb
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x676560]
test ecx, ecx
je 0x41cdc1
mov edi, 0x47a47c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x12]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x6765e0]
test eax, eax
je 0x41cdfb
mov edi, 0x47a478
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x12]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x517fac
call fcn.0045cad0
add esp, 4
dec eax
cmp eax, 3
ja case.default.0x41ce12
jmp dword [eax*4 + 0x4205d4]
push 0x476ed38
lea ecx, [esp + 0x324]
push str.SELECT_MAX_idtrans__FROM_GATC__sTRANS_WITH__TABLOCKX_
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x320]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebp, eax
xor eax, eax
test ebp, ebp
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x41f392
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x24]
test al, al
jne 0x41f392
mov al, byte [ebp + 4]
test al, al
jne 0x41d36f
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax + 0x10]
call fcn.0045f9d8
mov esi, eax
mov eax, dword [esp + 0x2c]
inc esi
mov ecx, 0x471e68
test eax, eax
mov dword [esp + 0x24], esi
jne 0x41ceac
mov ecx, 0x470e70
mov eax, dword [esp + 0x30]
test eax, eax
lea eax, [esp + 0x128]
jne 0x41cebf
lea eax, [esp + 0x44]
lea edx, [esp + 0x288]
push edx
lea edx, [esp + 0x260]
push edx
lea edx, [esp + 0x44]
push edx
lea edx, [esp + 0x150]
push edx
lea edx, [esp + 0xb0]
push edx
mov edx, dword [esp + 0x34]
push edx
lea edx, [esp + 0x134]
push edx
push ecx
mov ecx, dword [esp + 0x4d79c]
lea edx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x94]
push edx
push ecx
push eax
lea edx, [esp + 0x42]
lea eax, [esp + 0x88]
mov ecx, dword [esp + 0x44]
push edx
push eax
mov edx, dword [ecx + 0x654914]
lea eax, [ebx + ebx*2]
push edx
lea eax, [eax + eax*8]
lea eax, [ebx + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebx + ecx*2]
mov ecx, dword [0x476edd0]
lea edx, [eax + eax*4]
shl edx, 5
mov eax, dword [edx + 0x643944]
lea edx, [esp + 0x35c]
push eax
push ecx
push esi
push 0x476ed38
push str.INSERT_INTO_GATC__sTRANS__idtrans__kcom__channel__device__ntrans__versus__badge__datora__causal__flonline__fltwice__analized__cpccchk__idarea__idcompany__idsubject__idsystem__idticket__dtactivat__VALUES___d___d___d___d___s___s___s___s___s___d___s__0___s___d___s___s___s___s___s_
push edx
call edi
add esp, 0x44
mov ecx, esp
mov dword [esp + 0x28], esp
jmp 0x41d349
push 0x476ed38
lea ecx, [esp + 0x324]
push str.LOCK_TABLES_GATC__sTRANS_WRITE
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x320]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
xor eax, eax
test esi, esi
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x41cfc5
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
test esi, esi
je 0x41cfc5
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
push 0x476ed38
lea ecx, [esp + 0x324]
push str.SELECT_MAX_idtrans__FROM_GATC__sTRANS
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x320]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebp, eax
xor eax, eax
test ebp, ebp
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x41d14e
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x24]
test al, al
jne 0x41d14e
mov al, byte [ebp + 4]
test al, al
jne 0x41d133
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax + 0x10]
call fcn.0045f9d8
mov esi, eax
mov eax, dword [esp + 0x2c]
inc esi
mov ecx, 0x471e68
test eax, eax
mov dword [esp + 0x24], esi
jne 0x41d058
mov ecx, 0x470e70
mov eax, dword [esp + 0x30]
test eax, eax
lea eax, [esp + 0x128]
jne 0x41d06b
lea eax, [esp + 0x44]
lea edx, [esp + 0x288]
push edx
lea edx, [esp + 0x260]
push edx
lea edx, [esp + 0x44]
push edx
lea edx, [esp + 0x150]
push edx
lea edx, [esp + 0xb0]
push edx
mov edx, dword [esp + 0x34]
push edx
lea edx, [esp + 0x134]
push edx
push ecx
mov ecx, dword [esp + 0x4d79c]
lea edx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x94]
push edx
push ecx
push eax
lea edx, [esp + 0x42]
lea eax, [esp + 0x88]
mov ecx, dword [esp + 0x44]
push edx
push eax
mov edx, dword [ecx + 0x654914]
lea eax, [ebx + ebx*2]
push edx
lea eax, [eax + eax*8]
lea eax, [ebx + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebx + ecx*2]
mov ecx, dword [0x476edd0]
lea edx, [eax + eax*4]
shl edx, 5
mov eax, dword [edx + 0x643944]
lea edx, [esp + 0x35c]
push eax
push ecx
push esi
push 0x476ed38
push str.INSERT_INTO_GATC__sTRANS__idtrans__kcom__channel__device__ntrans__versus__badge__datora__causal__flonline__fltwice__analized__cpccchk__idarea__idcompany__idsubject__idsystem__idticket__dtactivat__VALUES___d___d___d___d___s___s___s___s___s___d___s__0___s___d___s___s___s___s___s_
push edx
call edi
add esp, 0x44
lea eax, [esp + 0x330]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00445210
mov ecx, dword [0x516f90]
mov edx, dword [ecx]
call dword [edx + 0x10]
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [esp + 0x1c], ecx
jmp 0x41d137
mov esi, dword [esp + 0x24]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x1c]
test ebp, ebp
je 0x41d152
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
jmp 0x41d152
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x320]
push str.UNLOCK_TABLES
push ecx
call edi
add esp, 8
lea edx, [esp + 0x320]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebp, eax
xor eax, eax
test ebp, ebp
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x41d50f
jmp 0x41d373
push 0x476ed38
lea ecx, [esp + 0x324]
push str.LOCK_TABLE_GATC__sTRANS_IN_EXCLUSIVE_MODE
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x320]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
xor eax, eax
test esi, esi
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x41d201
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
test esi, esi
je 0x41d201
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
push 0x476ed38
lea ecx, [esp + 0x324]
push str.SELECT_MAX_idtrans__FROM_GATC__sTRANS
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x320]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebp, eax
xor eax, eax
test ebp, ebp
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x41f392
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x24]
test al, al
jne 0x41f392
mov al, byte [ebp + 4]
test al, al
jne 0x41d36f
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax + 0x10]
call fcn.0045f9d8
mov esi, eax
mov eax, dword [esp + 0x2c]
inc esi
mov ecx, 0x471e68
test eax, eax
mov dword [esp + 0x24], esi
jne 0x41d294
mov ecx, 0x470e70
mov eax, dword [esp + 0x30]
test eax, eax
lea eax, [esp + 0x128]
jne 0x41d2a7
lea eax, [esp + 0x44]
lea edx, [esp + 0x288]
push edx
lea edx, [esp + 0x260]
push edx
lea edx, [esp + 0x44]
push edx
lea edx, [esp + 0x150]
push edx
lea edx, [esp + 0xb0]
push edx
mov edx, dword [esp + 0x34]
push edx
lea edx, [esp + 0x134]
push edx
push ecx
mov ecx, dword [esp + 0x4d79c]
lea edx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x94]
push edx
push ecx
push eax
lea edx, [esp + 0x42]
lea eax, [esp + 0x88]
mov ecx, dword [esp + 0x44]
push edx
push eax
mov edx, dword [ecx + 0x654914]
lea eax, [ebx + ebx*2]
push edx
lea eax, [eax + eax*8]
lea eax, [ebx + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebx + ecx*2]
mov ecx, dword [0x476edd0]
lea edx, [eax + eax*4]
shl edx, 5
mov eax, dword [edx + 0x643944]
lea edx, [esp + 0x35c]
push eax
push ecx
push esi
push 0x476ed38
push str.INSERT_INTO_GATC__sTRANS__idtrans__kcom__channel__device__ntrans__versus__badge__datora__causal__flonline__fltwice__analized__cpccchk__idarea__idcompany__idsubject__idsystem__idticket__dtactivat__VALUES___d___d___d___d___s___s___s___s___s___d___s__0___s___d___s___s___s___s___s_
push edx
call edi
add esp, 0x44
mov ecx, esp
mov dword [esp + 0x28], esp
lea eax, [esp + 0x330]
push eax
call fcn.00445210
mov ecx, dword [0x516f90]
mov edx, dword [ecx]
call dword [edx + 0x10]
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [esp + 0x1c], ecx
jmp 0x41d373
mov esi, dword [esp + 0x24]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x1c]
test ebp, ebp
je 0x41d50f
jmp 0x41d506
push 0x476ed38
lea ecx, [esp + 0x324]
push str.SELECT_MAX_idtrans__FROM_GATC__sTRANS
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x320]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebp, eax
xor eax, eax
test ebp, ebp
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x41f392
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x24]
test al, al
jne 0x41f392
mov al, byte [ebp + 4]
test al, al
jne 0x41d4f6
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax + 0x10]
call fcn.0045f9d8
mov esi, eax
mov eax, dword [esp + 0x2c]
inc esi
mov ecx, 0x471e68
test eax, eax
mov dword [esp + 0x24], esi
jne 0x41d41b
mov ecx, 0x470e70
mov eax, dword [esp + 0x30]
test eax, eax
lea eax, [esp + 0x128]
jne 0x41d42e
lea eax, [esp + 0x44]
lea edx, [esp + 0x288]
push edx
lea edx, [esp + 0x260]
push edx
lea edx, [esp + 0x44]
push edx
lea edx, [esp + 0x150]
push edx
lea edx, [esp + 0xb0]
push edx
mov edx, dword [esp + 0x34]
push edx
lea edx, [esp + 0x134]
push edx
push ecx
mov ecx, dword [esp + 0x4d79c]
lea edx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x94]
push edx
push ecx
push eax
lea edx, [esp + 0x42]
lea eax, [esp + 0x88]
mov ecx, dword [esp + 0x44]
push edx
push eax
mov edx, dword [ecx + 0x654914]
lea eax, [ebx + ebx*2]
push edx
lea eax, [eax + eax*8]
lea eax, [ebx + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebx + ecx*2]
mov ecx, dword [0x476edd0]
lea edx, [eax + eax*4]
shl edx, 5
mov eax, dword [edx + 0x643944]
lea edx, [esp + 0x35c]
push eax
push ecx
push esi
push 0x476ed38
push str.INSERT_INTO_GATC__sTRANS__idtrans__kcom__channel__device__ntrans__versus__badge__datora__causal__flonline__fltwice__analized__cpccchk__idarea__idcompany__idsubject__idsystem__idticket__dtactivat__VALUES___d___d___d___d___s___s___s___s___s___d___s__0___s___d___s___s___s___s___s_
push edx
call edi
add esp, 0x44
lea eax, [esp + 0x330]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00445210
mov ecx, dword [0x516f90]
mov edx, dword [ecx]
call dword [edx + 0x10]
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [esp + 0x1c], ecx
jmp 0x41d4fa
mov esi, dword [esp + 0x24]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x1c]
test ebp, ebp
je 0x41d50f
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41f392
mov ecx, dword [esp + 0x14]
mov dl, byte [esp + 0x12]
mov al, dl
mov dword [ecx + 0x6732d8], esi
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x41d537
mov al, byte [esp + 0x11]
cmp al, 0x30
je 0x41d569
test ecx, ecx
mov al, dl
jne 0x41d545
mov al, byte [esp + 0x11]
cmp al, 0x31
je 0x41d569
test ecx, ecx
mov al, dl
jne 0x41d553
mov al, byte [esp + 0x11]
cmp al, 0x32
je 0x41d569
test ecx, ecx
mov al, dl
jne 0x41d561
mov al, byte [esp + 0x11]
cmp al, 0x73
jne 0x41e8fe
mov eax, dword [esp + 0x20]
test eax, eax
jl 0x41e8fe
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
lea edx, [esp + 0x94]
push 0x476ed38
push edx
lea eax, [esp + 0x9c]
push 0x476ed38
push eax
lea ecx, [esp + 0x78]
push 0x476ed38
push ecx
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
lea edx, [esp + 0x37c]
push str.SELECT_codd__ssubject15.idsystem_codd__ssubject15.idticket_codd__ssubject15.lgokpres_GATC__sBADGE.refbadgekey_GATC__sBADGE.refbadgelock_FROM_GATC__sBADGE__codd__ssubject15_WHERE_GATC__sBADGE.hextessera_s_AND_codd__ssubject15.dtactivat__s_AND_codd__ssubject15.dtexpirat__s_AND_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
push edx
call edi
add esp, 0x64
lea eax, [esp + 0x320]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00445210
mov ecx, dword [0x516f90]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ebp, eax
xor eax, eax
test ebp, ebp
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x41e8fe
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x24]
test al, al
jne 0x41e8fe
mov al, byte [ebp + 4]
test al, al
jne 0x41d726
mov edx, dword [ebp]
lea eax, [esp + 0xa8]
push 1
push eax
mov ecx, ebp
mov dword [esp + 0xe0], 1
call dword [edx + 0x14]
mov eax, dword [eax + 4]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x60]
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0xa8]
call fcn.00445280
mov edx, dword [ebp]
lea eax, [esp + 0xa8]
push 2
push eax
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [eax + 4]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x180]
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0xa8]
call fcn.00445280
mov edx, dword [ebp]
push 4
mov ecx, ebp
mov dword [esp + 0x6c], 1
call dword [edx + 0x10]
call fcn.0045f9d8
mov esi, dword [esp + 0x14]
push 5
mov ecx, ebp
mov dword [esi + 0x65689c], eax
mov eax, dword [ebp]
call dword [eax + 0x10]
call fcn.0045f9d8
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [esi + 0x65691c], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x1c]
test ebp, ebp
je 0x41d73b
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x41e8fe
mov eax, dword [esp + 0x4d77c]
test eax, eax
jne 0x41d7e1
lea ecx, [esp + 0x70]
lea edx, [esp + 0x44]
push ecx
push 0x476ed38
push edx
push 0x476ed38
lea eax, [esp + 0x330]
push str.SELECT_idtrans_FROM_GATC__sTRANS_WHERE_badge_s_AND_GATC__sTRANS.datora__s
push eax
call edi
add esp, 0x18
lea edx, [esp + 0x320]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
xor eax, eax
test esi, esi
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x41d7e1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
test al, al
jne 0x41d7e1
mov al, byte [esi + 4]
test al, al
jne 0x41d7ce
mov dword [esp + 0x64], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test esi, esi
je 0x41d7e1
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x41e8fe
mov eax, dword [esp + 0x2c]
test eax, eax
mov al, byte [esp + 0x12]
jne 0x41d7fd
mov al, byte [esp + 0x11]
movsx eax, al
sub eax, 0x30
je 0x41d880
dec eax
je 0x41d866
dec eax
jne 0x41d8d9
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x658b7c]
test ecx, ecx
mov ecx, str.vinit3
jne 0x41d827
mov ecx, str.vend3
mov eax, dword [eax + 0x643948]
push eax
lea eax, [ebx + ebx*2]
lea edx, [eax + eax*8]
lea eax, [ebx + edx*8]
lea eax, [eax + eax*2]
lea eax, [ebx + eax*2]
lea edx, [eax + eax*4]
shl edx, 5
mov eax, dword [edx + 0x643944]
mov edx, dword [0x476edd0]
push eax
push edx
push 0x476ed38
push ecx
lea eax, [esp + 0x334]
push str.SELECT__s_FROM_GATD__sDEVICE_WHERE_idkcom_d_AND_cntchannel_d_AND_cproword_d
push eax
jmp 0x41d8d4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x658b7c]
test ecx, ecx
mov ecx, str.vinit2
jne 0x41d898
mov ecx, str.vend2
jmp 0x41d898
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x658b7c]
test ecx, ecx
mov ecx, str.vinit1
jne 0x41d898
mov ecx, str.vend1
mov edx, dword [eax + 0x643948]
lea eax, [ebx + ebx*2]
push edx
lea eax, [eax + eax*8]
lea eax, [ebx + eax*8]
lea edx, [eax + eax*2]
lea eax, [ebx + edx*2]
lea eax, [eax + eax*4]
shl eax, 5
mov edx, dword [eax + 0x643944]
mov eax, dword [0x476edd0]
push edx
push eax
push 0x476ed38
push ecx
lea ecx, [esp + 0x334]
push str.SELECT__s_FROM_GATD__sDEVICE_WHERE_idkcom_d_AND_cntchannel_d_AND_cproword_d
push ecx
call edi
add esp, 0x1c
push 1
lea edx, [esp + 0x324]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
xor eax, eax
test esi, esi
sete al
test eax, eax
mov dword [esp + 0x20], esi
mov dword [0x476ecf4], eax
jne 0x41e8fe
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
test al, al
jne 0x41e8fe
mov al, byte [esi + 4]
test al, al
jne 0x41e8eb
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x10]
call fcn.0045f9d8
push str.MySQL
push 0x517fac
mov dword [esp + 0x24], eax
call fcn.0045f6d0
add esp, 8
test eax, eax
je 0x41dd10
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1320]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x67254c]
test eax, eax
je 0x41d9c4
mov eax, dword [esp + 0x40]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x2b20]
lea ecx, [esp + 0x1320]
push edx
push 0x476ed38
push eax
push 0x476ed38
push str.GATC__sBADGE.numsca_d__GATC__sBADGE.datsca_s_
push ecx
call ebp
add esp, 0x18
jmp 0x41d9ca
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1b20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x1c]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jle 0x41da15
mov ecx, eax
lea edx, [esp + 0x1b20]
push ecx
push 0x476ed38
push str._GATC__sBADGE.area_d_
push edx
call ebp
add esp, 0x10
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2320]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [esp + 0x12]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x41da4e
mov al, byte [esp + 0x11]
cmp al, 0x30
jne 0x41daab
mov ecx, dword [esp + 0x14]
lea eax, [ebx + ebx*2]
mov edx, dword [ecx + 0x643948]
lea eax, [eax + eax*8]
push edx
push 0x476ed38
lea eax, [ebx + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebx + ecx*2]
mov ecx, dword [0x476edd0]
lea edx, [eax + eax*4]
shl edx, 5
mov eax, dword [edx + 0x643944]
lea edx, [esp + 0x78]
push eax
push 0x476ed38
push ecx
push 0x476ed38
push edx
push 0x476ed38
lea eax, [esp + 0x2340]
push str._GATC__sBADGE.ulttmbent_s_GATC__sBADGE.ulttmbentkcom_d__GATC__sBADGE.ulttmbentchannel_d_GATC__sBADGE.ulttmbentdevice_d_
push eax
call ebp
add esp, 0x28
mov al, byte [esp + 0x12]
test esi, esi
jne 0x41dab7
mov al, byte [esp + 0x11]
cmp al, 0x31
jne 0x41db14
mov ecx, dword [esp + 0x14]
lea eax, [ebx + ebx*2]
mov edx, dword [ecx + 0x643948]
lea eax, [eax + eax*8]
push edx
push 0x476ed38
lea eax, [ebx + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebx + ecx*2]
mov ecx, dword [0x476edd0]
lea edx, [eax + eax*4]
shl edx, 5
mov eax, dword [edx + 0x643944]
lea edx, [esp + 0x78]
push eax
push 0x476ed38
push ecx
push 0x476ed38
push edx
push 0x476ed38
lea eax, [esp + 0x2340]
push str._GATC__sBADGE.ulttmbusc_s_GATC__sBADGE.ulttmbusckcom_d__GATC__sBADGE.ulttmbuscchannel_d_GATC__sBADGE.ulttmbuscdevice_d_
push eax
call ebp
add esp, 0x28
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3320]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 0x65699c]
test ecx, ecx
jne 0x41db55
mov ecx, dword [eax + 0x655f9c]
test ecx, ecx
je 0x41dbc2
mov ecx, dword [eax + 0x65611c]
test ecx, ecx
je 0x41dbc2
mov ecx, dword [esp + 0x4d780]
mov edi, 0x514f20
mov esi, ecx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x41db91
test al, al
je 0x41db8d
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x41db91
add esi, 2
add edi, 2
test al, al
jne 0x41db6d
xor eax, eax
jmp 0x41db96
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41dbc2
mov eax, dword [esp + 0x1c]
cmp eax, 1
mov eax, ecx
jg 0x41dbaa
mov eax, 0x514f20
push eax
push 0x476ed38
lea eax, [esp + 0x3328]
push str._GATC__sBADGE.hexdriver_s_
push eax
call ebp
add esp, 0x10
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3b20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x4d77c]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x41dc37
lea eax, [ebx + ebx*2]
lea ecx, [eax + eax*8]
lea eax, [ebx + ecx*8]
lea edx, [eax + eax*2]
lea eax, [ebx + edx*2]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x4d774]
shl ecx, 5
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
lea eax, [ecx + edx + 0x676180]
lea ecx, [esp + 0x3b20]
push eax
push 0x476ed38
push str.GATC__sBADGE.changesequence_s_
push ecx
call ebp
add esp, 0x10
lea edx, [esp + 0x70]
lea eax, [esp + 0x70]
push edx
push 0x476ed38
push eax
lea ecx, [esp + 0x50]
push 0x476ed38
push ecx
push 0x476ed38
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea edx, [esp + 0x50]
push 0x476ed38
push edx
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x1344]
push 0x476ed38
push eax
mov eax, dword [edx + 0x676100]
lea ecx, [esp + 0x3b4c]
push ecx
mov ecx, dword [esp + 0x54]
push eax
push 0x476ed38
push ecx
lea edx, [esp + 0xac]
push 0x476ed38
push edx
lea eax, [esp + 0x3364]
push 0x476ed38
lea ecx, [esp + 0x2368]
push eax
lea edx, [esp + 0x1b6c]
push ecx
push edx
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 eax, [esp + 0x3a4]
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_SET_s_s_s_GATC__sBADGE.ulttimb_s__GATC__sBADGE.idtrans_d__GATC__sBADGE.statussequence_d___s_sGATC__sBADGE.ultcausal_s__GATC__sBADGE.cpccchk_010lu_WHERE_GATC__sBADGE.hextessera_s_AND_codd__ssubject15.dtactivat__s_AND_codd__ssubject15.dtexpirat__s
push eax
call ebp
add esp, 0x8c
jmp 0x41e897
push str.PostgreSQL
push 0x517fac
call fcn.0045f6d0
add esp, 8
test eax, eax
je 0x41e081
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1320]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, dword [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x67254c]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x41dd84
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x2b20]
push ecx
push edx
lea eax, [esp + 0x1328]
push str.numsca_d__datsca_s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1b20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x1c]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jle 0x41ddce
mov ecx, eax
lea edx, [esp + 0x1b20]
push ecx
push str._area_d_
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2320]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [esp + 0x12]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x41de07
mov al, byte [esp + 0x11]
cmp al, 0x30
jne 0x41de4f
lea eax, [ebx + ebx*2]
mov ecx, dword [ebp + 0x643948]
push ecx
lea edx, [eax + eax*8]
lea eax, [ebx + edx*8]
lea eax, [eax + eax*2]
lea eax, [ebx + eax*2]
lea ecx, [eax + eax*4]
mov eax, dword [0x476edd0]
shl ecx, 5
mov edx, dword [ecx + 0x643944]
lea ecx, [esp + 0x74]
push edx
push eax
push ecx
lea edx, [esp + 0x2330]
push str._ulttmbent_s_ulttmbentkcom_d_ulttmbentchannel_d_ulttmbentdevice_d_
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
mov al, byte [esp + 0x12]
test esi, esi
jne 0x41de5b
mov al, byte [esp + 0x11]
cmp al, 0x31
jne 0x41dea4
mov eax, dword [ebp + 0x643948]
push eax
lea eax, [ebx + ebx*2]
lea ecx, [eax + eax*8]
lea eax, [ebx + ecx*8]
lea edx, [eax + eax*2]
lea eax, [ebx + edx*2]
mov edx, dword [0x476edd0]
lea eax, [eax + eax*4]
shl eax, 5
mov ecx, dword [eax + 0x643944]
lea eax, [esp + 0x74]
push ecx
push edx
push eax
lea ecx, [esp + 0x2330]
push str._ulttmbusc_s_ulttmbusckcom_d_ulttmbuscchannel_d_ulttmbuscdevice_d_
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3320]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x65699c]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x41dee1
mov eax, dword [ebp + 0x655f9c]
test eax, eax
je 0x41df4d
mov eax, dword [ebp + 0x65611c]
test eax, eax
je 0x41df4d
mov ecx, dword [esp + 0x4d780]
mov edi, 0x514f20
mov esi, ecx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x41df1d
test al, al
je 0x41df19
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x41df1d
add esi, 2
add edi, 2
test al, al
jne 0x41def9
xor eax, eax
jmp 0x41df22
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41df4d
mov eax, dword [esp + 0x1c]
cmp eax, 1
mov eax, ecx
jg 0x41df36
mov eax, 0x514f20
push eax
lea eax, [esp + 0x3324]
push str._hexdriver_s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3b20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x4d77c]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x41dfc1
lea eax, [ebx + ebx*2]
lea ecx, [eax + eax*8]
lea eax, [ebx + ecx*8]
lea edx, [eax + eax*2]
lea eax, [ebx + edx*2]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x4d774]
shl ecx, 5
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
lea eax, [ecx + edx + 0x676180]
lea ecx, [esp + 0x3b20]
push eax
push str.changesequence_s_
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x70]
lea eax, [esp + 0x70]
push edx
push 0x476ed38
push eax
lea ecx, [esp + 0x50]
push 0x476ed38
push ecx
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 dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp + 0x676100]
push eax
mov eax, dword [esp + 0x6c]
push edx
lea ecx, [esp + 0x80]
push eax
lea edx, [esp + 0x1370]
push ecx
lea eax, [esp + 0x3b74]
push edx
lea ecx, [esp + 0xc8]
push eax
lea edx, [esp + 0x337c]
push ecx
lea eax, [esp + 0x2380]
push edx
lea ecx, [esp + 0x1b84]
push eax
push ecx
push 0x476ed38
lea edx, [esp + 0x390]
push str.UPDATE_GATC__sBADGE_SET_s_s_s_ulttimb_s___s_sultcausal_s__idtrans_d__statussequence_d__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 dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x78
jmp 0x41e897
push str.Oracle
push 0x517fac
call fcn.0045f6d0
add esp, 8
lea edx, [esp + 0x1320]
test eax, eax
mov edi, 0x514f20
je 0x41e483
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x67254c]
test eax, eax
je 0x41e0f9
mov eax, dword [esp + 0x40]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x2b20]
lea ecx, [esp + 0x1320]
push edx
push eax
push str.t.numsca_d__t.datsca_s_
push ecx
call ebp
add esp, 0x10
jmp 0x41e0ff
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1b20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x1c]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jle 0x41e145
mov ecx, eax
lea edx, [esp + 0x1b20]
push ecx
push str._t.area_d_
push edx
call ebp
add esp, 0xc
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2320]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [esp + 0x12]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x41e17e
mov al, byte [esp + 0x11]
cmp al, 0x30
jne 0x41e1c7
mov ecx, dword [esp + 0x14]
lea eax, [ebx + ebx*2]
mov edx, dword [ecx + 0x643948]
lea eax, [eax + eax*8]
push edx
lea eax, [ebx + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebx + ecx*2]
mov ecx, dword [0x476edd0]
lea edx, [eax + eax*4]
shl edx, 5
mov eax, dword [edx + 0x643944]
lea edx, [esp + 0x74]
push eax
push ecx
push edx
lea eax, [esp + 0x2330]
push str._t.ulttmbent_s_t.ulttmbentkcom_d_t.ulttmbentchannel_d_t.ulttmbentdevice_d_
push eax
call ebp
add esp, 0x18
mov al, byte [esp + 0x12]
test esi, esi
jne 0x41e1d3
mov al, byte [esp + 0x11]
cmp al, 0x31
jne 0x41e21c
mov ecx, dword [esp + 0x14]
lea eax, [ebx + ebx*2]
mov edx, dword [ecx + 0x643948]
lea eax, [eax + eax*8]
push edx
lea eax, [ebx + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebx + ecx*2]
mov ecx, dword [0x476edd0]
lea edx, [eax + eax*4]
shl edx, 5
mov eax, dword [edx + 0x643944]
lea edx, [esp + 0x74]
push eax
push ecx
push edx
lea eax, [esp + 0x2330]
push str._t.ulttmbusc_s_t.ulttmbusckcom_d_t.ulttmbuscchannel_d_t.ulttmbuscdevice_d_
push eax
call ebp
add esp, 0x18
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3320]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 0x65699c]
test ecx, ecx
jne 0x41e25d
mov ecx, dword [eax + 0x655f9c]
test ecx, ecx
je 0x41e2c5
mov ecx, dword [eax + 0x65611c]
test ecx, ecx
je 0x41e2c5
mov ecx, dword [esp + 0x4d780]
mov edi, 0x514f20
mov esi, ecx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x41e299
test al, al
je 0x41e295
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x41e299
add esi, 2
add edi, 2
test al, al
jne 0x41e275
xor eax, eax
jmp 0x41e29e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41e2c5
mov eax, dword [esp + 0x1c]
cmp eax, 1
mov eax, ecx
jg 0x41e2b2
mov eax, 0x514f20
push eax
lea eax, [esp + 0x3324]
push str._t.hexdriver_s_
push eax
call ebp
add esp, 0xc
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3b20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x4d77c]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x41e335
lea eax, [ebx + ebx*2]
lea ecx, [eax + eax*8]
lea eax, [ebx + ecx*8]
lea edx, [eax + eax*2]
lea eax, [ebx + edx*2]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x4d774]
shl ecx, 5
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
lea eax, [ecx + edx + 0x676180]
lea ecx, [esp + 0x3b20]
push eax
push str.t.changesequence_s_
push ecx
call ebp
add esp, 0xc
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
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 + 0x390]
push str.UPDATE__SELECT_GATC__sBADGE.area__GATC__sBADGE.ulttmbent__GATC__sBADGE.ulttmbentkcom__GATC__sBADGE.ulttmbentchannel__GATC__sBADGE.ulttmbentdevice__GATC__sBADGE.ulttmbusc__GATC__sBADGE.ulttmbusckcom__GATC__sBADGE.ulttmbuscchannel__GATC__sBADGE.ulttmbuscdevice__GATC__sBADGE.ulttimb__GATC__sBADGE.idtrans__GATC__sBADGE.numsca__GATC__sBADGE.datsca__GATC__sBADGE.cpccchk__GATC__sBADGE.statussequence__GATC__sBADGE.changesequence_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
push edx
call ebp
add esp, 0x78
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x676100]
lea eax, [esp + 0x1324]
push ecx
push edx
lea ecx, [esp + 0x3b2c]
push eax
lea edx, [esp + 0x80]
push ecx
lea eax, [esp + 0x3334]
push edx
lea ecx, [esp + 0x2338]
push eax
lea edx, [esp + 0x1b3c]
push ecx
lea eax, [esp + 0x90]
push edx
push eax
lea ecx, [esp + 0x98]
push 0x476ed38
push ecx
lea edx, [esp + 0x74]
push 0x476ed38
push edx
push 0x476ed38
lea eax, [esp + 0x435c]
push str.GATC__sBADGE.hextessera_s_AND_codd__ssubject15.dtactivat__s_AND_codd__ssubject15.dtexpirat__s__t_SET__s_s_s_t.ulttimb_s___s_st.idtrans_d__t.statussequence_d__t.cpccchk_010lu
push eax
call ebp
lea edi, [esp + 0x364]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x44
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x4320]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
xor ecx, ecx
test eax, eax
jle 0x41e88d
jmp 0x41e86d
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x67254c]
test eax, eax
je 0x41e4df
mov eax, dword [esp + 0x40]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x2b20]
lea ecx, [esp + 0x1320]
push edx
push 0x476ed38
push eax
push 0x476ed38
push str.GATC__sBADGE.numsca_d__GATC__sBADGE.datsca_s_
push ecx
call ebp
add esp, 0x18
jmp 0x41e4e5
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1b20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x1c]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jle 0x41e530
mov ecx, eax
lea edx, [esp + 0x1b20]
push ecx
push 0x476ed38
push str._GATC__sBADGE.area_d_
push edx
call ebp
add esp, 0x10
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2320]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [esp + 0x12]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x41e569
mov al, byte [esp + 0x11]
cmp al, 0x30
jne 0x41e5c6
mov ecx, dword [esp + 0x14]
lea eax, [ebx + ebx*2]
mov edx, dword [ecx + 0x643948]
lea eax, [eax + eax*8]
push edx
push 0x476ed38
lea eax, [ebx + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebx + ecx*2]
mov ecx, dword [0x476edd0]
lea edx, [eax + eax*4]
shl edx, 5
mov eax, dword [edx + 0x643944]
lea edx, [esp + 0x78]
push eax
push 0x476ed38
push ecx
push 0x476ed38
push edx
push 0x476ed38
lea eax, [esp + 0x2340]
push str._GATC__sBADGE.ulttmbent_s__GATC__sBADGE.ulttmbentkcom_d__GATC__sBADGE.ulttmbentchannel_d__GATC__sBADGE.ulttmbentdevice_d_
push eax
call ebp
add esp, 0x28
mov al, byte [esp + 0x12]
test esi, esi
jne 0x41e5d2
mov al, byte [esp + 0x11]
cmp al, 0x31
jne 0x41e62f
mov ecx, dword [esp + 0x14]
lea eax, [ebx + ebx*2]
mov edx, dword [ecx + 0x643948]
lea eax, [eax + eax*8]
push edx
push 0x476ed38
lea eax, [ebx + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebx + ecx*2]
mov ecx, dword [0x476edd0]
lea edx, [eax + eax*4]
shl edx, 5
mov eax, dword [edx + 0x643944]
lea edx, [esp + 0x78]
push eax
push 0x476ed38
push ecx
push 0x476ed38
push edx
push 0x476ed38
lea eax, [esp + 0x2340]
push str._GATC__sBADGE.ulttmbusc_s__GATC__sBADGE.ulttmbusckcom_d__GATC__sBADGE.ulttmbuscchannel_d__GATC__sBADGE.ulttmbuscdevice_d_
push eax
call ebp
add esp, 0x28
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3320]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 0x65699c]
test ecx, ecx
jne 0x41e670
mov ecx, dword [eax + 0x655f9c]
test ecx, ecx
je 0x41e6dd
mov ecx, dword [eax + 0x65611c]
test ecx, ecx
je 0x41e6dd
mov ecx, dword [esp + 0x4d780]
mov edi, 0x514f20
mov esi, ecx
mov dl, byte [esi]
mov al, dl
cmp dl, byte [edi]
jne 0x41e6ac
test al, al
je 0x41e6a8
mov dl, byte [esi + 1]
mov al, dl
cmp dl, byte [edi + 1]
jne 0x41e6ac
add esi, 2
add edi, 2
test al, al
jne 0x41e688
xor eax, eax
jmp 0x41e6b1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41e6dd
mov eax, dword [esp + 0x1c]
cmp eax, 1
mov eax, ecx
jg 0x41e6c5
mov eax, 0x514f20
push eax
push 0x476ed38
lea eax, [esp + 0x3328]
push str._GATC__sBADGE.hexdriver_s_
push eax
call ebp
add esp, 0x10
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3b20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x4d77c]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x41e752
lea eax, [ebx + ebx*2]
lea ecx, [eax + eax*8]
lea eax, [ebx + ecx*8]
lea edx, [eax + eax*2]
lea eax, [ebx + edx*2]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x4d774]
shl ecx, 5
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
lea eax, [ecx + edx + 0x676180]
lea ecx, [esp + 0x3b20]
push eax
push 0x476ed38
push str.GATC__sBADGE.changesequence_s_
push ecx
call ebp
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
push eax
push 0x476ed38
mov eax, dword [edx + 0x676100]
lea edx, [esp + 0x3c]
push eax
push 0x476ed38
push ecx
push 0x476ed38
push edx
lea eax, [esp + 0x133c]
push 0x476ed38
lea ecx, [esp + 0x3b40]
push eax
lea edx, [esp + 0x94]
push ecx
push edx
lea eax, [esp + 0x334c]
push 0x476ed38
lea ecx, [esp + 0x2350]
push eax
lea edx, [esp + 0x1b54]
push ecx
push edx
push 0x476ed38
lea eax, [esp + 0x360]
push str.UPDATE_GATC__sBADGE_SET_s_s_s_GATC__sBADGE.ulttimb_s___s_sGATC__sBADGE.ultcausal_s__GATC__sBADGE.idtrans_d__GATC__sBADGE.statussequence_d__GATC__sBADGE.cpccchk_010lu_FROM
push eax
call ebp
lea ecx, [esp + 0xb8]
lea edx, [esp + 0xb8]
push ecx
push 0x476ed38
push edx
lea eax, [esp + 0x98]
push 0x476ed38
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
lea ecx, [esp + 0x43b0]
push str.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 ecx
call ebp
lea edi, [esp + 0x3b8]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x98
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x4320]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
xor ecx, ecx
test eax, eax
jle 0x41e88d
mov ecx, eax
lea edi, [esp + edx + 0x320]
mov ebp, ecx
lea esi, [esp + 0x4320]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
add ecx, edx
mov byte [esp + ecx + 0x320], 0
sub esp, 0x10
lea edx, [esp + 0x330]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, 1
cmp eax, ecx
jge 0x41e8d6
mov eax, dword [esp + 0x4d77c]
test eax, eax
jne 0x41e8d6
mov dword [esp + 0x1c], 0
jmp 0x41e8e1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xdc], ecx
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [esp + 0x20]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
test esi, esi
je 0x41e8fe
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41f392
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x41f38a
mov eax, dword [esp + 0xdc]
test eax, eax
jne 0x41ec30
push str.MySQL
push 0x517fac
call fcn.0045f6d0
add esp, 8
test eax, eax
je 0x41e9dd
lea ecx, [esp + 0x70]
lea edx, [esp + 0x70]
push ecx
push 0x476ed38
push edx
lea eax, [esp + 0x50]
push 0x476ed38
push eax
push 0x476ed38
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x50]
push 0x476ed38
push ecx
lea edx, [esp + 0x2b44]
push 0x476ed38
push edx
push 0x476ed38
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
lea ecx, [esp + 0x388]
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_SET_GATC__sBADGE.numsca_d__GATC__sBADGE.datsca_s__GATC__sBADGE.ultcausal_s__GATC__sBADGE.cpccchk_010lu_WHERE_GATC__sBADGE.hextessera_s_AND_codd__ssubject15.dtactivat__s_AND_codd__ssubject15.dtexpirat__s
push ecx
call edi
add esp, 0x70
jmp 0x41ebe3
push str.PostgreSQL
push 0x517fac
call fcn.0045f6d0
add esp, 8
test eax, eax
je 0x41ea84
lea edx, [esp + 0x70]
lea eax, [esp + 0x70]
push edx
push 0x476ed38
push eax
lea ecx, [esp + 0x50]
push 0x476ed38
push ecx
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 dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x84]
push eax
lea edx, [esp + 0x7c]
lea eax, [esp + 0x2b68]
push edx
push eax
push ecx
push 0x476ed38
lea edx, [esp + 0x378]
push str.UPDATE_GATC__sBADGE_SET_numsca_d__datsca_s__ultcausal_s__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 edi
add esp, 0x60
jmp 0x41ebe3
push str.Oracle
push 0x517fac
call fcn.0045f6d0
add esp, 8
test eax, eax
je 0x41eb3f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x40]
push eax
lea eax, [esp + 0x2b24]
lea edx, [esp + 0x74]
push eax
push ecx
push edx
lea eax, [esp + 0x80]
push 0x476ed38
push eax
lea ecx, [esp + 0x5c]
push 0x476ed38
push ecx
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
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
lea edx, [esp + 0x38c]
push str.UPDATE__SELECT_GATC__sBADGE.area__GATC__sBADGE.ulttimb__GATC__sBADGE.idtrans__GATC__sBADGE.numsca__GATC__sBADGE.datsca__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_SET_t.numsca_d__t.datsca_s__t.cpccchk_010lu
push edx
jmp 0x41ebde
lea eax, [esp + 0x70]
lea ecx, [esp + 0x70]
push eax
push 0x476ed38
push ecx
lea edx, [esp + 0x50]
push 0x476ed38
push edx
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
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x88]
push eax
lea eax, [esp + 0x80]
push 0x476ed38
push eax
lea ecx, [esp + 0x2b74]
push 0x476ed38
push ecx
push 0x476ed38
push edx
push 0x476ed38
push 0x476ed38
lea eax, [esp + 0x38c]
push str.UPDATE_GATC__sBADGE_SET_GATC__sBADGE.numsca_d__GATC__sBADGE.datsca_s__GATC__sBADGE.ultcausal_s__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 eax
call edi
add esp, 0x74
sub esp, 0x10
lea edx, [esp + 0x330]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, 1
cmp eax, ecx
jge 0x41ec25
mov eax, dword [esp + 0x4d77c]
test eax, eax
jne 0x41ec25
mov dword [esp + 0x1c], 0
jmp 0x41f392
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xdc], ecx
test esi, esi
je 0x41f38a
mov eax, dword [esp + 0xdc]
test eax, eax
je 0x41f38a
mov edi, str.000000000000001
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x168]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x476ed38
mov eax, ecx
mov esi, edi
mov edi, edx
push str.SELECT_MAX_idstmt__FROM_GATC__sSTMT
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 + 0x328]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x320]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebp, eax
xor eax, eax
test ebp, ebp
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x41ed2f
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x24]
test al, al
jne 0x41ed2f
mov al, byte [ebp + 4]
test al, al
jne 0x41ed1a
mov eax, dword [ebp]
lea ecx, [esp + 0xa8]
push 1
push ecx
mov ecx, ebp
call dword [eax + 0x14]
mov eax, dword [eax + 4]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x168]
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0xa8]
call fcn.00445280
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x1c]
test ebp, ebp
je 0x41ed2f
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [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
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
lea ecx, [esp + 0x3a0]
push str.SELECT_GATD__sDEVICE.idkcom_GATD__sDEVICE.cntchannel_GATD__sDEVICE.iddevice_GATC__sBADGE.hextessera_GATC_BADGEA.hextessera__GATC__sBADGE.pincode_codd__ssubject15.dtexpirat_GATC__sBADGE.numsca_GATC__sMODE.time_GATC__sBADGE.ritiro_GATC__sMODE.motorized_GATC__sBADGE.inscod_GATC__sBADGE.flenabsca_GATC__sBADGE.fldailysca_GATC__sBADGE.flonlyentsca_FROM____codd__ssubject15_LEFT_OUTER_JOIN_GATC__sBADGE_ON_codd__ssubject15.idcompanyGATC__sBADGE.idcompany_and_codd__ssubject15.idsubjectGATC__sBADGE.idsubject_and_codd__ssubject15.dtactivatGATC__sBADGE.dtactivat_and_codd__ssubject15.idsystemGATC__sBADGE.idsystem_and_codd__ssubject15.idticketGATC__sBADGE.idticket__LEFT_OUTER_JOIN_GATG__sDDRIVERS_ON_codd__ssubject15.idcompanyGATG__sDDRIVERS.idcompany_and_codd__ssubject15.idsubjectGATG__sDDRIVERS.idsubject__LEFT_OUTER_JOIN_GATC__sBADGE_GATC_BADGEA_ON
push ecx
call esi
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
lea edx, [esp + 0x108]
push 0x476ed38
push edx
lea eax, [esp + 0x110]
push 0x476ed38
push eax
lea ecx, [esp + 0xec]
push 0x476ed38
push ecx
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
push 0x476ed38
lea edx, [esp + 0x4410]
push str.GATG__sDDRIVERS.idcompGATC_BADGEA.idcompany_and_GATG__sDDRIVERS.idsubjGATC_BADGEA.idsubject_and_GATG__sDDRIVERS.dtactivatGATC_BADGEA.dtactivat_and_GATG__sDDRIVERS.idsystemGATC_BADGEA.idsystem_and_GATG__sDDRIVERS.idticketGATC_BADGEA.idticket____GATC__sMODE_LEFT_OUTER_JOIN_GATD__sDEVICE_ON_GATC__sMODE.kcomGATD__sDEVICE.idkcom_and_GATC__sMODE.channelGATD__sDEVICE.cntchannel_and_GATC__sMODE.deviceGATD__sDEVICE.cproword__WHERE_GATC__sBADGE.modaccGATC__sMODE.idmode_AND_GATC__sBADGE.hextessera_s_AND_codd__ssubject15.DTACTIVAT__s_AND_codd__ssubject15.DTEXPIRAT__s_AND_GATD__sDEVICE.keepouts0_AND_GATD__sDEVICE.keepmodeouts0_AND_GATD__sDEVICE.keeptimeouts0_AND_GATD__sDEVICE.flcater__1_AND_GATD__sDEVICE.statusX
push edx
call esi
lea edi, [esp + 0x418]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xf8
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x4320]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
xor ecx, ecx
test eax, eax
jle 0x41eece
mov ecx, eax
lea edi, [esp + edx + 0x320]
mov ebp, ecx
lea esi, [esp + 0x4320]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
add ecx, edx
push 1
sub esp, 0x10
lea eax, [esp + 0x334]
mov byte [esp + ecx + 0x334], 0
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00445210
mov ecx, dword [0x516f90]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ebp, eax
xor eax, eax
test ebp, ebp
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x41f38a
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x24]
test al, al
jne 0x41f38a
mov al, byte [ebp + 4]
xor edi, edi
test al, al
mov dword [esp + 0x30], edi
jne 0x41f2d8
lea ebx, [esp + 0x5320]
cmp dword [esp + 0x30], 0x3e8
jge 0x41f2cd
lea ecx, [esp + 0x168]
push ecx
call fcn.0045fb51
fiadd dword [esp + 0x34]
push ecx
fadd qword [0x46b3a0]
fstp qword [esp]
push str._.0f
push ebx
call fcn.0045faff
push 0xf
push ebx
call fcn.0045acd0
mov edx, dword [ebp]
add esp, 0x18
mov ecx, ebp
push 1
call dword [edx + 0x10]
call fcn.0045f9d8
mov dword [ebx + 0x10], eax
mov eax, dword [ebp]
push 2
mov ecx, ebp
call dword [eax + 0x10]
call fcn.0045f9d8
mov dword [ebx + 0x14], eax
mov edx, dword [ebp]
push 3
mov ecx, ebp
call dword [edx + 0x10]
call fcn.0045f9d8
mov dword [ebx + 0x18], eax
mov edi, 0x46f4f0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebx + 0x1c]
mov eax, ecx
mov esi, edi
mov edi, edx
push 7
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0xac]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [eax + 4]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1b20]
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0xa8]
call fcn.00445280
lea ecx, [esp + 0xe4]
lea edx, [esp + 0x1b20]
push ecx
push edx
call fcn.0045cb50
mov eax, dword [ebp]
add esp, 8
mov ecx, ebp
push 0xa
call dword [eax + 0x10]
call fcn.0045f9d8
test eax, eax
je 0x41f05a
mov edx, dword [ebp]
push 0xb
mov ecx, ebp
call dword [edx + 0x10]
call fcn.0045f9d8
mov dword [esp + 0x64], eax
jmp 0x41f062
mov dword [esp + 0x64], 0
mov eax, dword [ebp]
lea ecx, [esp + 0x228]
push 5
push ecx
mov ecx, ebp
call dword [eax + 0x14]
lea edx, [esp + 0x238]
push 0x20
push edx
mov ecx, eax
mov dword [esp + 0x4d770], 5
call fcn.004453e0
mov eax, dword [eax + 4]
mov byte [esp + 0x4d768], 6
mov edi, 0x514f20
mov esi, eax
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x41f0ca
test al, al
je 0x41f0c6
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x41f0ca
add esi, 2
add edi, 2
test al, al
jne 0x41f0a2
xor eax, eax
jmp 0x41f0cf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41f0dd
mov dword [esp + 0x6c], str.0000000000
jmp 0x41f106
mov eax, dword [ebp]
lea ecx, [esp + 0x208]
push 5
push ecx
mov ecx, ebp
call dword [eax + 0x14]
or dword [esp + 0x98], 1
mov edx, dword [eax + 4]
mov byte [esp + 0x4d768], 7
mov dword [esp + 0x6c], edx
mov eax, dword [ebp]
lea ecx, [esp + 0x218]
push 6
push ecx
mov ecx, ebp
call dword [eax + 0x14]
mov esi, dword [eax + 4]
mov edx, dword [ebp]
lea eax, [esp + 0x1f8]
push 4
push eax
mov ecx, ebp
mov dword [esp + 0x4d770], 8
call dword [edx + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [ebp]
mov dword [esp + 0x18], ecx
push 0xd
mov ecx, ebp
mov byte [esp + 0x4d76c], 9
call dword [edx + 0x10]
call fcn.0045f9d8
neg eax
sbb eax, eax
mov ecx, ebp
and eax, 8
push eax
mov eax, dword [ebp]
push 0xf
call dword [eax + 0x10]
call fcn.0045f9d8
mov edx, dword [ebp]
mov edi, eax
neg edi
sbb edi, edi
push 0xe
mov ecx, ebp
and edi, 2
call dword [edx + 0x10]
call fcn.0045f9d8
neg eax
sbb eax, eax
mov ecx, ebp
neg eax
add edi, eax
mov eax, dword [ebp]
push edi
push 0xc
call dword [eax + 0x10]
call fcn.0045f9d8
mov edx, dword [esp + 0x6c]
mov ecx, ebp
neg eax
sbb eax, eax
and eax, 8
add eax, edx
mov edx, dword [ebp]
push eax
push 9
call dword [edx + 0x10]
call fcn.0045f9d8
push eax
mov eax, dword [ebp]
push 8
mov ecx, ebp
call dword [eax + 0x10]
call fcn.0045f9d8
mov ecx, dword [esp + 0xfa]
mov edx, dword [esp + 0xf6]
push eax
mov eax, dword [esp + 0xf8]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
mov ecx, 0x64
cdq
idiv ecx
mov eax, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x8c]
push esi
push edx
push eax
lea ecx, [ebx + 0x23]
push str._s_s_s_02d_02d_02d_04d_02X0_X_X_X
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x34
lea ecx, [esp + 0x1f8]
mov byte [esp + 0x4d768], 8
call fcn.00445280
lea ecx, [esp + 0x218]
mov byte [esp + 0x4d768], 7
call fcn.00445280
mov al, byte [esp + 0x98]
mov dword [esp + 0x4d768], 6
test al, 1
je 0x41f276
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x208]
and al, 0xfe
mov dword [esp + 0x98], eax
call fcn.00445280
lea ecx, [esp + 0x238]
mov byte [esp + 0x4d768], 5
call fcn.00445280
lea ecx, [esp + 0x228]
mov dword [esp + 0x4d768], 0xffffffff
call fcn.00445280
mov edx, dword [esp + 0x30]
mov dword [ebx + 0x124], 2
inc edx
mov ecx, ebp
mov dword [esp + 0x30], edx
mov edx, dword [ebp]
add ebx, 0x128
call dword [edx + 0x20]
mov al, byte [ebp + 4]
test al, al
je 0x41ef39
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x4d770]
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x1c]
test ebp, ebp
je 0x41f2ed
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
test edi, edi
jle 0x41f38a
lea esi, [esp + 0x5343]
mov eax, dword [esi + 0x101]
mov edx, dword [esi - 0xb]
push 0x514f20
push eax
mov eax, dword [esi - 0xf]
lea ecx, [esi - 7]
push esi
push ecx
mov ecx, dword [esi - 0x13]
push edx
push eax
lea edx, [esi - 0x23]
push ecx
push edx
push 0x476ed38
lea eax, [esp + 0x344]
push str.INSERT_INTO_GATC__sSTMT__idstmt__idkcom__idchn__iddevice__comando__dati__npriority__executing__datora__cpccchk__VALUES___s__d__d__d__s__s__d_0__s_foostrings_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
lea edx, [esp + 0x330]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edx, dword [esi - 0xb]
xor ecx, ecx
cmp eax, 1
mov eax, dword [esi - 0xf]
sete cl
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi - 0x13]
push edx
mov edx, dword [0x476edd0]
push eax
push ecx
push edx
call fcn.00459540
add esp, 0x10
add esi, 0x128
dec edi
jne 0x41f2fc
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x41f3a4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x65733c]
test ecx, ecx
je 0x420109
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x6585fc]
test eax, eax
jne 0x41f3bc
mov ecx, dword [esi + 0x65717c]
test ecx, ecx
jne 0x41f3f0
cmp eax, 1
jne 0x41f3cb
mov ecx, dword [esi + 0x65717c]
test ecx, ecx
jne 0x41f3f0
cmp eax, 2
jne 0x4200f4
mov eax, dword [esi + 0x65717c]
test eax, eax
je 0x4200f4
mov eax, dword [esi + 0x65743c]
test eax, eax
je 0x4200f4
mov eax, dword [esi + 0x6571fc]
test eax, eax
je 0x41f418
mov edx, dword [esp + 0x4d774]
lea ecx, [esp + 0x34]
push ecx
push edx
push ebx
call fcn.0041b0d0
add esp, 0xc
test eax, eax
je 0x4200f4
mov al, byte [esp + 0x11]
cmp al, 0x30
je 0x41f428
cmp al, 0x31
jne 0x4200f4
mov eax, dword [esi + 0x65743c]
test eax, eax
je 0x41f5ad
lea eax, [ebx + ebx*2]
mov ebp, dword [esp + 0x4d774]
lea esi, [esp + 0x60]
push 0x46e08c
lea eax, [eax + eax*8]
mov dword [esp + 0x1c], esi
lea eax, [ebx + eax*8]
lea ecx, [eax + eax*2]
lea edx, [ebx + ecx*2]
or ecx, 0xffffffff
lea edx, [edx + edx*4]
shl edx, 5
mov dword [esp + 0x68], edx
lea eax, [edx + ebp*2]
add edx, ebp
lea edi, [eax + ebp + 0x6577bc]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp + ebp*4]
lea edi, [edx + ecx*8 + 0x65781c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x184]
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0x184]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
mov edx, dword [esp + 0x64]
lea eax, [ebp*8]
sub eax, ebp
or ecx, 0xffffffff
lea esi, [esp + 0x134]
lea edi, [eax + edx + 0x65811c]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x18], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebx + ebx*2]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [eax + eax*8]
lea esi, [esp + 0x158]
lea eax, [ebx + ecx*8]
lea eax, [eax + eax*2]
lea eax, [ebx + eax*2]
lea ecx, [eax + eax*4]
lea eax, [ebp + ecx*4]
or ecx, 0xffffffff
lea edi, [eax*8 + 0x6581fc]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x18], esi
mov esi, edi
mov edi, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
shl ecx, 4
add edx, ecx
or ecx, 0xffffffff
lea edi, [edx + ebp + 0x65759c]
lea edx, [esp + 0x248]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x56]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x46e08c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x41faf9
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x476ed38
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x184]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x476ed38
rep movsb byte es:[edi], byte [esi]
mov edi, 0x514f20
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x476ed38
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x476ed38
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x476ed38
and ecx, 3
push 0x476ed38
rep movsb byte es:[edi], byte [esi]
push 0x476ed38
push 0x476ed38
push 0x476ed38
lea ecx, [esp + 0x94]
push 0x476ed38
push ecx
lea edx, [esp + 0x9c]
push 0x476ed38
push edx
lea eax, [esp + 0x78]
push 0x476ed38
push eax
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
lea ecx, [esp + 0x374]
push str.SELECT_codd__ssubject15.idsystem_codd__ssubject15.idticket_codd__ssubject15.lgokpres_FROM_GATC__sBADGE__codd__ssubject15_WHERE_GATC__sBADGE.hextessera_s_AND_codd__ssubject15.dtactivat__s_AND_codd__ssubject15.dtexpirat__s_AND_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
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x5c
lea edx, [esp + 0x320]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebp, eax
xor eax, eax
test ebp, ebp
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x41f79b
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x24]
test al, al
jne 0x41f79b
mov al, byte [ebp + 4]
test al, al
jne 0x41f786
mov eax, dword [ebp]
lea ecx, [esp + 0xa8]
push 1
push ecx
mov ecx, ebp
mov dword [esp + 0xe0], 1
call dword [eax + 0x14]
mov eax, dword [eax + 4]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x60]
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0xa8]
call fcn.00445280
mov edx, dword [ebp]
lea eax, [esp + 0xa8]
push 2
push eax
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [eax + 4]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x180]
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0xa8]
call fcn.00445280
lea ecx, [esp + 0x180]
push 0x46e08c
push ecx
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
mov dword [esp + 0x68], 1
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x1c]
test ebp, ebp
je 0x41f79b
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x41faf9
mov eax, dword [esp + 0x68]
test eax, eax
je 0x41faf9
push 0x476ed38
lea ecx, [esp + 0x324]
push str.SELECT_qtchrbadge_FROM_cotg__scodifyrule_WHERE_idaccess1
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x320]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, eax
xor eax, eax
test esi, esi
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x41f840
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
test al, al
jne 0x41f840
mov al, byte [esi + 4]
test al, al
jne 0x41f82d
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x10]
call fcn.0045f9d8
mov dword [esp + 0x10c], eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
test esi, esi
je 0x41f840
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
or ecx, 0xffffffff
mov edi, 0x514f20
xor eax, eax
lea edx, [esp + 0x134]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x476ed38
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x15c]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x476ed38
rep movsb byte es:[edi], byte [esi]
mov edi, 0x514f20
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x476ed38
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x254]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x476ed38
rep movsb byte es:[edi], byte [esi]
mov edi, 0x514f20
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x476ed38
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x6a]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x476ed38
rep movsb byte es:[edi], byte [esi]
mov edi, 0x477fa0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x476ed38
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x476ed38
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x476ed38
and ecx, 3
push 0x476ed38
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x98]
lea edx, [esp + 0x98]
push ecx
push 0x476ed38
push edx
lea eax, [esp + 0xa4]
push 0x476ed38
push eax
lea ecx, [esp + 0xac]
push 0x476ed38
push ecx
push 0x476ed38
lea edx, [esp + 0x1c8]
push 0x476ed38
push edx
lea eax, [esp + 0xb0]
push 0x476ed38
push eax
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
push 0x476ed38
lea ecx, [esp + 0x390]
push str.SELECT_codd__ssubject17.idrapcomp_codd__ssubject17.idrapempl_codd__ssubject17.idsubject_FROM_codd__ssubject17_INNER_JOIN_codd__ssubject15_ON_codd__ssubject15.idsystem_s_AND_codd__ssubject15.idticket_s_AND_codd__ssubject15.lgokticket1_AND_codd__ssubject15.dtactivat__s_AND_codd__ssubject15.dtexpirat__s_AND_codd__ssubject17.dtstartvl__s_AND_codd__ssubject17.dtendvl__s_AND_codd__ssubject15.dtactivatcodd__ssubject17.dtactivat_AND_codd__ssubject15.idcompanycodd__ssubject17.idcompany_AND_codd__ssubject15.idsubjectcodd__ssubject17.idsubject_AND_codd__ssubject15.idsystemcodd__ssubject17.idsystem_AND_codd__ssubject15.idticketcodd__ssubject17.idticket
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x78
lea edx, [esp + 0x320]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebp, eax
xor eax, eax
test ebp, ebp
sete al
test eax, eax
mov dword [0x476ecf4], eax
jne 0x41faf9
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x24]
test al, al
jne 0x41faf9
mov al, byte [ebp + 4]
test al, al
jne 0x41fae4
mov edi, 0x46e08c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x56]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0xac]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [eax + 4]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x134]
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0xa8]
call fcn.00445280
mov edx, dword [ebp]
lea eax, [esp + 0xa8]
push 2
push eax
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [eax + 4]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x158]
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0xa8]
call fcn.00445280
mov edx, dword [ebp]
lea eax, [esp + 0xa8]
push 3
push eax
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [eax + 4]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x248]
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0xa8]
call fcn.00445280
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x1c]
test ebp, ebp
je 0x41faf9
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
lea ecx, [esp + 0x178]
lea edx, [esp + 0x60]
push ecx
push 6
push 0x20
push edx
push 1
call fcn.0045ab10
lea edi, [esp + 0x194]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10c]
not ecx
dec ecx
cmp ecx, edx
jl 0x41fb64
cmp edx, 0xf
lea edi, [esp + 0x180]
jle 0x41fb4f
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffff0
lea edi, [esp + ecx + 0x180]
jmp 0x41fb6b
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub ecx, edx
lea edi, [esp + ecx + 0x180]
jmp 0x41fb6b
lea edi, [esp + 0x180]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1320]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1320]
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 + 0x2c0]
push ecx
push 0x10
push 0x20
push edx
push 1
call fcn.0045ab10
lea edi, [esp + 0x194]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0xa
jle 0x41fbd6
lea edi, [esp + 0x180]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffff5
jmp 0x41fbd8
xor ecx, ecx
lea edi, [esp + ecx + 0x180]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1320]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1320]
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 + 0x2b4]
push ecx
push 0xa
push 0x30
push edx
push 0
call fcn.0045ab10
lea eax, [ebx + ebx*2]
add esp, 0x14
mov edi, 0x514f20
lea eax, [eax + eax*8]
lea eax, [ebx + eax*8]
lea ecx, [eax + eax*2]
lea eax, [ebx + ecx*2]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x4d774]
shl edx, 5
lea eax, [eax + eax*2]
lea ebp, [edx + eax*2]
lea esi, [ebp + 0x65727c]
mov dword [esp + 0x18], esi
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x41fc7a
test al, al
je 0x41fc76
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x41fc7a
add esi, 2
add edi, 2
test al, al
jne 0x41fc52
xor eax, eax
jmp 0x41fc7f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41fce1
mov edi, 0x46f4b4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xd0]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xfc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x46f4b4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x160]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.00000
jmp 0x41fd37
lea ecx, [ebp + 0x65727d]
push 2
lea edx, [esp + 0xd4]
push ecx
push edx
call fcn.0045eb70
lea edi, [ebp + 0x65727f]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xfc]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0xd2], 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x160]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x46f4b4
lea esi, [esp + 0x38]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x41fd85
test al, al
je 0x41fd81
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x41fd85
add esi, 2
add edi, 2
test al, al
jne 0x41fd5d
xor eax, eax
jmp 0x41fd8a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41fd9c
lea edx, [esp + 0x114]
mov edi, 0x514f20
jmp 0x41fda7
lea edi, [esp + 0x38]
lea edx, [esp + 0x114]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 4
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1324]
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 + 0xf8]
push ecx
push edx
call fcn.0045eb70
lea eax, [esp + 0x132c]
mov byte [esp + 0x1330], 0
push eax
call fcn.0045f57e
lea eax, [eax + eax*4]
lea edx, [esp + 0x14c]
lea ebp, [eax + eax*4]
mov eax, dword [esp + 0xf0]
shl ebp, 2
lea ecx, [eax + 0x6573fc]
lea eax, [eax + 0x6573bc]
mov dword [esp + 0xf0], ecx
push ecx
lea ecx, [esp + 0x1334]
mov dword [esp + 0x2c], eax
push eax
push ecx
lea eax, [esp + 0x2dc]
push edx
lea ecx, [esp + 0x198]
push eax
push ecx
push 0x476ed38
lea edx, [esp + 0x34c]
push str.SELECT_MAX_antime__FROM_hrtb__sdraintimbr_WHERE_tpstamp__AND_idsociety_s_AND_ididentity_s_AND_andata_s_AND_antime_LIKE__s___AND_antprec1_s_AND_antprec2_s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x34
lea eax, [esp + 0x320]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x120], esp
push eax
call fcn.00445210
mov ecx, dword [0x516f90]
mov edx, dword [ecx]
call dword [edx + 0xc]
xor ecx, ecx
mov dword [esp + 0x20], eax
test eax, eax
sete cl
mov eax, ecx
test eax, eax
mov dword [0x476ecf4], eax
jne 0x42000b
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
call dword [edx + 0x24]
test al, al
jne 0x42000b
mov eax, dword [esp + 0x20]
mov cl, byte [eax + 4]
test cl, cl
jne 0x41fff4
mov ecx, eax
lea eax, [esp + 0xa8]
push 1
push eax
mov edx, dword [ecx]
call dword [edx + 0x14]
mov edi, dword [eax + 4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1320]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0xa8]
call fcn.00445280
mov edi, 0x514f20
lea esi, [esp + 0x1320]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x41ff2c
test al, al
je 0x41ff28
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x41ff2c
add esi, 2
add edi, 2
test al, al
jne 0x41ff04
xor eax, eax
jmp 0x41ff31
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41fff4
lea eax, [esp + 0x1320]
push 2
lea ecx, [esp + 0x108]
push eax
push ecx
call fcn.0045eb70
lea edx, [esp + 0x132e]
push 2
lea eax, [esp + 0x110]
push edx
push eax
mov byte [esp + 0x11e], 0
call fcn.0045eb70
lea ecx, [esp + 0x133c]
push 2
lea edx, [esp + 0x124]
push ecx
push edx
mov byte [esp + 0x126], 0
call fcn.0045eb70
lea eax, [esp + 0x128]
mov byte [esp + 0x12e], 0
push eax
call fcn.0045f57e
lea ecx, [esp + 0x128]
mov edi, eax
push ecx
call fcn.0045f57e
lea edx, [esp + 0x134]
mov esi, eax
push edx
call fcn.0045f57e
add esp, 0x30
inc eax
cmp eax, 0x3c
jne 0x41ffd5
xor eax, eax
inc esi
cmp esi, 0x3c
jne 0x41ffd5
xor esi, esi
inc edi
lea ecx, [edi + edi*4]
lea ecx, [ecx + ecx*4]
lea ecx, [esi + ecx*4]
lea ecx, [ecx + ecx*4]
lea edx, [ecx + ecx*4]
lea ebp, [eax + edx*4]
cmp ebp, 0x399b7
jne 0x41fff4
mov ebp, 0x3a980
mov esi, dword [esp + 0x20]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x1c]
test esi, esi
je 0x42000b
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push ebp
lea eax, [esp + 0xf8]
push str._06d
push eax
call edi
mov al, byte [esp + 0x1d]
add esp, 0xc
cmp al, 0x30
mov esi, 0x471e68
je 0x420036
mov esi, 0x477c40
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + 0x2b4]
push eax
lea edx, [esp + 0x164]
push ecx
lea eax, [esp + 0x250]
push edx
lea ecx, [esp + 0x164]
push eax
lea edx, [esp + 0x144]
push ecx
lea eax, [esp + 0x6a]
push edx
lea ecx, [esp + 0x12c]
push eax
lea edx, [esp + 0x118]
push ecx
mov ecx, dword [esp + 0x100]
lea eax, [esp + 0xf0]
push edx
mov edx, dword [esp + 0x3c]
push eax
push esi
push ecx
lea eax, [esp + 0x124]
push edx
lea ecx, [esp + 0x170]
push eax
lea edx, [esp + 0x2f8]
push ecx
lea eax, [esp + 0x1b4]
push edx
push eax
push 0x476ed38
lea ecx, [esp + 0x368]
push str.INSERT_INTO_HRTB__sDRAINTIMBR__tpstamp_idsociety_ididentity_andata_antime_antprec1_antprec2_fltowards_qtstation1_qtstation2_qtnpasti_qtextra_anjustif_anhhjust_idyard_antype_qtcatering_andelete_qtnrstamp_angstforz_anprov_anchstamp_anfictit_anshftdata_anshfttime_tpidentity_flghost_idcompany_idemploy_anfiller_idsubject_qtstation_flreadrec_flreadgp3_flreadgtl_idtagrfid_cpccchk__VALUES______s___s___s___s___s___s___s___s___s__0__0___s________0____0______________B___s___s___s_____s___s_________s___010lu_
push ecx
call edi
add esp, 0x40
lea edx, [esp + 0x330]
mov ecx, esp
mov dword [esp + 0xf0], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0x10]
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x420109
mov ecx, dword [0x516f90]
mov edx, dword [ecx]
call dword [edx + 0x18]
jmp 0x420114
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0x1c]
push 0x46054d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4205b4
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp + 0x67284c]
test eax, eax
je 0x4201c4
mov eax, dword [esp + 0x4d77c]
test eax, eax
je 0x420154
mov eax, dword [ebp + 0x658dfc]
test eax, eax
jne 0x420160
jmp 0x4201c4
mov al, byte [esp + 0x11]
cmp al, 0x4f
je 0x420160
cmp al, 0x51
jne 0x4201c4
mov edi, 0x4779fc
lea esi, [esp + 0x34]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x420191
test al, al
je 0x42018d
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x420191
add esi, 2
add edi, 2
test al, al
jne 0x420169
xor eax, eax
jmp 0x420196
sbb eax, eax
sbb eax, 0xffffffff
lea ecx, [esp + 0x70]
lea edx, [esp + 0x1ac]
push ecx
mov ecx, dword [esp + 0x4d780]
push edx
xor edx, edx
test eax, eax
mov eax, dword [esp + 0x4d77c]
push ecx
sete dl
push edx
push eax
push ebx
call fcn.00436580
add esp, 0x18
mov eax, dword [ebp + 0x658bfc]
test eax, eax
je 0x420280
mov edi, 0x4779fc
lea esi, [esp + 0x34]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x420203
test al, al
je 0x4201ff
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x420203
add esi, 2
add edi, 2
test al, al
jne 0x4201db
xor eax, eax
jmp 0x420208
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42024c
mov eax, dword [ebp + 0x675138]
test eax, eax
jne 0x420280
mov eax, dword [esp + 0x4d774]
push 0
push 1
push 0x4779f8
push eax
push ebx
call fcn.0042f970
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4205b4
mov ebp, dword [esp + 0x14]
mov dword [ebp + 0x674758], 1
jmp 0x420280
mov ecx, dword [esp + 0x4d774]
push 0
push 1
push 0x4779f4
push ecx
push ebx
call fcn.0042f970
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4205b4
mov ebp, dword [esp + 0x14]
mov dword [ebp + 0x6747d8], 1
mov eax, dword [ebp + 0x674858]
test eax, eax
jl 0x4202b4
mov eax, dword [ebp + 0x658cfc]
test eax, eax
je 0x4202b4
mov eax, dword [ebp + 0x6748d8]
test eax, eax
jne 0x4202b4
mov dword [ebp + 0x6748d8], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x6749d8], eax
mov eax, dword [esp + 0x4d77c]
test eax, eax
je 0x4202f2
mov eax, dword [ebp + 0x6596c8]
test eax, eax
je 0x4202f2
mov eax, dword [ebp + 0x65a108]
mov esi, 5
cmp eax, esi
je 0x4202f7
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x4d774]
push edx
push 1
push eax
push ebx
call fcn.00409690
add esp, 0x10
jmp 0x4202f7
mov esi, 5
mov eax, dword [esp + 0x4d77c]
test eax, eax
je 0x4203b8
mov eax, dword [ebp + 0x65a188]
test eax, eax
je 0x420330
cmp dword [ebp + 0x65abc8], esi
je 0x420330
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x4d774]
push ecx
push 2
push edx
push ebx
call fcn.00409690
add esp, 0x10
mov eax, dword [esp + 0x4d77c]
test eax, eax
je 0x4203b8
mov eax, dword [ebp + 0x65ac48]
test eax, eax
je 0x420365
cmp dword [ebp + 0x65b688], esi
je 0x420365
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x4d774]
push eax
push 3
push ecx
push ebx
call fcn.00409690
add esp, 0x10
mov eax, dword [esp + 0x4d77c]
test eax, eax
je 0x4203b8
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x65dfc8]
test eax, eax
je 0x4203b8
xor edx, edx
mov eax, 0x5e6ae8
cmp dword [eax], 0
je 0x4204a8
add eax, 0x58
inc edx
cmp eax, 0x5ed8e8
jl 0x420385
mov ecx, dword [esp + 0x4d774]
mov edx, dword [esp + 0x24]
push str.Error_1:_all_threads_still_running
push 1
push 0
push ecx
push ebx
push edx
call fcn.0041ae50
add esp, 0x18
mov al, byte [esp + 0x11]
cmp al, 0x30
je 0x4203cc
cmp al, 0x31
je 0x4203cc
cmp al, 0x32
jne 0x4205b4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x6758cc]
test ecx, ecx
je 0x4205b4
lea ecx, [esp + 0x4b20]
lea edx, [esp + 0x288]
push ecx
lea eax, [esp + 0x260]
push edx
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x150]
push ecx
lea eax, [esp + 0xb0]
push edx
push eax
push 1
xor esi, esi
xor ebp, ebp
call fcn.004205f0
lea edi, [esp + 0x4b3c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x1c
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 1
cmp ecx, 2
jne 0x42046b
push edi
lea ecx, [esp + 0x4b24]
push 0x4779f0
push ecx
call fcn.0045f690
mov esi, eax
push edi
neg esi
lea edx, [esp + 0x4b31]
push 0x4779f0
sbb esi, esi
push edx
inc esi
call fcn.0045f690
mov ebp, eax
add esp, 0x18
neg ebp
sbb ebp, ebp
inc ebp
mov al, byte [esp + 0x11]
cmp al, 0x30
jne 0x420534
test esi, esi
je 0x42048b
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x65847c], edi
je 0x42057e
test ebp, ebp
je 0x4205b4
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x65847c], edi
jg 0x42057e
jmp 0x4205b4
cmp edx, 0x140
jge 0x420399
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x12]
mov dword [edx*4 + 0x45ed558], eax
or ecx, 0xffffffff
xor eax, eax
lea ebp, [edx*2 + 0x5599fc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [edx*4 + 0x558cf8], 0
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [edx + edx*4]
and ecx, 3
lea eax, [eax + eax*4]
rep movsb byte es:[edi], byte [esi]
lea ecx, [eax + eax*4]
lea eax, [ebx + ecx*8]
mov ecx, dword [esp + 0x4d774]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
lea ecx, [edx + edx*4]
push eax
push 0x408470
lea edx, [edx + ecx*2]
push 0
lea eax, [edx*8 + 0x5e6ae0]
push eax
call fcn.0045a6d0
add esp, 0x10
jmp 0x4203b8
cmp al, 0x31
jne 0x42055a
test esi, esi
je 0x420548
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x6584fc], edi
je 0x42057e
test ebp, ebp
je 0x4205b4
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x6584fc], edi
jg 0x42057e
jmp 0x4205b4
cmp al, 0x32
jne 0x4205b4
test esi, esi
je 0x42056e
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x65857c], edi
je 0x42057e
test ebp, ebp
je 0x4205b4
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x65857c], edi
jle 0x4205b4
lea eax, [esp + 0x288]
lea ecx, [esp + 0x25c]
push eax
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x14c]
push edx
mov edx, dword [esp + 0x4d780]
lea ecx, [esp + 0xac]
push eax
push ecx
push edx
push ebx
call fcn.004207a0
add esp, 0x1c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4d760]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4d75c
ret