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

Disassembly:
push ebp
lea ebp, [esp - 0x90b4]
mov eax, 0x90b4
call fcn.00413d20
push 0xffffffffffffffff
push 0x43f6fd
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x455834]
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 esi, dword [ebp + 0x90c0]
mov bl, byte [ebp + 0x90c4]
mov byte [0x4623a0], 0
test esi, esi
je 0x411e84
mov eax, dword [esi + 4]
mov ecx, dword [esi]
sub eax, ecx
sar eax, 2
cmp eax, 1
jbe 0x411e79
push 0x445458
push dword [ecx + 4]
call fcn.0041f1b3
pop ecx
pop ecx
test eax, eax
je 0x411e61
mov eax, dword [esi]
push 0x445478
push dword [eax + 4]
call fcn.0041f1b3
pop ecx
pop ecx
test eax, eax
je 0x411e61
mov eax, dword [esi]
push str._create_i4j_log
push dword [eax + 4]
call fcn.0041f1b3
pop ecx
pop ecx
test eax, eax
je 0x411e61
mov eax, dword [esi]
push str._create_e4j_log
push dword [eax + 4]
call fcn.0041f1b3
pop ecx
pop ecx
test eax, eax
jne 0x411e79
mov eax, dword [esi]
mov ecx, esi
add eax, 4
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040762a
mov byte [0x463b20], 1
test bl, bl
je 0x411e84
push esi
call fcn.0041193c
pop ecx
push esi
call fcn.00402e16
pop ecx
test bl, bl
je 0x411f43
cmp dword [0x460ba4], 0
jne 0x411f43
push 0x1f40
call fcn.004137f4
mov edi, eax
mov dword [esp], 0xfa0
push edi
push 0x7c
call fcn.004016cc
push 0x4453b8
push edi
call fcn.004152f4
add esp, 0x14
test eax, eax
jne 0x411ede
push str._temp
push edi
call fcn.004152f4
pop ecx
pop ecx
test eax, eax
je 0x411f3c
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
push ebx
push edi
mov dword [ebp - 4], ebx
call fcn.00407c9c
push ebx
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.00412345
lea eax, [ebp - 0x18]
push eax
call fcn.0041193c
mov eax, dword [esi + 4]
add esp, 0x18
mov ecx, dword [esi]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x411f30
push dword [ecx + ebx*4]
call fcn.00413d73
mov eax, dword [esi + 4]
inc ebx
pop ecx
mov ecx, dword [esi]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x411f18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040677b
push edi
call fcn.00413d73
pop ecx
mov eax, dword [ebp + 0x90bc]
mov dword [0x463b10], eax
call fcn.0041210e
call fcn.00411620
push 0x271c
call fcn.004015c7
pop ecx
test eax, eax
je 0x411f77
push str.ignoring_java_options_environment_variables
call fcn.0040f3f5
pop ecx
call fcn.0041226a
cmp byte [0x463b1d], 0
je 0x411f89
cmp byte [0x463b1e], 0
je 0x411ff7
push 0x1770
lea eax, [ebp + 0x2ee0]
push eax
push 0x92
call fcn.004016cc
add esp, 0xc
cmp word [ebp + 0x2ee0], 0
je 0x411fec
lea eax, [ebp + 0x2ee0]
push 1
push eax
call fcn.00407c9c
push 1
push 1
lea eax, [ebp + 0x2ee0]
push eax
lea eax, [ebp]
push eax
call fcn.004045d3
add esp, 0x18
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp]
push eax
push str.change_working_directory_to__s
call fcn.0040f3f5
pop ecx
jmp 0x411ff6
push str.working_directory_unchanged
call fcn.0040f3f5
pop ecx
cmp byte [0x463b20], 0
je 0x4120eb
call fcn.0040f165
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.00403b2b
add esp, 0xc
lea eax, [ebp + 0x5dc0]
xor ebx, ebx
push 4
push dword [0x463b18]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x4120eb
mov esi, 0x104
lea eax, [ebp + 0x8ea8]
push esi
push eax
call fcn.0040f165
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.00403b2b
lea eax, [ebp + 0x5dc0]
push eax
push str.calling__s
call fcn.0040f3f5
push 0x10
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.00415560
push 0x44
pop esi
push esi
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.00415560
add esp, 0x30
mov dword [ebp - 0x64], esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
push ebx
push 0x20
push 1
push ebx
push ebx
lea eax, [ebp + 0x5dc0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4120eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.could_not_open_explorer_window__d
call fcn.0040f3f5
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.00413c4b
add ebp, 0x90b4
leave
ret