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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1c
push 0
push 0
dec ecx
jne 0x65dbe5
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00604afc
xor eax, eax
push ebp
push 0x65e402
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetLastError
push esi
or esi, 0x198
and esi, 0xa7
dec esi
push esi
pop esi
dec esi
dec esi
sub esi, 0x168
pop esi
lea ecx, [ebp - 0xa4]
xor edx, edx
mov al, 0x92
call fcn.0065d8dc
mov edx, dword [ebp - 0xa4]
lea ecx, [ebp - 0xa0]
mov al, 0x92
call fcn.0065d8dc
mov edx, dword [ebp - 0xa0]
lea ecx, [ebp - 0x9c]
mov al, 0x9a
call fcn.0065d8dc
mov edx, dword [ebp - 0x9c]
lea ecx, [ebp - 0x98]
mov al, 0xd0
call fcn.0065d8dc
mov edx, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
mov al, 0xcc
call fcn.0065d8dc
mov edx, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
mov al, 0xcb
call fcn.0065d8dc
mov edx, dword [ebp - 0x90]
lea ecx, [ebp - 0x8c]
mov al, 0x92
call fcn.0065d8dc
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x88]
mov al, 0x99
call fcn.0065d8dc
mov edx, dword [ebp - 0x88]
lea ecx, [ebp - 0x84]
mov al, 0x90
call fcn.0065d8dc
mov edx, dword [ebp - 0x84]
lea ecx, [ebp - 0x80]
mov al, 0x8c
call fcn.0065d8dc
mov edx, dword [ebp - 0x80]
lea ecx, [ebp - 0x7c]
mov al, 0x99
call fcn.0065d8dc
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x78]
mov al, 0x93
call fcn.0065d8dc
mov eax, dword [ebp - 0x78]
call fcn.00604b0c
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 0x1c], eax
call sub.kernel32.dll_GetCurrentThread
push esi
push eax
nop
nop
nop
nop
xor esi, 0x12
dec esi
sub eax, 0x85
and eax, 0xc8
dec esi
nop
dec eax
and esi, 0x16f
dec eax
push eax
pop eax
pop eax
pop esi
lea ecx, [ebp - 0xdc]
xor edx, edx
mov al, 0xbd
call fcn.0065d8dc
mov edx, dword [ebp - 0xdc]
lea ecx, [ebp - 0xd8]
mov al, 0x8b
call fcn.0065d8dc
mov edx, dword [ebp - 0xd8]
lea ecx, [ebp - 0xd4]
mov al, 0x8b
call fcn.0065d8dc
mov edx, dword [ebp - 0xd4]
lea ecx, [ebp - 0xd0]
mov al, 0x99
call fcn.0065d8dc
mov edx, dword [ebp - 0xd0]
lea ecx, [ebp - 0xcc]
mov al, 0x9b
call fcn.0065d8dc
mov edx, dword [ebp - 0xcc]
lea ecx, [ebp - 0xc8]
mov al, 0x8f
call fcn.0065d8dc
mov edx, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc4]
mov al, 0x8c
call fcn.0065d8dc
mov edx, dword [ebp - 0xc4]
lea ecx, [ebp - 0xc0]
mov al, 0xae
call fcn.0065d8dc
mov edx, dword [ebp - 0xc0]
lea ecx, [ebp - 0xbc]
mov al, 0x99
call fcn.0065d8dc
mov edx, dword [ebp - 0xbc]
lea ecx, [ebp - 0xb8]
mov al, 0x8a
call fcn.0065d8dc
mov edx, dword [ebp - 0xb8]
lea ecx, [ebp - 0xb4]
mov al, 0x9d
call fcn.0065d8dc
mov edx, dword [ebp - 0xb4]
lea ecx, [ebp - 0xb0]
mov al, 0x99
call fcn.0065d8dc
mov edx, dword [ebp - 0xb0]
lea ecx, [ebp - 0xac]
mov al, 0x8c
call fcn.0065d8dc
mov edx, dword [ebp - 0xac]
lea ecx, [ebp - 0xa8]
mov al, 0xbb
call fcn.0065d8dc
mov eax, dword [ebp - 0xa8]
call fcn.00604b0c
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x20], eax
push 1
call sub.user32.dll_GetDlgCtrlID
push dword [ebp - 4]
lea ecx, [ebp - 0xe0]
xor edx, edx
mov al, 0xde
call fcn.0065d8dc
push dword [ebp - 0xe0]
push dword [ebp - 8]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.006049cc
call sub.kernel32.dll_GetTickCount
push ebx
xor ebx, 0xdc
nop
nop
nop
nop
xor ebx, 0xe8
or ebx, 0xb3
mov ebx, 0x85
or ebx, 0x10c
sub ebx, 0x145
push ebx
pop ebx
nop
nop
nop
nop
or ebx, 0x18a
pop ebx
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.00603178
call sub.kernel32.dll_GetTickCount
push ebx
xor ebx, 0xdc
nop
nop
nop
nop
xor ebx, 0xe8
or ebx, 0xb3
mov ebx, 0x85
or ebx, 0x10c
sub ebx, 0x145
push ebx
pop ebx
nop
nop
nop
nop
or ebx, 0x18a
pop ebx
mov byte [ebp - 0xd], 1
cmp dword [ebp - 0xc], 0
jne 0x65df2e
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 4]
call fcn.00608b10
mov eax, dword [ebp - 0xe4]
lea edx, [ebp - 0xc]
call fcn.0060c930
call sub.kernel32.dll_GetTickCount
push ebx
xor ebx, 0xdc
nop
nop
nop
nop
xor ebx, 0xe8
or ebx, 0xb3
mov ebx, 0x85
or ebx, 0x10c
sub ebx, 0x145
push ebx
pop ebx
nop
nop
nop
nop
or ebx, 0x18a
pop ebx
mov dword [ebp - 0x64], 0x44
push eax
mov eax, 0xec
nop
nop
nop
nop
nop
nop
nop
nop
nop
and eax, 0x140
and eax, 0xa3
sub eax, 0x79
add eax, 0x94
nop
sub eax, 0x106
push eax
pop eax
nop
mov eax, 0xf5
pop eax
push 1
call sub.user32.dll_GetListBoxInfo
push ebx
push esi
mov ebx, 0x1a1
or esi, 0x58
and ebx, 0x7f
mov esi, 0x18a
xor esi, 0x114
nop
nop
nop
nop
nop
nop
nop
nop
add esi, 0xd2
push esi
pop esi
push ebx
pop ebx
inc esi
xor esi, 3
nop
nop
nop
nop
pop esi
pop ebx
mov dword [ebp - 0x38], 1
push 0x65e414
call sub.kernel32.dll_AddAtomA
push edx
or edx, 0xd9
nop
nop
nop
nop
nop
xor edx, 0xb4
dec edx
nop
nop
nop
nop
or edx, 0x19c
xor edx, 0x13a
dec edx
and edx, 0x61
pop edx
mov word [ebp - 0x34], 0
cmp dword [ebp - 0xc], 0
je 0x65e02c
mov eax, dword [ebp - 0xc]
call fcn.00604b0c
mov dword [ebp - 0x18], eax
jmp 0x65e031
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.00604b0c
push eax
push 0
call dword [ebp - 0x20]
test eax, eax
jne 0x65e229
push 1
call sub.gdi32.dll_AbortDoc
push edi
push ebx
nop
nop
nop
xor edi, 0x110
mov edi, 0x7b
xchg edi, edi
mov edi, 0xd6
or edi, 0x19d
inc edi
dec edi
dec edi
pop ebx
pop edi
mov byte [ebp - 0xd], 0
push esi
push ecx
push ecx
pop ecx
or esi, 0x13f
add ecx, 0x1a3
add esi, 0x59
sub ecx, 0x6f
add esi, 0x120
xor esi, 0x25
inc ecx
mov ecx, 0x198
dec esi
and ecx, 0xe6
xchg esi, esi
pop ecx
pop esi
call sub.user32.dll_GetKBCodePage
push esi
xor esi, 0x8e
xchg esi, esi
xchg esi, esi
sub esi, 3
sub esi, 0x33
or esi, 0xcf
pop esi
call sub.kernel32.dll_GetLastError
mov edx, dword [ebp + 8]
mov dword [edx], eax
push 1
call sub.kernel32.dll_SetLastError
push esi
or esi, 0x198
and esi, 0xa7
dec esi
push esi
pop esi
dec esi
dec esi
sub esi, 0x168
pop esi
jmp 0x65e3d4
push 1
call sub.gdi32.dll_AbortDoc
push edi
push ebx
nop
nop
nop
xor edi, 0x110
mov edi, 0x7b
xchg edi, edi
mov edi, 0xd6
or edi, 0x19d
inc edi
dec edi
dec edi
pop ebx
pop edi
push 1
call sub.kernel32.dll_SetLastError
push esi
or esi, 0x198
and esi, 0xa7
dec esi
push esi
pop esi
dec esi
dec esi
sub esi, 0x168
pop esi
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle
push 0x65e434
call sub.kernel32.dll_AddAtomA
push 0xffffffffffffffff
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_WaitForSingleObject
push 1
call sub.user32.dll_GetListBoxInfo
push ebx
push esi
mov ebx, 0x1a1
or esi, 0x58
and ebx, 0x7f
mov esi, 0x18a
xor esi, 0x114
nop
nop
nop
nop
nop
nop
nop
nop
add esi, 0xd2
push esi
pop esi
push ebx
pop ebx
inc esi
xor esi, 3
nop
nop
nop
nop
pop esi
pop ebx
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle
push 1
call sub.kernel32.dll_FlushConsoleInputBuffer
push edi
add edi, 0x35
dec edi
or edi, 0x83
xor edi, 0x10d
or edi, 0x190
xchg edi, edi
or edi, 0xf4
or edi, 0x190
and edi, 0x52
add edi, 0x23
or edi, 0x8c
push edi
pop edi
inc edi
pop edi
call sub.kernel32.dll_GetCurrentThread
push esi
push eax
nop
nop
nop
nop
xor esi, 0x12
dec esi
sub eax, 0x85
and eax, 0xc8
dec esi
nop
dec eax
and esi, 0x16f
dec eax
push eax
pop eax
pop eax
pop esi
push 1
call sub.user32.dll_GetListBoxInfo
push ebx
push esi
mov ebx, 0x1a1
or esi, 0x58
and ebx, 0x7f
mov esi, 0x18a
xor esi, 0x114
nop
nop
nop
nop
nop
nop
nop
nop
add esi, 0xd2
push esi
pop esi
push ebx
pop ebx
inc esi
xor esi, 3
nop
nop
nop
nop
pop esi
pop ebx
push 1
call sub.gdi32.dll_GetTextCharset
push esi
push eax
sub esi, 0x118
and esi, 0x170
push eax
pop eax
dec eax
dec eax
or eax, 0x199
xchg esi, esi
xor eax, 0xc0
add esi, 5
or eax, 0x26
or eax, 0x7c
sub esi, 0x71
nop
nop
push esi
pop esi
pop eax
pop esi
push edi
push edi
pop edi
xor edi, 0x13
or edi, 0x47
nop
nop
nop
nop
nop
dec edi
nop
nop
nop
and edi, 0x2a
xor edi, 0x95
nop
nop
xchg edi, edi
xchg edi, edi
xor edi, 1
and edi, 0x19c
pop edi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65e409
lea eax, [ebp - 0xe4]
mov edx, 0x1c
call fcn.0060466c
lea eax, [ebp - 0x14]
call fcn.00604648
lea eax, [ebp - 0xc]
call fcn.00604648
ret