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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ead0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
mov dword [eax], 0
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 4], 0
cmp dword [ebp + 0x10], 0
je 0x418683
lea edx, [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.00418ed0
test eax, eax
je 0x418683
push 0x497f78
push 0x497f84
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x818]
call fcn.0040d750
push eax
call fcn.0040b4f0
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0xc], 0
lea edx, [ebp + 0xc]
push edx
call fcn.00431420
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00417ed0
mov eax, dword [ebp - 0x18]
jmp 0x418b98
push 2
push 3
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp + 0xc]
call fcn.00408920
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3c]
call fcn.0045e910
push eax
call fcn.004184c0
add esp, 4
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00417ed0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xc]
push edx
push str.ParsingSerial_:_i_command_old_____d____i_command_code_____d_
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x818]
call fcn.0040d750
push eax
call fcn.0040b4f0
add esp, 0x10
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
mov eax, dword [ecx + 0xc]
cmp eax, dword [edx + 8]
jne 0x418731
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x34]
sub eax, dword [ecx + 0x10]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push str.Duplicate_data_received1__:__interval_____d____code_____d
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 0x818]
call fcn.0040d750
push eax
call fcn.0040b4f0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x34]
sub eax, dword [ecx + 0x10]
cmp eax, 0xe
jae 0x4187b7
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov ecx, dword [edx + 0xc]
cmp ecx, dword [eax + 8]
jne 0x4187af
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x34]
sub eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push str.Duplicate_data_received__:__interval_____d____code_____d
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x818]
call fcn.0040d750
push eax
call fcn.0040b4f0
add esp, 0x10
lea ecx, [ebp + 0xc]
push ecx
call fcn.00431420
add esp, 4
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00417ed0
mov eax, dword [ebp - 0x20]
jmp 0x418b98
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 8]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0x2c
ja case.default.0x4187d9
mov edx, dword [ebp - 0x40]
jmp dword [edx*4 + 0x418ba9]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00417ed0
mov eax, dword [ebp - 0x24]
jmp 0x418b98
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.00418f30
jmp case.default.0x4187d9
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00419110
jmp case.default.0x4187d9
lea edx, [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0041bff0
jmp case.default.0x4187d9
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.00429890
jmp case.default.0x4187d9
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00419510
jmp case.default.0x4187d9
lea edx, [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.004198e0
jmp case.default.0x4187d9
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.0041b790
jmp case.default.0x4187d9
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.0041a8f0
jmp case.default.0x4187d9
push 2
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0xc]
call fcn.004089f0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
call fcn.0045e910
push eax
call fcn.004725e8
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 0x818]
call fcn.0040d730
mov ecx, eax
call fcn.00405cf0
sub eax, esi
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x25], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00417ed0
movzx edx, byte [ebp - 0x25]
test edx, edx
je 0x418916
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.0041af00
jmp case.default.0x4187d9
lea edx, [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0041b960
jmp case.default.0x4187d9
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.0041bce0
jmp case.default.0x4187d9
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.0041aee0
jmp case.default.0x4187d9
lea edx, [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0041ac90
jmp case.default.0x4187d9
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.0041ad40
jmp case.default.0x4187d9
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.0041aec0
jmp case.default.0x4187d9
lea edx, [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0041b2d0
jmp case.default.0x4187d9
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.0041b300
jmp case.default.0x4187d9
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.0041bf00
jmp case.default.0x4187d9
lea edx, [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0041b2f0
jmp case.default.0x4187d9
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.0041c4f0
jmp case.default.0x4187d9
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.004199d0
jmp case.default.0x4187d9
lea edx, [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0041a060
jmp case.default.0x4187d9
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.0041a260
jmp case.default.0x4187d9
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00419e10
jmp case.default.0x4187d9
lea edx, [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00419ef0
jmp case.default.0x4187d9
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.00429890
jmp case.default.0x4187d9
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00429ba0
jmp case.default.0x4187d9
lea edx, [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0042a030
jmp case.default.0x4187d9
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.0042a1b0
jmp case.default.0x4187d9
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.0042a240
jmp case.default.0x4187d9
lea edx, [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0042a310
jmp case.default.0x4187d9
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.00429380
jmp case.default.0x4187d9
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.00429790
jmp case.default.0x4187d9
lea edx, [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00429680
jmp case.default.0x4187d9
lea ecx, [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.00429720
jmp case.default.0x4187d9
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.0041a360
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
push ecx
push str.ParsingSerial_:__page_____d____dll_____d__CMD_____d
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + 0x818]
call fcn.0040d750
push eax
call fcn.0040b4f0
add esp, 0x14
lea eax, [ebp + 0xc]
push eax
call fcn.00431420
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00417ed0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc