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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c872c
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 [0x550d85], bl
je 0x420729
call fcn.00420170
mov byte [0x550d85], 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 [0x550d6c]
cmp eax, ebx
jne 0x420749
call fcn.00420660
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 0x420ac1
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x550d70]
cmp eax, 0x7d0
jb 0x420ac1
call esi
sub eax, dword [0x550d80]
cmp eax, 0xea60
jbe 0x42078e
call esi
mov dword [0x550d80], eax
call fcn.0041f2c0
test al, al
je 0x420ac1
cmp dword [0x550d88], ebx
je 0x4207c6
call fcn.0044a480
test al, al
je 0x4207c6
call esi
sub eax, dword [0x550d88]
cmp eax, 0x3e8
jb 0x4207c6
call esi
sub eax, dword [0x550d88]
push eax
push str.Rendimiento:_BANKALESISTHREAD_Update_Loop__d
push 2
call fcn.0042a000
add esp, 0xc
call esi
mov dword [0x550d88], eax
call esi
push 0x550e40
mov dword [0x550d8c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [0x550d90], ebx
cmp dword [0x550d98], ebx
je 0x420811
mov ecx, dword [0x550d94]
mov eax, dword [ecx]
cmp eax, ecx
je 0x420803
mov eax, dword [eax + 8]
mov dword [0x550d90], eax
jmp 0x420811
push str.Error._Acceso_a_lista_vacia_de_ListBankAlesisThread_.
push ebx
call fcn.0042a000
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x550e40
call edi
cmp dword [0x550d90], ebx
je 0x420a91
mov eax, dword [0x550d90]
mov dword [ebp - 4], ebx
cmp dword [eax + 4], ebx
jne 0x420870
push 0x550e40
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x550d90]
push ecx
call fcn.004200e0
add esp, 4
push 0x550e40
mov dword [0x550d90], 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 [0x550d90]
cmp dword [edx + 8], ebx
jne 0x42095f
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 0x4208b3
mov ecx, dword [0x550d6c]
push ecx
mov ecx, eax
call fcn.0040cfe0
jmp 0x4208b5
xor eax, eax
mov edx, dword [0x550d90]
mov dword [edx + 8], eax
mov eax, dword [0x550d90]
mov byte [ebp - 4], bl
cmp dword [eax + 0x80c], ebx
je 0x42094a
mov ecx, dword [eax + 0x80c]
add ecx, 4
cmp dword [ecx], 1
jne 0x42090c
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 [0x550d90]
mov eax, dword [edx + 0x80c]
mov dword [eax + 4], ebx
mov eax, dword [0x550d90]
mov ecx, dword [eax + 0x80c]
cmp dword [ecx + 8], ebx
je 0x42094a
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0x80c]
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
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 [0x550d90]
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 [0x550d90]
mov ecx, dword [ecx + 8]
call fcn.0040d140
cmp eax, ebx
jne 0x4209a6
mov edx, dword [0x550d90]
push edx
call fcn.0041fb50
add esp, 4
push 0x550e40
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x550d90]
push eax
call fcn.004200e0
add esp, 4
push 0x550e40
mov dword [0x550d90], ebx
call edi
mov dword [ebp - 4], 0xffffffff
jmp 0x420a91
call fcn.0044a480
test al, al
je 0x420ac1
call esi
sub eax, dword [0x550d8c]
cmp eax, 0x3e8
jb 0x420ac1
call esi
sub eax, dword [0x550d8c]
push eax
push str.Rendimiento:_BANKALESISTHREAD_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