Function at 0x4226a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8997
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x54e864]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x14], 4
cmp byte [0x550e7a], bl
je 0x4226f9
call fcn.004221e0
mov byte [0x550e7a], bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x550e64]
cmp eax, ebx
jne 0x422719
call fcn.00422630
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [eax + 4], ebx
je 0x422a9a
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x550e68]
cmp eax, 0x7d0
jb 0x422a9a
call fcn.00420ba0
test al, al
je 0x422a9a
cmp dword [0x550e7c], ebx
je 0x422780
call fcn.0044a480
test al, al
je 0x422780
call esi
sub eax, dword [0x550e7c]
cmp eax, 0x7d0
jb 0x422780
call esi
sub eax, dword [0x550e7c]
push eax
push str.Rendimiento:_BANKCENTRALTHREAD_Update_Loop__d
push 2
call fcn.0042a000
add esp, 0xc
call esi
mov dword [0x550e7c], eax
call esi
push 0x550f28
mov dword [0x550e80], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [0x550e84], ebx
cmp dword [0x550f44], ebx
je 0x4227cb
mov ecx, dword [0x550f40]
mov eax, dword [ecx]
cmp eax, ecx
je 0x4227bd
mov eax, dword [eax + 8]
mov dword [0x550e84], eax
jmp 0x4227cb
push str.Error._Acceso_a_lista_vacia_de_ListBankCentralThread_.
push ebx
call fcn.0042a000
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x550f28
call edi
cmp dword [0x550e84], ebx
je 0x422a6a
mov eax, dword [0x550e84]
mov dword [ebp - 4], ebx
cmp dword [eax + 4], ebx
jne 0x42282a
push 0x550f28
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x550e84]
push ecx
call fcn.00422150
add esp, 4
push 0x550f28
mov dword [0x550e84], ebx
call edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add eax, 0x818
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [0x550e84]
cmp dword [edx + 8], ebx
jne 0x422919
push 0x114
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x42286d
mov ecx, dword [0x550e64]
push ecx
mov ecx, eax
call fcn.0040cfe0
jmp 0x42286f
xor eax, eax
mov edx, dword [0x550e84]
mov dword [edx + 8], eax
mov eax, dword [0x550e84]
mov byte [ebp - 4], bl
cmp dword [eax + 0x80c], ebx
je 0x422904
mov ecx, dword [eax + 0x80c]
add ecx, 0x14
cmp dword [ecx], 1
jne 0x4228c6
mov eax, dword [eax + 8]
lea edx, [ebp - 0x14]
push edx
push ebx
push ecx
mov ecx, dword [eax + 4]
push ebx
push ebx
push 4
push 0xfffffffffffffff0
push 4
push 1
push ecx
call sub.ODBC32.dll_SQLBindParameter
mov edx, dword [0x550e84]
mov eax, dword [edx + 0x80c]
mov dword [eax + 0x14], ebx
mov eax, dword [0x550e84]
mov ecx, dword [eax + 0x80c]
cmp dword [ecx + 0x18], ebx
je 0x422904
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0x80c]
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x18]
push edx
mov edx, dword [eax + 8]
mov eax, dword [edx + 4]
push ecx
push ebx
push ebx
push 0xfffffffffffffffd
push 0xfffffffffffffffe
push 1
push 2
push eax
call sub.ODBC32.dll_SQLBindParameter
mov eax, dword [0x550e84]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
push 0x2000
add eax, 0xc
push eax
mov eax, dword [edx + 0x6c]
push 1
call eax
mov ecx, dword [0x550e84]
mov ecx, dword [ecx + 8]
call fcn.0040d140
cmp eax, ebx
jne 0x422960
mov edx, dword [0x550e84]
push edx
call fcn.00421ad0
add esp, 4
push 0x550f28
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x550e84]
push eax
call fcn.00422150
add esp, 4
push 0x550f28
mov dword [0x550e84], ebx
call edi
mov dword [ebp - 4], 0xffffffff
jmp 0x422a6a
call fcn.0044a480
test al, al
je 0x422a9a
call esi
sub eax, dword [0x550e80]
cmp eax, 0x7d0
jb 0x422a9a
call esi
sub eax, dword [0x550e80]
push eax
push str.Rendimiento:_BANKCENTRALTHREAD_Update_Process__d.
push 2
call fcn.0042a000
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret