Function at 0x46af4c
Capabilities:
Check for time delay via gettickcount
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdac
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [0x4bc97c]
cmp dword [0x4bc1d4], 7
jne 0x46af7a
mov eax, 0x1390
jmp 0x46af7f
mov eax, 0x1140
push eax
cmp dword [0x4afc10], 1
jne 0x46af90
mov edx, 2
jmp 0x46af92
xor edx, edx
push edx
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.00462f5c
cmp esi, 0x18
jg 0x46afc7
je 0x46b119
sub esi, 2
je 0x46b64d
sub esi, 0xd
je 0x46b143
dec esi
je 0x46b5dd
jmp 0x46b77d
sub esi, 0x110
je 0x46afe7
dec esi
je 0x46b1e9
sub esi, 0x36a
je 0x46b521
jmp 0x46b77d
push 0
push ebx
call sub.USER32.DLL_GetSystemMenu
mov esi, eax
test esi, esi
je 0x46b00f
push 1
push 0xf000
push esi
call sub.USER32.DLL_EnableMenuItem
push 1
push 0xf030
push esi
call sub.USER32.DLL_EnableMenuItem
xor eax, eax
xor edx, edx
mov dword [0x4afc18], eax
mov dword [0x4afc1c], edx
mov dword [0x4afc14], 1
mov dword [0x4ad5b4], ebx
cmp dword [0x4afc10], 1
je 0x46b04a
push ebx
call sub.USER32.DLL_BringWindowToTop
push 0
push dword [0x4ad5a8]
call sub.SHELL32.DLL_DragAcceptFiles
push 0x606060
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4bc950], eax
push 0x80809e
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4bc954], eax
push 0xeee8e8
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4bc958], eax
push 0xffffff
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4bc95c], eax
push 0xc0ffff
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4bc960], eax
push 0xb4d4e4
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4bc964], eax
push 0x9494b4
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4bc968], eax
push 0x464040
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4bc96c], eax
push 0x6e6e94
call sub.GDI32.DLL_CreateSolidBrush
mov dword [0x4bc970], eax
push 0xdcd6d6
call sub.GDI32.DLL_CreateSolidBrush
mov dword [0x4bc974], eax
push 0xa0c0d0
call sub.GDI32.DLL_CreateSolidBrush
mov dword [0x4bc978], eax
mov eax, 1
jmp 0x46b77f
test edi, edi
je 0x46b13c
push 0xfffffffffffffff0
push ebx
call sub.USER32.DLL_GetWindowLongA
test eax, 0x40000000
je 0x46b13c
push 0
push ebx
call sub.USER32.DLL_FlashWindow
push 1
push ebx
call sub.USER32.DLL_FlashWindow
xor eax, eax
jmp 0x46b77f
push str.Done
push ebx
call sub.USER32.DLL_GetPropA
test eax, eax
je 0x46b159
xor eax, eax
jmp 0x46b77f
mov eax, dword [0x4bc1d4]
test eax, eax
je 0x46b171
cmp eax, 1
je 0x46b171
cmp eax, 2
je 0x46b171
cmp eax, 8
jne 0x46b1e2
lea edx, [ebp - 0x4c]
push edx
push ebx
call sub.USER32.DLL_BeginPaint
mov esi, eax
push dword [0x4bc92c]
push dword [0x4bc928]
push dword [0x4bc934]
push dword [0x4bc930]
xor ecx, ecx
mov edx, esi
xor eax, eax
call fcn.0046b898
cmp byte [0x4bc91c], 0
jne 0x46b1b2
cmp dword [0x4bc1d4], 8
jne 0x46b1d8
push dword [0x4bc93c]
push dword [0x4bc938]
push dword [0x4bc944]
push dword [0x4bc940]
mov cl, 1
mov edx, esi
mov eax, 1
call fcn.0046b898
lea edx, [ebp - 0x4c]
push edx
push ebx
call sub.USER32.DLL_EndPaint
xor eax, eax
jmp 0x46b77f
and di, 0xffff
movzx edx, di
cmp edx, 0x7c
jg 0x46b212
je 0x46b4cc
sub edx, 2
je 0x46b227
sub edx, 0x6c
je 0x46b23d
dec edx
je 0x46b395
jmp 0x46b517
sub edx, 0x7d
je 0x46b4e8
dec edx
je 0x46b4fe
jmp 0x46b517
push 0
push 0
push 0x10
push ebx
call sub.USER32.DLL_SendMessageA
mov eax, 1
jmp 0x46b77f
mov dword [ebp - 0x234], 0x1e8
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], 0x7b
mov dword [ebp - 0x228], 7
mov dword [ebp - 0x224], 0x47b
push 0x31
call sub.USER32.DLL_GetSystemMetrics
mov esi, eax
push 0x32
call sub.USER32.DLL_GetSystemMetrics
mov edi, eax
call fcn.0040e9e0
test eax, eax
je 0x46b2a8
cmp dword [0x4b0578], 5
ja 0x46b2a1
cmp dword [0x4b0578], 5
jne 0x46b2a8
cmp dword [0x4b057c], 0
jbe 0x46b2a8
mov eax, 0x65
jmp 0x46b2ad
mov eax, 0x6c
mov dword [ebp - 4], eax
push 0
push edi
push esi
push 1
movzx edx, word [ebp - 4]
push edx
push dword [0x49edec]
call sub.USER32.DLL_LoadImageA
mov dword [0x4bc1d0], eax
cmp dword [0x4bc1d4], 0
mov ecx, dword [0x4bc1d0]
mov dword [ebp - 0x220], ecx
jne 0x46b2fe
push 0
mov eax, 0x2f8
call fcn.00410804
push eax
lea edx, [ebp - 0x21c]
push edx
call fcn.00486578
add esp, 0xc
jmp 0x46b310
push 0x80
lea ecx, [ebp - 0x21c]
push ecx
push ebx
call sub.USER32.DLL_GetWindowTextA
lea eax, [ebp - 0x234]
push eax
push 0
call sub.SHELL32.DLL_Shell_NotifyIconA
test eax, eax
je 0x46b379
push 0
push ebx
call sub.USER32.DLL_ShowWindow
push 0
push dword [0x4ad5a8]
call sub.USER32.DLL_ShowWindow
push 0x40
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.KERNEL32.DLL_SetPriorityClass
push 0xfffffffffffffff1
call sub.KERNEL32.DLL_GetCurrentThread
push eax
call sub.KERNEL32.DLL_SetThreadPriority
push dword [0x4bc93c]
push dword [0x4bc938]
push dword [0x4bc944]
push dword [0x4bc940]
xor ecx, ecx
xor edx, edx
mov eax, 1
call fcn.0046b898
jmp 0x46b38b
push dword [0x4bc1d0]
call sub.USER32.DLL_DestroyIcon
xor eax, eax
mov dword [0x4bc1d0], eax
mov eax, 1
jmp 0x46b77f
cmp byte [0x4bc980], 0
jne 0x46b3d3
cmp dword [0x4ad5b4], 0
jne 0x46b3b1
mov eax, 1
jmp 0x46b77f
push 0xc8
push 0x4bc981
push 0x6f
push ebx
call sub.USER32.DLL_GetDlgItemTextA
push 0x400
push 0x4bca49
push ebx
call sub.USER32.DLL_GetWindowTextA
cmp byte [0x4bc980], 0
je 0x46b3e3
mov edx, 0x4bc981
jmp 0x46b3ef
mov eax, 0x49c
call fcn.00410804
mov edx, eax
push edx
push 0x6f
push ebx
call sub.USER32.DLL_SetDlgItemTextA
cmp byte [0x4bc980], 0
je 0x46b408
mov ecx, 0x4bca49
jmp 0x46b414
mov eax, 0x49d
call fcn.00410804
mov ecx, eax
push ecx
push ebx
call sub.USER32.DLL_SetWindowTextA
xor edx, edx
mov dl, byte [0x4bc980]
cmp edx, 1
sbb eax, eax
neg eax
mov byte [0x4bc980], al
call fcn.0048e410
mov esi, eax
jmp 0x46b48d
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.USER32.DLL_IsDialogMessageA
test eax, eax
jne 0x46b48d
cmp dword [ebp - 0x24c], 0x203
jne 0x46b475
mov edx, dword [ebp - 0x250]
cmp edx, dword [0x4adae4]
jne 0x46b475
mov eax, 0x4adae4
mov edx, dword [0x4ad5a8]
call fcn.0046eb0c
jmp 0x46b48d
lea ecx, [ebp - 0x250]
push ecx
call sub.USER32.DLL_TranslateMessage
lea eax, [ebp - 0x250]
push eax
call sub.USER32.DLL_DispatchMessageA
cmp byte [0x4bc980], 0
je 0x46b4b5
cmp dword [0x4afc18], 0
jne 0x46b4b5
push 0
push 0
push 0
lea edx, [ebp - 0x250]
push edx
call sub.USER32.DLL_GetMessageA
test eax, eax
jne 0x46b438
call fcn.0048e410
sub eax, esi
add dword [0x4bc918], eax
mov eax, 1
jmp 0x46b77f
push 0x202
push 0
push 0x47b
push ebx
call sub.USER32.DLL_SendMessageA
mov eax, 1
jmp 0x46b77f
push 0
push 0
push 0x10
push ebx
call sub.USER32.DLL_SendMessageA
mov eax, 1
jmp 0x46b77f
push 0
push 0x6f
push 0x111
push ebx
call sub.USER32.DLL_PostMessageA
mov eax, 1
jmp 0x46b77f
mov eax, 1
jmp 0x46b77f
cmp dword [ebp + 0x14], 0x202
jne 0x46b539
mov eax, ebx
call fcn.0046a94c
push 5
push ebx
call sub.USER32.DLL_ShowWindow
cmp dword [ebp + 0x14], 0x205
jne 0x46b5d3
call sub.USER32.DLL_CreatePopupMenu
mov esi, eax
mov eax, 0x2f9
call fcn.00410804
push eax
push 0x7c
push 0
push esi
call sub.USER32.DLL_AppendMenuA
mov eax, 0x2fa
call fcn.00410804
push eax
push 0x7d
push 0
push esi
call sub.USER32.DLL_AppendMenuA
cmp byte [0x4bc980], 0
je 0x46b587
mov eax, 0x2fc
jmp 0x46b58c
mov eax, 0x2fb
call fcn.00410804
push eax
push 0x7e
push 0
push esi
call sub.USER32.DLL_AppendMenuA
lea edx, [ebp - 0xc]
push edx
call sub.USER32.DLL_GetCursorPos
push ebx
call sub.USER32.DLL_SetForegroundWindow
push 0
push ebx
push 0
push dword [ebp - 8]
push dword [ebp - 0xc]
push 2
push esi
call sub.USER32.DLL_TrackPopupMenu
push 0
push 0
push 0x400
push ebx
call sub.USER32.DLL_PostMessageA
push esi
call sub.USER32.DLL_DestroyMenu
mov eax, 1
jmp 0x46b77f
push str.Done
push ebx
call sub.USER32.DLL_GetPropA
test eax, eax
je 0x46b5f4
push ebx
call sub.USER32.DLL_DestroyWindow
jmp 0x46b643
call fcn.0048e410
sub eax, dword [0x4bc918]
mov dword [ebp - 0x254], eax
fild dword [ebp - 0x254]
fcomp dword [0x46b788]
fnstsw ax
sahf
jb 0x46b639
push 0x24
mov eax, 0x312
call fcn.00410804
push eax
mov eax, 0x311
call fcn.00410804
push eax
push ebx
call sub.USER32.DLL_MessageBoxA
cmp eax, 6
jne 0x46b643
mov dword [0x4afc18], 1
mov eax, 1
jmp 0x46b77f
push 1
push dword [0x4ad5a8]
call sub.SHELL32.DLL_DragAcceptFiles
push str.Done
push ebx
call sub.USER32.DLL_GetPropA
test eax, eax
je 0x46b698
push str.Done
push ebx
call sub.USER32.DLL_RemovePropA
xor eax, eax
cmp ebx, dword [eax*4 + 0x4bc8d8]
jne 0x46b68d
xor edx, edx
mov dword [eax*4 + 0x4bc8d8], edx
jmp 0x46b75c
inc eax
cmp eax, 0x10
jl 0x46b676
jmp 0x46b75c
push dword [0x4bc950]
call sub.GDI32.DLL_DeleteObject
push dword [0x4bc954]
call sub.GDI32.DLL_DeleteObject
push dword [0x4bc958]
call sub.GDI32.DLL_DeleteObject
push dword [0x4bc95c]
call sub.GDI32.DLL_DeleteObject
push dword [0x4bc960]
call sub.GDI32.DLL_DeleteObject
push dword [0x4bc964]
call sub.GDI32.DLL_DeleteObject
push dword [0x4bc968]
call sub.GDI32.DLL_DeleteObject
push dword [0x4bc96c]
call sub.GDI32.DLL_DeleteObject
push dword [0x4bc970]
call sub.GDI32.DLL_DeleteObject
push dword [0x4bc974]
call sub.GDI32.DLL_DeleteObject
push dword [0x4bc978]
call sub.GDI32.DLL_DeleteObject
cmp dword [0x4afc18], 0
jne 0x46b733
call fcn.0048e410
sub eax, dword [0x4bc918]
cmp eax, 0x2710
jle 0x46b733
xor eax, eax
call fcn.00440f0c
mov eax, ebx
call fcn.0046a94c
xor edx, edx
xor ecx, ecx
mov dword [0x4ad5b4], edx
mov dword [0x4afc14], ecx
mov eax, dword [0x4afc18]
xor edx, edx
mov dword [0x4afc1c], eax
mov dword [0x4afc18], edx
cmp dword [0x4ad5b8], 0
je 0x46b76d
mov ecx, dword [0x4ad5b8]
jmp 0x46b773
mov ecx, dword [0x4ad5bc]
push ecx
call sub.USER32.DLL_SetFocus
xor eax, eax
jmp 0x46b77f
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10