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

Disassembly:
sub esp, 0xea0
mov eax, dword [0x4da8f0]
xor eax, esp
mov dword [esp + 0xe9c], eax
cmp word [0x53cd98], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0xeb0]
push edi
mov eax, str.HELPExecArcCmd
je 0x48ee13
mov eax, 0x53cd98
mov ebx, dword [esp + 0xec0]
mov ebp, dword [esp + 0xebc]
mov edi, dword [esp + 0xeb8]
push 0
push eax
mov eax, dword [0x53cd64]
push eax
push ebx
push ebp
push edi
push esi
call fcn.004268c0
test al, al
jne case.0x48f523.3
cmp edi, 0x110
ja 0x48f320
je 0x48f14f
lea eax, [edi - 2]
cmp eax, 0x16
ja case.0x48ee67.3
movzx ecx, byte [eax + 0x48f938]
jmp dword [ecx*4 + 0x48f924]
test ebp, ebp
je 0x48ee92
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x48ee92
mov edi, dword [sym.imp.USER32.dll_FlashWindow]
push 0
push esi
call edi
push 1
push esi
call edi
xor eax, eax
jmp 0x48f908
push str.Done
push esi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
mov eax, dword [0x53ea70]
je 0x48eeb7
cmp eax, 8
jne case.0x48ee67.3
test eax, eax
je 0x48eeca
cmp eax, 1
je 0x48eeca
cmp eax, 2
je 0x48eeca
cmp eax, 8
jne 0x48ef41
lea edx, [esp + 0x24]
push edx
push esi
call dword [sym.imp.USER32.dll_BeginPaint]
mov ecx, dword [0x53cfa8]
mov edx, dword [0x53cfb4]
push esi
push 0
mov edi, eax
mov eax, dword [0x53cfac]
push edi
push 0
push eax
mov eax, dword [0x53cfb0]
push ecx
push edx
push eax
call fcn.0048e010
cmp byte [0x53d027], 0
jne 0x48ef0f
cmp dword [0x53ea70], 8
jne 0x48ef35
mov ecx, dword [0x53cf9c]
mov edx, dword [0x53cf98]
mov eax, dword [0x53cfa4]
push esi
push 1
push edi
push 1
push ecx
mov ecx, dword [0x53cfa0]
push edx
push eax
push ecx
call fcn.0048e010
lea edx, [esp + 0x24]
push edx
push esi
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
jmp 0x48f908
push str.Done
push esi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x48ef64
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp case.0x48f523.3
cmp dword [0x53ea70], 0xb
je 0x48efa7
call fcn.004b2085
sub eax, dword [0x53d028]
cmp eax, 0xea60
jl 0x48efa7
push 0x24
push 0x312
call fcn.004671c0
push eax
push 0x311
call fcn.004671c0
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne case.0x48f523.3
mov byte [0x51c858], 1
jmp case.0x48f523.3
mov eax, dword [0x51c8dc]
push 1
push eax
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
push 0
push 0
push 0
push 0
xor ebx, ebx
call fcn.0048df80
push str.Done
push esi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x48f010
push str.Done
push esi
call dword [sym.imp.USER32.dll_RemovePropW]
xor eax, eax
mov edi, edi
cmp dword [eax*4 + 0x53d030], esi
je 0x48f004
inc eax
cmp eax, 0x10
jb 0x48eff0
jmp 0x48f0c1
mov dword [eax*4 + 0x53d030], ebx
jmp 0x48f0c1
mov ecx, dword [0x53cd90]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
call edi
mov edx, dword [0x53cd8c]
push edx
call edi
mov eax, dword [0x53cd88]
push eax
call edi
mov ecx, dword [0x53cd84]
push ecx
call edi
mov edx, dword [0x53cd80]
push edx
call edi
mov eax, dword [0x53cd7c]
push eax
call edi
mov ecx, dword [0x53cd78]
push ecx
call edi
mov edx, dword [0x53cd74]
push edx
call edi
mov eax, dword [0x53cd70]
push eax
call edi
mov ecx, dword [0x53cd6c]
push ecx
call edi
mov edx, dword [0x53cd68]
push edx
call edi
xor ebx, ebx
cmp byte [0x51c858], bl
jne 0x48f098
call fcn.004b2085
sub eax, dword [0x53d028]
cmp eax, 0x2710
jle 0x48f098
push ebx
call fcn.0044c830
push ebx
push esi
call fcn.0048d060
mov al, byte [0x51c858]
mov dword [0x51b784], ebx
mov dword [0x51c034], ebx
mov byte [0x51b788], al
mov byte [0x51c858], bl
mov dword [0x53d02c], ebx
mov eax, dword [0x51c8d4]
test eax, eax
je 0x48f0d1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [0x51bfa4], 1
je 0x48f0fd
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x51c8dc]
jne 0x48f0fd
mov eax, dword [0x51c030]
test eax, eax
jne 0x48f0f6
mov eax, dword [0x5220b8]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [0x51c8dc]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x48f143
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [0x5220b8]
push 2
lea eax, [esp + 0x18]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [0x5220b8]
push 1
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.00453b90
xor eax, eax
jmp 0x48f908
push 0
push esi
mov byte [0x53f530], 0
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov edi, eax
mov ebp, 1
test edi, edi
je 0x48f182
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 [0x53ea70]
xor ebx, ebx
cmp eax, ebx
je 0x48f19e
push ebx
push 0xa3
push esi
call fcn.00426640
mov eax, dword [0x53ea70]
cmp byte [0x53d027], 0
jne 0x48f1d4
cmp eax, ebp
je 0x48f1b0
cmp eax, 2
jne 0x48f1d4
push ebx
push 0xa2
push esi
call fcn.00426640
push ebx
push 0xa6
push esi
call fcn.00426640
push ebx
push 0xa1
push esi
call fcn.00426640
mov byte [0x51c858], 0
mov byte [0x51b788], 0
mov dword [0x51c034], ebp
mov dword [0x51b784], esi
mov dword [0x529c40], ebx
cmp dword [0x51bfa4], ebp
je 0x48f211
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov ecx, dword [0x51c8dc]
push ebx
push ecx
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
mov edx, dword [0x51c8dc]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x48f262
mov eax, dword [0x51c8dc]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x48f262
mov edx, dword [0x51b784]
lea ecx, [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x2c], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov ecx, dword [0x51c8dc]
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 [0x53cd90], eax
call edi
push 0xeee8e8
push ebp
push ebx
mov dword [0x53cd8c], eax
call edi
push 0xffffff
push ebp
push ebx
mov dword [0x53cd88], eax
call edi
push 0xc0ffff
push ebp
push ebx
mov dword [0x53cd84], eax
call edi
push 0xb4d4e4
push ebp
push ebx
mov dword [0x53cd80], eax
call edi
push 0x9494b4
push ebp
push ebx
mov dword [0x53cd7c], eax
call edi
push 0x464040
push ebp
push ebx
mov dword [0x53cd78], eax
call edi
mov edi, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0x6e6e94
mov dword [0x53cd74], eax
call edi
push 0xdcd6d6
mov dword [0x53cd70], eax
call edi
push 0xa0c0d0
mov dword [0x53cd6c], eax
call edi
push ebp
push ebx
push 0x8008
push esi
mov dword [0x53cd68], eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
cmp dword [0x51bfa4], ebp
setne al
jmp 0x48f908
sub edi, 0x111
je 0x48f50d
sub edi, 0x7ef6
je 0x48f45c
sub edi, 1
jne case.0x48ee67.3
mov eax, dword [0x51c8d4]
test eax, eax
je 0x48f455
cmp byte [0x529c3c], 0
jne 0x48f362
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
jmp 0x48f908
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.004671c0
push eax
push 0x6f
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
xor bl, bl
call fcn.004b2085
mov ebp, dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [esp + 0x14], eax
mov byte [0x53f530], 1
cmp byte [0x51c858], bl
jne 0x48f41f
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
lea ebx, [ebx]
cmp byte [0x53f530], 0
je 0x48f41f
mov eax, dword [0x51c8d4]
push 0x32
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x48f41f
cmp byte [esp + 0x13], 0
je 0x48f41f
test bl, bl
jne 0x48f409
push 0x480
lea ecx, [esp + 0x5b0]
push ecx
push esi
call edi
push 0x57d
call fcn.004671c0
push eax
push esi
call ebp
mov bl, 1
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0044d040
cmp byte [0x51c858], 0
je 0x48f3c0
mov byte [0x53f530], 0
call fcn.004b2085
sub eax, dword [esp + 0x14]
push eax
call fcn.0048d6c0
lea edx, [esp + 0x41c]
push edx
push 0x6f
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
test bl, bl
je 0x48f455
lea eax, [esp + 0x5ac]
push eax
push esi
call ebp
xor eax, eax
jmp 0x48f908
cmp ebx, 0x202
jne 0x48f47a
push 1
push esi
call fcn.0048d060
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x48f523.3
cmp ebx, 0x205
jne case.0x48f523.3
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 0x2fe
mov edi, eax
call fcn.004671c0
mov ebx, dword [sym.imp.USER32.dll_AppendMenuW]
push eax
push 0x7c
push 0
push edi
call ebx
push 0x2ff
call fcn.004671c0
push eax
push 0x7d
push 0
push edi
call ebx
xor ecx, ecx
cmp byte [0x53cd60], cl
setne cl
add ecx, 0x300
push ecx
call fcn.004671c0
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.0x48f523.3
movzx eax, bp
add eax, 0xfffffffe
cmp eax, 0x7c
ja case.0x48f523.3
movzx edx, byte [eax + 0x48f96c]
jmp dword [edx*4 + 0x48f950]
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x48f523.3
push 0x3b8
lea eax, [esp + 0x68]
push 0
push eax
call fcn.004b14b0
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 ebp, eax
call edi
mov ebx, eax
call fcn.00444e60
cmp eax, 0x501
sbb edi, edi
and edi, 7
add edi, 0x65
mov eax, str.RAR.ico
cmp edi, 0x65
je 0x48f5a7
mov eax, str.Tray.ico
push ebx
push ebp
push eax
mov ecx, 0x523ff0
call fcn.004723a0
mov dword [0x53ea74], eax
test eax, eax
jne 0x48f5d8
mov edx, dword [0x508300]
push eax
push ebx
push ebp
movzx ecx, di
push 1
push ecx
push edx
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [0x53ea74], eax
push 0
lea ecx, [esp + 0x68]
mov dword [esp + 0x7c], eax
call fcn.0048de30
lea eax, [esp + 0x64]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x48f642
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
call esi
mov ecx, dword [0x51c8dc]
push 0
push ecx
call esi
push 1
call fcn.0049dc10
mov edx, dword [0x53cf9c]
mov eax, dword [0x53cf98]
mov ecx, dword [0x53cfa4]
push 0
push 0
push 0
push 1
push edx
mov edx, dword [0x53cfa0]
push eax
push ecx
push edx
call fcn.0048e010
jmp case.0x48f523.3
mov eax, dword [0x53ea74]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [0x53ea74], 0
jmp case.0x48f523.3
cmp byte [0x53f530], 0
je 0x48f672
mov byte [0x53f530], 0
jmp case.0x48f523.3
cmp byte [0x53cd60], 0
jne 0x48f6bc
cmp dword [0x51b784], 0
je case.0x48f523.3
push 0xc8
push 0x53f3a0
push 0x6f
push esi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0x480
push 0x53eaa0
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x51c8d4]
test eax, eax
je 0x48f6bc
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [0x53cfa4]
test ecx, ecx
jl 0x48f6f7
mov eax, dword [0x53cfa0]
jg 0x48f6d1
test eax, eax
jbe 0x48f6f7
mov edx, dword [0x53cf9c]
movzx ebx, byte [0x53cd60]
push edx
mov edx, dword [0x53cf98]
neg ebx
push edx
sbb ebx, ebx
push ecx
and ebx, 0xfffffffa
push eax
add ebx, 8
call fcn.0048df80
cmp byte [0x53cd60], 0
je 0x48f707
mov eax, 0x53f3a0
jmp 0x48f711
push 0x49c
call fcn.004671c0
push eax
push 0x6f
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [0x53cd60], 0
je 0x48f72b
mov eax, 0x53eaa0
jmp 0x48f735
push 0x49d
call fcn.004671c0
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [0x53cd60], 0
push 0x3b8
lea ecx, [esp + 0x68]
sete al
push 0
push ecx
mov byte [0x53cd60], al
call fcn.004b14b0
mov edx, dword [0x53cd94]
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.0048de30
lea eax, [esp + 0x64]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
xor bl, bl
cmp byte [0x53cd60], bl
je 0x48f7b9
mov eax, dword [0x53d02c]
test eax, eax
je 0x48f7b9
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
setne bl
call fcn.004b2085
cmp byte [0x53cd60], 0
mov dword [esp + 0x14], eax
je 0x48f845
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
mov ebp, dword [sym.imp.USER32.dll_IsDialogMessageW]
cmp byte [0x51c858], 0
jne 0x48f845
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
call edi
test eax, eax
je 0x48f845
lea edx, [esp + 0x24]
push edx
push esi
call ebp
test eax, eax
jne 0x48f83c
cmp dword [esp + 0x28], 0x203
jne 0x48f826
mov eax, dword [esp + 0x24]
cmp eax, dword [0x5248c0]
jne 0x48f826
mov ecx, dword [0x51c8dc]
push ecx
mov ecx, 0x5248c0
call fcn.00476d50
jmp 0x48f83c
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 [0x53cd60], 0
jne 0x48f7d7
call fcn.004b2085
sub eax, dword [esp + 0x14]
add dword [0x53d028], eax
test bl, bl
je 0x48f865
mov ecx, dword [0x53d02c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [0x51c858], 0
jne case.0x48f523.3
push 0
push 0
push 0x8008
jmp 0x48f8fc
call fcn.004b2085
mov edx, dword [0x508300]
mov edi, dword [0x52820c]
push 0
push 0x48d720
push esi
push str.CMDMODE
push edx
mov ebx, eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
test eax, eax
je 0x48f8cf
mov eax, dword [0x52820c]
cmp eax, edi
je 0x48f8cf
test eax, eax
je 0x48f8cf
cmp dword [0x528c34], 0
jne 0x48f8cf
mov ecx, dword [0x529c40]
test ecx, ecx
je 0x48f8cf
dec eax
push eax
call fcn.0044f7b0
call fcn.004b2085
sub eax, ebx
add dword [0x53d028], eax
jmp case.0x48f523.3
push 0x202
push 0
push 0x8007
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x48f523.3
push 0
push 0x6f
push 0x111
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
mov ecx, dword [esp + 0xeac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b102c
add esp, 0xea0
ret 0x10