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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581b7d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x640040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 4], 0
wait
lea eax, [edi + 0x16c]
mov dword [ebp - 0x44], eax
cmp byte [eax], 0
je 0x53ccfa
push dword [edi + 0x80]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov eax, 0x80004005
wait
jmp 0x53d92e
sub esp, 8
call fcn.0051ebb0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x58], eax
lea edx, [edi + 0x158]
mov dword [ebp - 0x6c], edx
lea ecx, [edi + 0x90]
mov dword [ebp - 0x68], ecx
sub eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [ebp - 0x44]
cmp byte [eax], 0
jne 0x53cec9
cmp dword [edi + 0x94], 0
je 0x53cec9
lea eax, [edi + 0x88]
mov dword [ebp - 0x64], eax
cmp byte [eax], 0
je 0x53cec9
cmp dword [0x641a88], 0
je 0x53cec9
mov eax, dword [0x641b70]
test eax, eax
je 0x53cec9
cmp byte [eax + 0x102], 0
jne 0x53cec9
lea eax, [edi + 0x14c]
mov dword [ebp - 0x5c], eax
push 1
push dword [eax]
call fcn.00504850
test al, al
jne 0x53cf0b
push 1
mov ecx, edi
call fcn.0053a5d0
lea esi, [edi + 0x98]
mov dword [ebp - 0x60], esi
push 1
mov ecx, esi
call fcn.004f68b0
test al, al
je 0x53cea1
mov byte [ebp - 4], 1
wait
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0
mov eax, dword [edi + 0x17c]
neg eax
sbb eax, eax
mov dword [ebp - 0x40], eax
nop
test eax, eax
je 0x53ce41
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [edi + 0x170]
call dword [sym.imp.mfc140u.dll_CMapPtrToPtr::GetNextAssoc]
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x53ce2c
push 0xbe4
push str.c:DevjenkinsworkspaceiTools_for_IDMDeployer_V9.87_servermodbusOPCGroup.cpp
push 0x587798
mov eax, dword [0x641a88]
add eax, 0x32c
push eax
call fcn.004ec040
add esp, 0x10
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x53ce3c
mov byte [eax + 0x26], 1
mov eax, dword [ebp - 0x3c]
mov ecx, 0x1c
mov word [eax + 0x24], cx
mov eax, dword [ebp - 0x40]
jmp 0x53cde0
wait
mov dword [ebp - 4], 0
jmp 0x53ce9a
mov ecx, esi
call fcn.004f6a70
mov eax, dword [ebp - 0x64]
cmp byte [eax], 0
je 0x53cec9
mov dword [edi + 0x8c], 1
mov eax, dword [edi]
push edi
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx]
add eax, 0xcc
push eax
call fcn.004cf540
mov eax, dword [0x641b70]
cmp byte [eax + 0x101], 0
je 0x53cedc
call fcn.0051ecb0
mov byte [edi + 0x89], 0
push dword [edi + 0x80]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
xor eax, eax
wait
jmp 0x53d92e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], eax
cmp dword [edi + 0x154], 0
je 0x53d797
cmp dword [0x641a88], 0
je 0x53d797
mov eax, dword [ebp - 0x68]
mov ecx, esi
sub ecx, dword [eax]
xor edx, edx
cmp esi, dword [eax]
cmovae edx, ecx
mov eax, dword [ebp - 0x6c]
cmp edx, dword [eax]
jb 0x53d794
push 1
mov ecx, edi
call fcn.0053a5d0
mov byte [ebp - 0x4e], 0
push 1
lea ecx, [edi + 0x98]
call fcn.004f68b0
test al, al
je 0x53d794
movzx ecx, byte [ebp - 0x4e]
movzx eax, byte [0x641cc0]
cmp dword [edi + 0x198], 1
cmovg ecx, eax
mov byte [ebp - 0x4e], cl
mov byte [ebp - 0x4d], 0
mov eax, dword [edi + 0x190]
mov dword [ebp - 0x60], eax
test eax, eax
jne 0x53cf9d
mov dword [edi + 0x8c], eax
mov byte [ebp - 4], 3
wait
test eax, eax
je 0x53d66d
cmp dword [0x641a88], 0
je 0x53d66d
mov eax, dword [ebp - 0x44]
cmp byte [eax], 0
jne 0x53d66d
mov eax, dword [ebp - 0x64]
cmp byte [eax], 0
je 0x53d66d
lea eax, [ebp - 0x60]
push eax
call fcn.004044d0
mov esi, dword [eax]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x74], esi
test esi, esi
je 0x53d665
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
push 1
lea eax, [esi + 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.004f71d0
mov byte [ebp - 4], 4
cmp byte [ebp - 0x30], 0
je 0x53d659
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x53d659
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov esi, eax
mov dword [ebp - 0x78], esi
test esi, esi
je 0x53d659
cmp dword [0x641a88], 0
je 0x53d659
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x30], 0
jg 0x53d04b
cmp dword [eax + 0x4c], 0
jle 0x53d659
mov eax, dword [esi]
push 2
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
mov edx, dword [esi]
mov ecx, esi
test al, al
je 0x53d121
mov eax, dword [edx + 0x78]
call eax
mov al, byte [eax + 0x260]
test al, al
jne 0x53d249
mov eax, dword [0x641a88]
cmp dword [eax + 0x174], 0
je 0x53d099
cmp dword [esi + 0x12f0], 0
jne 0x53d099
cmp dword [eax + 0x170], 0
jne 0x53d249
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x4c], 0
jle 0x53d0e3
push 0
mov ecx, esi
call fcn.00464520
test al, al
je 0x53d0e0
call fcn.004646a0
test al, al
je 0x53d0e0
mov eax, dword [edi + 0x14c]
test eax, eax
je 0x53d0c9
add eax, 0xdc
jmp 0x53d0cb
xor eax, eax
push eax
push 0
push 7
push 0
mov eax, dword [ebp - 0x3c]
add eax, 0x40
push eax
mov ecx, esi
call fcn.00460390
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edi + 0x14c]
test eax, eax
je 0x53d0f5
lea edx, [eax + 0xdc]
jmp 0x53d0f7
xor edx, edx
push 1
push 0
push 0
push 1
lea eax, [edi + 0x88]
push eax
push 0
push 0
push dword [edi + 0x158]
lea eax, [ecx + 0x24]
push eax
push edx
mov ecx, esi
call fcn.0045da30
jmp 0x53d249
push 3
mov eax, dword [edx + 0x14]
call eax
test al, al
je 0x53d182
mov byte [ebp - 4], 5
wait
sub esp, 0x14
mov eax, dword [ebp - 0x3c]
add eax, 0x24
push eax
call fcn.00480950
wait
mov dword [ebp - 4], 4
jmp 0x53d249
mov eax, dword [esi]
push 4
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x53d1d7
mov byte [ebp - 4], 7
wait
sub esp, 0x14
mov eax, dword [ebp - 0x3c]
add eax, 0x24
push eax
mov ecx, esi
call fcn.004cb390
wait
mov dword [ebp - 4], 4
jmp 0x53d249
mov eax, dword [esi]
push 6
mov ecx, esi
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x53d227
mov byte [ebp - 4], 9
wait
sub esp, 0x14
mov eax, dword [ebp - 0x3c]
add eax, 0x24
push eax
call fcn.004cce80
wait
mov dword [ebp - 4], 4
jmp 0x53d249
push 0xc88
push str.c:DevjenkinsworkspaceiTools_for_IDMDeployer_V9.87_servermodbusOPCGroup.cpp
push 0x587798
mov eax, dword [0x641a88]
add eax, 0x32c
push eax
call fcn.004ec040
add esp, 0x10
mov esi, 0x1c
lea eax, [ebp - 0x1c]
push eax
call fcn.004cf540
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x4c], 0
mov eax, dword [edi + 0x17c]
neg eax
sbb eax, eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x53d592
cmp byte [edi + 0x16c], 0
jne 0x53d592
cmp byte [edi + 0x88], 0
je 0x53d592
mov byte [ebp - 4], 0xb
wait
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0x170]
call dword [sym.imp.mfc140u.dll_CMapPtrToPtr::GetNextAssoc]
push 0
push 0
push dword [ebp - 0x38]
mov ecx, edi
call fcn.00539480
test eax, eax
jne 0x53d2cc
wait
mov byte [ebp - 4], 4
jmp 0x53d272
mov eax, dword [ebp - 0x38]
cmp byte [eax + 0x27], 0
je 0x53d2f6
mov byte [ebp - 0x4d], 1
mov byte [eax + 0x26], 1
mov eax, dword [ebp - 0x38]
mov word [eax + 0x24], si
wait
mov dword [ebp - 4], 4
mov esi, 0x1c
jmp 0x53d272
cmp dword [eax], 0
jne 0x53d305
wait
mov byte [ebp - 4], 4
jmp 0x53d272
cmp byte [eax + 0x26], 0
je 0x53d321
mov byte [ebp - 0x4d], 1
wait
mov dword [ebp - 4], 4
mov esi, 0x1c
jmp 0x53d272
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov ecx, dword [ebp - 0x38]
push dword [ecx + 0x2c]
movzx eax, word [ecx + 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00544d30
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [edi + 0x158]
mov ecx, dword [ebp - 0x38]
call fcn.00546480
mov edx, dword [ebp - 0x38]
cmp word [edx + 0x24], ax
je 0x53d369
mov byte [ebp - 0x4d], 1
mov byte [edx + 0x26], 1
jmp 0x53d4c6
add edx, 0x10
lea ecx, [ebp - 0x2c]
call fcn.00509ad0
push 0
mov ecx, dword [ebp - 0x38]
test al, al
jne 0x53d489
call fcn.00544c50
test al, al
je 0x53d4bb
movss xmm0, dword [edi + 0x164]
ucomiss xmm0, dword [0x606414]
lahf
test ah, 0x44
jnp 0x53d4bb
mov ax, word [ebp - 0x2c]
cmp ax, 5
jne 0x53d3f8
mov eax, dword [ebp - 0x38]
cmp word [eax + 0x10], 5
jne 0x53d483
mov ecx, eax
call fcn.005442f0
cmp dword [eax + 0x110], 0
je 0x53d3f4
mov ecx, dword [ebp - 0x38]
call fcn.005442f0
mov esi, dword [eax + 0x114]
mov ecx, dword [ebp - 0x38]
call fcn.005442f0
mov ecx, dword [ebp - 0x38]
movsd xmm1, qword [ecx + 0x18]
subsd xmm1, qword [ebp - 0x24]
jmp 0x53d442
mov ax, word [ebp - 0x2c]
cmp ax, 4
jne 0x53d480
mov eax, dword [ebp - 0x38]
cmp word [eax + 0x10], 4
jne 0x53d483
mov ecx, eax
call fcn.005442f0
cmp dword [eax + 0x110], 0
je 0x53d480
mov ecx, dword [ebp - 0x38]
call fcn.005442f0
mov esi, dword [eax + 0x114]
mov ecx, dword [ebp - 0x38]
call fcn.005442f0
mov ecx, dword [ebp - 0x38]
movss xmm0, dword [ecx + 0x18]
subss xmm0, dword [ebp - 0x24]
cvtps2pd xmm1, xmm0
mov eax, dword [eax + 0x114]
movsd xmm2, qword [esi + 0x18]
subsd xmm2, qword [eax + 0x10]
andps xmm1, xmmword [0x606680]
movss xmm0, dword [edi + 0x164]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm2
divsd xmm0, qword [0x606550]
comisd xmm1, xmm0
jbe 0x53d4c6
mov byte [ebp - 0x4d], 1
mov byte [ecx + 0x26], 1
jmp 0x53d4c6
mov eax, dword [ebp - 0x38]
mov byte [ebp - 0x4d], 1
jmp 0x53d4c2
call fcn.00544c50
test al, al
je 0x53d4c6
mov ecx, dword [ebp - 0x38]
call fcn.005442f0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x30]
cmp edx, dword [eax + 0xc8]
jne 0x53d4bb
call fcn.005442f0
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x34]
cmp ecx, dword [eax + 0xcc]
je 0x53d4c6
mov byte [ebp - 0x4d], 1
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x26], 1
mov ecx, dword [ebp - 0x38]
cmp byte [ecx + 0x26], 0
je 0x53d53c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ecx + 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [edi + 0x158]
mov ecx, dword [ebp - 0x38]
call fcn.00546480
mov ecx, dword [ebp - 0x38]
mov word [ecx + 0x24], ax
push 0
mov ecx, dword [ebp - 0x38]
call fcn.00544c50
test al, al
je 0x53d530
mov ecx, dword [ebp - 0x38]
call fcn.005442f0
mov ecx, dword [eax + 0xc8]
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x30], ecx
mov ecx, dword [ebp - 0x38]
call fcn.005442f0
mov ecx, dword [eax + 0xcc]
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x34], ecx
jmp 0x53d53c
mov eax, dword [ebp - 0x38]
add eax, 0x30
push eax
call fcn.004cf540
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
wait
mov dword [ebp - 4], 4
mov esi, 0x1c
jmp 0x53d272
cmp byte [ebp - 0x4e], 0
je 0x53d659
cmp dword [edi + 0x154], 0
je 0x53d659
cmp byte [ebp - 0x4d], 0
je 0x53d659
cmp byte [edi + 0x16c], 0
jne 0x53d659
mov eax, dword [0x641b70]
test eax, eax
je 0x53d659
cmp byte [eax + 0x102], 0
jne 0x53d659
cmp byte [edi + 0x88], 0
je 0x53d659
mov byte [ebp - 4], 0xd
wait
mov dword [edi + 0x8c], 1
mov eax, dword [edi]
push edi
call dword [eax + 0x24]
mov byte [ebp - 0x4d], 0
mov eax, dword [edi + 0x14c]
add eax, 0xcc
push eax
call fcn.004cf540
wait
mov dword [ebp - 4], 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.004f7290
mov eax, dword [ebp - 0x60]
jmp 0x53cfa2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
call fcn.004f7290
mov eax, dword [ebp - 0x60]
jmp 0x53cfa2
wait
mov dword [ebp - 4], 0
jmp 0x53d6a7
lea ecx, [edi + 0x98]
call fcn.004f6a70
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov dword [ebp - 0x58], edx
cmp byte [ebp - 0x4e], 0
jne 0x53d77f
cmp dword [edi + 0x154], 0
je 0x53d77f
cmp byte [edi + 0x16c], 0
jne 0x53d77f
mov eax, dword [0x641b70]
test eax, eax
je 0x53d77f
cmp byte [eax + 0x102], 0
jne 0x53d77f
mov eax, dword [edi + 0x90]
mov ecx, edx
sub ecx, eax
xor esi, esi
cmp edx, eax
cmovb ecx, esi
cmp ecx, dword [edi + 0x158]
jb 0x53d77f
cmp byte [ebp - 0x4d], 0
je 0x53d77f
cmp byte [edi + 0x88], 0
je 0x53d77f
mov byte [ebp - 4], 0x10
wait
mov dword [edi + 0x8c], 1
mov eax, dword [edi]
push edi
call dword [eax + 0x24]
mov eax, dword [edi + 0x14c]
add eax, 0xcc
push eax
call fcn.004cf540
wait
mov dword [ebp - 4], esi
jmp 0x53d77f
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [edi + 0x90], eax
call esi
mov dword [ebp - 0x58], eax
jmp 0x53d797
mov eax, dword [ebp - 0x58]
mov ecx, eax
sub ecx, dword [ebp - 0x5c]
xor edx, edx
cmp eax, dword [ebp - 0x5c]
cmovb ecx, edx
mov eax, dword [edi + 0x158]
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x70]
cmp ecx, eax
jbe 0x53d7c6
mov byte [edx + 0x1b4], 1
inc dword [0x641af0]
jmp 0x53cd30
mov byte [edx + 0x1b4], 0
mov esi, dword [edi + 0x90]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
sub edi, esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, esi
mov ecx, dword [ebp - 0x40]
cmp eax, dword [ecx + 0x90]
cmovae esi, edi
mov edx, dword [ebp - 0x5c]
cmp esi, edx
jae 0x53d84f
sub edx, esi
je 0x53d84f
mov edi, ecx
cmp dword [edi + 0x94], 0
je 0x53cd30
cmp byte [edi + 0x88], 0
je 0x53cd30
cmp byte [edi + 0x16c], 0
jne 0x53cd30
mov eax, dword [0x641b70]
test eax, eax
je 0x53cd30
cmp byte [eax + 0x102], 0
jne 0x53cd30
lea ecx, [edi + 0x94]
call fcn.0050e940
jmp 0x53cd30
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp - 0x40]
jmp 0x53cd30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055c86d
mov esp, ebp
pop ebp
ret