Function at 0x409ff3
Capabilities:
Create thread
Query environment variable

Disassembly:
push 8
mov eax, 0x43197e
call fcn.00414d62
push str.launching_program
call fcn.0040ff78
push 0x34
call fcn.0041375e
xor esi, esi
pop ecx
pop ecx
mov ebx, eax
mov edi, 0x1770
cmp dword [0x44bcb0], esi
je 0x40a045
push edi
call fcn.0041375e
mov dword [ebx], eax
push dword [0x44bcb0]
push str.exe4j.semaphoreName
push str._D_s_s
push eax
call fcn.00415111
add esp, 0x14
inc esi
cmp byte [0x44bc60], 0
je 0x40a06d
push edi
call fcn.0041375e
mov dword [esp], str.exe4j.manualJre
push str._D_strue
push eax
mov dword [ebx + esi*4], eax
call fcn.00415111
add esp, 0xc
inc esi
cmp byte [0x44d450], 0x69
jne 0x40a095
push edi
call fcn.0041375e
mov dword [esp], str.exe4j.isInstall4j
push str._D_strue
push eax
mov dword [ebx + esi*4], eax
call fcn.00415111
add esp, 0xc
inc esi
push edi
call fcn.0041375e
mov dword [ebx + esi*4], eax
call fcn.00405160
push eax
push str.exe4j.moduleName
push str._D_s_s
push dword [ebx + esi*4]
call fcn.00415111
push edi
inc esi
call fcn.0041375e
mov dword [ebx + esi*4], eax
call fcn.00405160
push eax
push str.sun.java.command
push str._D_s_s
push dword [ebx + esi*4]
call fcn.00415111
push edi
inc esi
call fcn.0041375e
push 0x44bce0
push str.exe4j.tempDir
push str._D_s_s
push eax
mov dword [ebx + esi*4], eax
call fcn.00415111
push edi
inc esi
call fcn.0041375e
add esp, 0x40
mov dword [ebx + esi*4], eax
cmp byte [0x44d460], 0
je 0x40a11b
cmp byte [0x44d461], 0
jne 0x40a11b
or eax, 0xffffffff
jmp 0x40a120
call fcn.00401065
push eax
push str.exe4j.unextractedPosition
push str._D_s_d
push dword [ebx + esi*4]
call fcn.00415111
push 0x2ee0
inc esi
call fcn.0041375e
push str._Djava.library.path
push eax
mov dword [ebx + esi*4], eax
call fcn.00415111
push dword [ebx + esi*4]
call fcn.00414100
mov ecx, 0x2ee0
add esp, 0x20
sub ecx, eax
push ecx
push dword [ebx + esi*4]
call fcn.00414100
add eax, dword [ebx + esi*4]
pop ecx
push eax
push 0x435c9c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.MANPATH
inc esi
call fcn.00417409
pop ecx
test eax, eax
jne 0x40a1ae
push edi
call fcn.0041375e
pop ecx
mov dword [ebx + esi*4], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push eax
push str.exe4j.consoleCodepage
push str._D_scp_d
push dword [ebx + esi*4]
call fcn.00415111
add esp, 0x10
inc esi
xor edi, edi
push 0x30
mov dword [ebx + esi*4], edi
call fcn.00414843
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x40a1dc
push dword [ebp + 0x14]
mov ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004088b0
mov esi, eax
jmp 0x40a1de
xor esi, esi
push dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
lea eax, [esi + 0x18]
push ebx
push eax
call fcn.004095b8
add esp, 0xc
cmp dword [esi + 0x1c], 0
mov dword [ebp - 0x10], edi
jle 0x40a248
mov eax, dword [esi + 0x20]
mov ebx, dword [eax + edi*8]
test ebx, ebx
je 0x40a230
push 4
push str._Xss
push ebx
call fcn.00415051
add esp, 0xc
test eax, eax
jne 0x40a230
add ebx, 4
push ebx
call fcn.004077c7
pop ecx
test edx, edx
jl 0x40a230
jg 0x40a22d
test eax, eax
jbe 0x40a230
mov dword [ebp - 0x10], eax
inc edi
cmp edi, dword [esi + 0x1c]
jl 0x40a1fb
mov eax, dword [ebp - 0x10]
dec eax
cmp eax, 0xfffe
ja 0x40a248
mov dword [ebp - 0x10], 0x10000
push dword [ebp - 0x10]
push str.used_stack_size__d
call fcn.0040ff78
pop ecx
pop ecx
lea eax, [ebp - 0x14]
push eax
push 0x10000
push esi
push 0x409fe3
push dword [ebp - 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x40a280
push esi
call fcn.00409d2e
pop ecx
jmp 0x40a2a7
and dword [ebp - 0x10], 0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 0x10], eax
setne al
call fcn.00414e3a
ret