Function at 0x401110
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
and esp, 0xfffffff8
sub esp, 0x1e0
mov eax, dword [ebp + 8]
mov dword [esp + 0x1cc], 0
mov dword [esp + 0x1c8], 0x40b7
mov dword [esp + 0x1c4], 0x1a93
mov ecx, dword [esp + 0x1dc]
mov dword [esp + 0x1dc], ecx
mov dword [esp + 0x18c], eax
mov eax, dword [sym.imp.USER32.dll_GetShellWindow]
mov dword [esp + 0x3c], ecx
call eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
mov ecx, esp
lea edx, [esp + 0x7c]
mov dword [ecx + 4], edx
mov dword [ecx], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowRect]
call eax
sub esp, 8
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x3c]
xor edx, 0xffffffff
mov dword [esp + 0x1dc], edx
cmp ecx, dword [esp + 0x80]
mov dword [esp + 0x38], eax
jne 0x4012f4
jmp 0x4011a9
jmp 0x401323
mov eax, 0x1a93
sub eax, dword [esp + 0x1c4]
mov ecx, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [esp + 0x34], eax
call ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetThreadPriority]
call eax
sub esp, 4
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jne 0x4011a4
jmp 0x401201
jmp 0x40128f
mov eax, esp
mov dword [eax + 4], 0
mov dword [eax], 0
mov eax, dword [sym.imp.USER32.dll_GetWindowRect]
call eax
mov dword [esp + 0x30], eax
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret 4
lea eax, [0x401053]
lea ecx, [0x40102c]
mov edx, 0x27
lea esi, [esp + 0x51]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x27
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll_printf
mov ecx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x24], eax
call ecx
mov ecx, dword [esp + 0x1c4]
add ecx, 0xffffe56d
mov edx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
call edx
lea ecx, [0x401070]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x190], edx
mov edx, dword [esp + 0x3c]
sub edx, edx
mov dword [esp + 0x1dc], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x18], eax
jmp 0x40129d
call fcn.00403650
mov dword [esp + 0x14], eax
jmp 0x401323
mov eax, dword [esp + 0x1c8]
mov ecx, dword [esp + 0x1cc]
xor eax, 0x4df5
mov edx, dword [esp + 0x78]
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x1c8]
mov esi, dword [esp + 0x1cc]
xor edx, eax
lea eax, [esp + 0x51]
mov dword [esp + 0x1c0], eax
xor ecx, esi
xor edx, 0x111d
or edx, ecx
mov dword [esp + 0x10], edx
je 0x4011de
jmp 0x401359
jmp 0x401323
mov eax, dword [esp + 0x190]
mov ecx, dword [esp + 0x1c4]
add eax, 1
xor ecx, 0x19c33
mov dword [esp + 0x190], eax
cmp dword [esp + 0x190], ecx
jg 0x4011d9
jmp 0x40132c
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret 4
lea eax, [0x40107f]
lea ecx, [esp + 0x198]
mov edx, dword [esp + 0x190]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call sub.msvcrt.dll_sprintf
mov dword [esp + 0xc], eax
jmp 0x40129d
mov eax, dword [esp + 0x1c0]
mov ecx, dword [esp + 0x1b4]
mov edx, esp
mov dword [edx + 4], ecx
mov dword [edx], eax
lea ecx, [esp + 0x194]
call fcn.004013a0
sub esp, 8
cmp eax, 0
setne bl
xor bl, 0xff
test bl, 1
jne 0x4012f6
jmp 0x40128f