Function at 0x408542
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x764]
sub esp, 0x7e4
mov eax, dword [0x431920]
xor eax, ebp
mov dword [ebp + 0x760], eax
mov eax, dword [ebp + 0x76c]
push ebx
push esi
push edi
push str.launching_program
mov dword [ebp - 0x74], eax
call fcn.0040be55
push 0x34
call fcn.0040e75d
xor esi, esi
pop ecx
pop ecx
mov ebx, eax
mov edi, 0x1770
cmp dword [0x440070], esi
je 0x4085af
push edi
call fcn.0040e75d
mov dword [ebx], eax
push dword [0x440070]
push str.exe4j.semaphoreName
push str._D_s_s
push eax
call fcn.0040f861
add esp, 0x14
inc esi
cmp byte [0x440040], 0
je 0x4085d7
push edi
call fcn.0040e75d
mov dword [esp], str.exe4j.manualJre
push str._D_strue
push eax
mov dword [ebx + esi*4], eax
call fcn.0040f861
add esp, 0xc
inc esi
cmp byte [0x441810], 0x69
jne 0x4085ff
push edi
call fcn.0040e75d
mov dword [esp], str.exe4j.isInstall4j
push str._D_strue
push eax
mov dword [ebx + esi*4], eax
call fcn.0040f861
add esp, 0xc
inc esi
push edi
call fcn.0040e75d
mov dword [ebx + esi*4], eax
call fcn.004047a2
push eax
push str.exe4j.moduleName
push str._D_s_s
push dword [ebx + esi*4]
call fcn.0040f861
push edi
inc esi
call fcn.0040e75d
mov dword [ebx + esi*4], eax
call fcn.004047a2
push eax
push str.sun.java.command
push str._D_s_s
push dword [ebx + esi*4]
call fcn.0040f861
push edi
inc esi
call fcn.0040e75d
push 0x4400a0
push str.exe4j.tempDir
push str._D_s_s
push eax
mov dword [ebx + esi*4], eax
call fcn.0040f861
push edi
inc esi
call fcn.0040e75d
add esp, 0x40
mov dword [ebx + esi*4], eax
cmp byte [0x441820], 0
je 0x408685
cmp byte [0x441821], 0
jne 0x408685
or eax, 0xffffffff
jmp 0x40868a
call fcn.00401066
push eax
push str.exe4j.unextractedPosition
push str._D_s_d
push dword [ebx + esi*4]
call fcn.0040f861
push 0x2ee0
inc esi
call fcn.0040e75d
push str._Djava.library.path
push eax
mov dword [ebx + esi*4], eax
call fcn.0040f861
push dword [ebx + esi*4]
call fcn.0040e8b0
mov ecx, 0x2ee0
add esp, 0x20
sub ecx, eax
push ecx
push dword [ebx + esi*4]
call fcn.0040e8b0
add eax, dword [ebx + esi*4]
pop ecx
push eax
push str.PATH
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.MANPATH
inc esi
call fcn.00411741
pop ecx
test eax, eax
jne 0x408718
push edi
call fcn.0040e75d
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.0040f861
add esp, 0x10
inc esi
and dword [ebx + esi*4], 0
push ebx
push dword [ebp - 0x74]
call fcn.004084fa
pop ecx
pop ecx
test al, al
jne 0x40873c
push str.could_not_initialize_JVM
call fcn.0040bdec
xor al, al
jmp 0x408959
push str.JVM_created
call fcn.0040be55
push 0x6c
mov byte [0x440043], 1
call fcn.00403887
pop ecx
pop ecx
test eax, eax
je 0x408912
mov eax, dword [0x43e8cc]
mov ecx, dword [eax]
push str.com_exe4j_runtime_WinLauncher
push eax
call dword [ecx + 0x18]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x408907
mov eax, dword [0x43e8cc]
mov ecx, dword [eax]
push str._ZZLjava_lang_String_IILjava_lang_String_IILjava_lang_String_IILjava_lang_String_II_V
push str.initAwtSplashConfig
push dword [ebp - 0x7c]
push eax
call dword [ecx + 0x1c4]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x408900
mov esi, 0x7d0
push esi
lea eax, [ebp - 0x70]
push eax
push 0x277f
call fcn.004037d0
mov eax, dword [0x43e8cc]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 0x70]
push edx
push eax
call dword [ecx + 0x29c]
mov edi, eax
push esi
lea eax, [ebp - 0x70]
push eax
push 0x2782
call fcn.004037d0
mov eax, dword [0x43e8cc]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 0x70]
push edx
push eax
call dword [ecx + 0x29c]
mov ebx, eax
push esi
lea eax, [ebp - 0x70]
push eax
push 0x2786
call fcn.004037d0
mov eax, dword [0x43e8cc]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 0x70]
push edx
push eax
call dword [ecx + 0x29c]
mov dword [ebp - 0x78], eax
push esi
lea eax, [ebp - 0x70]
push eax
push 0x2789
call fcn.004037d0
mov eax, dword [0x43e8cc]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 0x70]
push edx
push eax
call dword [ecx + 0x29c]
push 0x278a
mov esi, eax
call fcn.00403887
pop ecx
push eax
push 0x2788
call fcn.00403887
pop ecx
push eax
push esi
push 0x2785
call fcn.00403887
pop ecx
push eax
push 0x2784
call fcn.00403887
pop ecx
push eax
push dword [ebp - 0x78]
push 0x2783
call fcn.00403887
pop ecx
push eax
push 0x2781
call fcn.00403887
pop ecx
push eax
push ebx
push 0x277e
call fcn.00403887
pop ecx
push eax
push 0x277d
call fcn.00403887
pop ecx
push eax
push edi
push 0xa3
call fcn.00403887
pop ecx
push eax
call fcn.0040ba8e
movzx eax, al
push eax
push dword [ebp - 0x80]
push dword [ebp - 0x7c]
push dword [0x43e8cc]
call fcn.00406264
mov eax, dword [0x43e8cc]
mov ecx, dword [eax]
add esp, 0x44
push edi
push eax
call dword [ecx + 0x5c]
mov eax, dword [0x43e8cc]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x5c]
mov eax, dword [0x43e8cc]
push dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x5c]
mov eax, dword [0x43e8cc]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x5c]
jmp 0x408912
push str.could_not_find_method_for_splash_properties
jmp 0x40890c
push str.could_not_find_main_class_for_splash_properties
call fcn.0040bdec
pop ecx
call fcn.0040644f
push dword [ebp - 0x74]
call fcn.0040754f
pop ecx
test al, al
jne 0x40892e
push str.could_not_call_main
jmp 0x408730
cmp byte [ebp + 0x770], 0
je 0x40894d
push str.dest_JVM
call fcn.0040be55
mov eax, dword [0x44004c]
pop ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push str.launch_done
call fcn.0040be55
mov al, 1
pop ecx
mov ecx, dword [ebp + 0x760]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040edc8
add ebp, 0x764
leave
ret