Function at 0x4c52f0
Capabilities:
Get graphical window text
Hide graphical window
Resume thread
Suspend thread

Disassembly:
mov eax, 0x16a0
call fcn.004ebbf0
mov eax, dword [0x528af4]
xor eax, esp
mov dword [esp + 0x169c], eax
cmp word [0x591f90], 0
mov eax, str.HELPExecArcCmd
push ebx
mov ebx, dword [esp + 0x16a8]
push ebp
push esi
push edi
je 0x4c5327
mov eax, 0x591f90
mov edi, dword [esp + 0x16c0]
mov ebp, dword [esp + 0x16bc]
mov esi, dword [esp + 0x16b8]
push 0
push eax
push dword [0x5921bc]
push edi
push ebp
push esi
push ebx
call fcn.0040cd40
test al, al
jne case.0x4c5a9f.3
cmp esi, 0x110
ja 0x4c5883
je 0x4c5689
add esi, 0xfffffffe
cmp esi, 0x16
ja case.0x4c537b.3
movzx eax, byte [esi + 0x4c5ed4]
jmp dword [eax*4 + 0x4c5ec0]
test ebp, ebp
je case.0x4c537b.3
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je case.0x4c537b.3
mov esi, dword [sym.imp.USER32.dll_FlashWindow]
push 0
push ebx
call esi
push 1
push ebx
call esi
xor eax, eax
jmp 0x4c5ea2
push str.Done
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
mov eax, dword [0x58f8ac]
je 0x4c53d3
cmp eax, 0xa
jne case.0x4c537b.3
test eax, eax
je 0x4c53ea
cmp eax, 1
je 0x4c53ea
cmp eax, 2
je 0x4c53ea
cmp eax, 0xa
jne case.0x4c537b.3
lea eax, [esp + 0x3dc]
push eax
push ebx
call dword [sym.imp.USER32.dll_BeginPaint]
push ebx
push 0
mov esi, eax
push esi
push 0
push dword [0x591f7c]
push dword [0x591f78]
push dword [0x591f74]
push dword [0x591f70]
call fcn.004c65a0
cmp byte [0x591ef8], 0
jne 0x4c5430
cmp dword [0x58f8ac], 0xa
jne 0x4c5453
push ebx
push 1
push esi
push 1
push dword [0x591f8c]
push dword [0x591f88]
push dword [0x591f84]
push dword [0x591f80]
call fcn.004c65a0
lea eax, [esp + 0x3dc]
push eax
push ebx
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
jmp 0x4c5ea2
push str.Done
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x4c5485
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp case.0x4c5a9f.3
cmp dword [0x58f8ac], 0xd
je 0x4c54c7
call fcn.004f24cc
sub eax, dword [0x591ef4]
cmp eax, 0xea60
jl 0x4c54c7
push 0x24
push 0x312
call fcn.00488530
push eax
push 0x311
call fcn.00488530
push eax
push ebx
call fcn.004c4910
cmp eax, 6
jne case.0x4c5a9f.3
mov byte [0x53898e], 1
jmp case.0x4c5a9f.3
push 1
push dword [0x538900]
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
push 0
push 0
push 0
push 0
push 0
call fcn.004c7660
push str.Done
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x4c5534
push str.Done
push ebx
call dword [sym.imp.USER32.dll_RemovePropW]
xor eax, eax
mov edi, edi
cmp dword [eax*4 + 0x591eb0], ebx
je 0x4c5524
inc eax
cmp eax, 0x10
jb 0x4c5510
jmp 0x4c55f4
mov dword [eax*4 + 0x591eb0], 0
jmp 0x4c55f4
push dword [0x592190]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [0x592194]
call esi
push dword [0x592198]
call esi
push dword [0x59219c]
call esi
push dword [0x5921a0]
call esi
push dword [0x5921a4]
call esi
push dword [0x5921a8]
call esi
push dword [0x5921ac]
call esi
push dword [0x5921b0]
call esi
push dword [0x5921b4]
call esi
push dword [0x5921b8]
call esi
cmp byte [0x53898e], 0
jne 0x4c55bd
call fcn.004f24cc
sub eax, dword [0x591ef4]
cmp eax, 0x2710
jle 0x4c55bd
cmp dword [0x58f8ac], 7
je 0x4c55bd
push 1
call fcn.00491040
push 0
push ebx
call fcn.004c7a10
mov al, byte [0x53898e]
mov dword [0x53890c], 0
mov dword [0x539a60], 0
mov byte [0x53898f], al
mov byte [0x53898e], 0
mov dword [0x591ef0], 0
mov eax, dword [0x538a0c]
test eax, eax
je 0x4c5604
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [0x538a04], 1
je 0x4c5630
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x538900]
jne 0x4c5630
mov eax, dword [0x538910]
test eax, eax
jne 0x4c5629
mov eax, dword [0x55d500]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push dword [0x538900]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4c567d
lea eax, [esp + 0x3cc]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x3d0]
push eax
push dword [0x55d500]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
lea eax, [esp + 0x3d0]
push eax
push dword [0x55d500]
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.00447d70
xor eax, eax
jmp 0x4c5ea2
push 0
push ebx
mov byte [0x5921c1], 0
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov edi, eax
test edi, edi
je 0x4c56b9
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0xf000
push edi
call esi
push 1
push 0xf030
push edi
call esi
mov eax, dword [0x58f8ac]
test eax, eax
je 0x4c56d4
push 0
push 0xa3
push ebx
call fcn.0040cd10
mov eax, dword [0x58f8ac]
cmp byte [0x591ef8], 0
jne 0x4c570e
cmp eax, 1
je 0x4c56e7
cmp eax, 2
jne 0x4c570e
push 0
push 0xa2
push ebx
call fcn.0040cd10
push 0
push 0xa6
push ebx
call fcn.0040cd10
push 0
push 0xa1
push ebx
call fcn.0040cd10
cmp dword [0x538a04], 1
mov byte [0x53898e], 0
mov byte [0x53898f], 0
mov dword [0x539a60], 1
mov dword [0x53890c], ebx
mov dword [0x54e258], 0
je 0x4c5754
push ebx
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 0
push dword [0x538900]
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
push dword [0x538900]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4c57b2
push dword [0x538900]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4c57b2
lea eax, [esp + 0x3dc]
mov dword [esp + 0x3dc], 0x2c
push eax
push dword [0x53890c]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
lea eax, [esp + 0x3dc]
mov dword [esp + 0x3e4], 0
push eax
push dword [0x538900]
call dword [sym.imp.USER32.dll_SetWindowPlacement]
mov esi, dword [sym.imp.GDI32.dll_CreatePen]
push 0x606060
push 1
push 0
call esi
push 0x80809e
push 1
push 0
mov dword [0x592190], eax
call esi
push 0xeee8e8
push 1
push 0
mov dword [0x592194], eax
call esi
push 0xffffff
push 1
push 0
mov dword [0x592198], eax
call esi
push 0xc0ffff
push 1
push 0
mov dword [0x59219c], eax
call esi
push 0xb4d4e4
push 1
push 0
mov dword [0x5921a0], eax
call esi
push 0x9494b4
push 1
push 0
mov dword [0x5921a4], eax
call esi
push 0x464040
push 1
push 0
mov dword [0x5921a8], eax
call esi
mov esi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0x6e6e94
mov dword [0x5921ac], eax
call esi
push 0xdcd6d6
mov dword [0x5921b0], eax
call esi
push 0xa0c0d0
mov dword [0x5921b4], eax
call esi
push 1
push 0
push 0x8008
push ebx
mov dword [0x5921b8], eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
cmp dword [0x538a04], 1
setne al
jmp 0x4c5ea2
sub esi, 0x111
je 0x4c5a89
sub esi, 0x7ef6
je 0x4c59d2
sub esi, 1
jne case.0x4c537b.3
mov eax, dword [0x538a0c]
test eax, eax
je case.0x4c537b.3
cmp byte [0x54e254], 0
jne 0x4c58c1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
jmp 0x4c5ea2
push 0xc8
lea eax, [esp + 0x420]
cmp edi, 1
push eax
push 0x6f
push ebx
sete byte [esp + 0x23]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0x49c
call fcn.00488530
push eax
push 0x6f
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov byte [esp + 0x12], 0
call fcn.004f24cc
cmp byte [0x53898e], 0
mov cl, 1
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [esp + 0x3cc], eax
mov byte [0x5921c1], cl
jne 0x4c598b
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
test cl, cl
je 0x4c598b
push 0x14
push dword [0x538a0c]
call ebp
cmp eax, 0x102
jne 0x4c598b
cmp byte [esp + 0x13], 0
je 0x4c598b
cmp byte [esp + 0x12], 0
jne 0x4c5971
push 0x880
lea eax, [esp + 0x5b0]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x57d
call fcn.00488530
push eax
push ebx
call esi
mov byte [esp + 0x12], 1
push 0x14
call edi
call fcn.00445680
cmp byte [0x53898e], 0
jne 0x4c598b
mov cl, byte [0x5921c1]
jmp 0x4c5927
mov byte [0x5921c1], 0
call fcn.004f24cc
sub eax, dword [esp + 0x3cc]
push eax
call fcn.004c5280
lea eax, [esp + 0x41c]
push eax
push 0x6f
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [esp + 0x12], 0
je case.0x4c537b.3
lea eax, [esp + 0x5ac]
push eax
push ebx
call esi
xor eax, eax
jmp 0x4c5ea2
cmp edi, 0x202
jne 0x4c59f0
push 1
push ebx
call fcn.004c7a10
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4c5a9f.3
cmp edi, 0x205
jne case.0x4c5a9f.3
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 0x2fe
mov edi, eax
call fcn.00488530
mov esi, dword [sym.imp.USER32.dll_AppendMenuW]
push eax
push 0x7c
push 0
push edi
call esi
push 0x2ff
call fcn.00488530
push eax
push 0x7d
push 0
push edi
call esi
xor eax, eax
cmp byte [0x591f67], al
setne al
add eax, 0x300
push eax
call fcn.00488530
push eax
push 0x7e
push 0
push edi
call esi
lea eax, [esp + 0x3cc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push ebx
push 0
push dword [esp + 0x3dc]
push dword [esp + 0x3dc]
push 2
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push edi
call dword [sym.imp.USER32.dll_DestroyMenu]
jmp case.0x4c5a9f.3
movzx eax, bp
add eax, 0xfffffffe
cmp eax, 0x7c
ja case.0x4c5a9f.3
movzx eax, byte [eax + 0x4c5f08]
jmp dword [eax*4 + 0x4c5eec]
push 0
push 0
push 0x10
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4c5a9f.3
push 0x3b8
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004ee100
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
add esp, 0xc
mov dword [esp + 0x14], 0x3b8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0x7b
push 0x31
mov dword [esp + 0x24], 7
mov dword [esp + 0x28], 0x8007
call esi
push 0x32
mov edi, eax
call esi
mov ebp, eax
call fcn.0046bee0
cmp eax, 0x501
mov eax, str.RAR.ico
sbb esi, esi
and esi, 7
add esi, 0x65
cmp esi, 0x65
je 0x4c5b23
mov eax, str.Tray.ico
push ebp
push edi
push eax
mov ecx, 0x55f640
call fcn.004a8e40
mov dword [0x58f8a8], eax
test eax, eax
jne 0x4c5b53
push eax
push ebp
push edi
push 1
movzx eax, si
push eax
push dword [0x56df20]
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [0x58f8a8], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004c7200
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x4c5bba
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ebx
call esi
push 0
push dword [0x538900]
call esi
push 1
call fcn.004d6020
push 0
push 0
push 0
push 1
push dword [0x591f8c]
push dword [0x591f88]
push dword [0x591f84]
push dword [0x591f80]
call fcn.004c65a0
jmp case.0x4c5a9f.3
push dword [0x58f8a8]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [0x58f8a8], 0
jmp case.0x4c5a9f.3
cmp byte [0x5921c1], 0
je 0x4c5bea
mov byte [0x5921c1], 0
jmp case.0x4c5a9f.3
cmp byte [0x591f67], 0
jne 0x4c5c34
cmp dword [0x53890c], 0
je case.0x4c5a9f.3
push 0xc8
push 0x5921c8
push 0x6f
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0x880
push 0x592358
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x538a0c]
test eax, eax
je 0x4c5c34
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x591f84]
test eax, eax
jl 0x4c5c6e
mov ecx, dword [0x591f80]
jg 0x4c5c49
test ecx, ecx
je 0x4c5c6e
push dword [0x591f8c]
push dword [0x591f88]
push eax
movzx eax, byte [0x591f67]
neg eax
push ecx
sbb eax, eax
and eax, 0xfffffffa
add eax, 8
push eax
call fcn.004c7660
cmp byte [0x591f67], 0
je 0x4c5c7e
mov eax, 0x5921c8
jmp 0x4c5c88
push 0x49c
call fcn.00488530
push eax
push 0x6f
push ebx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [0x591f67], 0
je 0x4c5ca2
mov eax, 0x592358
jmp 0x4c5cac
push 0x49d
call fcn.00488530
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [0x591f67], 0
lea eax, [esp + 0x14]
push 0x3b8
push 0
push eax
sete byte [0x591f67]
call fcn.004ee100
add esp, 0xc
mov dword [esp + 0x14], 0x3b8
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0x7b
mov dword [esp + 0x20], 4
push dword [0x591efc]
push eax
call fcn.004c7200
lea eax, [esp + 0x14]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
cmp byte [0x591f67], 0
mov byte [esp + 0x12], 0
je 0x4c5d35
mov eax, dword [0x591ef0]
test eax, eax
je 0x4c5d35
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
setne byte [esp + 0x12]
call fcn.004f24cc
cmp byte [0x591f67], 0
mov dword [esp + 0x3cc], eax
je 0x4c5ddb
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
mov edi, dword [sym.imp.USER32.dll_IsDialogMessageW]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
cmp byte [0x53898e], 0
jne 0x4c5ddb
push 0
push 0
push 0
lea eax, [esp + 0x3e8]
push eax
call esi
test eax, eax
je 0x4c5ddb
lea eax, [esp + 0x3dc]
push eax
push ebx
call edi
test eax, eax
jne 0x4c5dd2
cmp dword [esp + 0x3e0], 0x203
jne 0x4c5dba
mov eax, dword [esp + 0x3dc]
cmp eax, dword [0x55f624]
jne 0x4c5dba
push dword [0x538900]
mov ecx, 0x55f624
call fcn.004a9e10
jmp 0x4c5dd2
lea eax, [esp + 0x3dc]
push eax
call ebp
lea eax, [esp + 0x3dc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [0x591f67], 0
jne 0x4c5d60
call fcn.004f24cc
sub eax, dword [esp + 0x3cc]
add dword [0x591ef4], eax
cmp byte [esp + 0x12], 0
je 0x4c5e00
push dword [0x591ef0]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [0x53898e], 0
jne case.0x4c5a9f.3
push 0
push 0
push 0x8008
jmp 0x4c5e96
call fcn.004f24cc
mov esi, dword [0x549fc0]
mov edi, eax
push 0
push 0x4c4f10
push ebx
push str.CMDMODE
push dword [0x56df20]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
test eax, eax
je 0x4c5e69
mov eax, dword [0x549fc0]
cmp eax, esi
je 0x4c5e69
test eax, eax
je 0x4c5e69
cmp dword [0x54c248], 0
jne 0x4c5e69
mov ecx, dword [0x54e258]
test ecx, ecx
je 0x4c5e69
mov edx, dword [ecx]
dec eax
push eax
call dword [edx + 0x24]
call fcn.004f24cc
sub eax, edi
add dword [0x591ef4], eax
jmp case.0x4c5a9f.3
push 0x202
push 0
push 0x8007
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4c5a9f.3
push 0
push 0x6f
push 0x111
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
mov ecx, dword [esp + 0x16ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ebbd8
add esp, 0x16a0
ret 0x10