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

Disassembly:
mov eax, 0x16a0
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x169c], eax
cmp word [0x568e70], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x16b0]
push edi
mov eax, str.HELPExecArcCmd
je 0x4b42b7
mov eax, 0x568e70
mov ebx, dword [esp + 0x16c0]
mov ebp, dword [esp + 0x16bc]
mov edi, dword [esp + 0x16b8]
push 0
push eax
mov eax, dword [0x568e3c]
push eax
push ebx
push ebp
push edi
push esi
call fcn.004811f0
test al, al
jne case.0x4b49c3.3
cmp edi, 0x110
ja 0x4b47c3
je 0x4b45f2
lea eax, [edi - 2]
cmp eax, 0x16
ja case.0x4b430b.3
movzx ecx, byte [eax + 0x4b4ddc]
jmp dword [ecx*4 + 0x4b4dc8]
test ebp, ebp
je 0x4b4336
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x4b4336
mov edi, dword [sym.imp.USER32.dll_FlashWindow]
push 0
push esi
call edi
push 1
push esi
call edi
xor eax, eax
jmp 0x4b4dad
push str.Done
push esi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
mov eax, dword [0x56910c]
je 0x4b435b
cmp eax, 8
jne case.0x4b430b.3
test eax, eax
je 0x4b436e
cmp eax, 1
je 0x4b436e
cmp eax, 2
je 0x4b436e
cmp eax, 8
jne 0x4b43e5
lea edx, [esp + 0x24]
push edx
push esi
call dword [sym.imp.USER32.dll_BeginPaint]
mov ecx, dword [0x569088]
mov edx, dword [0x569094]
push esi
push 0
mov edi, eax
mov eax, dword [0x56908c]
push edi
push 0
push eax
mov eax, dword [0x569090]
push ecx
push edx
push eax
call fcn.004b34c0
cmp byte [0x569074], 0
jne 0x4b43b3
cmp dword [0x56910c], 8
jne 0x4b43d9
mov ecx, dword [0x56907c]
mov edx, dword [0x569078]
mov eax, dword [0x569084]
push esi
push 1
push edi
push 1
push ecx
mov ecx, dword [0x569080]
push edx
push eax
push ecx
call fcn.004b34c0
lea edx, [esp + 0x24]
push edx
push esi
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
jmp 0x4b4dad
push str.Done
push esi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x4b4408
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp case.0x4b49c3.3
cmp dword [0x56910c], 0xb
je 0x4b444b
call fcn.004e6fda
sub eax, dword [0x569104]
cmp eax, 0xea60
jl 0x4b444b
push 0x24
push 0x312
call fcn.00461b20
push eax
push 0x311
call fcn.00461b20
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne case.0x4b49c3.3
mov byte [0x5393c9], 1
jmp case.0x4b49c3.3
mov eax, dword [0x53a464]
push 1
push eax
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
push 0
push 0
push 0
push 0
xor ebx, ebx
call fcn.004b3430
push str.Done
push esi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x4b44b2
push str.Done
push esi
call dword [sym.imp.USER32.dll_RemovePropW]
xor eax, eax
cmp dword [eax*4 + 0x569110], esi
je 0x4b44a6
inc eax
cmp eax, 0x10
jb 0x4b4492
jmp 0x4b4564
mov dword [eax*4 + 0x569110], ebx
jmp 0x4b4564
mov ecx, dword [0x568e68]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
call edi
mov edx, dword [0x568e64]
push edx
call edi
mov eax, dword [0x568e60]
push eax
call edi
mov ecx, dword [0x568e5c]
push ecx
call edi
mov edx, dword [0x568e58]
push edx
call edi
mov eax, dword [0x568e54]
push eax
call edi
mov ecx, dword [0x568e50]
push ecx
call edi
mov edx, dword [0x568e4c]
push edx
call edi
mov eax, dword [0x568e48]
push eax
call edi
mov ecx, dword [0x568e44]
push ecx
call edi
mov edx, dword [0x568e40]
push edx
call edi
xor ebx, ebx
cmp byte [0x5393c9], bl
jne 0x4b453b
call fcn.004e6fda
sub eax, dword [0x569104]
cmp eax, 0x2710
jle 0x4b453b
push 1
call fcn.00469170
push ebx
push esi
call fcn.004b24a0
mov al, byte [0x5393c9]
mov dword [0x538304], ebx
mov dword [0x5393bc], ebx
mov byte [0x538308], al
mov byte [0x5393c9], bl
mov dword [0x569108], ebx
mov eax, dword [0x53a45c]
test eax, eax
je 0x4b4574
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [0x539324], 1
je 0x4b45a0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x53a464]
jne 0x4b45a0
mov eax, dword [0x5393b8]
test eax, eax
jne 0x4b4599
mov eax, dword [0x544c98]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [0x53a464]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4b45e6
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [0x544c98]
push 2
lea eax, [esp + 0x18]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [0x544c98]
push 1
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.004953e0
xor eax, eax
jmp 0x4b4dad
push 0
push esi
mov byte [0x56ca08], 0
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov edi, eax
mov ebp, 1
test edi, edi
je 0x4b4625
mov ebx, dword [sym.imp.USER32.dll_EnableMenuItem]
push ebp
push 0xf000
push edi
call ebx
push ebp
push 0xf030
push edi
call ebx
mov eax, dword [0x56910c]
xor ebx, ebx
cmp eax, ebx
je 0x4b4641
push ebx
push 0xa3
push esi
call fcn.00480f70
mov eax, dword [0x56910c]
cmp byte [0x569074], 0
jne 0x4b4677
cmp eax, ebp
je 0x4b4653
cmp eax, 2
jne 0x4b4677
push ebx
push 0xa2
push esi
call fcn.00480f70
push ebx
push 0xa6
push esi
call fcn.00480f70
push ebx
push 0xa1
push esi
call fcn.00480f70
mov byte [0x5393c9], 0
mov byte [0x538308], 0
mov dword [0x5393bc], ebp
mov dword [0x538304], esi
mov dword [0x554b60], ebx
cmp dword [0x539324], ebp
je 0x4b46b4
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, dword [0x53a464]
push ebx
push ecx
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov edx, dword [0x53a464]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4b4705
mov eax, dword [0x53a464]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4b4705
mov edx, dword [0x538304]
lea ecx, [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x2c], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov ecx, dword [0x53a464]
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x34], ebx
call dword [sym.imp.USER32.dll_SetWindowPlacement]
mov edi, dword [sym.imp.GDI32.dll_CreatePen]
push 0x606060
push ebp
push ebx
call edi
push 0x80809e
push ebp
push ebx
mov dword [0x568e68], eax
call edi
push 0xeee8e8
push ebp
push ebx
mov dword [0x568e64], eax
call edi
push 0xffffff
push ebp
push ebx
mov dword [0x568e60], eax
call edi
push 0xc0ffff
push ebp
push ebx
mov dword [0x568e5c], eax
call edi
push 0xb4d4e4
push ebp
push ebx
mov dword [0x568e58], eax
call edi
push 0x9494b4
push ebp
push ebx
mov dword [0x568e54], eax
call edi
push 0x464040
push ebp
push ebx
mov dword [0x568e50], eax
call edi
mov edi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0x6e6e94
mov dword [0x568e4c], eax
call edi
push 0xdcd6d6
mov dword [0x568e48], eax
call edi
push 0xa0c0d0
mov dword [0x568e44], eax
call edi
push ebp
push ebx
push 0x8008
push esi
mov dword [0x568e40], eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
cmp dword [0x539324], ebp
setne al
jmp 0x4b4dad
sub edi, 0x111
je 0x4b49ad
sub edi, 0x7ef6
je 0x4b48fc
sub edi, 1
jne case.0x4b430b.3
mov eax, dword [0x53a45c]
test eax, eax
je 0x4b48f5
cmp byte [0x554b5c], 0
jne 0x4b4805
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
jmp 0x4b4dad
push 0xc8
lea edx, [esp + 0x420]
push edx
push 0x6f
cmp ebx, 1
push esi
sete byte [esp + 0x23]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0x49c
call fcn.00461b20
push eax
push 0x6f
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
xor bl, bl
call fcn.004e6fda
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [esp + 0x14], eax
mov byte [0x56ca08], 1
cmp byte [0x5393c9], bl
jne 0x4b48bf
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ecx]
cmp byte [0x56ca08], 0
je 0x4b48bf
mov eax, dword [0x53a45c]
push 0x14
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4b48bf
cmp byte [esp + 0x13], 0
je 0x4b48bf
test bl, bl
jne 0x4b48a9
push 0x880
lea ecx, [esp + 0x5b0]
push ecx
push esi
call edi
push 0x57d
call fcn.00461b20
push eax
push esi
call ebp
mov bl, 1
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00494e60
cmp byte [0x5393c9], 0
je 0x4b4860
mov byte [0x56ca08], 0
call fcn.004e6fda
sub eax, dword [esp + 0x14]
push eax
call fcn.004b2b10
lea edx, [esp + 0x41c]
push edx
push 0x6f
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
test bl, bl
je 0x4b48f5
lea eax, [esp + 0x5ac]
push eax
push esi
call ebp
xor eax, eax
jmp 0x4b4dad
cmp ebx, 0x202
jne 0x4b491a
push 1
push esi
call fcn.004b24a0
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4b49c3.3
cmp ebx, 0x205
jne case.0x4b49c3.3
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 0x2fe
mov edi, eax
call fcn.00461b20
mov ebx, dword [sym.imp.USER32.dll_AppendMenuW]
push eax
push 0x7c
push 0
push edi
call ebx
push 0x2ff
call fcn.00461b20
push eax
push 0x7d
push 0
push edi
call ebx
xor ecx, ecx
cmp byte [0x568e39], cl
setne cl
add ecx, 0x300
push ecx
call fcn.00461b20
push eax
push 0x7e
push 0
push edi
call ebx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0
push esi
push 0
push eax
push ecx
push 2
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push edi
call dword [sym.imp.USER32.dll_DestroyMenu]
jmp case.0x4b49c3.3
movzx eax, bp
add eax, 0xfffffffe
cmp eax, 0x7c
ja case.0x4b49c3.3
movzx edx, byte [eax + 0x4b4e10]
jmp dword [edx*4 + 0x4b4df4]
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4b49c3.3
push 0x3b8
lea eax, [esp + 0x68]
push 0
push eax
call fcn.004e4400
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
add esp, 0xc
push 0x31
mov dword [esp + 0x68], 0x3b8
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], 0x7b
mov dword [esp + 0x74], 7
mov dword [esp + 0x78], 0x8007
call edi
push 0x32
mov ebx, eax
call edi
mov ebp, eax
call fcn.00446760
cmp eax, 0x501
sbb edi, edi
and edi, 7
add edi, 0x65
mov eax, str.RAR.ico
cmp edi, 0x65
je 0x4b4a47
mov eax, str.Tray.ico
push ebp
push ebx
push eax
mov ecx, 0x5496f0
call fcn.004a1940
mov dword [0x56b750], eax
test eax, eax
jne 0x4b4a78
mov edx, dword [0x52c134]
push eax
push ebp
push ebx
movzx ecx, di
push 1
push ecx
push edx
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [0x56b750], eax
push 0
lea ecx, [esp + 0x68]
mov dword [esp + 0x7c], eax
call fcn.004b2da0
lea eax, [esp + 0x64]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x4b4ae2
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
mov ecx, dword [0x53a464]
push 0
push ecx
call esi
push 1
call fcn.004c2f80
mov edx, dword [0x56907c]
mov eax, dword [0x569078]
mov ecx, dword [0x569084]
push 0
push 0
push 0
push 1
push edx
mov edx, dword [0x569080]
push eax
push ecx
push edx
call fcn.004b34c0
jmp case.0x4b49c3.3
mov eax, dword [0x56b750]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [0x56b750], 0
jmp case.0x4b49c3.3
cmp byte [0x56ca08], 0
je 0x4b4b12
mov byte [0x56ca08], 0
jmp case.0x4b49c3.3
cmp byte [0x568e39], 0
jne 0x4b4b5c
cmp dword [0x538304], 0
je case.0x4b49c3.3
push 0xc8
push 0x56c878
push 0x6f
push esi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0x880
push 0x56b778
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x53a45c]
test eax, eax
je 0x4b4b5c
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [0x569084]
test ecx, ecx
jl 0x4b4b97
mov eax, dword [0x569080]
jg 0x4b4b71
test eax, eax
jbe 0x4b4b97
mov edx, dword [0x56907c]
movzx ebx, byte [0x568e39]
push edx
mov edx, dword [0x569078]
neg ebx
push edx
sbb ebx, ebx
push ecx
and ebx, 0xfffffffa
push eax
add ebx, 8
call fcn.004b3430
cmp byte [0x568e39], 0
je 0x4b4ba7
mov eax, 0x56c878
jmp 0x4b4bb1
push 0x49c
call fcn.00461b20
push eax
push 0x6f
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [0x568e39], 0
je 0x4b4bcb
mov eax, 0x56b778
jmp 0x4b4bd5
push 0x49d
call fcn.00461b20
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [0x568e39], 0
push 0x3b8
lea ecx, [esp + 0x68]
sete al
push 0
push ecx
mov byte [0x568e39], al
call fcn.004e4400
mov edx, dword [0x569070]
add esp, 0xc
push edx
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], 0x3b8
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], 0x7b
mov dword [esp + 0x74], 4
call fcn.004b2da0
lea eax, [esp + 0x64]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
xor bl, bl
cmp byte [0x568e39], bl
je 0x4b4c59
mov eax, dword [0x569108]
test eax, eax
je 0x4b4c59
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
setne bl
call fcn.004e6fda
cmp byte [0x568e39], 0
mov dword [esp + 0x14], eax
je 0x4b4ce5
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
mov ebp, dword [sym.imp.USER32.dll_IsDialogMessageW]
cmp byte [0x5393c9], 0
jne 0x4b4ce5
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
call edi
test eax, eax
je 0x4b4ce5
lea edx, [esp + 0x24]
push edx
push esi
call ebp
test eax, eax
jne 0x4b4cdc
cmp dword [esp + 0x28], 0x203
jne 0x4b4cc6
mov eax, dword [esp + 0x24]
cmp eax, dword [0x54a77c]
jne 0x4b4cc6
mov ecx, dword [0x53a464]
push ecx
mov ecx, 0x54a77c
call fcn.004a5b90
jmp 0x4b4cdc
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [0x568e39], 0
jne 0x4b4c77
call fcn.004e6fda
sub eax, dword [esp + 0x14]
add dword [0x569104], eax
test bl, bl
je 0x4b4d05
mov ecx, dword [0x569108]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [0x5393c9], 0
jne case.0x4b49c3.3
push 0
push 0
push 0x8008
jmp 0x4b4da1
call fcn.004e6fda
mov edx, dword [0x52c134]
mov edi, dword [0x5508cc]
push 0
push 0x4b2b70
push esi
push str.CMDMODE
push edx
mov ebx, eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
test eax, eax
je 0x4b4d74
mov eax, dword [0x5508cc]
cmp eax, edi
je 0x4b4d74
test eax, eax
je 0x4b4d74
cmp dword [0x552b50], 0
jne 0x4b4d74
mov ecx, dword [0x554b60]
test ecx, ecx
je 0x4b4d74
mov edx, dword [ecx]
dec eax
push eax
mov eax, dword [edx + 0x24]
call eax
call fcn.004e6fda
sub eax, ebx
add dword [0x569104], eax
jmp case.0x4b49c3.3
push 0x202
push 0
push 0x8007
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4b49c3.3
push 0
push 0x6f
push 0x111
push esi
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.004e34f4
add esp, 0x16a0
ret 0x10