Function at 0x41156f
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
lea ebp, [esp - 0x90b4]
mov eax, 0x90b4
call fcn.00413c90
push 0xffffffffffffffff
push 0x42f0f6
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x43bc80]
xor eax, ebp
mov dword [ebp + 0x90b0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x90c0]
xor ebx, ebx
mov byte [0x448cd8], bl
cmp edi, ebx
je 0x41167e
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
xor esi, esi
sar eax, 2
inc esi
cmp eax, esi
jbe 0x41166f
push esi
mov ecx, edi
call fcn.00407425
push str._create_i4j_log
push dword [eax]
call fcn.00413f45
pop ecx
pop ecx
test eax, eax
je 0x41163e
push esi
mov ecx, edi
call fcn.00407425
push str._create_e4j_log
push dword [eax]
call fcn.00413f45
pop ecx
pop ecx
test eax, eax
je 0x41163e
push esi
mov ecx, edi
call fcn.00407425
push 0x434de8
push dword [eax]
call fcn.00413f45
pop ecx
pop ecx
test eax, eax
je 0x41163e
push esi
mov ecx, edi
call fcn.00407425
push 0x434dc8
push dword [eax]
call fcn.00413f45
pop ecx
pop ecx
test eax, eax
jne 0x41166f
mov eax, dword [edi + 0xc]
push edi
push eax
lea ecx, [ebp - 0x14]
call fcn.00406524
push esi
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x14]
call fcn.00407755
push dword [eax + 4]
mov ecx, edi
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.004079ac
mov byte [0x44a45b], 1
cmp byte [ebp + 0x90c4], bl
je 0x41167e
mov esi, edi
call fcn.004110bf
push edi
call fcn.00403918
pop ecx
cmp byte [ebp + 0x90c4], bl
je 0x411752
cmp dword [0x448c5c], ebx
jne 0x411752
push 0x1f40
call fcn.00412d69
mov esi, eax
mov dword [esp], 0xfa0
push esi
push 0x7c
mov dword [ebp - 0x10], esi
call fcn.004037de
push str._temp
push esi
call fcn.004148cc
add esp, 0x14
test eax, eax
jne 0x4116de
push 0x434b04
push esi
call fcn.004148cc
pop ecx
pop ecx
test eax, eax
je 0x41174b
lea ecx, [ebp - 0x2c]
call fcn.0040bd45
push ebx
push esi
mov dword [ebp - 4], ebx
call fcn.00406e10
push ebx
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.004114e7
add esp, 0x14
lea esi, [ebp - 0x2c]
call fcn.004110bf
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
xor esi, esi
sar eax, 2
test eax, eax
jbe 0x411733
push esi
mov ecx, edi
call fcn.00407425
push dword [eax]
call fcn.00415622
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
inc esi
sar eax, 2
pop ecx
cmp esi, eax
jb 0x411715
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004077bf
push dword [ebp - 0x2c]
call fcn.00413a45
mov esi, dword [ebp - 0x10]
pop ecx
push esi
call fcn.00415622
pop ecx
mov eax, dword [ebp + 0x90bc]
mov dword [0x44a454], eax
push 2
lea eax, [ebp - 0x10]
push eax
push 0x7d1
call fcn.00403814
mov al, byte [ebp - 0x10]
add esp, 0xc
mov byte [0x44a448], al
cmp al, 0x65
jne 0x411792
mov dword [0x44a450], str.exe4j
mov dword [0x44a44c], 0x4348d8
jmp 0x4117a6
mov dword [0x44a450], str.install4j
mov dword [0x44a44c], 0x4348b8
call fcn.0041133c
push 0x271c
call fcn.004038cb
pop ecx
test eax, eax
je 0x4117ca
push str.ignoring_java_options_environment_variables
call fcn.0040ea46
pop ecx
call fcn.00410ac0
cmp byte [0x44a458], bl
je 0x4117da
cmp byte [0x44a459], bl
je 0x411844
push 0x1770
lea eax, [ebp]
push eax
push 0x92
call fcn.004037de
add esp, 0xc
cmp word [ebp], bx
je 0x411839
lea eax, [ebp]
push 1
push eax
call fcn.00406e10
push 1
push 1
lea eax, [ebp]
push eax
lea eax, [ebp + 0x2ee0]
push eax
call fcn.00405bd2
add esp, 0x18
lea eax, [ebp + 0x2ee0]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp + 0x2ee0]
push eax
push str.change_working_directory_to__s
call fcn.0040ea46
pop ecx
jmp 0x411843
push str.working_directory_unchanged
call fcn.0040ea46
pop ecx
cmp byte [0x44a45b], bl
je 0x411935
call fcn.0040e9d0
push eax
lea eax, [ebp + 0x5dc0]
push str.The_following_log_file_will_be_created:_n_n_s_n_nDo_you_want_to_open_an_Explorer_window_
push eax
call fcn.004144b9
add esp, 0xc
push 4
push dword [0x44a44c]
lea eax, [ebp + 0x5dc0]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x411935
mov esi, 0x104
lea eax, [ebp + 0x8ea8]
push esi
push eax
call fcn.0040e9d0
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push esi
lea eax, [ebp + 0x8ca0]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp + 0x8ea8]
push eax
lea eax, [ebp + 0x8ca0]
push eax
lea eax, [ebp + 0x5dc0]
push str._sexplorer.exe__select__s
push eax
call fcn.004144b9
lea eax, [ebp + 0x5dc0]
push eax
push str.calling__s
call fcn.0040ea46
push 0x10
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.004154b0
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.004154b0
add esp, 0x30
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push 0x20
push 1
push ebx
push ebx
lea eax, [ebp + 0x5dc0]
push eax
push ebx
mov dword [ebp - 0x80], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x411935
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.could_not_open_explorer_window__d
call fcn.0040ea46
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x90b0]
xor ecx, ebp
call fcn.00413c78
add ebp, 0x90b4
leave
ret