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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
xor ebx, ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.0bc14c58
xor eax, eax
push ebp
push 0xbc672dd
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetCurrentThread
lea ecx, [ebp - 0x78]
mov edx, 0xb
mov eax, 0xbc672f8
call fcn.0bc66a38
mov eax, dword [ebp - 0x78]
call fcn.0bc14c68
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x1c], eax
push 1
call sub.user32.dll_IsIconic
push esi
push edx
dec edx
xor edx, 0xc3
push esi
pop esi
push esi
pop esi
inc esi
and esi, 0x182
pop edx
pop esi
lea ecx, [ebp - 0x7c]
mov edx, 8
mov eax, 0xbc67328
call fcn.0bc66a38
mov eax, dword [ebp - 0x7c]
call fcn.0bc14c68
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x20], eax
push esi
nop
nop
nop
and esi, 0x186
inc esi
xor esi, 0x105
dec esi
dec esi
dec esi
or esi, 5
add esi, 0x17
sub esi, 0xdb
pop esi
call sub.kernel32.dll_GetTickCount
push edi
mov edi, 0x82
or edi, 0x139
xor edi, 0x35
nop
nop
nop
dec edi
push edi
pop edi
sub edi, 0xe
and edi, 0x9b
pop edi
push dword [ebp - 4]
push 0xbc67360
push dword [ebp - 8]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0bc14b28
call sub.user32.dll_DestroyCaret
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.0bc132d4
push 1
call sub.user32.dll_GetDlgCtrlID
push ecx
push esi
push esi
pop esi
add esi, 0x175
add esi, 0x61
inc esi
sub ecx, 0x111
add esi, 0x5e
inc ecx
inc ecx
nop
nop
nop
nop
nop
nop
nop
dec ecx
and ecx, 0xc9
pop esi
pop ecx
mov byte [ebp - 0xd], 1
cmp dword [ebp - 0xc], 0
jne 0xbc67015
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 4]
call fcn.0bc18d40
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0xc]
call fcn.0bc1cb60
push 1
call sub.user32.dll_GetWindowContextHelpId
push esi
add esi, 0x173
xchg esi, esi
inc esi
mov esi, 0x16
add esi, 0x62
and esi, 4
pop esi
mov dword [ebp - 0x64], 0x44
call sub.kernel32.dll_GetCurrentThread
mov dword [ebp - 0x38], 1
call sub.user32.dll_GetKBCodePage
push esi
dec esi
nop
nop
nop
nop
nop
or esi, 0x17
inc esi
nop
nop
nop
sub esi, 0x13c
pop esi
mov word [ebp - 0x34], 0
cmp dword [ebp - 0xc], 0
je 0xbc67078
mov eax, dword [ebp - 0xc]
call fcn.0bc14c68
mov dword [ebp - 0x18], eax
jmp 0xbc6707d
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.0bc14c68
push eax
push 0
call dword [ebp - 0x20]
test eax, eax
jne 0xbc671c6
call sub.kernel32.dll_GetTickCount
push edi
mov edi, 0x82
or edi, 0x139
xor edi, 0x35
nop
nop
nop
dec edi
push edi
pop edi
sub edi, 0xe
and edi, 0x9b
pop edi
mov byte [ebp - 0xd], 0
call sub.kernel32.dll_GetTickCount
push edi
mov edi, 0x82
or edi, 0x139
xor edi, 0x35
nop
nop
nop
dec edi
push edi
pop edi
sub edi, 0xe
and edi, 0x9b
pop edi
call sub.kernel32.dll_GetLastError
mov edx, dword [ebp + 8]
mov dword [edx], eax
push edi
mov edi, 0x150
add edi, 0x96
dec edi
sub edi, 0x13a
mov edi, 0x60
pop edi
push 0xbc67364
call sub.kernel32.dll_AddAtomA
push ecx
push edx
mov edx, 0x141
and edx, 0x98
xor edx, 0x11c
add edx, 0x17b
dec ecx
xchg ecx, ecx
add edx, 0x6c
add edx, 0x15f
push ecx
pop ecx
sub edx, 0x122
or ecx, 0xca
xor edx, 0x167
pop edx
pop ecx
jmp 0xbc672b2
push 1
call sub.user32.dll_IsMenu
push edx
push edx
pop edx
dec edx
dec edx
sub edx, 0xac
xor edx, 0x2d
sub edx, 0x124
or edx, 0x10b
inc edx
and edx, 0x69
pop edx
call sub.kernel32.dll_GetCurrentThread
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle
push ebx
push ebx
pop ebx
inc ebx
sub ebx, 0xb7
nop
nop
nop
nop
nop
mov ebx, 0xd6
dec ebx
and ebx, 0x86
push ebx
pop ebx
pop ebx
call sub.user32.dll_GetActiveWindow
push 0xffffffffffffffff
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_WaitForSingleObject
push 1
call sub.user32.dll_IsIconic
push esi
push edx
dec edx
xor edx, 0xc3
push esi
pop esi
push esi
pop esi
inc esi
and esi, 0x182
pop edx
pop esi
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push edx
or edx, 0x14f
inc edx
push edx
pop edx
add edx, 0xac
sub eax, 0x72
and edx, 0xb2
inc eax
nop
nop
nop
nop
or eax, 0xb6
mov eax, 0x97
xor edx, 0xbb
xor edx, 0x17f
pop edx
pop eax
push esi
xchg esi, esi
or esi, 0x18a
xchg esi, esi
push esi
pop esi
xchg esi, esi
pop esi
push 1
call sub.gdi32.dll_GetStretchBltMode
push edi
push eax
nop
nop
mov eax, 0x17d
push eax
pop eax
add edi, 0x56
dec edi
pop eax
pop edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xbc672e4
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.0bc147c8
lea eax, [ebp - 0x14]
call fcn.0bc147a4
lea eax, [ebp - 0xc]
call fcn.0bc147a4
ret