Function at 0x4413f0
Capabilities:
Find taskbar
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x47ea94]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x244], 0
push 0x20a
push 0
lea eax, [ebp - 0x230]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x254], 0
cmp dword [ebp + 8], 0
jne 0x44146c
mov dword [ebp + 8], 1
mov dword [ebp - 0x23c], 0
push 0x104
lea ecx, [ebp - 0x230]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.Wtsapi32.dll
lea edx, [ebp - 0x230]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4414ce
push str.WTSQueryUserToken
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x441513
mov dword [ebp - 0x240], 0
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
je 0x441513
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x240]
push eax
call dword [ebp - 0x244]
test eax, eax
je 0x441513
jmp 0x441685
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x234], 0
cmp dword [ebp - 0x248], 0
je 0x441576
mov dword [ebp - 0x24c], 0xffffffff
lea ecx, [ebp - 0x24c]
push ecx
mov edx, dword [ebp - 0x248]
push edx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x24c]
push eax
push 0
push SysReAllocString
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x234], eax
jmp 0x441611
mov dword [ebp - 0x234], 0
mov ecx, 0x45
mov word [ebp - 0x24], cx
mov edx, 0x58
mov word [ebp - 0x22], dx
mov eax, 0x50
mov word [ebp - 0x20], ax
mov ecx, 0x4c
mov word [ebp - 0x1e], cx
mov edx, 0x4f
mov word [ebp - 0x1c], dx
mov eax, 0x52
mov word [ebp - 0x1a], ax
mov ecx, 0x45
mov word [ebp - 0x18], cx
mov edx, 0x52
mov word [ebp - 0x16], dx
mov eax, 0x2e
mov word [ebp - 0x14], ax
mov ecx, 0x65
mov word [ebp - 0x12], cx
mov edx, 0x78
mov word [ebp - 0x10], dx
mov eax, 0x65
mov word [ebp - 0xe], ax
xor ecx, ecx
mov word [ebp - 0xc], cx
xor edx, edx
mov word [ebp - 0xa], dx
xor eax, eax
mov word [ebp - 8], ax
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.00441d70
add esp, 8
cmp dword [ebp - 0x234], 0
je 0x441664
mov dword [ebp - 0x250], 0
lea eax, [ebp - 0x23c]
push eax
push 0xf00ff
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x250], 0
je 0x441664
cmp dword [ebp - 0x23c], 0
je 0x441664
jmp 0x441685
cmp dword [ebp + 8], 0
jne 0x44166c
jmp 0x441685
mov eax, dword [ebp + 8]
sub eax, 1
mov dword [ebp + 8], eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4414ce
cmp dword [ebp - 0x238], 0
je 0x4416a5
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045be1b
mov esp, ebp
pop ebp
ret