Function at 0x401ede
Capabilities:
Get common file path
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d4
mov eax, dword [0x447504]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x4a4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x498], eax
mov eax, dword [ebp + 0x14]
mov edi, ecx
push str.Launching
mov dword [ebp - 0x4d0], edi
mov dword [ebp - 0x4c4], eax
call fcn.00409c63
mov dword [esp], str.launchFromLaunchFile
push str._____s_____n
call fcn.00409ab5
xor ebx, ebx
pop ecx
xor esi, esi
cmp dword [ebp + 0x10], ebx
pop ecx
jle 0x401f54
push dword [edi + esi*4]
push esi
push str.Argument_Dump__d___.120s_n
call fcn.00409ab5
add esp, 0xc
inc esi
cmp esi, dword [ebp + 0x10]
jl 0x401f3d
push ebx
push str._Extractor__Launching__launchclass:__d_..._n
call fcn.00409ab5
push dword [0x44aa18]
push str._Extractor___Bundle:__s_n
call fcn.00409ab5
push dword [0x44aa24]
push str._Extractor_______JW:__s_n
call fcn.00409ab5
push dword [0x44aa20]
push str._Extractor______App:__s_n
call fcn.00409ab5
push dword [0x44aa1c]
push str._Extractor______JRE:__s_n
call fcn.00409ab5
mov esi, 0xfa0
push esi
call fcn.00418af7
add esp, 0x2c
push esi
mov dword [ebp - 0x4cc], eax
mov dword [ebp - 0x494], ebx
call fcn.00418af7
mov dword [ebp - 0x4a0], eax
mov eax, dword [0x44aa24]
mov dword [ebp - 0x4a8], eax
mov dword [esp], str.JWrapperLaunch
push eax
lea eax, [ebp - 0x490]
call fcn.00409a7e
lea eax, [ebp - 0x490]
push 0x44008c
push eax
call fcn.0041a088
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp - 0x4ac], ebx
jne 0x40201d
lea eax, [ebp - 0x490]
push eax
push str.Unable_to_open_launch_file__s_n
call fcn.00409b66
pop ecx
pop ecx
push 1
call fcn.00419ad0
push ebx
call fcn.00407ffe
pop ecx
push ebx
mov dword [ebp - 0x4b8], eax
call fcn.00407fed
pop ecx
push ebx
mov dword [ebp - 0x4c8], eax
call fcn.00407fed
pop ecx
push ebx
call fcn.00407fed
pop ecx
push ebx
mov dword [ebp - 0x4b4], eax
call fcn.00407fed
pop ecx
push ebx
call fcn.00407ffe
pop ecx
push ebx
call fcn.00407ffe
pop ecx
push ebx
mov dword [ebp - 0x4c0], eax
call fcn.00407ffe
mov edi, dword [0x44aa1c]
test edi, edi
pop ecx
mov dword [ebp - 0x4b0], eax
je 0x40240b
push edi
push str._Extractor__Using_private_JRE__s_n
call fcn.00409ab5
lea eax, [ebp - 0x218]
push edi
push eax
mov byte [ebp - 0x218], 0
call fcn.00418d20
push 0x43fccc
lea esi, [ebp - 0x218]
call fcn.004099ef
add esp, 0x14
mov eax, esi
push str.windowslauncher.exe
push eax
lea eax, [ebp - 0x110]
call fcn.00409a7e
lea eax, [ebp - 0x110]
push eax
call fcn.00409415
add esp, 0xc
test eax, eax
jne 0x4020ee
mov eax, esi
push str.javaw.exe
push eax
lea eax, [ebp - 0x110]
call fcn.00409a7e
pop ecx
pop ecx
push dword [ebp - 0x4b4]
lea esi, [ebp - 0x218]
call fcn.004099ef
mov eax, esi
mov dword [esp], str..exe
push eax
call fcn.00418d20
mov eax, esi
push eax
call fcn.00409415
add esp, 0xc
test eax, eax
jne 0x402164
mov eax, esi
push eax
push str._Extractor__Copying_FILE__s_n
call fcn.00409ab5
lea eax, [ebp - 0x110]
push 0x44008c
push eax
call fcn.0041a088
add esp, 0x10
test eax, eax
jne 0x402155
lea eax, [ebp - 0x110]
push eax
push str._Extractor___Unable_to_open_source_file_for_copy__s_n
call fcn.00409ab5
jmp 0x402162
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00401aae
pop ecx
pop ecx
mov esi, edi
call fcn.0040a155
push 0x2710
lea edi, [eax + edi + 1]
call fcn.00418af7
mov dword [esp], str.JRE_LastSuccessfulOptions_
push str.JWApps
push dword [ebp - 0x4a4]
mov esi, eax
mov dword [ebp - 0x4bc], esi
call fcn.00409a97
add esp, 0xc
push edi
push esi
call fcn.00418d20
push esi
push str._Extractor__JRE_LSO_file_is__s_n
call fcn.00409ab5
xor edi, edi
add esp, 0x10
cmp dword [ebp - 0x4c0], edi
jle 0x4021eb
push 0x64
call fcn.00418af7
pop ecx
push edi
push dword [ebp - 0x4c0]
mov esi, eax
push str._Xmx_dm_c
push esi
call fcn.004197bd
mov eax, dword [ebp - 0x4a0]
add esp, 0x10
mov dword [eax], esi
mov dword [ebp - 0x494], 1
cmp dword [ebp - 0x4b0], edi
jle 0x402227
push 0x64
call fcn.00418af7
pop ecx
push edi
push dword [ebp - 0x4b0]
mov esi, eax
push str._Xms_dm_c
push esi
call fcn.004197bd
mov ecx, dword [ebp - 0x494]
mov eax, dword [ebp - 0x4a0]
add esp, 0x10
inc dword [ebp - 0x494]
mov dword [eax + ecx*4], esi
push str._Extractor__Building_classpath_n
call fcn.00409ab5
pop ecx
push ebx
call fcn.00407ffe
mov esi, eax
pop ecx
shl eax, 2
push eax
mov dword [ebp - 0x4a4], esi
call fcn.00418af7
cmp esi, edi
pop ecx
mov dword [ebp - 0x4b4], eax
jle 0x4022a0
push ebx
call fcn.00407fed
pop ecx
mov dword [ebp - 0x49c], eax
call fcn.00409a5d
push 0x3e8
call fcn.00418af7
pop ecx
push dword [ebp - 0x49c]
mov esi, eax
push dword [ebp - 0x4a8]
call fcn.00409a7e
pop ecx
pop ecx
mov eax, esi
call fcn.00409a5d
mov eax, dword [ebp - 0x4b4]
mov dword [eax + edi*4], esi
inc edi
cmp edi, dword [ebp - 0x4a4]
jl 0x402255
push str._Extractor__Creating_launch_properties_n
call fcn.00409ab5
pop ecx
push dword [ebp - 0x498]
call fcn.00407e89
pop ecx
add eax, 0x30d40
push eax
call fcn.00418af7
pop ecx
push dword [ebp - 0x498]
mov ebx, eax
mov byte [ebx], 0
call fcn.00407e89
pop ecx
inc eax
inc eax
push eax
push dword [ebp - 0x498]
push ebx
call fcn.00419250
add esp, 0xc
push dword [0x44aa70]
mov esi, str.update_url
push esi
mov eax, ebx
call fcn.00407f31
push 0x440488
push dword [0x44aa70]
call fcn.0041a3a0
add esp, 0x10
test eax, eax
jne 0x402324
mov eax, dword [0x44aa28]
test eax, eax
je 0x402324
push eax
push esi
mov eax, ebx
call fcn.00407f59
pop ecx
pop ecx
push dword [ebp - 0x4a8]
mov eax, ebx
push str.app_dir
call fcn.00407f31
push dword [0x44aa40]
mov eax, ebx
push str.jre_name
call fcn.00407f31
push dword [ebp - 0x4c4]
mov eax, ebx
push str.launched_from_dynprops
call fcn.00407f31
push str._Extractor__Checking_LSO_file_n
call fcn.00409ab5
add esp, 0x1c
cmp dword [ebp - 0x4bc], 0
mov edi, 0x104
je 0x402570
push dword [ebp - 0x4bc]
push str._Extractor__Reading__s_n
call fcn.00409ab5
mov esi, 0x44008c
push esi
push dword [ebp - 0x4bc]
call fcn.0041a088
push dword [ebp - 0x4bc]
and dword [ebp - 0x498], 0
mov dword [ebp - 0x49c], eax
call fcn.00409415
add esp, 0x14
test eax, eax
je 0x40241a
cmp dword [ebp - 0x49c], 0
jne 0x402427
cmp dword [ebp - 0x498], 5
jge 0x40257b
push dword [ebp - 0x498]
push str._Extractor__LSO_file_does_exist._Retrying___d_...
call fcn.00409ab5
push esi
push dword [ebp - 0x4bc]
call fcn.0041a088
add esp, 0x10
test eax, eax
mov dword [ebp - 0x49c], eax
jne 0x402427
inc dword [ebp - 0x498]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4023c2
push str.No_JRE_available__n
call fcn.00409b66
jmp 0x402015
cmp dword [ebp - 0x49c], 0
je 0x40257b
push str._Extractor__JRE_LSO_file_exists_n
call fcn.00409ab5
pop ecx
push edi
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.0041a0a0
add esp, 0xc
push dword [ebp - 0x49c]
call fcn.00407ffe
pop ecx
mov esi, eax
push esi
push str._Extractor__Found__ld_JVM_Options_n
mov dword [ebp - 0x4c4], esi
call fcn.00409ab5
push esi
lea eax, [ebp - 0x110]
push 0x44056c
push eax
call fcn.004197bd
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
push str.jvm_options_count
mov eax, ebx
call fcn.00407f31
and dword [ebp - 0x498], 0
test esi, esi
pop ecx
pop ecx
jle 0x402563
push dword [ebp - 0x49c]
call fcn.00407fed
pop ecx
mov ecx, dword [ebp - 0x494]
inc dword [ebp - 0x494]
mov esi, eax
mov eax, dword [ebp - 0x4a0]
push edi
mov dword [eax + ecx*4], esi
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.0041a0a0
add esp, 0xc
push dword [ebp - 0x498]
lea eax, [ebp - 0x110]
push str.jvm_options__d
push eax
call fcn.004197bd
add esp, 0xc
push esi
call fcn.00418c80
cmp eax, 0x64
pop ecx
jae 0x402506
push esi
lea eax, [ebp - 0x110]
push eax
push str._Extractor__Launch_Prop:__s___s_n
jmp 0x402532
push 0x63
lea eax, [ebp - 0x388]
push esi
push eax
call fcn.00419ea0
add esp, 0xc
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x110]
push eax
mov byte [ebp - 0x325], 0
push str._Extractor__Launch_Prop:__s___s..._n
call fcn.00409ab5
add esp, 0xc
lea eax, [ebp - 0x110]
push esi
push eax
mov eax, ebx
call fcn.00407f31
inc dword [ebp - 0x498]
mov eax, dword [ebp - 0x498]
cmp eax, dword [ebp - 0x4c4]
pop ecx
pop ecx
jl 0x40249c
push dword [ebp - 0x49c]
call fcn.0041b78d
jmp 0x40257a
push str.Not_a_private_JRE__no_need_to_check_for_LSO_file__n
call fcn.00409b66
pop ecx
push str._Extractor__Writing_launch_properties_file_n
call fcn.00409ab5
mov edi, dword [ebp - 0x4a8]
pop ecx
lea eax, [ebp - 0x320]
push 1
push eax
mov byte [ebp - 0x320], 0
call fcn.00401d70
push ebx
call fcn.00407e89
add esp, 0xc
push eax
lea eax, [ebp - 0x320]
push eax
push str._Extractor__Writing_launch_properties_to__s__length:__d__n
call fcn.00409ab5
add esp, 0xc
mov esi, 0x4400e0
lea eax, [ebp - 0x320]
push esi
push eax
call fcn.0041a088
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x4026a0
and dword [ebp - 0x498], eax
mov edi, dword [ebp - 0x4a8]
lea eax, [ebp - 0x320]
push 1
push eax
mov byte [ebp - 0x320], 0
call fcn.00401d70
lea eax, [ebp - 0x320]
push eax
push str._Retry__Writing_launch_properties_to__s_n
call fcn.00409ab5
lea eax, [ebp - 0x320]
push esi
push eax
call fcn.0041a088
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4026a0
inc dword [ebp - 0x498]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x498], 5
jl 0x4025e3
push 0x800
call fcn.00418af7
pop ecx
mov edi, eax
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push edi
push str._Retry__Attempting_to_write_to__s
call fcn.00409ab5
lea eax, [ebp - 0x320]
push 0
push eax
mov byte [ebp - 0x320], 0
call fcn.00401d70
lea eax, [ebp - 0x320]
push esi
push eax
call fcn.0041a088
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x4026a0
push str.Unable_to_write_Launch_Properties_file__Cannot_run__n
call fcn.00409b66
pop ecx
push 0x63
jmp 0x402018
push str._Extractor__Writing_to_file_n
call fcn.00409ab5
pop ecx
push edi
push ebx
call fcn.00407e89
pop ecx
push eax
push 1
push ebx
call fcn.0041b0ba
push edi
call fcn.00419e24
add esp, 0x14
push edi
call fcn.0041b78d
mov dword [esp], str._Extractor__Finished_writing_launch_properties_file_n
call fcn.00409ab5
mov ebx, dword [ebp - 0x4ac]
mov esi, dword [ebp - 0x4cc]
pop ecx
lea eax, [ebp - 0x320]
push ebx
mov dword [esi], eax
mov dword [ebp - 0x49c], 1
call fcn.00407ffe
pop ecx
mov edi, eax
push edi
push str._Extractor__Reading__ld_extra_args_n
call fcn.00409ab5
test edi, edi
pop ecx
pop ecx
jle 0x402729
push ebx
call fcn.00407fed
pop ecx
mov ecx, dword [ebp - 0x49c]
inc dword [ebp - 0x49c]
dec edi
mov dword [esi + ecx*4], eax
jne 0x402710
cmp dword [ebp - 0x4b8], 3
jl 0x402746
push ebx
call fcn.00407fed
pop ecx
push eax
push str._Extractor__Read_JRE_compatibility_class__s_n
call fcn.00409ab5
pop ecx
pop ecx
cmp dword [ebp - 0x4b8], 4
jl 0x40275d
push ebx
call fcn.00407fed
pop ecx
push ebx
call fcn.00407fed
pop ecx
cmp dword [ebp - 0x4b8], 5
jl 0x402804
push ebx
call fcn.00407ffe
mov esi, eax
xor eax, eax
cmp dword [ebp - 0x4c0], eax
pop ecx
jle 0x40277e
inc eax
cmp dword [ebp - 0x4b0], 0
jle 0x402788
inc eax
xor ecx, ecx
cmp eax, dword [ebp - 0x494]
sete cl
mov edi, ecx
push edi
push eax
push dword [ebp - 0x494]
push str._Extractor__jvmArgCount:_d_emptyArgs:_d_so_addToJVM:_d_n
call fcn.00409ab5
push esi
push str._Extractor__Additional_JRE_option_count_is__d_n
call fcn.00409ab5
add esp, 0x18
test esi, esi
jle 0x402804
mov dword [ebp - 0x4b0], esi
push ebx
call fcn.00407fed
test edi, edi
pop ecx
mov esi, eax
push esi
je 0x4027f0
push str._Extractor__Added_option__s_n
call fcn.00409ab5
mov eax, dword [ebp - 0x4a0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x494]
inc dword [ebp - 0x494]
mov dword [eax + ecx*4], esi
jmp 0x4027fc
push str._Extractor__Skipping_option__s_n
call fcn.00409ab5
pop ecx
pop ecx
dec dword [ebp - 0x4b0]
jne 0x4027bf
cmp dword [ebp - 0x4b8], 6
jl 0x402814
push ebx
call fcn.00407ffe
pop ecx
cmp dword [ebp - 0x4b8], 7
jl 0x40288a
cmp dword [ebp - 0x494], 0
jle 0x402948
mov ebx, dword [ebp - 0x4a0]
xor edi, edi
inc edi
push dword [ebp - 0x4ac]
call fcn.00407fed
pop ecx
mov esi, eax
call fcn.00401209
test eax, eax
jne 0x40287b
push esi
push str._Extractor__Ignoring_platform_specific_option__s_n
call fcn.00409ab5
cmp edi, dword [ebp - 0x494]
pop ecx
pop ecx
mov eax, edi
jge 0x402875
mov ecx, dword [ebp - 0x4a0]
mov ecx, dword [ecx + eax*4]
inc eax
cmp eax, dword [ebp - 0x494]
mov dword [ebx], ecx
jl 0x402861
dec dword [ebp - 0x494]
inc edi
lea eax, [edi - 1]
add ebx, 4
cmp eax, dword [ebp - 0x494]
jl 0x402833
cmp dword [ebp - 0x494], 0
jle 0x402948
mov ebx, dword [ebp - 0x4a0]
mov dword [ebp - 0x498], 1
mov esi, dword [ebx]
push str.sun.awt.fontconfig
push esi
call fcn.00419c20
test eax, eax
pop ecx
pop ecx
je 0x4028eb
push esi
push str._Extractor__Ignoring_invalid_option__s_n
call fcn.00409ab5
mov eax, dword [ebp - 0x498]
pop ecx
pop ecx
jmp 0x4028db
mov ecx, dword [ebp - 0x4a0]
mov ecx, dword [ecx + eax*4]
mov dword [ebx], ecx
inc eax
cmp eax, dword [ebp - 0x494]
jl 0x4028cf
dec dword [ebp - 0x494]
jmp 0x40292c
push dword [ebp - 0x4a8]
mov eax, esi
call fcn.0040a3b8
mov edi, eax
test edi, edi
pop ecx
je 0x40292a
push esi
push edi
call fcn.0041a3a0
test eax, eax
pop ecx
pop ecx
je 0x40292a
push dword [ebp - 0x4a8]
push edi
push esi
push str._Extractor___s_____s___s__n
call fcn.00409ab5
add esp, 0x10
mov eax, edi
call fcn.00409a5d
mov esi, edi
mov dword [ebx], esi
inc dword [ebp - 0x498]
mov eax, dword [ebp - 0x498]
add ebx, 4
dec eax
cmp eax, dword [ebp - 0x494]
jl 0x4028a7
mov eax, dword [ebp + 0x10]
test eax, eax
mov ebx, dword [ebp - 0x4cc]
jle 0x40296e
mov ecx, dword [ebp - 0x49c]
mov esi, dword [ebp - 0x4d0]
add dword [ebp - 0x49c], eax
lea edi, [ebx + ecx*4]
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x218]
push eax
push str._Extractor___Launch__Executable:__s_n
call fcn.00409ab5
push dword [ebp - 0x4c8]
push str._Extractor___Launch__Class:__s_n
call fcn.00409ab5
xor edi, edi
add esp, 0x10
xor esi, esi
cmp dword [ebp - 0x494], edi
jle 0x4029be
mov eax, dword [ebp - 0x4a0]
push dword [eax + esi*4]
push esi
push str._Extractor___Launch__JVM_Argument__d:__s_n
call fcn.00409ab5
add esp, 0xc
inc esi
cmp esi, dword [ebp - 0x494]
jl 0x40299e
xor esi, esi
cmp dword [ebp - 0x4a4], edi
jle 0x4029e8
mov eax, dword [ebp - 0x4b4]
push dword [eax + esi*4]
push esi
push str._Extractor___Launch__ClassPath__d:__s_n
call fcn.00409ab5
add esp, 0xc
inc esi
cmp esi, dword [ebp - 0x4a4]
jl 0x4029c8
xor esi, esi
cmp dword [ebp - 0x49c], edi
jle 0x402a0c
push dword [ebx + esi*4]
push esi
push str._Extractor___Launch__App_Argument__d:__.120s_n
call fcn.00409ab5
add esp, 0xc
inc esi
cmp esi, dword [ebp - 0x49c]
jl 0x4029f2
push edi
push str._Extractor__This_is_a_newer_extractor..._launchclass_is__d_n
call fcn.00409ab5
push dword [ebp - 0x4ac]
call fcn.0041b78d
add esp, 0xc
push dword [0x44aa1c]
lea eax, [ebp - 0x110]
push eax
mov byte [ebp - 0x110], 0
call fcn.00418d20
lea eax, [ebp - 0x110]
push eax
push str._Extractor__JRE_folder_is__s_n
call fcn.00409ab5
add esp, 0x10
cmp dword [0x44aa34], edi
jne 0x402ae8
push 0
push str._Extractor__Force_spawn_is__d_so_attempting_to_launch_via_JNI_n
call fcn.00409ab5
mov esi, str.JNI_Launch
push esi
call fcn.00409c63
add esp, 0xc
push ebx
push dword [ebp - 0x49c]
lea eax, [ebp - 0x110]
push dword [ebp - 0x4b4]
push dword [ebp - 0x4a4]
push dword [ebp - 0x4a0]
push dword [ebp - 0x494]
push eax
push dword [ebp - 0x4c8]
push dword [ebp - 0x4a8]
call fcn.00405d89
add esp, 0x24
mov edi, eax
push edi
push str._Extractor__Return_code_for_JNI_launch_was__d_n
call fcn.00409ab5
push esi
call fcn.00409c8b
add esp, 0xc
test edi, edi
jne 0x402add
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00418a0b
leave
ret
push str._Extractor__JNI_launch_failed._Attempting_legacy_spawn_instead_n
call fcn.00409ab5
pop ecx
push str._Extractor__Attempting_spawn_launch_n
call fcn.00409ab5
mov dword [esp], str.Spawn_launch
call fcn.00409c63
pop ecx
and dword [ebp - 0x4ac], 0
lea eax, [ebp - 0x4ac]
push eax
push ebx
push dword [ebp - 0x49c]
lea eax, [ebp - 0x218]
push dword [ebp - 0x4b4]
push dword [ebp - 0x4a4]
push dword [ebp - 0x4a0]
push dword [ebp - 0x494]
push dword [ebp - 0x4c8]
push eax
call fcn.00401e02
add esp, 0x24
mov esi, eax
call fcn.00406bce
push dword [esi]
mov ebx, eax
push ebx
call fcn.00406c27
xor edi, edi
inc edi
cmp dword [ebp - 0x4ac], edi
pop ecx
pop ecx
jle 0x402b72
mov edx, dword [esi + edi*4]
mov ecx, ebx
call fcn.00406bfc
inc edi
cmp edi, dword [ebp - 0x4ac]
jl 0x402b5f
mov edi, ebx
call fcn.00406de3
mov edi, eax
test edi, edi
je 0x402ba4
call fcn.00409cf1
mov esi, 0x440ad0
push esi
call fcn.00409ab5
pop ecx
push edi
push str._ERROR__Attempt_to_launch_app_failed_with_return_code__ld___app_likely_did_not_launch_at_all__n
call fcn.00409ab5
push esi
call fcn.00409ab5
add esp, 0xc
push edi
jmp 0x402018