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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404888
mov eax, dword [ebp - 8]
call fcn.00404888
mov eax, dword [ebp + 0x18]
call fcn.00404888
mov eax, dword [ebp + 0x14]
call fcn.00404888
mov eax, dword [ebp + 0x10]
call fcn.00404888
xor eax, eax
push ebp
push 0x48444c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
xor eax, eax
mov dword [ebx + 0x2c], eax
mov al, byte [ebp + 0xc]
mov byte [ebx + 0x30], al
test esi, esi
jbe 0x4841a8
call sub.kernel32.dll_GetTickCount
add esi, eax
cmp byte [ebx + 4], 0
jne 0x4843fb
mov byte [ebx + 5], 0
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 4]
mov edx, 0x484468
call fcn.004046ec
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x37]
call fcn.00408f94
push 0x32
call sub.kernel32.dll_Sleep
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x37]
push eax
call sub.kernel32.dll_CreateFileA_1
mov edi, eax
mov dword [ebx + 0xc], edi
cmp edi, 0xffffffff
jne 0x4842c6
call sub.kernel32.dll_GetLastError_1
mov dword [ebx + 0x2c], eax
test esi, esi
jbe 0x4842c6
call sub.kernel32.dll_GetTickCount
push eax
mov eax, esi
pop edx
sub eax, edx
mov ecx, 0x3e8
xor edx, edx
div ecx
mov edi, eax
inc edi
mov eax, dword [0x49111c]
mov eax, dword [eax]
cmp byte [eax + 0x1a6], 0
je 0x48428f
lea edx, [ebp - 0x40]
mov eax, dword [0x49111c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
call fcn.004476c8
mov eax, dword [ebp - 0x40]
call fcn.00483bf4
push edx
push eax
mov eax, edi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x48426a
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4842ba
jmp 0x48426e
pop edx
pop eax
jge 0x4842ba
lea edx, [ebp - 0x44]
mov eax, edi
call fcn.00483c7c
mov edx, dword [ebp - 0x44]
mov eax, dword [0x49111c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
call fcn.004476f8
jmp 0x4842ba
lea edx, [ebp - 0x48]
mov eax, edi
call fcn.00483c7c
mov edx, dword [ebp - 0x48]
mov eax, dword [0x49111c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
call fcn.004476f8
mov eax, dword [0x49111c]
mov eax, dword [eax]
call fcn.00464178
mov eax, dword [0x490fdc]
mov eax, dword [eax]
call fcn.00467458
cmp dword [ebx + 0xc], 0xffffffff
jne 0x4842e3
test esi, esi
je 0x4842e3
call sub.kernel32.dll_GetTickCount
cmp esi, eax
jb 0x4842e3
cmp dword [ebx + 0x2c], 5
je 0x4841d1
mov eax, dword [0x49111c]
mov eax, dword [eax]
cmp byte [eax + 0x1a6], 0
je 0x4842ff
mov eax, dword [0x49111c]
mov eax, dword [eax]
call fcn.00463fd0
mov esi, dword [ebx + 0xc]
cmp esi, 0xffffffff
jne 0x484379
mov byte [ebp - 9], 0
mov eax, dword [ebx + 0x2c]
sub eax, 2
je 0x48431a
sub eax, 3
je 0x484329
jmp 0x484338
lea eax, [ebp - 0x10]
mov edx, 0x484478
call fcn.00404480
jmp 0x484345
lea eax, [ebp - 0x10]
mov edx, 0x4844b8
call fcn.00404480
jmp 0x484345
lea eax, [ebp - 0x10]
mov edx, 0x484504
call fcn.00404480
cmp byte [ebx + 0x30], 0
je 0x484370
push 0x484520
push dword [ebp - 4]
push 0x484540
push dword [ebp - 0x10]
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.00404760
mov eax, dword [ebp - 0x4c]
call fcn.0048401c
mov byte [ebx + 6], 0
jmp 0x4843ff
lea eax, [ebp - 0x2c]
push eax
push esi
call sub.kernel32.dll_GetCommState
test eax, eax
jne 0x4843b1
mov byte [ebp - 9], 0
cmp byte [ebx + 0x30], 0
je 0x48439b
mov eax, 0x48454c
call fcn.0048401c
xor edx, edx
mov eax, ebx
call fcn.00484580
mov dword [ebx + 0xc], 0xffffffff
mov byte [ebx + 6], 0
jmp 0x4843ff
mov byte [ebx + 4], 1
mov byte [ebx + 6], 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004845c4
mov eax, 0x1001
call fcn.00402744
mov dword [ebx + 0x14], eax
lea eax, [ebx + 8]
mov edx, dword [ebp - 4]
call fcn.0040443c
push 0
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.00484b40
jmp 0x4843ff
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484453
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040440c
lea eax, [ebp - 0x40]
call fcn.004043e8
lea eax, [ebp - 0x3c]
call fcn.004043e8
lea eax, [ebp - 0x10]
call fcn.004043e8
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040440c
lea eax, [ebp + 0x10]
mov edx, 3
call fcn.0040440c
ret