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

Disassembly:
mov eax, 0x17ac
call fcn.00502fa0
mov eax, dword [0x5513d4]
xor eax, esp
mov dword [esp + 0x17a8], eax
cmp word [0x5b2958], 0
mov eax, str.HELPExecArcCmd
push ebx
mov ebx, dword [esp + 0x17c0]
push ebp
push esi
push edi
mov edi, dword [esp + 0x17c0]
je 0x4d79ae
mov eax, 0x5b2958
mov ebp, dword [esp + 0x17c8]
mov esi, dword [esp + 0x17c4]
push 0
push eax
push dword [0x5b2b80]
push ebx
push ebp
push esi
push edi
call fcn.0040ff60
test al, al
jne case.0x4d7e93.3
cmp esi, 0x4e
ja 0x4d7e54
je 0x4d7e22
add esi, 0xfffffffe
cmp esi, 0x22
ja case.0x4d79f4.3
movzx eax, byte [esi + 0x4d8848]
jmp dword [eax*4 + 0x4d882c]
mov eax, dword [0x5b2b90]
mov dword [ebx + 0x18], eax
mov eax, dword [0x5b2b94]
mov dword [ebx + 0x1c], eax
xor eax, eax
jmp 0x4d880f
push 0
mov eax, ebx
shr eax, 0x10
push eax
movzx eax, bx
push eax
push dword [0x5b2b98]
push edi
call fcn.0040fd20
mov byte [0x5b2b9c], al
xor eax, eax
jmp 0x4d880f
test ebp, ebp
je case.0x4d79f4.3
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je case.0x4d79f4.3
push 0
push edi
call dword [sym.imp.USER32.dll_FlashWindow]
push 1
push edi
call dword [sym.imp.USER32.dll_FlashWindow]
xor eax, eax
jmp 0x4d880f
push str.Done
push edi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
mov eax, dword [0x5af26c]
je 0x4d7a7d
cmp eax, 0xa
jne case.0x4d79f4.3
test eax, eax
je 0x4d7a94
cmp eax, 1
je 0x4d7a94
cmp eax, 2
je 0x4d7a94
cmp eax, 0xa
jne case.0x4d79f4.3
lea eax, [esp + 0x3f4]
push eax
push edi
call dword [sym.imp.USER32.dll_BeginPaint]
push edi
push 0
mov esi, eax
push esi
push 0
push dword [0x5b293c]
push dword [0x5b2938]
push dword [0x5b2934]
push dword [0x5b2930]
call fcn.004d9130
cmp byte [0x5b2871], 0
jne 0x4d7ada
cmp dword [0x5af26c], 0xa
jne 0x4d7afd
push edi
push 1
push esi
push 1
push dword [0x5b294c]
push dword [0x5b2948]
push dword [0x5b2944]
push dword [0x5b2940]
call fcn.004d9130
lea eax, [esp + 0x3f4]
push eax
push edi
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
jmp 0x4d880f
push str.Done
push edi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x4d7b2f
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp case.0x4d7e93.3
cmp dword [0x5af26c], 0xd
je 0x4d7b7e
call fcn.00509526
sub eax, dword [0x5b28b8]
cmp eax, 0xea60
jl 0x4d7b7e
cmp byte [0x558b36], 0
jne case.0x4d7e93.3
push 0x24
push 0x312
call fcn.00496b20
push eax
push 0x311
call fcn.00496b20
push eax
push edi
call fcn.004d6c50
cmp eax, 6
jne case.0x4d7e93.3
mov byte [0x558b36], 1
jmp case.0x4d7e93.3
push 0x64
push edi
call dword [sym.imp.USER32.dll_KillTimer]
push 1
push dword [0x558aa8]
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
push 0
push 0
push 0
push 0
push 0
call fcn.004da170
push dword [0x5b2b80]
lea eax, [esp + 0x464]
push str.InterfaceCmdWin_s
push 0x64
push eax
call fcn.004027c0
add esp, 0x10
cmp byte [0x5b2b9c], 0
je 0x4d7c1e
lea eax, [esp + 0x3c8]
mov dword [esp + 0x3c8], 0x2c
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [esp + 0x3d0]
test eax, eax
je 0x4d7c2b
cmp eax, 6
je 0x4d7c2b
push 0x2c
lea eax, [esp + 0x3cc]
push eax
push str.Placement
lea eax, [esp + 0x46c]
push eax
call fcn.004af170
jmp 0x4d7c2b
lea eax, [esp + 0x460]
push eax
call fcn.004adf20
push str.Done
push edi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x4d7c74
push str.Done
push edi
call dword [sym.imp.USER32.dll_RemovePropW]
xor eax, eax
lea esp, [esp]
cmp dword [eax*4 + 0x5b2878], edi
je 0x4d7c64
inc eax
cmp eax, 0x10
jb 0x4d7c50
jmp 0x4d7d5a
mov dword [eax*4 + 0x5b2878], 0
jmp 0x4d7d5a
push dword [0x5b2954]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5b2b58]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5b2b5c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5b2b60]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5b2b64]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5b2b68]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5b2b6c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5b2b70]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5b2b74]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5b2b78]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5b2b7c]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp byte [0x558b36], 0
jne 0x4d7d23
call fcn.00509526
sub eax, dword [0x5b28b8]
cmp eax, 0x2710
jle 0x4d7d23
cmp dword [0x5af26c], 7
je 0x4d7d23
push 1
call fcn.0049fa20
push 0
push edi
call fcn.004da560
mov al, byte [0x558b36]
mov dword [0x558ab4], 0
mov dword [0x559c20], 0
mov byte [0x558b37], al
mov byte [0x558b36], 0
mov dword [0x5b2874], 0
mov eax, dword [0x558bb4]
test eax, eax
je 0x4d7d6a
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [0x558bac], 1
je 0x4d7d96
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x558aa8]
jne 0x4d7d96
mov eax, dword [0x558ab8]
test eax, eax
jne 0x4d7d8f
mov eax, dword [0x57dec8]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push dword [0x558aa8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4d7de3
lea eax, [esp + 0x3c8]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x3cc]
push eax
push dword [0x57dec8]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
lea eax, [esp + 0x3cc]
push eax
push dword [0x57dec8]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [0x5b2b88]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x5b2b8c]
call dword [sym.imp.USER32.dll_DestroyWindow]
call fcn.00450f00
mov ecx, dword [0x5b2b98]
test ecx, ecx
je 0x4d7e11
push 1
call fcn.004d7150
mov dword [0x5b2b98], 0
xor eax, eax
jmp 0x4d880f
cmp dword [ebx + 8], 0xfffffdee
jne case.0x4d79f4.3
cmp dword [ebx + 4], 0xa6
jne 0x4d7e46
mov dword [ebx + 0xc], 0x5b0270
xor eax, eax
jmp 0x4d880f
mov dword [ebx + 0xc], 0x5af270
xor eax, eax
jmp 0x4d880f
cmp esi, 0x113
ja 0x4d861c
je 0x4d85fe
sub esi, 0x110
je 0x4d828f
sub esi, 1
jne case.0x4d79f4.3
movzx eax, bp
add eax, 0xfffffffe
cmp eax, 0xa8
ja case.0x4d7e93.3
movzx eax, byte [eax + 0x4d8888]
jmp dword [eax*4 + 0x4d886c]
push 0
push 0
push 0x10
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4d7e93.3
push 0x3b8
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00505530
add esp, 0xc
mov dword [esp + 0x10], 0x3b8
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x7b
mov dword [esp + 0x1c], 7
push 0x31
mov dword [esp + 0x24], 0x8007
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x32
mov esi, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
mov ecx, 0x57fff8
push ebx
push esi
push str.RAR.ico
call fcn.004b7e20
mov dword [0x5af268], eax
test eax, eax
jne 0x4d7f2a
push eax
push ebx
push esi
push 1
push 0x65
push dword [0x58c1f8]
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [0x5af268], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push 0
push eax
call fcn.004d9e00
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x4d7f93
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x558aa8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
call fcn.004ebef0
push 0
push 0
push 0
push 1
push dword [0x5b294c]
push dword [0x5b2948]
push dword [0x5b2944]
push dword [0x5b2940]
call fcn.004d9130
jmp case.0x4d7e93.3
push dword [0x5af268]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [0x5af268], 0
jmp case.0x4d7e93.3
cmp byte [0x5b2b84], 0
je 0x4d7fc3
mov byte [0x5b2b84], 0
jmp case.0x4d7e93.3
cmp byte [0x5b2951], 0
jne 0x4d8010
cmp dword [0x558ab4], 0
je case.0x4d7e93.3
push 0xc8
push 0x5b2ba0
push 0xa9
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0x880
push 0x5b2d30
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x558bb4]
test eax, eax
je 0x4d8010
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x5b2944]
test eax, eax
jl 0x4d804a
mov ecx, dword [0x5b2940]
jg 0x4d8025
test ecx, ecx
je 0x4d804a
push dword [0x5b294c]
push dword [0x5b2948]
push eax
movzx eax, byte [0x5b2951]
neg eax
push ecx
sbb eax, eax
and eax, 0xfffffffa
add eax, 8
push eax
call fcn.004da170
cmp byte [0x5b2951], 0
je 0x4d805a
mov eax, 0x5b2ba0
jmp 0x4d8064
push 0x49c
call fcn.00496b20
push eax
push 0xa9
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [0x5b2951], 0
je 0x4d8081
mov eax, 0x5b2d30
jmp 0x4d808b
push 0x49d
call fcn.00496b20
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [0x5b2951], 0
lea eax, [esp + 0x10]
push 0x3b8
push 0
push eax
sete byte [0x5b2951]
call fcn.00505530
add esp, 0xc
mov dword [esp + 0x10], 0x3b8
lea eax, [esp + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x7b
mov dword [esp + 0x1c], 4
push dword [0x5b2924]
push eax
call fcn.004d9e00
lea eax, [esp + 0x10]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
xor bl, bl
cmp byte [0x5b2951], bl
je 0x4d810e
mov eax, dword [0x5b2874]
test eax, eax
je 0x4d810e
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
setne bl
call fcn.00509526
cmp byte [0x5b2951], 0
mov esi, eax
je 0x4d81b1
cmp byte [0x558b36], 0
jne 0x4d81b1
push 0
push 0
push 0
lea eax, [esp + 0x3d4]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4d81b1
lea eax, [esp + 0x3c8]
push eax
push edi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x4d81a4
cmp dword [esp + 0x3cc], 0x203
jne 0x4d8188
mov eax, dword [esp + 0x3c8]
cmp eax, dword [0x57ffe4]
jne 0x4d8188
push dword [0x558aa8]
mov ecx, 0x57ffe4
call fcn.004b9280
jmp 0x4d81a4
lea eax, [esp + 0x3c8]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x3c8]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [0x5b2951], 0
jne 0x4d8122
call fcn.00509526
sub eax, esi
add dword [0x5b28b8], eax
test bl, bl
je 0x4d81ce
push dword [0x5b2874]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [0x558b36], 0
jne case.0x4d7e93.3
push 0
push 0
push 0x8008
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x4d7e93.3
call fcn.00509526
mov esi, dword [0x56a6e0]
mov ebx, eax
push 0
push 0x4d7390
push edi
push str.CMDMODE
push dword [0x58c1f8]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
test eax, eax
je 0x4d824d
mov eax, dword [0x56a6e0]
cmp eax, esi
je 0x4d824d
test eax, eax
je 0x4d824d
cmp dword [0x56caa0], 0
jne 0x4d824d
mov edi, dword [0x56eab0]
test edi, edi
je 0x4d824d
mov edx, dword [edi]
dec eax
push eax
mov esi, dword [edx + 0x24]
mov ecx, esi
call dword [0x523720]
mov ecx, edi
call esi
call fcn.00509526
sub eax, ebx
add dword [0x5b28b8], eax
jmp case.0x4d7e93.3
push 0x202
push 0
push 0x8007
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4d7e93.3
push 0
push 0xa9
push 0x111
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x4d7e93.3
lea eax, [esp + 0x3c8]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x3d0]
sub eax, dword [esp + 0x3c8]
mov dword [0x5b2b90], eax
mov eax, dword [esp + 0x3d4]
sub eax, dword [esp + 0x3cc]
push 0xc
mov dword [0x5b2b94], eax
call fcn.00502d4e
add esp, 4
test eax, eax
je 0x4d82e8
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x4d82ea
xor eax, eax
push 1
push 0
push 0
push eax
push edi
mov dword [0x5b2b98], eax
call fcn.0040fd20
push dword [0x5b2b80]
lea eax, [esp + 0x52c]
mov byte [0x5b2b9c], 0
push str.InterfaceCmdWin_s
push 0x64
push eax
call fcn.004027c0
add esp, 0x10
lea eax, [esp + 0x434]
push 0x2c
push 0
push eax
push str.Placement
lea eax, [esp + 0x538]
push eax
call fcn.004ae560
test eax, eax
je 0x4d837a
mov eax, dword [0x5af26c]
sub eax, 0xe
mov dword [esp + 0x434], 0x2c
neg eax
sbb eax, eax
and eax, 5
mov dword [esp + 0x43c], eax
lea eax, [esp + 0x434]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowPlacement]
push 0
push edi
call fcn.0040fa80
cmp dword [0x5af26c], 3
mov byte [0x5b2b84], 0
jne 0x4d839e
push 0x4f5
call fcn.00496b20
push eax
push 2
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0
push edi
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov esi, eax
test esi, esi
je 0x4d83c9
push 1
push 0xf000
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0xf030
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov eax, dword [0x5af26c]
test eax, eax
je 0x4d83e4
push 0
push 0xa4
push edi
call fcn.0040ff30
mov eax, dword [0x5af26c]
cmp byte [0x5b2871], 0
jne 0x4d841e
cmp eax, 1
je 0x4d83f7
cmp eax, 2
jne 0x4d841e
push 0
push 0xa3
push edi
call fcn.0040ff30
push 0
push 0xa7
push edi
call fcn.0040ff30
push 0
push 0xa2
push edi
call fcn.0040ff30
push 1
push 0xffffffffffffffff
push 0x9c
push 0x9c
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push edi
call fcn.004d6560
push 1
push 0xffffffffffffffff
push 0xa6
push 0xa6
push edi
mov dword [0x5b2b88], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push edi
call fcn.004d6560
cmp dword [0x558bac], 1
mov dword [0x5b2b8c], eax
mov byte [0x558b36], 0
mov byte [0x558b37], 0
mov dword [0x559c20], 1
mov dword [0x558ab4], edi
mov dword [0x56eab0], 0
je 0x4d84a6
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 0
push dword [0x558aa8]
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
push dword [0x558aa8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4d850d
push dword [0x558aa8]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4d850d
cmp dword [0x5af26c], 0xe
je 0x4d850d
lea eax, [esp + 0x3f4]
mov dword [esp + 0x3f4], 0x2c
push eax
push dword [0x558ab4]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
lea eax, [esp + 0x3f4]
mov dword [esp + 0x3fc], 0
push eax
push dword [0x558aa8]
call dword [sym.imp.USER32.dll_SetWindowPlacement]
push 0x606060
push 1
push 0
call dword [sym.imp.GDI32.dll_CreatePen]
push 0x80809e
push 1
push 0
mov dword [0x5b2954], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push 0xeee8e8
push 1
push 0
mov dword [0x5b2b58], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push 0xffffff
push 1
push 0
mov dword [0x5b2b5c], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push 0xc0ffff
push 1
push 0
mov dword [0x5b2b60], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push 0xb4d4e4
push 1
push 0
mov dword [0x5b2b64], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push 0x9494b4
push 1
push 0
mov dword [0x5b2b68], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push 0x464040
push 1
push 0
mov dword [0x5b2b6c], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push 0x6e6e94
mov dword [0x5b2b70], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xdcd6d6
mov dword [0x5b2b74], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xa0c0d0
mov dword [0x5b2b78], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 1
push 0
push 0x8008
push edi
mov dword [0x5b2b7c], eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
cmp dword [0x558bac], 1
setne al
jmp 0x4d880f
push 0x64
push edi
call dword [sym.imp.USER32.dll_KillTimer]
push 5
push dword [0x558ab4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
jmp 0x4d880f
sub esi, 0x8007
je 0x4d8752
sub esi, 1
jne case.0x4d79f4.3
mov eax, dword [0x558bb4]
test eax, eax
je case.0x4d79f4.3
cmp byte [0x56eaac], 0
jne 0x4d8656
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
jmp 0x4d880f
push 0xc8
lea eax, [esp + 0x52c]
cmp ebx, 1
push eax
push 0xa9
push edi
sete bh
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0x49c
call fcn.00496b20
push eax
push 0xa9
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
xor bl, bl
call fcn.00509526
mov cl, 1
mov esi, eax
mov byte [0x5b2b84], cl
cmp byte [0x558b36], bl
jne 0x4d870c
test cl, cl
je 0x4d870c
push 0x14
push dword [0x558bb4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4d870c
test bh, bh
je 0x4d870c
test bl, bl
jne 0x4d86ee
push 0x880
lea eax, [esp + 0x6bc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x57d
call fcn.00496b20
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov bl, 1
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0044de50
cmp byte [0x558b36], 0
jne 0x4d870c
mov cl, byte [0x5b2b84]
jmp 0x4d86a5
mov byte [0x5b2b84], 0
call fcn.00509526
sub eax, esi
push eax
call fcn.004d7900
lea eax, [esp + 0x528]
push eax
push 0xa9
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
test bl, bl
je case.0x4d79f4.3
lea eax, [esp + 0x6b8]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
jmp 0x4d880f
cmp ebx, 0x202
jne 0x4d8770
push 1
push edi
call fcn.004da560
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4d7e93.3
cmp ebx, 0x205
jne case.0x4d7e93.3
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 0x2fe
mov esi, eax
call fcn.00496b20
push eax
push 0x7c
push 0
push esi
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0x2ff
call fcn.00496b20
push eax
push 0x7d
push 0
push esi
call dword [sym.imp.USER32.dll_AppendMenuW]
xor eax, eax
cmp byte [0x5b2951], al
setne al
add eax, 0x300
push eax
call fcn.00496b20
push eax
push 0x7e
push 0
push esi
call dword [sym.imp.USER32.dll_AppendMenuW]
lea eax, [esp + 0x3c8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push edi
push 0
push dword [esp + 0x3d8]
push dword [esp + 0x3d8]
push 2
push esi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, 1
mov ecx, dword [esp + 0x17b8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00502f8e
add esp, 0x17ac
ret 0x10