Function at 0x401893
Capabilities:
Create process on windows
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2f0
mov eax, dword [0x416004]
xor eax, esp
mov dword [esp + 0x2ec], eax
push ebx
push esi
lea ecx, [esp + 0x40]
call fcn.00401b23
lea ecx, [esp + 0x28]
call fcn.00401b23
lea edx, [esp + 0x28]
call fcn.00402301
test eax, eax
jne 0x401af8
lea ecx, [esp + 0xf]
mov byte [esp + 0xf], al
call fcn.004024dd
cmp byte [esp + 0xf], 0
lea ecx, [esp + 0x10]
je 0x4018f1
push str.jre_x64_binjavaw.exe
jmp 0x4018f6
push str.jre_x86_binjavaw.exe
call fcn.00401351
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
call fcn.00401814
lea ecx, [esp + 0x10]
call fcn.0040177e
lea ecx, [esp + 0x40]
call fcn.00401332
test al, al
je 0x401941
push ecx
lea edx, [esp + 0x44]
lea ecx, [esp + 0x14]
call fcn.00401bc1
pop ecx
lea edx, [esp + 0x28]
mov ecx, eax
call fcn.00401814
lea ecx, [esp + 0x10]
call fcn.0040177e
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [esp + 0xa0]
push eax
push str.C:Program_FilesJava
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x401a07
push str._binjavaw.exe
lea ecx, [esp + 0x74]
call fcn.00401351
push eax
lea eax, [esp + 0xd0]
push eax
push str.C:Program_FilesJava_
lea ecx, [esp + 0x64]
call fcn.00401351
mov edx, eax
lea ecx, [esp + 0x90]
call fcn.00401b99
pop ecx
mov edx, eax
lea ecx, [esp + 0x14]
call fcn.00401c27
pop ecx
lea ecx, [esp + 0x88]
call fcn.0040177e
lea ecx, [esp + 0x58]
call fcn.0040177e
lea ecx, [esp + 0x70]
call fcn.0040177e
lea ecx, [esp + 0x10]
call fcn.00402262
mov ecx, eax
call fcn.0040249f
test al, al
je 0x4019e0
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
call fcn.00401814
lea ecx, [esp + 0x10]
call fcn.0040177e
lea eax, [esp + 0xa0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401961
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0xa0]
push eax
push str.C:Program_Files__x86_Java
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x401aae
push str._binjavaw.exe
lea eax, [esp + 0xd0]
push eax
push str.C:Program_Files__x86_Java_
lea ecx, [esp + 0x64]
call fcn.00401351
mov edx, eax
lea ecx, [esp + 0x78]
call fcn.00401b99
pop ecx
mov edx, eax
lea ecx, [esp + 0x14]
call fcn.00401b99
pop ecx
lea ecx, [esp + 0x70]
call fcn.0040177e
lea ecx, [esp + 0x58]
call fcn.0040177e
lea ecx, [esp + 0x10]
call fcn.00402262
mov ecx, eax
call fcn.0040249f
test al, al
je 0x401a87
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
call fcn.00401814
lea ecx, [esp + 0x10]
call fcn.0040177e
lea eax, [esp + 0xa0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x401a21
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push str.javaw
lea ecx, [esp + 0x14]
call fcn.00401351
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
call fcn.00401783
lea ecx, [esp + 0x10]
call fcn.0040177e
push 0x10
push str.Error
push str.Java_installation_cannot_be_found_in_this_computer__please_download_it_from_https:__java.com__n
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 5
push ebx
push ebx
push str.https:__java.com_
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x28]
call fcn.0040177e
lea ecx, [esp + 0x40]
call fcn.0040177e
mov ecx, dword [esp + 0x2f4]
xor eax, eax
pop esi
pop ebx
xor ecx, esp
inc eax
call fcn.00402b42
mov esp, ebp
pop ebp
ret 0x10