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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x11
add esp, 0xfffff004
push eax
dec eax
jne 0x40b159
mov eax, dword [ebp - 4]
add esp, 0xfffffc50
push ebx
push esi
push edi
mov eax, 0x52ce4c
call fcn.0049b3b8
mov word [ebp - 0x18], 8
xor edx, edx
mov dword [ebp - 4], edx
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 0x14
mov word [ebp - 0x18], 0x20
push str.38400_N_8_1
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00403510
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.004036e0
pop ecx
lea eax, [ebp - 0x113b4]
mov byte [ebp - 0x29], 0
mov ecx, dword [ebp + 0xc]
mov byte [ecx + 0x39], 0
push 0x10000
push 0
push eax
call fcn.0049af44
add esp, 0xc
xor ebx, ebx
call fcn.004a2ec0
mov edi, eax
push 1
call sub.KERNEL32.DLL_Sleep
call fcn.00403fd0
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x39], 0
jne 0x40b246
cmp ebx, 0xe000
jle 0x40b1fb
xor ebx, ebx
push 1
push ebx
lea eax, [ebp - 0x113b4]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00403618
add esp, 0x10
mov ebx, eax
test ebx, ebx
jle 0x40b232
xor esi, esi
lea eax, [ebp - 0x113b4]
cmp ebx, esi
jle 0x40b22e
cmp byte [eax], 0x81
je 0x40b22e
inc esi
inc eax
cmp ebx, esi
jg 0x40b223
cmp ebx, esi
jne 0x40b246
call fcn.004a2ec0
sub eax, edi
cmp eax, 0x320
jg 0x40b378
jmp 0x40b1dc
mov byte [ebp - 0x13b4], 0x7e
push 1
lea edx, [ebp - 0x13b4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004035d4
add esp, 0xc
xor ebx, ebx
call fcn.004a2ec0
mov edi, eax
push 1
call sub.KERNEL32.DLL_Sleep
call fcn.00403fd0
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x39], 0
jne 0x40b2b4
cmp ebx, 0xe000
jle 0x40b28a
xor ebx, ebx
push 1
push ebx
lea eax, [ebp - 0x113b4]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00403618
add esp, 0x10
mov ebx, eax
test ebx, ebx
jg 0x40b2b4
call fcn.004a2ec0
sub eax, edi
cmp eax, 0x258
jle 0x40b26b
mov byte [ebp - 0x13b4], 0x41
mov byte [ebp - 0x13b3], 0x54
mov byte [ebp - 0x13b2], 0xd
xor ebx, ebx
xor esi, esi
push 3
lea eax, [ebp - 0x13b4]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.004035d4
add esp, 0xc
mov ecx, dword [ebp + 0xc]
cmp byte [ecx + 0x39], 0
jne 0x40b378
call fcn.004a2ec0
mov edi, eax
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x39], 0
jne 0x40b360
cmp ebx, 0xe000
jle 0x40b309
xor ebx, ebx
push 0x64
push ebx
lea eax, [ebp - 0x113b4]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00403618
add esp, 0x10
mov ebx, eax
cmp ebx, 4
jl 0x40b352
cmp byte [ebp - 0x113b4], 0x4f
jne 0x40b34a
cmp byte [ebp - 0x113b3], 0x4b
jne 0x40b34a
cmp byte [ebp - 0x113b2], 0xa
jne 0x40b34a
cmp byte [ebp - 0x113b1], 0xd
je 0x40b350
mov byte [ebp - 0x29], 1
jmp 0x40b378
xor ebx, ebx
call fcn.004a2ec0
sub eax, edi
cmp eax, 0x258
jle 0x40b2f6
call fcn.004a2ec0
sub eax, edi
cmp eax, 0x258
jg 0x40b378
inc esi
cmp esi, 5
jl 0x40b2cd
cmp byte [ebp - 0x29], 0
je 0x40b382
xor ebx, ebx
jmp 0x40b397
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x39], 0
je 0x40b392
mov ebx, 0xc8
jmp 0x40b397
mov ebx, 0x64
mov eax, ebx
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0xc]
call fcn.004a6e54
pop eax
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x40b3e5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret