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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x626c
call fcn.0041f310
mov eax, dword [0x448504]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x6220], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x6244], eax
mov eax, dword [ebp + 0x1c]
push esi
push edi
mov dword [ebp - 0x624c], eax
mov eax, dword [ebp + 0x24]
mov esi, edx
push str.Launching
mov dword [ebp - 0x6258], ebx
mov edi, ecx
mov dword [ebp - 0x621c], esi
mov dword [ebp - 0x6260], eax
call fcn.0040a36d
pop ecx
push esi
push dword [ebp + 0x20]
push ebx
push edi
push str._Extractor__Launching__s_from_master_folder__s_of_class__d_using_JRE__s_n
call fcn.0040a1bf
add esp, 0x14
mov esi, 0xfa0
push esi
call fcn.00418ea7
and dword [ebp - 0x6228], 0
pop ecx
push esi
mov dword [ebp - 0x623c], eax
call fcn.00418ea7
pop ecx
mov dword [ebp - 0x622c], eax
push edi
push ebx
lea eax, [ebp - 0x4e90]
call fcn.0040a138
push str.JWrapperLaunch
push edi
push ebx
lea eax, [ebp - 0x6218]
call fcn.0040a156
add esp, 0x14
mov edi, 0x440074
lea eax, [ebp - 0x6218]
push edi
push eax
call fcn.0041a3a4
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
mov dword [ebp - 0x6234], ebx
jne 0x401fe8
lea eax, [ebp - 0x6218]
push eax
push str.Unable_to_open_launch_file__s_n
call fcn.0040a270
pop ecx
pop ecx
push 1
call fcn.00419ee8
push ebx
call fcn.00408868
pop ecx
push ebx
mov dword [ebp - 0x6230], eax
call fcn.00408857
pop ecx
push ebx
mov dword [ebp - 0x6268], eax
call fcn.00408857
pop ecx
push ebx
call fcn.00408857
pop ecx
push ebx
mov dword [ebp - 0x6250], eax
call fcn.00408857
pop ecx
push ebx
call fcn.00408868
pop ecx
push ebx
call fcn.00408868
pop ecx
push ebx
mov dword [ebp - 0x625c], eax
call fcn.00408868
and dword [ebp - 0x6254], 0
pop ecx
push dword [ebp - 0x621c]
mov dword [ebp - 0x6224], eax
push dword [ebp - 0x6258]
call fcn.0040a516
cmp dword [ebp + 0x20], 0
pop ecx
pop ecx
mov dword [ebp - 0x6248], eax
jne 0x4021ca
test eax, eax
je 0x4021bb
push eax
push str._Extractor__Using_private_JRE__s_n
call fcn.0040a1bf
push 0x43fca0
push dword [ebp - 0x6248]
lea eax, [ebp - 0x2780]
push dword [ebp - 0x6258]
call fcn.0040a156
add esp, 0x14
lea eax, [ebp - 0x2780]
push str.windowslauncher.exe
push eax
lea eax, [ebp - 0x13f8]
call fcn.0040a138
pop ecx
pop ecx
lea esi, [ebp - 0x13f8]
call fcn.00409a64
test eax, eax
jne 0x4020d7
lea eax, [ebp - 0x2780]
push str.javaw.exe
push eax
mov eax, esi
call fcn.0040a138
pop ecx
pop ecx
push dword [ebp - 0x6250]
lea esi, [ebp - 0x2780]
call fcn.0040a0b9
mov eax, esi
mov dword [esp], str..exe
push eax
call fcn.004190d0
pop ecx
pop ecx
call fcn.00409a64
test eax, eax
jne 0x402145
mov eax, esi
push eax
push str._Extractor__Copying_FILE__s_n
call fcn.0040a1bf
lea eax, [ebp - 0x13f8]
push edi
push eax
call fcn.0041a3a4
add esp, 0x10
test eax, eax
jne 0x402136
lea eax, [ebp - 0x13f8]
push eax
push str._Extractor___Unable_to_open_source_file_for_copy__s_n
call fcn.0040a1bf
jmp 0x402143
push eax
lea eax, [ebp - 0x2780]
push eax
call fcn.004019fe
pop ecx
pop ecx
mov esi, dword [ebp - 0x6248]
push esi
call fcn.00419030
or dword [ebp - 0x6238], 0xffffffff
pop ecx
xor ecx, ecx
test eax, eax
jle 0x402170
cmp byte [ecx + esi], 0x5c
jne 0x40216b
mov dword [ebp - 0x6238], ecx
inc ecx
cmp ecx, eax
jl 0x40215f
push 0x2710
call fcn.00418ea7
mov dword [esp], str.JRE_LastSuccessfulOptions_
push str.JWApps
push dword [ebp - 0x6258]
mov esi, eax
mov dword [ebp - 0x6254], esi
call fcn.0040a156
mov ecx, dword [ebp - 0x6248]
mov eax, dword [ebp - 0x6238]
add esp, 0xc
lea eax, [eax + ecx + 1]
push eax
push esi
call fcn.004190d0
push esi
push str._Extractor__JRE_LSO_file_is__s_n
jmp 0x4021f5
push str.No_private_JRE_available__n
call fcn.0040a270
jmp 0x401fe0
cmp dword [ebp + 0x20], 1
jne 0x4021fd
push dword [ebp - 0x621c]
lea eax, [ebp - 0x2780]
push eax
mov byte [ebp - 0x2780], 0
call fcn.004190d0
lea eax, [ebp - 0x2780]
push eax
push str._Extractor__Checking_for_existing_system_JRE__s_n
call fcn.0040a1bf
add esp, 0x10
cmp dword [ebp - 0x625c], 0
jle 0x402238
push 0x64
call fcn.00418ea7
pop ecx
push 0
push dword [ebp - 0x625c]
mov esi, eax
push str._Xmx_dm_c
push esi
call fcn.00419b6d
mov eax, dword [ebp - 0x622c]
add esp, 0x10
mov dword [eax], esi
mov dword [ebp - 0x6228], 1
cmp dword [ebp - 0x6224], 0
jle 0x402276
push 0x64
call fcn.00418ea7
pop ecx
push 0
push dword [ebp - 0x6224]
mov esi, eax
push str._Xms_dm_c
push esi
call fcn.00419b6d
mov ecx, dword [ebp - 0x6228]
mov eax, dword [ebp - 0x622c]
add esp, 0x10
inc dword [ebp - 0x6228]
mov dword [eax + ecx*4], esi
push str._Extractor__Building_classpath_n
call fcn.0040a1bf
pop ecx
push ebx
call fcn.00408868
mov esi, eax
pop ecx
shl eax, 2
push eax
mov dword [ebp - 0x6240], esi
call fcn.00418ea7
and dword [ebp - 0x6250], 0
test esi, esi
pop ecx
mov dword [ebp - 0x6238], eax
jle 0x402305
push ebx
call fcn.00408857
pop ecx
mov dword [ebp - 0x6264], eax
call fcn.0040a127
push 0x3e8
call fcn.00418ea7
pop ecx
push dword [ebp - 0x6264]
mov esi, eax
lea eax, [ebp - 0x4e90]
push eax
mov eax, esi
call fcn.0040a138
pop ecx
pop ecx
mov eax, esi
call fcn.0040a127
mov eax, dword [ebp - 0x6250]
mov ecx, dword [ebp - 0x6238]
mov dword [ecx + eax*4], esi
inc eax
cmp eax, dword [ebp - 0x6240]
mov dword [ebp - 0x6250], eax
jl 0x4022ab
push str._Extractor__Creating_launch_properties_n
call fcn.0040a1bf
pop ecx
push dword [ebp - 0x6220]
call fcn.004086f3
pop ecx
add eax, 0x30d40
push eax
call fcn.00418ea7
pop ecx
push dword [ebp - 0x6220]
mov ebx, eax
mov byte [ebx], 0
call fcn.004086f3
pop ecx
inc eax
inc eax
push eax
push dword [ebp - 0x6220]
push ebx
call fcn.00419600
add esp, 0xc
push dword [ebp - 0x6244]
mov esi, str.update_url
push esi
mov eax, ebx
call fcn.0040879b
push 0x44051c
push dword [ebp - 0x6244]
call fcn.0041a840
add esp, 0x10
test eax, eax
jne 0x40238d
cmp dword [ebp - 0x624c], eax
je 0x40238d
push dword [ebp - 0x624c]
mov eax, ebx
push esi
call fcn.004087c3
pop ecx
pop ecx
lea eax, [ebp - 0x4e90]
push eax
push str.app_dir
mov eax, ebx
call fcn.0040879b
push dword [ebp - 0x621c]
mov eax, ebx
push str.jre_name
call fcn.0040879b
push dword [ebp - 0x6260]
mov eax, ebx
push str.launched_from_dynprops
call fcn.0040879b
push str._Extractor__Checking_LSO_file_n
call fcn.0040a1bf
add esp, 0x1c
cmp dword [ebp - 0x6254], 0
je 0x4025b3
mov esi, dword [ebp - 0x6254]
push esi
push str._Extractor__Reading__s_n
call fcn.0040a1bf
push edi
push esi
call fcn.0041a3a4
and dword [ebp - 0x6220], 0
add esp, 0x10
mov dword [ebp - 0x621c], eax
call fcn.00409a64
test eax, eax
je 0x402461
cmp dword [ebp - 0x621c], 0
jne 0x40246e
cmp dword [ebp - 0x6220], 5
jge 0x4025be
push dword [ebp - 0x6220]
push str._Extractor__LSO_file_does_exist._Retrying___d_...
call fcn.0040a1bf
push edi
push dword [ebp - 0x6254]
call fcn.0041a3a4
add esp, 0x10
test eax, eax
mov dword [ebp - 0x621c], eax
jne 0x40246e
inc dword [ebp - 0x6220]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x402418
cmp dword [ebp - 0x621c], 0
je 0x4025be
push str._Extractor__JRE_LSO_file_exists_n
call fcn.0040a1bf
pop ecx
mov edi, 0x1388
push edi
lea eax, [ebp - 0x13f8]
push 0
push eax
call fcn.0041a540
add esp, 0xc
push dword [ebp - 0x621c]
call fcn.00408868
pop ecx
mov esi, eax
push esi
push str._Extractor__Found__ld_JVM_Options_n
mov dword [ebp - 0x6260], esi
call fcn.0040a1bf
push esi
lea eax, [ebp - 0x13f8]
push 0x440600
push eax
call fcn.00419b6d
add esp, 0x14
lea eax, [ebp - 0x13f8]
push eax
push str.jvm_options_count
mov eax, ebx
call fcn.0040879b
and dword [ebp - 0x6220], 0
test esi, esi
pop ecx
pop ecx
jle 0x4025a6
push dword [ebp - 0x621c]
call fcn.00408857
pop ecx
mov ecx, dword [ebp - 0x6228]
inc dword [ebp - 0x6228]
mov esi, eax
mov eax, dword [ebp - 0x622c]
push edi
mov dword [eax + ecx*4], esi
lea eax, [ebp - 0x13f8]
push 0
push eax
call fcn.0041a540
add esp, 0xc
push dword [ebp - 0x6220]
lea eax, [ebp - 0x13f8]
push str.jvm_options__d
push eax
call fcn.00419b6d
add esp, 0xc
push esi
call fcn.00419030
cmp eax, 0x64
pop ecx
jae 0x402552
push esi
lea eax, [ebp - 0x13f8]
push eax
push str._Extractor__Launch_Prop:__s___s_n
jmp 0x402575
push 0x63
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.0041a410
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x13f8]
push eax
mov byte [ebp - 0xd], 0
push str._Extractor__Launch_Prop:__s___s..._n
call fcn.0040a1bf
add esp, 0xc
lea eax, [ebp - 0x13f8]
push esi
push eax
mov eax, ebx
call fcn.0040879b
inc dword [ebp - 0x6220]
mov eax, dword [ebp - 0x6220]
cmp eax, dword [ebp - 0x6260]
pop ecx
pop ecx
jl 0x4024e8
push dword [ebp - 0x621c]
call fcn.0041bd31
jmp 0x4025bd
push str.Not_a_private_JRE__no_need_to_check_for_LSO_file__n
call fcn.0040a270
pop ecx
push str._Extractor__Writing_launch_properties_file_n
call fcn.0040a1bf
pop ecx
lea eax, [ebp - 0x3b08]
push 1
push eax
lea edi, [ebp - 0x4e90]
mov byte [ebp - 0x3b08], 0
call fcn.00401d89
push ebx
call fcn.004086f3
add esp, 0xc
push eax
lea eax, [ebp - 0x3b08]
push eax
push str._Extractor__Writing_launch_properties_to__s__length:__d__n
call fcn.0040a1bf
add esp, 0xc
lea eax, [ebp - 0x3b08]
push 0x4400c8
push eax
call fcn.0041a3a4
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x4026e9
and dword [ebp - 0x6220], eax
lea eax, [ebp - 0x3b08]
push 1
push eax
lea edi, [ebp - 0x4e90]
mov byte [ebp - 0x3b08], 0
call fcn.00401d89
lea eax, [ebp - 0x3b08]
push eax
push str._Retry__Writing_launch_properties_to__s_n
call fcn.0040a1bf
lea eax, [ebp - 0x3b08]
push 0x4400c8
push eax
call fcn.0041a3a4
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4026e9
inc dword [ebp - 0x6220]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x6220], 5
jl 0x402625
push 0x800
call fcn.00418ea7
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.0040a1bf
lea eax, [ebp - 0x3b08]
push esi
push eax
mov byte [ebp - 0x3b08], 0
call fcn.00401d89
lea eax, [ebp - 0x3b08]
push 0x4400c8
push eax
call fcn.0041a3a4
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4026e9
push str.Unable_to_write_Launch_Properties_file__Cannot_run__n
call fcn.0040a270
pop ecx
push 0x63
jmp 0x401fe3
push str._Extractor__Writing_to_file_n
call fcn.0040a1bf
pop ecx
push esi
push ebx
call fcn.004086f3
pop ecx
push eax
xor edi, edi
inc edi
push edi
push ebx
call fcn.0041b55a
push esi
call fcn.0041a244
add esp, 0x14
push esi
call fcn.0041bd31
mov dword [esp], str._Extractor__Finished_writing_launch_properties_file_n
call fcn.0040a1bf
mov esi, dword [ebp - 0x623c]
pop ecx
push dword [ebp - 0x6234]
lea eax, [ebp - 0x3b08]
mov dword [esi], eax
mov dword [ebp - 0x621c], edi
call fcn.00408868
pop ecx
mov edi, eax
push edi
push str._Extractor__Reading__ld_extra_args_n
call fcn.0040a1bf
xor ebx, ebx
cmp edi, ebx
pop ecx
pop ecx
jle 0x402776
push dword [ebp - 0x6234]
call fcn.00408857
pop ecx
mov ecx, dword [ebp - 0x621c]
inc dword [ebp - 0x621c]
dec edi
mov dword [esi + ecx*4], eax
jne 0x402758
cmp dword [ebp - 0x6230], 3
mov dword [ebp - 0x6244], ebx
jl 0x4027a4
push dword [ebp - 0x6234]
call fcn.00408857
pop ecx
push eax
push str._Extractor__Read_JRE_compatibility_class__s_n
mov dword [ebp - 0x6244], eax
call fcn.0040a1bf
pop ecx
pop ecx
cmp dword [ebp - 0x6230], 4
jl 0x4027c5
push dword [ebp - 0x6234]
call fcn.00408857
pop ecx
push dword [ebp - 0x6234]
call fcn.00408857
pop ecx
cmp dword [ebp - 0x6230], 5
jl 0x40286b
push dword [ebp - 0x6234]
call fcn.00408868
mov esi, eax
xor eax, eax
cmp dword [ebp - 0x625c], ebx
pop ecx
jle 0x4027eb
inc eax
cmp dword [ebp - 0x6224], ebx
jle 0x4027f4
inc eax
mov edi, dword [ebp - 0x6228]
xor ebx, ebx
cmp eax, edi
sete bl
push ebx
push eax
push edi
push str._Extractor__jvmArgCount:_d_emptyArgs:_d_so_addToJVM:_d_n
call fcn.0040a1bf
push esi
push str._Extractor__Additional_JRE_option_count_is__d_n
call fcn.0040a1bf
add esp, 0x18
test esi, esi
jle 0x402871
mov dword [ebp - 0x624c], esi
push dword [ebp - 0x6234]
call fcn.00408857
test ebx, ebx
pop ecx
mov esi, eax
push esi
je 0x40284f
push str._Extractor__Added_option__s_n
call fcn.0040a1bf
mov eax, dword [ebp - 0x622c]
mov dword [eax + edi*4], esi
inc edi
jmp 0x402859
push str._Extractor__Skipping_option__s_n
call fcn.0040a1bf
dec dword [ebp - 0x624c]
pop ecx
pop ecx
jne 0x402826
mov dword [ebp - 0x6228], edi
jmp 0x402871
mov edi, dword [ebp - 0x6228]
cmp dword [ebp - 0x6230], 6
jl 0x402886
push dword [ebp - 0x6234]
call fcn.00408868
pop ecx
cmp dword [ebp - 0x6230], 7
jl 0x4028fc
test edi, edi
jle 0x402952
mov eax, dword [ebp - 0x622c]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x6224], eax
push dword [ebp - 0x6234]
call fcn.00408857
pop ecx
mov esi, eax
call fcn.00401209
test eax, eax
jne 0x4028e7
push esi
push str._Extractor__Ignoring_platform_specific_option__s_n
call fcn.0040a1bf
cmp ebx, edi
pop ecx
pop ecx
mov eax, ebx
jge 0x4028e6
mov ecx, dword [ebp - 0x622c]
mov ecx, dword [ecx + eax*4]
mov edx, dword [ebp - 0x6224]
inc eax
cmp eax, edi
mov dword [edx], ecx
jl 0x4028d0
dec edi
add dword [ebp - 0x6224], 4
inc ebx
lea eax, [ebx - 1]
cmp eax, edi
jl 0x4028a6
mov dword [ebp - 0x6228], edi
test edi, edi
jle 0x402952
mov ebx, dword [ebp - 0x622c]
xor esi, esi
inc esi
mov eax, dword [ebx]
push str.sun.awt.fontconfig
push eax
call fcn.0041a040
test eax, eax
pop ecx
pop ecx
je 0x402941
push dword [ebx]
push str._Extractor__Ignoring_invalid_option__s_n
call fcn.0040a1bf
cmp esi, edi
pop ecx
pop ecx
mov eax, esi
jge 0x402940
mov ecx, dword [ebp - 0x622c]
mov ecx, dword [ecx + eax*4]
inc eax
cmp eax, edi
mov dword [ebx], ecx
jl 0x402930
dec edi
inc esi
lea eax, [esi - 1]
add ebx, 4
cmp eax, edi
jl 0x402909
mov dword [ebp - 0x6228], edi
cmp dword [ebp + 0x20], 0
jne 0x402960
mov eax, dword [ebp - 0x6268]
jmp 0x40296c
cmp dword [ebp + 0x20], 1
jne 0x402972
mov eax, dword [ebp - 0x6244]
mov dword [ebp - 0x6230], eax
cmp dword [ebp + 0x10], 0
jle 0x40299d
mov ecx, dword [ebp - 0x621c]
mov eax, dword [ebp - 0x623c]
mov esi, dword [ebp + 0x14]
lea edi, [eax + ecx*4]
mov eax, dword [ebp + 0x10]
add dword [ebp - 0x621c], eax
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x6228]
lea eax, [ebp - 0x2780]
push eax
push str._Extractor___Launch__Executable:__s_n
call fcn.0040a1bf
push dword [ebp - 0x6230]
push str._Extractor___Launch__Class:__s_n
call fcn.0040a1bf
xor ebx, ebx
add esp, 0x10
xor esi, esi
cmp edi, ebx
jle 0x4029e5
mov eax, dword [ebp - 0x622c]
push dword [eax + esi*4]
push esi
push str._Extractor___Launch__JVM_Argument__d:__s_n
call fcn.0040a1bf
add esp, 0xc
inc esi
cmp esi, edi
jl 0x4029c9
xor esi, esi
cmp dword [ebp - 0x6240], ebx
jle 0x402a0f
mov eax, dword [ebp - 0x6238]
push dword [eax + esi*4]
push esi
push str._Extractor___Launch__ClassPath__d:__s_n
call fcn.0040a1bf
add esp, 0xc
inc esi
cmp esi, dword [ebp - 0x6240]
jl 0x4029ef
xor esi, esi
cmp dword [ebp - 0x621c], ebx
jle 0x402a39
mov eax, dword [ebp - 0x623c]
push dword [eax + esi*4]
push esi
push str._Extractor___Launch__App_Argument__d:__s_n
call fcn.0040a1bf
add esp, 0xc
inc esi
cmp esi, dword [ebp - 0x621c]
jl 0x402a19
push dword [ebp + 0x20]
push str._Extractor__This_is_a_newer_extractor..._launchclass_is__d_n
call fcn.0040a1bf
push dword [ebp - 0x6234]
call fcn.0041bd31
add esp, 0xc
cmp dword [ebp + 0x20], ebx
jne 0x402bc7
push dword [ebp - 0x6248]
lea eax, [ebp - 0x13f8]
push dword [ebp - 0x6258]
call fcn.0040a138
lea eax, [ebp - 0x13f8]
push eax
push str._Extractor__JRE_folder_is__s_n
call fcn.0040a1bf
add esp, 0x10
cmp dword [0x457db8], ebx
jne 0x402b07
push 0
push str._Extractor__Force_spawn_is__d_so_attempting_to_launch_via_JNI_n
call fcn.0040a1bf
mov esi, str.JNI_Launch
push esi
call fcn.0040a36d
add esp, 0xc
push dword [ebp - 0x623c]
lea eax, [ebp - 0x13f8]
push dword [ebp - 0x621c]
push dword [ebp - 0x6238]
push dword [ebp - 0x6240]
push dword [ebp - 0x622c]
push edi
push eax
push dword [ebp - 0x6230]
call fcn.00406564
mov ebx, eax
push ebx
push str._Extractor__Return_code_for_JNI_launch_was__d_n
call fcn.0040a1bf
push esi
call fcn.0040a395
add esp, 0x2c
test ebx, ebx
jne 0x402afc
xor eax, eax
jmp 0x402c82
push str._Extractor__JNI_launch_failed._Attempting_legacy_spawn_instead_n
call fcn.0040a1bf
pop ecx
push str._Extractor__Attempting_spawn_launch_n
call fcn.0040a1bf
mov dword [esp], str.Spawn_launch
call fcn.0040a36d
pop ecx
and dword [ebp - 0x6224], 0
lea eax, [ebp - 0x6224]
push eax
push dword [ebp - 0x623c]
lea eax, [ebp - 0x2780]
push dword [ebp - 0x621c]
push dword [ebp - 0x6238]
push dword [ebp - 0x6240]
push dword [ebp - 0x622c]
push edi
push dword [ebp - 0x6230]
push eax
call fcn.00401e1b
add esp, 0x24
mov esi, eax
call fcn.0040a3bd
call fcn.0040744c
push dword [esi]
mov edi, eax
push edi
call fcn.004074a5
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x6224], ebx
pop ecx
pop ecx
jle 0x402b96
mov edx, dword [esi + ebx*4]
mov ecx, edi
call fcn.0040747a
inc ebx
cmp ebx, dword [ebp - 0x6224]
jl 0x402b83
call fcn.00407652
mov edi, eax
test edi, edi
je 0x402bc1
mov esi, 0x440b60
push esi
call fcn.0040a1bf
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.0040a1bf
push esi
call fcn.0040a1bf
add esp, 0xc
push edi
jmp 0x401fe3
cmp dword [ebp + 0x20], 1
jne 0x402c7f
and dword [ebp - 0x6224], 0
lea eax, [ebp - 0x6224]
push eax
push dword [ebp - 0x623c]
lea eax, [ebp - 0x2780]
push dword [ebp - 0x621c]
push dword [ebp - 0x6238]
push dword [ebp - 0x6240]
push dword [ebp - 0x622c]
push edi
push dword [ebp - 0x6230]
push eax
call fcn.00401e1b
add esp, 0x24
mov esi, eax
call fcn.0040a3bd
call fcn.0040744c
push dword [esi]
mov edi, eax
push edi
call fcn.004074a5
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x6224], ebx
pop ecx
pop ecx
jle 0x402c49
mov edx, dword [esi + ebx*4]
mov ecx, edi
call fcn.0040747a
inc ebx
cmp ebx, dword [ebp - 0x6224]
jl 0x402c36
call fcn.004074d4
push edi
mov ebx, eax
call fcn.00418dca
test ebx, ebx
pop ecx
je 0x402c7b
mov esi, 0x440b60
push esi
call fcn.0040a1bf
pop ecx
push ebx
push str._ERROR__Attempt_to_launch_app_failed_with_return_code__ld___app_likely_did_not_launch_at_all__n
call fcn.0040a1bf
push esi
call fcn.0040a1bf
add esp, 0xc
mov eax, ebx
jmp 0x402c82
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418dbb
leave
ret