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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
call fcn.00401530
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.0048af10
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
neg eax
push eax
mov eax, dword [ebp - 0x14]
neg eax
push eax
call fcn.0048e670
cmp dword [ebx + 0xe78], 0
jne 0x49e7a3
push dword [ebp - 0x1c]
lea eax, [ebx + 0xe24]
push dword [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x49e7a3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00498120
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
ret 0xc
push esi
push edi
push 4
push ebx
call fcn.0048b790
push 1
push ebx
call fcn.0048b130
push 0
mov dword [ebp - 0x5c], 0x30
mov dword [ebp - 0x58], 0xb
mov dword [ebp - 0x54], 0x49dc40
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x7f00
push 0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x40], eax
mov eax, dword [str.DUCOMBOXLISTBOXWND]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x3c], 6
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0xc38]
call dword [sym.imp.USER32.dll_ClientToScreen]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [ebx + 0x109c]
sub ecx, dword [ebx + 0x1098]
mov edi, dword [ebx + 0x1088]
mov dword [ebp - 0x24], eax
test ecx, 0xfffffffc
je 0x49e8ef
push dword [ebx + 0xc38]
call fcn.0048f030
test eax, eax
je 0x49e8ef
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x49e8ef
lea eax, [ebx + 0xe88]
push eax
call fcn.0048d860
test eax, eax
je 0x49e8ef
push str.listbox
mov ecx, eax
call fcn.004b6c90
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x49e8ef
push str.itemheight
push esi
call fcn.0048f730
push 0x53ea2c
push esi
mov edi, eax
call fcn.0048f730
push str.bottom
push dword [ebp - 0x18]
mov esi, eax
call fcn.0048f730
mov ecx, dword [ebx + 0x109c]
add esp, 0x18
sub ecx, dword [ebx + 0x1098]
sar ecx, 2
imul ecx, edi
mov edi, ecx
mov dword [ebp - 0x18], ecx
add edi, eax
mov eax, dword [ebx + 0x1088]
add edi, esi
cmp edi, eax
cmovg edi, eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x3e9
push dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push edi
call fcn.0048e720
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0x40000000
push 0x55d998
push dword [0x579034]
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 0x1090], eax
test eax, eax
je 0x49eb59
cmp edi, 6
jg 0x49e951
push 0x53
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
jmp 0x49e9ec
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x24], eax
xor esi, esi
mov eax, 0x66666667
mov dword [ebp - 0x18], esi
imul edi
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
inc ecx
add ecx, edx
mov dword [ebp - 0x28], ecx
lea eax, [ecx + esi]
mov ecx, edi
cmp eax, edi
cmovl ecx, eax
mov dword [ebp - 0x60], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
lea ecx, [ebp - 0x14]
sub esi, dword [ebp - 0x24]
call fcn.0048e720
mov ecx, dword [ebx + 0x1090]
push 0x52
cmp esi, 0xc8
ja 0x49e9e3
mov esi, dword [ebp - 0x60]
push esi
push eax
push 0
push 0
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x102
push 0
push 0
push dword [ebx + 0x1090]
call dword [sym.imp.USER32.dll_RedrawWindow]
push 0x28
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 6
jl 0x49e973
jmp 0x49e9f2
push edi
push eax
push 0
push 0
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [ebx + 0xc38]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push esi
call edi
test eax, 0x40000000
je 0x49ea25
nop word [eax + eax]
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
push 0xfffffffffffffff0
push esi
call edi
test eax, 0x40000000
jne 0x49ea10
mov edi, dword [ebx + 0x1090]
lea eax, [ebp - 0x48]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x49eb1e
mov eax, dword [ebx]
push ebx
call dword [eax + 0x210]
test eax, eax
jne 0x49eb1e
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x49eb1e
mov eax, dword [ebp - 0x44]
cmp eax, 0x107
ja 0x49ea8f
cmp eax, 0x100
jae 0x49ead8
cmp eax, 0xa0
je 0x49ead8
jbe 0x49eadb
cmp eax, 0xa9
ja 0x49eadb
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x49eb34
cmp eax, 0x200
jb 0x49eadb
cmp eax, 0x209
jbe 0x49eaa6
cmp eax, 0x20a
jne 0x49eadb
jmp 0x49ead8
mov ecx, dword [ebp - 0x3c]
movsx eax, cx
mov dword [ebp - 0x2c], eax
shr ecx, 0x10
movsx eax, cx
push 1
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
push edi
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_MapWindowPoints]
movzx ecx, word [ebp - 0x28]
movzx eax, word [ebp - 0x2c]
shl ecx, 0x10
or ecx, eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x48], edi
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebx]
push ebx
call dword [eax + 0x210]
test eax, eax
jne 0x49eb1e
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x49eb1e
push 0
push 0
push 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x49ea43
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [ebp - 0x44], 0x12
jne 0x49eb34
push dword [ebp - 0x40]
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebx]
push 0
push ebx
call dword [eax + 0x214]
push 1
push ebx
mov dword [ebx + 0x1090], 0
call fcn.0048b790
push 1
push ebx
call fcn.0048b130
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00500b45
mov esp, ebp
pop ebp
ret 0xc