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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x57d54c]
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.00401550
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.0048c260
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
neg eax
push eax
mov eax, dword [ebp - 0x14]
neg eax
push eax
call fcn.0048f9c0
cmp dword [ebx + 0xe78], 0
jne 0x49faf3
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 0x49faf3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00499470
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
ret 0xc
push esi
push edi
push 4
push ebx
call fcn.0048cae0
push 1
push ebx
call fcn.0048c480
push 0
mov dword [ebp - 0x5c], 0x30
mov dword [ebp - 0x58], 0xb
mov dword [ebp - 0x54], 0x49ef90
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 0x49fc3f
push dword [ebx + 0xc38]
call fcn.00490380
test eax, eax
je 0x49fc3f
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x49fc3f
lea eax, [ebx + 0xe88]
push eax
call fcn.0048ebb0
test eax, eax
je 0x49fc3f
push str.listbox
mov ecx, eax
call fcn.004b7fe0
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x49fc3f
push str.itemheight
push esi
call fcn.00490a80
push 0x53fa2c
push esi
mov edi, eax
call fcn.00490a80
push str.bottom
push dword [ebp - 0x18]
mov esi, eax
call fcn.00490a80
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.0048fa70
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0x40000000
push 0x55e998
push dword [0x57a034]
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 0x1090], eax
test eax, eax
je 0x49fea9
cmp edi, 6
jg 0x49fca1
push 0x53
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
jmp 0x49fd3c
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.0048fa70
mov ecx, dword [ebx + 0x1090]
push 0x52
cmp esi, 0xc8
ja 0x49fd33
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 0x49fcc3
jmp 0x49fd42
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 0x49fd75
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 0x49fd60
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 0x49fe6e
mov eax, dword [ebx]
push ebx
call dword [eax + 0x210]
test eax, eax
jne 0x49fe6e
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x49fe6e
mov eax, dword [ebp - 0x44]
cmp eax, 0x107
ja 0x49fddf
cmp eax, 0x100
jae 0x49fe28
cmp eax, 0xa0
je 0x49fe28
jbe 0x49fe2b
cmp eax, 0xa9
ja 0x49fe2b
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x49fe84
cmp eax, 0x200
jb 0x49fe2b
cmp eax, 0x209
jbe 0x49fdf6
cmp eax, 0x20a
jne 0x49fe2b
jmp 0x49fe28
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 0x49fe6e
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x49fe6e
push 0
push 0
push 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x49fd93
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [ebp - 0x44], 0x12
jne 0x49fe84
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.0048cae0
push 1
push ebx
call fcn.0048c480
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501e95
mov esp, ebp
pop ebp
ret 0xc