Function at 0x4730a4
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 [0x4d2278]
cmp dword [0x4d2248], 0
jne 0x4730d2
mov eax, str.HELPExecArcCmd
jmp 0x4730d7
mov eax, dword [0x4d2248]
push eax
mov edx, 2
cmp dword [0x4c77c8], 1
je 0x4730e9
add edx, 0xfffffffe
push edx
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.00464624
cmp esi, 0x110
jg 0x473126
je 0x47314a
sub esi, 2
je 0x4739cf
sub esi, 0xd
je 0x4733db
dec esi
je 0x473956
sub esi, 8
je 0x4733b1
jmp 0x473b1f
sub esi, 0x111
je 0x473492
sub esi, 0x36a
je 0x4738a0
dec esi
je 0x473302
jmp 0x473b1f
push 0
push ebx
call sub.USER32.DLL_GetSystemMenu
mov esi, eax
test esi, esi
je 0x473172
push 1
push 0xf000
push esi
call sub.USER32.DLL_EnableMenuItem
push 1
push 0xf030
push esi
call sub.USER32.DLL_EnableMenuItem
cmp dword [0x4d1aa8], 0
je 0x473197
xor ecx, ecx
mov edx, 0x70
mov eax, ebx
call fcn.004644e0
xor ecx, ecx
mov edx, 0xa3
mov eax, ebx
call fcn.00464504
cmp byte [0x4d21f4], 0
jne 0x4731d9
mov eax, dword [0x4d1aa8]
cmp eax, 1
je 0x4731af
cmp eax, 2
jne 0x4731d9
xor ecx, ecx
mov edx, 0xa2
mov eax, ebx
call fcn.00464504
xor ecx, ecx
mov edx, 0xa6
mov eax, ebx
call fcn.00464504
xor ecx, ecx
mov edx, 0xa1
mov eax, ebx
call fcn.00464504
xor edx, edx
xor ecx, ecx
mov dword [0x4c77d4], edx
mov dword [0x4c77d8], ecx
mov dword [0x4c77cc], 1
xor eax, eax
mov dword [0x4c4e30], ebx
mov dword [0x4bcc34], eax
cmp dword [0x4c77c8], 1
je 0x47321c
push ebx
call sub.USER32.DLL_BringWindowToTop
push 0
push dword [0x4c4e24]
call sub.SHELL32.DLL_DragAcceptFiles
push 0x606060
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4d224c], eax
push 0x80809e
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4d2250], eax
push 0xeee8e8
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4d2254], eax
push 0xffffff
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4d2258], eax
push 0xc0ffff
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4d225c], eax
push 0xb4d4e4
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4d2260], eax
push 0x9494b4
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4d2264], eax
push 0x464040
push 1
push 0
call sub.GDI32.DLL_CreatePen
mov dword [0x4d2268], eax
push 0x6e6e94
call sub.GDI32.DLL_CreateSolidBrush
mov dword [0x4d226c], eax
push 0xdcd6d6
call sub.GDI32.DLL_CreateSolidBrush
mov dword [0x4d2270], eax
push 0xa0c0d0
call sub.GDI32.DLL_CreateSolidBrush
mov dword [0x4d2274], eax
push 0
push 0
push 0x47c
push ebx
call sub.USER32.DLL_PostMessageA
cmp dword [0x4c77c8], 1
setne al
and eax, 1
jmp 0x473b21
mov eax, dword [0x4c77e0]
test eax, eax
je 0x4733aa
cmp byte [0x4bcc2f], 0
jne 0x473327
push 0
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
xor eax, eax
jmp 0x473b21
mov byte [ebp - 1], 0
call fcn.004a0084
mov esi, eax
jmp 0x47336d
cmp byte [ebp - 1], 0
jne 0x473361
push 0x480
lea eax, [ebp - 0x494]
push eax
push ebx
call sub.USER32.DLL_GetWindowTextA
mov eax, 0x57d
call fcn.004125b4
push eax
push ebx
call sub.USER32.DLL_SetWindowTextA
mov byte [ebp - 1], 1
push 0x14
call sub.KERNEL32.DLL_Sleep
call fcn.0047cbc0
cmp dword [0x4c77d4], 0
jne 0x47338a
push 0x32
push dword [0x4c77e0]
call sub.KERNEL32.DLL_WaitForSingleObject
cmp eax, 0x102
je 0x473334
call fcn.004a0084
sub eax, esi
add dword [0x4d21f0], eax
cmp byte [ebp - 1], 0
je 0x4733aa
lea edx, [ebp - 0x494]
push edx
push ebx
call sub.USER32.DLL_SetWindowTextA
xor eax, eax
jmp 0x473b21
test edi, edi
je 0x4733d4
push 0xfffffffffffffff0
push ebx
call sub.USER32.DLL_GetWindowLongA
test eax, 0x40000000
je 0x4733d4
push 0
push ebx
call sub.USER32.DLL_FlashWindow
push 1
push ebx
call sub.USER32.DLL_FlashWindow
xor eax, eax
jmp 0x473b21
push str.Done
push ebx
call sub.USER32.DLL_GetPropA
test eax, eax
je 0x4733fa
cmp dword [0x4d1aa8], 8
je 0x4733fa
xor eax, eax
jmp 0x473b21
mov eax, dword [0x4d1aa8]
test eax, eax
je 0x473412
cmp eax, 1
je 0x473412
cmp eax, 2
je 0x473412
cmp eax, 8
jne 0x47348b
lea edx, [ebp - 0x4d4]
push edx
push ebx
call sub.USER32.DLL_BeginPaint
push dword [0x4d2224]
push dword [0x4d2220]
push dword [0x4d222c]
push dword [0x4d2228]
mov esi, eax
xor ecx, ecx
xor eax, eax
mov edx, esi
push ebx
call fcn.00473c3c
cmp byte [0x4d21f4], 0
jne 0x473457
cmp dword [0x4d1aa8], 8
jne 0x47347e
push dword [0x4d2234]
push dword [0x4d2230]
push dword [0x4d223c]
push dword [0x4d2238]
push ebx
mov cl, 1
mov edx, esi
mov eax, 1
call fcn.00473c3c
lea edx, [ebp - 0x4d4]
push edx
push ebx
call sub.USER32.DLL_EndPaint
xor eax, eax
jmp 0x473b21
and di, 0xffff
movzx edx, di
cmp edx, 0x70
jg 0x4734bb
je 0x4737e4
sub edx, 2
je 0x4734d7
sub edx, 0x6c
je 0x4734ed
dec edx
je 0x473646
jmp 0x473896
sub edx, 0x7c
je 0x47384b
dec edx
je 0x473867
dec edx
je 0x47387d
jmp 0x473896
push 0
push 0
push 0x10
push ebx
call sub.USER32.DLL_SendMessageA
mov eax, 1
jmp 0x473b21
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.00463fac
test al, al
je 0x47353d
mov eax, 0x65
jmp 0x473542
mov eax, 0x6c
mov dword [ebp - 8], eax
push edi
cmp dword [ebp - 8], 0x65
jne 0x473553
mov edx, 0x4ab537
jmp 0x473558
mov edx, str.Tray.ico
mov eax, 0x4c5664
mov ecx, esi
call fcn.0047a9f8
mov dword [0x4d1aa4], eax
cmp dword [0x4d1aa4], 0
jne 0x47358d
push 0
push edi
push esi
push 1
movzx eax, word [ebp - 8]
push eax
push dword [0x4b2108]
call sub.USER32.DLL_LoadImageA
mov dword [0x4d1aa4], eax
mov edx, dword [0x4d1aa4]
cmp dword [0x4d1aa8], 0
mov dword [ebp - 0x6a8], edx
jne 0x4735c0
push 0
mov eax, 0x2f8
call fcn.004125b4
push eax
lea edx, [ebp - 0x6a4]
push edx
call fcn.0049abc0
add esp, 0xc
jmp 0x4735d2
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 0x47362a
push 0
push ebx
call sub.USER32.DLL_ShowWindow
push 0
push dword [0x4c4e24]
call sub.USER32.DLL_ShowWindow
mov al, 1
call fcn.004430ac
push dword [0x4d2234]
push dword [0x4d2230]
push dword [0x4d223c]
push dword [0x4d2238]
push 0
xor ecx, ecx
xor edx, edx
mov eax, 1
call fcn.00473c3c
jmp 0x47363c
push dword [0x4d1aa4]
call sub.USER32.DLL_DestroyIcon
xor eax, eax
mov dword [0x4d1aa4], eax
mov eax, 1
jmp 0x473b21
cmp byte [0x4d227c], 0
jne 0x473693
cmp dword [0x4c4e30], 0
jne 0x473662
mov eax, 1
jmp 0x473b21
push 0xc8
push 0x4d227d
push 0x6f
push ebx
call sub.USER32.DLL_GetDlgItemTextA
push 0x480
push 0x4d2345
push ebx
call sub.USER32.DLL_GetWindowTextA
mov eax, dword [0x4c77e0]
test eax, eax
je 0x473693
push eax
call sub.KERNEL32.DLL_ReleaseMutex
cmp byte [0x4d227c], 0
je 0x4736a3
mov edx, 0x4d227d
jmp 0x4736af
mov eax, 0x49c
call fcn.004125b4
mov edx, eax
push edx
push 0x6f
push ebx
call sub.USER32.DLL_SetDlgItemTextA
cmp byte [0x4d227c], 0
je 0x4736c8
mov ecx, 0x4d2345
jmp 0x4736d4
mov eax, 0x49d
call fcn.004125b4
mov ecx, eax
push ecx
push ebx
call sub.USER32.DLL_SetWindowTextA
mov al, byte [0x4d227c]
mov byte [ebp - 9], al
xor edx, edx
mov dl, al
cmp edx, 1
sbb ecx, ecx
neg ecx
mov byte [0x4d227c], cl
mov byte [ebp - 0xa], 0
cmp byte [0x4d227c], 0
je 0x473721
cmp dword [0x4d21ec], 0
je 0x473721
push dword [0x4d21ec]
call sub.KERNEL32.DLL_SuspendThread
cmp eax, 0xffffffff
setne al
and eax, 1
mov byte [ebp - 0xa], al
call fcn.004a0084
mov esi, eax
jmp 0x47377f
lea eax, [ebp - 0x6d8]
push eax
push ebx
call sub.USER32.DLL_IsDialogMessageA
test eax, eax
jne 0x47377f
cmp dword [ebp - 0x6d4], 0x203
jne 0x473767
mov edx, dword [ebp - 0x6d8]
cmp edx, dword [0x4c5378]
jne 0x473767
mov eax, 0x4c5378
mov edx, dword [0x4c4e24]
call fcn.00477834
jmp 0x47377f
lea ecx, [ebp - 0x6d8]
push ecx
call sub.USER32.DLL_TranslateMessage
lea eax, [ebp - 0x6d8]
push eax
call sub.USER32.DLL_DispatchMessageA
cmp byte [0x4d227c], 0
je 0x4737a7
cmp dword [0x4c77d4], 0
jne 0x4737a7
push 0
push 0
push 0
lea edx, [ebp - 0x6d8]
push edx
call sub.USER32.DLL_GetMessageA
test eax, eax
jne 0x47372a
call fcn.004a0084
sub eax, esi
add dword [0x4d21f0], eax
cmp byte [ebp - 9], 0
je 0x4737c9
push 0
push 0
push 0x47c
push ebx
call sub.USER32.DLL_SendMessageA
cmp byte [ebp - 0xa], 0
je 0x4737da
push dword [0x4d21ec]
call sub.KERNEL32.DLL_ResumeThread
mov eax, 1
jmp 0x473b21
push 0
push 0x47290c
push ebx
push str.CMDMODE
push dword [0x4b2108]
mov esi, dword [0x4bba20]
call sub.USER32.DLL_DialogBoxParamA
test eax, eax
je 0x473841
cmp esi, dword [0x4bba20]
je 0x473841
cmp dword [0x4bba20], 0
je 0x473841
cmp dword [0x4bc428], 0
jne 0x473837
mov eax, dword [0x4bcc34]
test eax, eax
je 0x473841
mov edx, dword [0x4bba20]
dec edx
call fcn.0041b144
jmp 0x473841
mov eax, dword [0x4bba20]
call fcn.0048f6d0
mov eax, 1
jmp 0x473b21
push 0x202
push 0
push 0x47b
push ebx
call sub.USER32.DLL_SendMessageA
mov eax, 1
jmp 0x473b21
push 0
push 0
push 0x10
push ebx
call sub.USER32.DLL_SendMessageA
mov eax, 1
jmp 0x473b21
push 0
push 0x6f
push 0x111
push ebx
call sub.USER32.DLL_PostMessageA
mov eax, 1
jmp 0x473b21
mov eax, 1
jmp 0x473b21
cmp dword [ebp + 0x14], 0x202
jne 0x4738b8
mov eax, ebx
call fcn.00472844
push 5
push ebx
call sub.USER32.DLL_ShowWindow
cmp dword [ebp + 0x14], 0x205
jne 0x47394c
call sub.USER32.DLL_CreatePopupMenu
mov esi, eax
mov eax, 0x2f9
call fcn.004125b4
push eax
push 0x7c
push 0
push esi
call sub.USER32.DLL_AppendMenuA
mov eax, 0x2fa
call fcn.004125b4
push eax
push 0x7d
push 0
push esi
call sub.USER32.DLL_AppendMenuA
mov eax, 0x2fc
cmp byte [0x4d227c], 0
jne 0x473905
dec eax
call fcn.004125b4
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 0x473b21
push str.Done
push ebx
call sub.USER32.DLL_GetPropA
test eax, eax
je 0x47396d
push ebx
call sub.USER32.DLL_DestroyWindow
jmp 0x4739c5
cmp dword [0x4d1aa8], 0xb
je 0x4739bb
call fcn.004a0084
sub eax, dword [0x4d21f0]
mov dword [ebp - 0x6dc], eax
fild dword [ebp - 0x6dc]
fcomp dword [0x473b2c]
fnstsw ax
sahf
jb 0x4739bb
push 0x24
mov eax, 0x312
call fcn.004125b4
push eax
mov eax, 0x311
call fcn.004125b4
push eax
push ebx
call sub.USER32.DLL_MessageBoxA
cmp eax, 6
jne 0x4739c5
mov dword [0x4c77d4], 1
mov eax, 1
jmp 0x473b21
push 1
push dword [0x4c4e24]
call sub.SHELL32.DLL_DragAcceptFiles
push str.Done
push ebx
call sub.USER32.DLL_GetPropA
test eax, eax
je 0x473a1a
push str.Done
push ebx
call sub.USER32.DLL_RemovePropA
xor eax, eax
cmp ebx, dword [eax*4 + 0x4d21ac]
jne 0x473a0f
xor edx, edx
mov dword [eax*4 + 0x4d21ac], edx
jmp 0x473af5
inc eax
cmp eax, 0x10
jl 0x4739f8
jmp 0x473af5
push dword [0x4d224c]
call sub.GDI32.DLL_DeleteObject
push dword [0x4d2250]
call sub.GDI32.DLL_DeleteObject
push dword [0x4d2254]
call sub.GDI32.DLL_DeleteObject
push dword [0x4d2258]
call sub.GDI32.DLL_DeleteObject
push dword [0x4d225c]
call sub.GDI32.DLL_DeleteObject
push dword [0x4d2260]
call sub.GDI32.DLL_DeleteObject
push dword [0x4d2264]
call sub.GDI32.DLL_DeleteObject
push dword [0x4d2268]
call sub.GDI32.DLL_DeleteObject
push dword [0x4d226c]
call sub.GDI32.DLL_DeleteObject
push dword [0x4d2270]
call sub.GDI32.DLL_DeleteObject
push dword [0x4d2274]
call sub.GDI32.DLL_DeleteObject
cmp dword [0x4c77d4], 0
jne 0x473ab5
call fcn.004a0084
sub eax, dword [0x4d21f0]
cmp eax, 0x2710
jle 0x473ab5
xor eax, eax
call fcn.0047cc58
mov eax, ebx
call fcn.00472844
xor edx, edx
xor ecx, ecx
mov dword [0x4c4e30], edx
mov dword [0x4c77cc], ecx
mov eax, dword [0x4c77d4]
xor edx, edx
mov dword [0x4c77d8], eax
mov dword [0x4c77d4], edx
mov eax, dword [0x4c77e0]
test eax, eax
je 0x473aed
push eax
call sub.KERNEL32.DLL_ReleaseMutex
xor edx, edx
mov dword [0x4d21ec], edx
cmp dword [0x4c77c8], 1
je 0x473b1b
cmp dword [0x4c4e34], 0
je 0x473b0f
mov ecx, dword [0x4c4e34]
jmp 0x473b15
mov ecx, dword [0x4c4e38]
push ecx
call sub.USER32.DLL_SetFocus
xor eax, eax
jmp 0x473b21
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10