Function at 0x4760a0
Capabilities:
Check for time delay via gettickcount
Get graphical window text
Hide graphical window
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff924
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 [0x4c9e8c]
cmp dword [0x4c9e5c], 0
jne 0x4760ce
mov eax, 0x1140
jmp 0x4760d3
mov eax, dword [0x4c9e5c]
push eax
cmp dword [0x4bc1a4], 1
jne 0x4760e4
mov edx, 2
jmp 0x4760e6
xor edx, edx
push edx
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.004684e8
cmp esi, 0x110
jg 0x476123
je 0x476147
sub esi, 2
je 0x476983
sub esi, 0xd
je 0x476396
dec esi
je 0x47690a
sub esi, 8
je 0x47636c
jmp 0x476ad3
sub esi, 0x111
je 0x476442
sub esi, 0x36a
je 0x47684e
dec esi
je 0x4762d5
jmp 0x476ad3
push 0
push ebx
call sub.USER32.DLL_GetSystemMenu
mov esi, eax
test esi, esi
je 0x47616f
push 1
push 0xf000
push esi
call sub.USER32.DLL_EnableMenuItem
push 1
push 0xf030
push esi
call sub.USER32.DLL_EnableMenuItem
cmp dword [0x4c96dc], 0
je 0x476186
xor ecx, ecx
mov edx, 0x70
mov eax, ebx
call fcn.004683c8
cmp byte [0x4c9e28], 0
jne 0x4761ac
mov eax, dword [0x4c96dc]
cmp eax, 1
je 0x47619e
cmp eax, 2
jne 0x4761ac
xor ecx, ecx
mov edx, 0xa2
mov eax, ebx
call fcn.004683c8
xor edx, edx
xor ecx, ecx
mov dword [0x4bc1ac], edx
mov dword [0x4bc1b0], ecx
mov dword [0x4bc1a8], 1
xor eax, eax
mov dword [0x4b9824], ebx
mov dword [0x4b1a7c], eax
cmp dword [0x4bc1a4], 1
je 0x4761ef
push ebx
call sub.USER32.DLL_BringWindowToTop
push 0
push dword [0x4b9818]
call sub.SHELL32.DLL_DragAcceptFiles
push 0x606060
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4c9e60], eax
push 0x80809e
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4c9e64], eax
push 0xeee8e8
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4c9e68], eax
push 0xffffff
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4c9e6c], eax
push 0xc0ffff
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4c9e70], eax
push 0xb4d4e4
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4c9e74], eax
push 0x9494b4
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4c9e78], eax
push 0x464040
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4c9e7c], eax
push 0x6e6e94
call sub.GDI32.DLL_CreateSolidBrush
mov dword [0x4c9e80], eax
push 0xdcd6d6
call sub.GDI32.DLL_CreateSolidBrush
mov dword [0x4c9e84], eax
push 0xa0c0d0
call sub.GDI32.DLL_CreateSolidBrush
mov dword [0x4c9e88], eax
push 0
push 0
push 0x47c
push ebx
call sub.USER32.DLL_PostMessageA
cmp dword [0x4bc1a4], 1
setne al
and eax, 1
jmp 0x476ad5
mov eax, dword [0x4bc1b8]
test eax, eax
je 0x476365
cmp byte [0x4b1a7a], 0
jne 0x4762fa
push 0
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
xor eax, eax
jmp 0x476ad5
mov byte [ebp - 1], 0
jmp 0x476335
cmp byte [ebp - 1], 0
jne 0x476329
push 0x480
lea edx, [ebp - 0x494]
push edx
push ebx
call sub.USER32.DLL_GetWindowTextA
mov eax, 0x57d
call fcn.004117b8
push eax
push ebx
call sub.USER32.DLL_SetWindowTextA
push 0x14
call sub.KERNEL32.DLL_Sleep
call fcn.00444324
cmp dword [0x4bc1ac], 0
jne 0x476352
push 0x32
push dword [0x4bc1b8]
call sub.KERNEL32.DLL_WaitForSingleObject
cmp eax, 0x102
je 0x476300
cmp byte [ebp - 1], 0
je 0x476365
lea edx, [ebp - 0x494]
push edx
push ebx
call sub.USER32.DLL_SetWindowTextA
xor eax, eax
jmp 0x476ad5
test edi, edi
je 0x47638f
push 0xfffffffffffffff0
push ebx
call sub.USER32.DLL_GetWindowLongA
test eax, 0x40000000
je 0x47638f
push 0
push ebx
call sub.USER32.DLL_FlashWindow
push 1
push ebx
call sub.USER32.DLL_FlashWindow
xor eax, eax
jmp 0x476ad5
push 0x4a1a73
push ebx
call sub.USER32.DLL_GetPropA
test eax, eax
je 0x4763ac
xor eax, eax
jmp 0x476ad5
mov eax, dword [0x4c96dc]
test eax, eax
je 0x4763c4
cmp eax, 1
je 0x4763c4
cmp eax, 2
je 0x4763c4
cmp eax, 8
jne 0x47643b
lea edx, [ebp - 0x4d4]
push edx
push ebx
call sub.USER32.DLL_BeginPaint
mov esi, eax
push dword [0x4c9e38]
push dword [0x4c9e34]
push dword [0x4c9e40]
push dword [0x4c9e3c]
xor ecx, ecx
mov edx, esi
xor eax, eax
call fcn.00476bf0
cmp byte [0x4c9e28], 0
jne 0x476408
cmp dword [0x4c96dc], 8
jne 0x47642e
push dword [0x4c9e48]
push dword [0x4c9e44]
push dword [0x4c9e50]
push dword [0x4c9e4c]
mov cl, 1
mov edx, esi
mov eax, 1
call fcn.00476bf0
lea edx, [ebp - 0x4d4]
push edx
push ebx
call sub.USER32.DLL_EndPaint
xor eax, eax
jmp 0x476ad5
and di, 0xffff
movzx edx, di
cmp edx, 0x70
jg 0x47646b
je 0x476792
sub edx, 2
je 0x476487
sub edx, 0x6c
je 0x47649d
dec edx
je 0x4765f4
jmp 0x476844
sub edx, 0x7c
je 0x4767f9
dec edx
je 0x476815
dec edx
je 0x47682b
jmp 0x476844
push 0
push 0
push 0x10
push ebx
call sub.USER32.DLL_SendMessageA
mov eax, 1
jmp 0x476ad5
mov dword [ebp - 0x6bc], 0x1e8
mov dword [ebp - 0x6b8], ebx
mov dword [ebp - 0x6b4], 0x7b
mov dword [ebp - 0x6b0], 7
mov dword [ebp - 0x6ac], 0x47b
push 0x31
call sub.USER32.DLL_GetSystemMetrics
mov esi, eax
push 0x32
call sub.USER32.DLL_GetSystemMetrics
mov edi, eax
call fcn.004680ec
test al, al
je 0x4764ed
mov eax, 0x65
jmp 0x4764f2
mov eax, 0x6c
mov dword [ebp - 8], eax
push edi
cmp dword [ebp - 8], 0x65
jne 0x476503
mov edx, 0x4a1a78
jmp 0x476508
mov edx, 0x4a1a80
mov eax, 0x4ba040
mov ecx, esi
call fcn.0047d428
mov dword [0x4c96d8], eax
cmp dword [0x4c96d8], 0
jne 0x47653d
push 0
push edi
push esi
push 1
movzx eax, word [ebp - 8]
push eax
push dword [0x4a6fb0]
call sub.USER32.DLL_LoadImageA
mov dword [0x4c96d8], eax
mov edx, dword [0x4c96d8]
cmp dword [0x4c96dc], 0
mov dword [ebp - 0x6a8], edx
jne 0x476570
push 0
mov eax, 0x2f8
call fcn.004117b8
push eax
lea edx, [ebp - 0x6a4]
push edx
call fcn.004902f4
add esp, 0xc
jmp 0x476582
push 0x80
lea ecx, [ebp - 0x6a4]
push ecx
push ebx
call sub.USER32.DLL_GetWindowTextA
lea eax, [ebp - 0x6bc]
push eax
push 0
call sub.SHELL32.DLL_Shell_NotifyIconA
test eax, eax
je 0x4765d8
push 0
push ebx
call sub.USER32.DLL_ShowWindow
push 0
push dword [0x4b9818]
call sub.USER32.DLL_ShowWindow
mov al, 1
call fcn.0044c5b8
push dword [0x4c9e48]
push dword [0x4c9e44]
push dword [0x4c9e50]
push dword [0x4c9e4c]
xor ecx, ecx
xor edx, edx
mov eax, 1
call fcn.00476bf0
jmp 0x4765ea
push dword [0x4c96d8]
call sub.USER32.DLL_DestroyIcon
xor eax, eax
mov dword [0x4c96d8], eax
mov eax, 1
jmp 0x476ad5
cmp byte [0x4c9e90], 0
jne 0x476641
cmp dword [0x4b9824], 0
jne 0x476610
mov eax, 1
jmp 0x476ad5
push 0xc8
push 0x4c9e91
push 0x6f
push ebx
call sub.USER32.DLL_GetDlgItemTextA
push 0x480
push 0x4c9f59
push ebx
call sub.USER32.DLL_GetWindowTextA
mov eax, dword [0x4bc1b8]
test eax, eax
je 0x476641
push eax
call sub.KERNEL32.DLL_ReleaseMutex
cmp byte [0x4c9e90], 0
je 0x476651
mov edx, 0x4c9e91
jmp 0x47665d
mov eax, 0x49c
call fcn.004117b8
mov edx, eax
push edx
push 0x6f
push ebx
call sub.USER32.DLL_SetDlgItemTextA
cmp byte [0x4c9e90], 0
je 0x476676
mov ecx, 0x4c9f59
jmp 0x476682
mov eax, 0x49d
call fcn.004117b8
mov ecx, eax
push ecx
push ebx
call sub.USER32.DLL_SetWindowTextA
mov al, byte [0x4c9e90]
mov byte [ebp - 9], al
xor edx, edx
mov dl, al
cmp edx, 1
sbb ecx, ecx
neg ecx
mov byte [0x4c9e90], cl
mov byte [ebp - 0xa], 0
cmp byte [0x4c9e90], 0
je 0x4766cf
cmp dword [0x4c9e20], 0
je 0x4766cf
push dword [0x4c9e20]
call sub.KERNEL32.DLL_SuspendThread
cmp eax, 0xffffffff
setne al
and eax, 1
mov byte [ebp - 0xa], al
call fcn.004957b8
mov esi, eax
jmp 0x47672d
lea eax, [ebp - 0x6d8]
push eax
push ebx
call sub.USER32.DLL_IsDialogMessageA
test eax, eax
jne 0x47672d
cmp dword [ebp - 0x6d4], 0x203
jne 0x476715
mov edx, dword [ebp - 0x6d8]
cmp edx, dword [0x4b9d54]
jne 0x476715
mov eax, 0x4b9d54
mov edx, dword [0x4b9818]
call fcn.0047a2fc
jmp 0x47672d
lea ecx, [ebp - 0x6d8]
push ecx
call sub.USER32.DLL_TranslateMessage
lea eax, [ebp - 0x6d8]
push eax
call sub.USER32.DLL_DispatchMessageA
cmp byte [0x4c9e90], 0
je 0x476755
cmp dword [0x4bc1ac], 0
jne 0x476755
push 0
push 0
push 0
lea edx, [ebp - 0x6d8]
push edx
call sub.USER32.DLL_GetMessageA
test eax, eax
jne 0x4766d8
call fcn.004957b8
sub eax, esi
add dword [0x4c9e24], eax
cmp byte [ebp - 9], 0
je 0x476777
push 0
push 0
push 0x47c
push ebx
call sub.USER32.DLL_SendMessageA
cmp byte [ebp - 0xa], 0
je 0x476788
push dword [0x4c9e20]
call sub.KERNEL32.DLL_ResumeThread
mov eax, 1
jmp 0x476ad5
push 0
push 0x475984
push ebx
push 0x4a1a89
push dword [0x4a6fb0]
mov esi, dword [0x4b0884]
call sub.USER32.DLL_DialogBoxParamA
test eax, eax
je 0x4767ef
cmp esi, dword [0x4b0884]
je 0x4767ef
cmp dword [0x4b0884], 0
je 0x4767ef
cmp dword [0x4b1274], 0
jne 0x4767e5
mov eax, dword [0x4b1a7c]
test eax, eax
je 0x4767ef
mov edx, dword [0x4b0884]
dec edx
call fcn.00417704
jmp 0x4767ef
mov eax, dword [0x4b0884]
call fcn.00485308
mov eax, 1
jmp 0x476ad5
push 0x202
push 0
push 0x47b
push ebx
call sub.USER32.DLL_SendMessageA
mov eax, 1
jmp 0x476ad5
push 0
push 0
push 0x10
push ebx
call sub.USER32.DLL_SendMessageA
mov eax, 1
jmp 0x476ad5
push 0
push 0x6f
push 0x111
push ebx
call sub.USER32.DLL_PostMessageA
mov eax, 1
jmp 0x476ad5
mov eax, 1
jmp 0x476ad5
cmp dword [ebp + 0x14], 0x202
jne 0x476866
mov eax, ebx
call fcn.004758bc
push 5
push ebx
call sub.USER32.DLL_ShowWindow
cmp dword [ebp + 0x14], 0x205
jne 0x476900
call sub.USER32.DLL_CreatePopupMenu
mov esi, eax
mov eax, 0x2f9
call fcn.004117b8
push eax
push 0x7c
push 0
push esi
call sub.USER32.DLL_AppendMenuA
mov eax, 0x2fa
call fcn.004117b8
push eax
push 0x7d
push 0
push esi
call sub.USER32.DLL_AppendMenuA
cmp byte [0x4c9e90], 0
je 0x4768b4
mov eax, 0x2fc
jmp 0x4768b9
mov eax, 0x2fb
call fcn.004117b8
push eax
push 0x7e
push 0
push esi
call sub.USER32.DLL_AppendMenuA
lea edx, [ebp - 0x14]
push edx
call sub.USER32.DLL_GetCursorPos
push ebx
call sub.USER32.DLL_SetForegroundWindow
push 0
push ebx
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x14]
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 0x476ad5
push 0x4a1a73
push ebx
call sub.USER32.DLL_GetPropA
test eax, eax
je 0x476921
push ebx
call sub.USER32.DLL_DestroyWindow
jmp 0x476979
cmp dword [0x4c96dc], 0xb
je 0x47696f
call fcn.004957b8
sub eax, dword [0x4c9e24]
mov dword [ebp - 0x6dc], eax
fild dword [ebp - 0x6dc]
fcomp dword [0x476ae0]
fnstsw ax
sahf
jb 0x47696f
push 0x24
mov eax, 0x312
call fcn.004117b8
push eax
mov eax, 0x311
call fcn.004117b8
push eax
push ebx
call sub.USER32.DLL_MessageBoxA
cmp eax, 6
jne 0x476979
mov dword [0x4bc1ac], 1
mov eax, 1
jmp 0x476ad5
push 1
push dword [0x4b9818]
call sub.SHELL32.DLL_DragAcceptFiles
push 0x4a1a73
push ebx
call sub.USER32.DLL_GetPropA
test eax, eax
je 0x4769ce
push 0x4a1a73
push ebx
call sub.USER32.DLL_RemovePropA
xor eax, eax
cmp ebx, dword [eax*4 + 0x4c9de0]
jne 0x4769c3
xor edx, edx
mov dword [eax*4 + 0x4c9de0], edx
jmp 0x476aa9
inc eax
cmp eax, 0x10
jl 0x4769ac
jmp 0x476aa9
push dword [0x4c9e60]
call sub.GDI32.DLL_DeleteObject
push dword [0x4c9e64]
call sub.GDI32.DLL_DeleteObject
push dword [0x4c9e68]
call sub.GDI32.DLL_DeleteObject
push dword [0x4c9e6c]
call sub.GDI32.DLL_DeleteObject
push dword [0x4c9e70]
call sub.GDI32.DLL_DeleteObject
push dword [0x4c9e74]
call sub.GDI32.DLL_DeleteObject
push dword [0x4c9e78]
call sub.GDI32.DLL_DeleteObject
push dword [0x4c9e7c]
call sub.GDI32.DLL_DeleteObject
push dword [0x4c9e80]
call sub.GDI32.DLL_DeleteObject
push dword [0x4c9e84]
call sub.GDI32.DLL_DeleteObject
push dword [0x4c9e88]
call sub.GDI32.DLL_DeleteObject
cmp dword [0x4bc1ac], 0
jne 0x476a69
call fcn.004957b8
sub eax, dword [0x4c9e24]
cmp eax, 0x2710
jle 0x476a69
xor eax, eax
call fcn.004443bc
mov eax, ebx
call fcn.004758bc
xor edx, edx
xor ecx, ecx
mov dword [0x4b9824], edx
mov dword [0x4bc1a8], ecx
mov eax, dword [0x4bc1ac]
xor edx, edx
mov dword [0x4bc1b0], eax
mov dword [0x4bc1ac], edx
mov eax, dword [0x4bc1b8]
test eax, eax
je 0x476aa1
push eax
call sub.KERNEL32.DLL_ReleaseMutex
xor edx, edx
mov dword [0x4c9e20], edx
cmp dword [0x4bc1a4], 1
je 0x476acf
cmp dword [0x4b9828], 0
je 0x476ac3
mov ecx, dword [0x4b9828]
jmp 0x476ac9
mov ecx, dword [0x4b982c]
push ecx
call sub.USER32.DLL_SetFocus
xor eax, eax
jmp 0x476ad5
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10