Function at 0x4522c3
Capabilities:
Create directory
Create shortcut via ishelllink
Delete directory
Delete file

Disassembly:
push 0x294
mov eax, 0x48c21d
call fcn.0046e3d7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp + 0xc]
mov esi, str.Executor::ExecProcessAsDesktopUser
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x290], eax
call fcn.0040d21d
lea eax, [ebp - 0x88]
push eax
push esi
push 0x16e
push str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_Executor.cpp
mov edi, 0x4c8640
push edi
lea eax, [ebp - 0x28c]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004401e1
push ebx
push 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.0040e7d9
push 0x49a320
lea ecx, [ebp - 0x34]
call fcn.0040d21d
mov byte [ebp - 4], 3
push dword [ebp - 0x294]
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x130]
call fcn.00443c94
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.0040e7d9
cmp dword [ebp - 0x120], ebx
jne 0x4523d9
cmp dword [0x4c8640], 3
jg 0x4523ae
push str.ExecProcessAsDesktopUser:_appPath_is_empty
lea ecx, [ebp - 0x88]
call fcn.0040d21d
push esi
push 0x173
push str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_Executor.cpp
push 3
mov edx, eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.0043fde1
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.0040e7d9
mov esi, 0x65b
push ebx
push 1
lea ecx, [ebp - 0x130]
call fcn.0040e7d9
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x28c]
push eax
call fcn.004402c8
mov eax, esi
call fcn.0046e433
ret
mov dword [ebp - 0xc8], 0xf
mov dword [ebp - 0xcc], ebx
mov byte [ebp - 0xdc], bl
mov byte [ebp - 4], 7
call fcn.004386bb
push str.explorer.exe
lea ecx, [ebp - 0x34]
test al, al
je 0x45244f
call fcn.0040d21d
lea esi, [ebp - 0x50]
mov byte [ebp - 4], 8
call fcn.004390f5
lea ecx, [ebp - 0x34]
push ecx
mov edx, eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 9
call fcn.0043c17d
pop ecx
mov esi, eax
lea edi, [ebp - 0xdc]
mov byte [ebp - 4], 0xa
call fcn.0040e5e0
push ebx
push 1
lea ecx, [ebp - 0x88]
call fcn.0040e7d9
lea ecx, [ebp - 0x50]
jmp 0x452498
call fcn.0040d21d
lea esi, [ebp - 0x88]
mov byte [ebp - 4], 0xb
call fcn.00439185
lea ecx, [ebp - 0x34]
push ecx
mov edx, eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xc
call fcn.0043c17d
pop ecx
mov esi, eax
lea edi, [ebp - 0xdc]
mov byte [ebp - 4], 0xd
call fcn.0040e5e0
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0040e7d9
lea ecx, [ebp - 0x88]
push ebx
push 1
call fcn.0040e7d9
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.0040e7d9
push 0xf
pop eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x104], ebx
mov byte [ebp - 0x114], bl
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb0], ebx
mov byte [ebp - 0xc0], bl
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x94], ebx
mov byte [ebp - 0xa4], bl
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x11
call fcn.00438e27
pop ecx
mov esi, eax
lea edi, [ebp - 0x114]
mov byte [ebp - 4], 0x12
call fcn.0040e5e0
push ebx
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x11
call fcn.0040e7d9
lea eax, [ebp - 0x50]
push 0x4a40e4
push eax
call fcn.00413a49
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0xc0]
mov byte [ebp - 4], 0x13
call fcn.0040e5e0
push ebx
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x11
call fcn.0040e7d9
cmp dword [ebp - 0xac], 0x10
mov eax, dword [ebp - 0xc0]
jae 0x452553
mov eax, edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x50]
push str._tmpinstall
push eax
lea edi, [ebp - 0xc0]
call fcn.00413a49
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0xa4]
mov byte [ebp - 4], 0x14
call fcn.0040e5e0
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.0040e7d9
mov eax, dword [ebp - 0xa4]
push 0x10
pop esi
cmp dword [ebp - 0x90], esi
jae 0x4525a0
mov eax, edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 4], esi
jmp 0x452651
mov esi, dword [ebp - 0x290]
lea eax, [ebp - 0xf8]
push str.javatmp.lnk
push eax
lea edi, [ebp - 0xa4]
call fcn.00413a49
pop ecx
pop ecx
push ebx
mov byte [ebp - 4], 0x19
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x298]
push eax
push 0x492b00
push 0x17
push ebx
push 0x492be0
mov dword [ebp - 0x290], 1
mov dword [ebp - 0x298], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x4529bf
cmp dword [ebp - 0x11c], 0x10
mov ecx, dword [ebp - 0x130]
jae 0x4526c2
lea ecx, [ebp - 0x130]
mov eax, dword [ebp - 0x298]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x50]
cmp eax, ebx
je 0x4527b4
cmp dword [0x4c8640], 3
jg 0x4529ab
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004400c2
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x1a
mov edi, dword [ebp - 0x294]
push str.ExecProcessAsDesktopUser:_pJavaShortCutItem__SetPath_
push eax
call fcn.004111c6
push str.__call_failed
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x1b
call fcn.0041121e
add esp, 0x14
mov byte [ebp - 4], 0x1c
cmp dword [ebx + 0x14], 0x10
jb 0x452737
mov ebx, dword [ebx]
cmp dword [eax + 0x14], 0x10
jb 0x45273f
mov eax, dword [eax]
push ebx
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x50]
call fcn.0044389e
add esp, 0xc
mov byte [ebp - 4], 0x1d
cmp dword [eax + 0x14], 0x10
jb 0x45275d
mov eax, dword [eax]
push eax
push 0x1a7
push 3
mov ebx, str.Executor::ExecProcessAsDesktopUser
mov edi, str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_Executor.cpp
mov esi, 0x4c8640
call fcn.004082ed
xor edi, edi
xor esi, esi
push edi
inc esi
push esi
lea ecx, [ebp - 0x50]
call fcn.0040e7d9
push edi
push esi
lea ecx, [ebp - 0x34]
call fcn.0040e7d9
push edi
push esi
lea ecx, [ebp - 0x88]
call fcn.0040e7d9
lea ecx, [ebp - 0x6c]
push edi
push esi
mov byte [ebp - 4], 0x19
call fcn.0040e7d9
xor ebx, ebx
jmp 0x4529ab
cmp dword [esi + 0x14], 0x10
jb 0x4527be
mov ecx, dword [esi]
jmp 0x4527c0
mov ecx, esi
mov eax, dword [ebp - 0x298]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x2c]
cmp eax, ebx
je 0x4528a1
cmp dword [0x4c8640], 3
jg 0x4529ab
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004400c2
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x34]
push str.ExecProcessAsDesktopUser:_pJavaShortCutItem__SetArguments_
push eax
mov edi, esi
mov byte [ebp - 4], 0x1e
call fcn.004111c6
push str.__call_failed
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0x1f
call fcn.0041121e
add esp, 0x14
mov byte [ebp - 4], 0x20
cmp dword [ebx + 0x14], 0x10
jb 0x452831
mov ebx, dword [ebx]
cmp dword [eax + 0x14], 0x10
jb 0x452839
mov eax, dword [eax]
push ebx
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x6c]
call fcn.0044389e
add esp, 0xc
mov byte [ebp - 4], 0x21
cmp dword [eax + 0x14], 0x10
jb 0x452857
mov eax, dword [eax]
push eax
push 0x1ad
push 3
mov ebx, str.Executor::ExecProcessAsDesktopUser
mov edi, str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_Executor.cpp
mov esi, 0x4c8640
call fcn.004082ed
xor edi, edi
xor esi, esi
push edi
inc esi
push esi
lea ecx, [ebp - 0x6c]
call fcn.0040e7d9
push edi
push esi
lea ecx, [ebp - 0x50]
call fcn.0040e7d9
push edi
push esi
lea ecx, [ebp - 0x34]
call fcn.0040e7d9
lea ecx, [ebp - 0x88]
jmp 0x4527a2
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax]
lea edx, [ebp - 0x294]
push edx
push 0x492b90
push eax
call dword [ecx]
cmp eax, ebx
jl 0x452965
lea edx, [ebp - 0xf8]
lea ecx, [ebp - 0x6c]
call fcn.00443e30
mov byte [ebp - 4], 0x22
cmp dword [eax + 0x14], 8
jb 0x4528dc
mov ecx, dword [eax]
jmp 0x4528de
mov ecx, eax
mov eax, dword [ebp - 0x294]
mov edx, dword [eax]
push 1
push ecx
push eax
call dword [edx + 0x18]
push 1
xor edi, edi
lea esi, [ebp - 0x6c]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 0x19
call fcn.0040e951
cmp dword [ebp - 0x29c], ebx
je 0x452957
cmp dword [0x4c8640], 3
jg 0x452951
push str.CreateShortCutItem_____pJavaShortCutItemFile__Save_call_failed
lea ecx, [ebp - 0x6c]
call fcn.0040d21d
push str.Executor::ExecProcessAsDesktopUser
push 0x1ba
push str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_Executor.cpp
push 3
mov edx, eax
mov ecx, 0x4c8640
mov byte [ebp - 4], 0x23
call fcn.0043fde1
push ebx
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x19
call fcn.0040e7d9
mov dword [ebp - 0x290], ebx
mov eax, dword [ebp - 0x294]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4529b1
cmp dword [0x4c8640], 3
jg 0x4529ab
push str.CreateShortCutItem_____pJavaShortCutItem__QueryInterface_call_failed
lea ecx, [ebp - 0x6c]
call fcn.0040d21d
push str.Executor::ExecProcessAsDesktopUser
push 0x1bf
push str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_Executor.cpp
push 3
mov edx, eax
mov ecx, 0x4c8640
mov byte [ebp - 4], 0x24
call fcn.0043fde1
push ebx
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x19
call fcn.0040e7d9
mov dword [ebp - 0x290], ebx
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x452a0b
cmp dword [0x4c8640], 3
jg 0x452a05
push str.CreateShortCutItem_____pJavaShortCutItem.CoCreateInstance_call_failed
lea ecx, [ebp - 0x6c]
call fcn.0040d21d
push str.Executor::ExecProcessAsDesktopUser
push 0x1c6
push str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_Executor.cpp
push 3
mov edx, eax
mov ecx, 0x4c8640
mov byte [ebp - 4], 0x25
call fcn.0043fde1
push ebx
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x19
call fcn.0040e7d9
mov dword [ebp - 0x290], ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp dword [ebp - 0x290], ebx
jne 0x452b1d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp dword [0x4c8640], 3
mov dword [ebp - 0x29c], eax
jg 0x452ace
push ebx
call esi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004400c2
add esp, 0xc
mov esi, eax
push str.ExecProcessAsDesktopUser_failed_to_create_temporary_shortcut
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x26
call fcn.0040d21d
mov byte [ebp - 4], 0x27
cmp dword [esi + 0x14], 0x10
jb 0x452a67
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x452a6f
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x6c]
call fcn.0044389e
add esp, 0xc
mov byte [ebp - 4], 0x28
cmp dword [eax + 0x14], 0x10
jb 0x452a8d
mov eax, dword [eax]
push eax
push 0x1cd
push 3
mov ebx, str.Executor::ExecProcessAsDesktopUser
mov edi, str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_Executor.cpp
mov esi, 0x4c8640
call fcn.004082ed
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x6c]
call fcn.0040e7d9
push esi
push 1
lea ecx, [ebp - 0x50]
call fcn.0040e7d9
push esi
push 1
lea ecx, [ebp - 0x34]
call fcn.0040e7d9
xor ebx, ebx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0xf8]
call fcn.0040e7d9
push ebx
push esi
lea ecx, [ebp - 0xa4]
call fcn.0040e7d9
push ebx
push esi
lea ecx, [ebp - 0xc0]
call fcn.0040e7d9
push ebx
push esi
lea ecx, [ebp - 0x114]
call fcn.0040e7d9
push ebx
push esi
lea ecx, [ebp - 0xdc]
call fcn.0040e7d9
mov esi, dword [ebp - 0x29c]
jmp 0x4523b3
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], ebx
mov byte [ebp - 0x14c], bl
lea ecx, [ebp - 0xdc]
lea ebx, [ebp - 0x224]
mov byte [ebp - 4], 0x29
call fcn.00451546
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0x2a
call fcn.004517bb
or dword [ebp - 0x15c], 0xffffffff
mov ecx, ebx
mov byte [ebp - 0x160], 1
call fcn.004519e9
xor ebx, ebx
cmp al, bl
jne 0x452c2f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp dword [0x4c8640], 3
mov dword [ebp - 0x294], eax
jg 0x452c3b
push ebx
call esi
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004400c2
add esp, 0xc
mov esi, eax
push str.ExecProcessAsDesktopUser:_Executor.exec__
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x2b
call fcn.0040d21d
mov byte [ebp - 4], 0x2c
cmp dword [esi + 0x14], 0x10
jb 0x452bc6
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x452bce
mov eax, dword [eax]
push esi
push eax
push str._s_failed_with__s
lea ecx, [ebp - 0x6c]
call fcn.0044389e
add esp, 0xc
mov byte [ebp - 4], 0x2d
cmp dword [eax + 0x14], 0x10
jb 0x452bec
mov eax, dword [eax]
push eax
push 0x1de
push 3
mov ebx, str.Executor::ExecProcessAsDesktopUser
mov edi, str.c:_re_workspace_8_2_build_windows_i586_cygwin_jdk8u171_10807_install_src_windows_common_Executor.cpp
mov esi, 0x4c8640
call fcn.004082ed
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x6c]
call fcn.0040e7d9
push esi
push 1
lea ecx, [ebp - 0x50]
call fcn.0040e7d9
push esi
push 1
lea ecx, [ebp - 0x34]
call fcn.0040e7d9
xor ebx, ebx
jmp 0x452c3b
lea eax, [ebp - 0x224]
push eax
call fcn.00451b80
cmp dword [ebp - 0xe4], 0x10
mov eax, dword [ebp - 0xf8]
jae 0x452c50
lea eax, [ebp - 0xf8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x90], 0x10
mov eax, dword [ebp - 0xa4]
jae 0x452c6c
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea esi, [ebp - 0x224]
call fcn.00451775
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x14c]
call fcn.0040e7d9
push ebx
push esi
lea ecx, [ebp - 0xf8]
call fcn.0040e7d9
push ebx
push esi
lea ecx, [ebp - 0xa4]
call fcn.0040e7d9
push ebx
push esi
lea ecx, [ebp - 0xc0]
call fcn.0040e7d9
push ebx
push esi
lea ecx, [ebp - 0x114]
call fcn.0040e7d9
push ebx
push esi
lea ecx, [ebp - 0xdc]
call fcn.0040e7d9
mov esi, dword [ebp - 0x294]
xor ebx, ebx
jmp 0x4523b3