Function at 0x4027fb
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x908]
sub esp, 0x908
push 0xffffffffffffffff
push 0x40d7bd
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x41a1d4]
xor eax, ebp
mov dword [ebp + 0x904], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x914]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
push str.jp2launcher
mov dword [ebp - 4], eax
call fcn.00401915
pop ecx
call fcn.004027da
mov edi, dword [ebp + 0x910]
mov ebx, dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
cmp edi, 1
jle 0x4028d8
push 0x40e6e0
push dword [esi + 4]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x4028a8
push esi
push edi
call fcn.0040331a
pop ecx
pop ecx
mov esi, eax
call fcn.004019d3
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4028a1
mov eax, dword [ebp - 0x10]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.00402c9d
pop ecx
pop ecx
mov eax, esi
jmp 0x402bed
push str._securejws
push dword [esi + 4]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x4028c1
push esi
push edi
call fcn.004022b5
jmp 0x402880
push str._sjed
push dword [esi + 4]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x4028d8
call fcn.00402517
jmp 0x402882
cmp edi, 4
jge 0x402909
push edi
push str.Invalid_number_of_arguments._argc__d_n
call fcn.004019f3
pop ecx
pop ecx
call fcn.004019d3
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x402bbe
mov eax, dword [ebp - 0x10]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
jmp 0x402bb7
lea eax, [ebp - 0x18]
push eax
push dword [esi]
call fcn.004020ea
pop ecx
pop ecx
test eax, eax
jne 0x402926
push str.Cannot_add_constant_arguments..._n
call fcn.004019f3
jmp 0x4028e9
xor ebx, ebx
inc ebx
push dword [esi + ebx*4]
call fcn.00401bac
pop ecx
test eax, eax
je 0x4029d1
push 0x16
push 0x40e748
push dword [esi + ebx*4]
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcmp]
add esp, 0xc
test eax, eax
je 0x4029f7
push dword [esi + ebx*4]
call fcn.0040139e
pop ecx
test eax, eax
jne 0x4029bd
push dword [esi + ebx*4]
call fcn.00401d89
pop ecx
test eax, eax
je 0x4029bd
push dword [esi + ebx*4]
call fcn.00405ed2
pop ecx
test al, al
je 0x402990
push dword [esi + ebx*4]
call fcn.00405e71
push eax
call fcn.0040568b
pop ecx
pop ecx
test al, al
je 0x4029df
push dword [esi + ebx*4]
call fcn.00401ada
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
cmp eax, dword [ebp - 0x10]
je 0x4029ae
mov dword [eax], ecx
add dword [ebp - 0x14], 4
jmp 0x4029c8
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00402cf5
jmp 0x4029c8
push 0x40e788
call fcn.004019f3
pop ecx
inc ebx
cmp ebx, edi
jl 0x402929
cmp ebx, edi
jne 0x402a01
push str.Invalid_arguments:_no_main_class_found_n
jmp 0x40291f
push 0x40e774
call fcn.004019f3
pop ecx
call fcn.004019d3
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 0x40e760
jmp 0x40291f
lea eax, [esi + ebx*4]
push 0x40e7c4
push dword [eax]
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
pop ecx
pop ecx
test eax, eax
je 0x402a21
push str.Invalid_arguments:_PluginMain_main_class_not_found_n
jmp 0x40291f
mov ecx, dword [ebp - 0x14]
lea eax, [esi + ebx*4]
cmp ecx, dword [ebp - 0x10]
je 0x402a3b
mov eax, dword [eax]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov dword [ebp - 0x14], ecx
jmp 0x402a48
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.00402cf5
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + 1]
cmp eax, edi
jge 0x402a7d
lea ebx, [esi + eax*4]
sub edi, eax
cmp ecx, dword [ebp - 0x10]
je 0x402a68
mov eax, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov dword [ebp - 0x14], ecx
jmp 0x402a75
push ebx
push ecx
lea ecx, [ebp - 0x18]
call fcn.00402cf5
mov ecx, dword [ebp - 0x14]
add ebx, 4
sub edi, 1
jne 0x402a54
push 0x104
xor ebx, ebx
lea eax, [ebp + 0x800]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
push 1
lea eax, [ebp + 0x800]
push eax
push dword [esi]
call fcn.00401daa
add esp, 0x18
test eax, eax
jne 0x402ab2
push str.Error_during_getting_jre_home..._n
jmp 0x40291f
lea eax, [ebp + 0x800]
mov esi, 0x400
push eax
push str._s_binjava.exe
lea eax, [ebp + 0x400]
push esi
push eax
call fcn.00402fc4
lea eax, [ebp + 0x400]
push eax
push str.__s_
lea eax, [ebp]
push esi
push eax
call fcn.00402fc4
add esp, 0x20
lea eax, [ebp]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
call fcn.00402db0
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00401bd6
mov edi, eax
push edi
push str.commandLine:__s_n
call fcn.004019f3
mov esi, dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__putenv]
push 0x40e86c
call esi
push 0x40e878
call fcn.0040574d
add esp, 0x18
test al, al
jne 0x402b3f
push 0x40e888
call esi
pop ecx
push 0x40e898
call fcn.0040574d
pop ecx
test al, al
jne 0x402b56
push 0x40e8ac
call esi
pop ecx
push 0x44
pop esi
push esi
lea eax, [ebp - 0x74]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x30]
mov dword [ebp - 0x74], esi
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push 0x8000000
push 1
push ebx
push ebx
lea eax, [ebp + 0x400]
push edi
push eax
call fcn.00408607
add esp, 0x34
test eax, eax
jne 0x402bc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed__d_n
call fcn.004019f3
pop ecx
pop ecx
call fcn.004019d3
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x402bbe
mov ecx, dword [ebp - 0x10]
sub ecx, edx
and ecx, 0xfffffffc
push ecx
push edx
call fcn.00402c9d
pop ecx
pop ecx
xor eax, eax
inc eax
jmp 0x402bed
push 0xffffffffffffffff
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.004019d3
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x402beb
mov eax, dword [ebp - 0x10]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.00402c9d
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x904]
xor ecx, ebp
call fcn.0040bfab
add ebp, 0x908
leave
ret