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

Disassembly:
mov eax, 0x1604
call fcn.0052f720
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x1600], eax
cmp word [0x5f8b38], 0
mov eax, str.HELPExecArcCmd
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1620]
push edi
mov edi, dword [esp + 0x1618]
je 0x4ff00e
mov eax, 0x5f8b38
mov ebp, dword [esp + 0x1620]
mov ebx, dword [esp + 0x161c]
push 0
push eax
push dword [0x5f8d60]
push esi
push ebp
push ebx
push edi
call fcn.00413480
test al, al
jne case.0x4ff541.3
cmp ebx, 0x4e
ja 0x4ff502
je 0x4ff4d0
add ebx, 0xfffffffe
cmp ebx, 0x22
ja case.0x4ff054.3
movzx eax, byte [ebx + 0x4fffe4]
jmp dword [eax*4 + 0x4fffc8]
mov eax, dword [0x5f8d70]
mov dword [esi + 0x18], eax
mov eax, dword [0x5f8d74]
mov dword [esi + 0x1c], eax
xor eax, eax
jmp 0x4fffa5
push 0
mov eax, esi
shr eax, 0x10
push eax
movzx eax, si
push eax
push dword [0x5f8d78]
push edi
call fcn.004131e0
mov byte [0x5f8d7c], al
xor eax, eax
jmp 0x4fffa5
test ebp, ebp
je case.0x4ff054.3
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je case.0x4ff054.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 0x4fffa5
push str.Done
push edi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
mov eax, dword [0x5f544c]
je 0x4ff0dd
cmp eax, 0xa
jne case.0x4ff054.3
test eax, eax
je 0x4ff0f4
cmp eax, 1
je 0x4ff0f4
cmp eax, 2
je 0x4ff0f4
cmp eax, 0xa
jne case.0x4ff054.3
lea eax, [esp + 0x408]
push eax
push edi
call dword [sym.imp.USER32.dll_BeginPaint]
push edi
push 0
mov esi, eax
push esi
push 0
push dword [0x5f8b1c]
push dword [0x5f8b18]
push dword [0x5f8b14]
push dword [0x5f8b10]
call fcn.00500a10
cmp byte [0x5f8a51], 0
jne 0x4ff13a
cmp dword [0x5f544c], 0xa
jne 0x4ff15d
push edi
push 1
push esi
push 1
push dword [0x5f8b2c]
push dword [0x5f8b28]
push dword [0x5f8b24]
push dword [0x5f8b20]
call fcn.00500a10
lea eax, [esp + 0x408]
push eax
push edi
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
jmp 0x4fffa5
push str.Done
push edi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x4ff18f
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp case.0x4ff541.3
cmp dword [0x5f544c], 0xd
je 0x4ff1e0
call fcn.00537b15
sub eax, dword [0x5f8a98]
cmp eax, 0xea60
jl 0x4ff1e0
cmp byte [0x5933f6], 0
jne case.0x4ff541.3
push 0x312
call fcn.004b68d0
push 0x311
mov esi, eax
call fcn.004b68d0
push 0x24
push esi
push eax
push edi
call fcn.004fdf00
cmp eax, 6
jne case.0x4ff541.3
mov byte [0x5933f6], 1
jmp case.0x4ff541.3
push 0x64
push edi
call dword [sym.imp.USER32.dll_KillTimer]
push 1
push dword [0x5923dc]
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
push 0
push 0
push 0
push 0
push 0
call fcn.00501a80
push dword [0x5f8d60]
lea eax, [esp + 0x44c]
push str.InterfaceCmdWin_s
push 0x64
push eax
call fcn.00404ce0
add esp, 0x10
cmp byte [0x5f8d7c], 0
je 0x4ff280
lea eax, [esp + 0x408]
mov dword [esp + 0x408], 0x2c
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [esp + 0x410]
test eax, eax
je 0x4ff28d
cmp eax, 6
je 0x4ff28d
push 0x2c
lea eax, [esp + 0x40c]
push eax
push str.Placement
lea eax, [esp + 0x454]
push eax
call fcn.004d0490
jmp 0x4ff28d
lea eax, [esp + 0x448]
push eax
call fcn.004cec70
push str.Done
push edi
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x4ff2d4
push str.Done
push edi
call dword [sym.imp.USER32.dll_RemovePropW]
xor eax, eax
jmp 0x4ff2b0
cmp dword [eax*4 + 0x5f8a58], edi
je 0x4ff2c4
inc eax
cmp eax, 0x10
jb 0x4ff2b0
jmp 0x4ff3ba
mov dword [eax*4 + 0x5f8a58], 0
jmp 0x4ff3ba
push dword [0x5f8b34]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5f8d38]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5f8d3c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5f8d40]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5f8d44]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5f8d48]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5f8d4c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5f8d50]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5f8d54]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5f8d58]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [0x5f8d5c]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp byte [0x5933f6], 0
jne 0x4ff383
call fcn.00537b15
sub eax, dword [0x5f8a98]
cmp eax, 0x2710
jle 0x4ff383
cmp dword [0x5f544c], 7
je 0x4ff383
push 1
call fcn.004c0530
push 0
push edi
call fcn.00501e60
mov al, byte [0x5933f6]
mov dword [0x5933e8], 0
mov dword [0x5923d8], 0
mov byte [0x5933f7], al
mov byte [0x5933f6], 0
mov dword [0x5f8a54], 0
mov eax, dword [0x593400]
test eax, eax
je 0x4ff3ca
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [0x5933f8], 1
je 0x4ff3f6
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, dword [0x5923dc]
jne 0x4ff3f6
mov eax, dword [0x5933ec]
test eax, eax
jne 0x4ff3ef
mov eax, dword [0x5c5838]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push dword [0x5923dc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4ff443
lea eax, [esp + 0x3dc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x3e0]
push eax
push dword [0x5c5838]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 1
lea eax, [esp + 0x3e0]
push eax
push dword [0x5c5838]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [0x5f8d68]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [0x5f8d6c]
call dword [sym.imp.USER32.dll_DestroyWindow]
call fcn.00467610
mov esi, dword [0x5f8d78]
test esi, esi
je 0x4ff4bf
mov eax, dword [esi]
test eax, eax
je 0x4ff4b4
mov ecx, dword [esi + 8]
sub ecx, eax
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x4ff496
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fffc0
mov eax, edx
push ecx
push eax
call fcn.0052f4fd
mov dword [esi], 0
add esp, 8
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0xc
push esi
call fcn.0052f4fd
add esp, 8
mov dword [0x5f8d78], 0
xor eax, eax
jmp 0x4fffa5
cmp dword [esi + 8], 0xfffffdee
jne case.0x4ff054.3
cmp dword [esi + 4], 0xa6
jne 0x4ff4f4
mov dword [esi + 0xc], 0x5f6450
xor eax, eax
jmp 0x4fffa5
mov dword [esi + 0xc], 0x5f5450
xor eax, eax
jmp 0x4fffa5
cmp ebx, 0x113
ja 0x4ffd71
je 0x4ffd53
sub ebx, 0x110
je 0x4ff94f
sub ebx, 1
jne case.0x4ff054.3
movzx eax, bp
add eax, 0xfffffffe
cmp eax, 0xa8
ja case.0x4ff541.3
movzx eax, byte [eax + 0x500024]
jmp dword [eax*4 + 0x500008]
push 0x3a4
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.00531c60
add esp, 0xc
mov dword [esp + 0x10], 0x3bc
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, 0x5c7968
push ebx
push esi
push str.RAR.ico
call fcn.004d9d30
mov dword [0x5f5448], eax
test eax, eax
jne 0x4ff5c6
push eax
push ebx
push esi
push 1
push 0x65
push dword [0x5d2758]
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [0x5f5448], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00501710
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x4ff638
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x5923dc]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x5aaf64], 0
jne 0x4ff60e
push 1
call fcn.00514b00
push 0
push 0
push 0
push 1
push dword [0x5f8b2c]
push dword [0x5f8b28]
push dword [0x5f8b24]
push dword [0x5f8b20]
call fcn.00500a10
jmp case.0x4ff541.3
push dword [0x5f5448]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [0x5f5448], 0
jmp case.0x4ff541.3
cmp byte [0x5f8d64], 0
je 0x4ff668
mov byte [0x5f8d64], 0
jmp case.0x4ff541.3
cmp byte [0x5f8b31], 0
jne 0x4ff6b5
cmp dword [0x5933e8], 0
je case.0x4ff541.3
push 0xc8
push 0x5f8d80
push 0xa9
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0x880
push 0x5f8f10
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [0x593400]
test eax, eax
je 0x4ff6b5
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x5f8b24]
test eax, eax
jl 0x4ff6ef
mov ecx, dword [0x5f8b20]
jg 0x4ff6ca
test ecx, ecx
je 0x4ff6ef
push dword [0x5f8b2c]
push dword [0x5f8b28]
push eax
movzx eax, byte [0x5f8b31]
neg eax
push ecx
sbb eax, eax
and eax, 0xfffffffa
add eax, 8
push eax
call fcn.00501a80
cmp byte [0x5f8b31], 0
je 0x4ff6ff
mov eax, 0x5f8d80
jmp 0x4ff709
push 0x49c
call fcn.004b68d0
push eax
push 0xa9
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [0x5f8b31], 0
je 0x4ff726
mov eax, 0x5f8f10
jmp 0x4ff730
push 0x49d
call fcn.004b68d0
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [0x5f8b31], 0
lea eax, [esp + 0x20]
push 0x3ac
push 0
push eax
sete byte [0x5f8b31]
call fcn.00531c60
add esp, 0xc
mov dword [esp + 0x10], 0x3bc
lea eax, [esp + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x7b
mov dword [esp + 0x1c], 4
push dword [0x5f8b04]
push eax
call fcn.00501710
lea eax, [esp + 0x10]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
xor bl, bl
cmp byte [0x5f8b31], bl
je 0x4ff7b3
mov eax, dword [0x5f8a54]
test eax, eax
je 0x4ff7b3
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
setne bl
call fcn.00537b15
cmp byte [0x5f8b31], 0
mov esi, eax
je 0x4ff85f
jmp 0x4ff7d0
cmp byte [0x5933f6], 0
jne 0x4ff85f
push 0
push 0
push 0
lea eax, [esp + 0x3e8]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4ff85f
lea eax, [esp + 0x3dc]
push eax
push edi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x4ff852
cmp dword [esp + 0x3e0], 0x203
jne 0x4ff836
mov eax, dword [esp + 0x3dc]
cmp eax, dword [0x5c7954]
jne 0x4ff836
push dword [0x5923dc]
mov ecx, 0x5c7954
call fcn.004db2f0
jmp 0x4ff852
lea eax, [esp + 0x3dc]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x3dc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [0x5f8b31], 0
jne 0x4ff7d0
call fcn.00537b15
sub eax, esi
add dword [0x5f8a98], eax
test bl, bl
je 0x4ff87c
push dword [0x5f8a54]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [0x5933f6], 0
jne case.0x4ff541.3
push 0
push 0
push 0x8008
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x4ff541.3
call fcn.00537b15
mov esi, dword [0x5aaf10]
mov ebx, eax
push 0
push 0x4fe9c0
push edi
push str.CMDMODE
push dword [0x5d2758]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
test eax, eax
je 0x4ff8fb
mov eax, dword [0x5aaf10]
cmp eax, esi
je 0x4ff8fb
test eax, eax
je 0x4ff8fb
cmp dword [0x5ad2c8], 0
jne 0x4ff8fb
mov edi, dword [0x5b02d8]
test edi, edi
je 0x4ff8fb
mov edx, dword [edi]
dec eax
push eax
mov esi, dword [edx + 0x24]
mov ecx, esi
call dword [0x55670c]
mov ecx, edi
call esi
call fcn.00537b15
sub eax, ebx
add dword [0x5f8a98], eax
jmp case.0x4ff541.3
push 0x202
push 0
push 0x8007
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4ff541.3
push 0
push 0
push 0x10
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x4ff541.3
push 0
push 0xa9
push 0x111
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
jmp case.0x4ff541.3
lea eax, [esp + 0x3cc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x3d4]
sub eax, dword [esp + 0x3cc]
mov dword [0x5f8d70], eax
mov eax, dword [esp + 0x3d8]
sub eax, dword [esp + 0x3d0]
push 0xc
mov dword [0x5f8d74], eax
call fcn.0052f4cd
add esp, 4
test eax, eax
je 0x4ff9a8
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
jmp 0x4ff9aa
xor eax, eax
push 1
push 0
push 0
push eax
push edi
mov dword [0x5f8d78], eax
call fcn.004131e0
push dword [0x5f8d60]
lea eax, [esp + 0x14]
mov byte [0x5f8d7c], 0
push str.InterfaceCmdWin_s
push 0x64
push eax
call fcn.00404ce0
add esp, 0x10
lea eax, [esp + 0x408]
push 0x2c
push 0
push eax
push str.Placement
lea eax, [esp + 0x20]
push eax
call fcn.004cf5f0
test eax, eax
je 0x4ffacf
cmp dword [0x5933f8], 1
je 0x4ffa97
lea eax, [esp + 0x3dc]
push eax
push dword [0x5923dc]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x430]
sub ecx, dword [esp + 0x428]
mov edx, dword [esp + 0x3e8]
add ecx, 0x32
mov esi, dword [esp + 0x3e0]
mov eax, edx
sub eax, esi
cmp ecx, eax
jl 0x4ffa5c
lea eax, [esi + 0x32]
mov dword [esp + 0x428], eax
lea eax, [edx - 0x32]
mov dword [esp + 0x430], eax
mov ecx, dword [esp + 0x42c]
sub ecx, dword [esp + 0x424]
mov edx, dword [esp + 0x3e4]
add ecx, 0x32
mov esi, dword [esp + 0x3dc]
mov eax, edx
sub eax, esi
cmp ecx, eax
jl 0x4ffa97
lea eax, [esi + 0x32]
mov dword [esp + 0x424], eax
lea eax, [edx - 0x32]
mov dword [esp + 0x42c], eax
mov eax, dword [0x5f544c]
sub eax, 0xe
mov dword [esp + 0x408], 0x2c
neg eax
sbb eax, eax
and eax, 5
mov dword [esp + 0x410], eax
lea eax, [esp + 0x408]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowPlacement]
push 0
push edi
call fcn.00412f20
cmp dword [0x5f544c], 3
mov byte [0x5f8d64], 0
jne 0x4ffaf3
push 0x4f5
call fcn.004b68d0
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 0x4ffb1e
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 [0x5f544c]
test eax, eax
je 0x4ffb39
push 0
push 0xa4
push edi
call fcn.00413450
mov eax, dword [0x5f544c]
cmp byte [0x5f8a51], 0
jne 0x4ffb73
cmp eax, 1
je 0x4ffb4c
cmp eax, 2
jne 0x4ffb73
push 0
push 0xa3
push edi
call fcn.00413450
push 0
push 0xa7
push edi
call fcn.00413450
push 0
push 0xa2
push edi
call fcn.00413450
push 1
push 0xffffffffffffffff
push 0x9c
push 0x9c
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push edi
call fcn.004fd700
push 1
push 0xffffffffffffffff
push 0xa6
push 0xa6
push edi
mov dword [0x5f8d68], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push edi
call fcn.004fd700
cmp dword [0x5933f8], 1
mov dword [0x5f8d6c], eax
mov byte [0x5933f6], 0
mov byte [0x5933f7], 0
mov dword [0x5923d8], 1
mov dword [0x5933e8], edi
mov dword [0x5b02d8], 0
je 0x4ffbfb
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 0
push dword [0x5923dc]
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
push dword [0x5923dc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4ffc62
push dword [0x5923dc]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4ffc62
cmp dword [0x5f544c], 0xe
je 0x4ffc62
lea eax, [esp + 0x3dc]
mov dword [esp + 0x3dc], 0x2c
push eax
push dword [0x5933e8]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
lea eax, [esp + 0x3dc]
mov dword [esp + 0x3e4], 0
push eax
push dword [0x5923dc]
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 [0x5f8b34], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push 0xeee8e8
push 1
push 0
mov dword [0x5f8d38], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push 0xffffff
push 1
push 0
mov dword [0x5f8d3c], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push 0xc0ffff
push 1
push 0
mov dword [0x5f8d40], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push 0xb4d4e4
push 1
push 0
mov dword [0x5f8d44], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push 0x9494b4
push 1
push 0
mov dword [0x5f8d48], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push 0x464040
push 1
push 0
mov dword [0x5f8d4c], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push 0x6e6e94
mov dword [0x5f8d50], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xdcd6d6
mov dword [0x5f8d54], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0xa0c0d0
mov dword [0x5f8d58], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 1
push 0
push 0x8008
push edi
mov dword [0x5f8d5c], eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
cmp dword [0x5933f8], 1
setne al
jmp 0x4fffa5
push 0x64
push edi
call dword [sym.imp.USER32.dll_KillTimer]
push 5
push dword [0x5933e8]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
jmp 0x4fffa5
sub ebx, 0x8007
je 0x4ffee8
sub ebx, 1
jne case.0x4ff054.3
mov eax, dword [0x593400]
test eax, eax
je case.0x4ff054.3
cmp byte [0x5b02d4], bl
jne 0x4ffdaa
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
jmp 0x4fffa5
push 0xc8
lea eax, [esp + 0x14]
push eax
push 0xa9
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push 0x49c
call fcn.004b68d0
push eax
push 0xa9
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
xor bl, bl
call fcn.00537b15
mov cl, 1
mov ebp, eax
mov byte [0x5f8d64], cl
cmp byte [0x5933f6], bl
jne 0x4ffe7d
test cl, cl
je 0x4ffe7d
push 0x14
push dword [0x593400]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4ffe7d
cmp esi, 1
jne 0x4ffe7d
test bl, bl
jne 0x4ffe5c
push 0x880
lea eax, [esp + 0x514]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x57d
call fcn.004b68d0
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x57d
call fcn.004b68d0
push 0x880
push eax
push 0x5f7450
call fcn.004bd090
mov bl, 1
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004633a0
cmp byte [0x5933f6], 0
jne 0x4ffe7d
mov cl, byte [0x5f8d64]
jmp 0x4ffdf4
mov byte [0x5f8d64], 0
call fcn.00537b15
mov esi, dword [0x5f8a98]
sub eax, ebp
add esi, eax
call fcn.00537b15
cmp esi, eax
jg 0x4ffea2
mov dword [0x5f8a98], esi
lea eax, [esp + 0x10]
push eax
push 0xa9
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
test bl, bl
je case.0x4ff054.3
lea eax, [esp + 0x510]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x880
lea eax, [esp + 0x514]
push eax
push 0x5f7450
call fcn.004bd090
xor eax, eax
jmp 0x4fffa5
cmp esi, 0x202
jne 0x4fff06
push 1
push edi
call fcn.00501e60
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.0x4ff541.3
cmp esi, 0x205
jne case.0x4ff541.3
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 0x2fe
mov esi, eax
call fcn.004b68d0
push eax
push 0x7c
push 0
push esi
call dword [sym.imp.USER32.dll_AppendMenuW]
push 0x2ff
call fcn.004b68d0
push eax
push 0x7d
push 0
push esi
call dword [sym.imp.USER32.dll_AppendMenuW]
xor eax, eax
cmp byte [0x5f8b31], al
setne al
add eax, 0x300
push eax
call fcn.004b68d0
push eax
push 0x7e
push 0
push esi
call dword [sym.imp.USER32.dll_AppendMenuW]
lea eax, [esp + 0x3cc]
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 + 0x3dc]
push dword [esp + 0x3dc]
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 + 0x1610]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052f708
add esp, 0x1604
ret 0x10
call fcn.00533acf
lea ecx, [ecx]
in al, dx
int1
dec edi
add byte [edx - 0x10], dh
dec edi
add bl, al
invalid