Function at 0x40280f
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x908]
sub esp, 0x908
push 0xffffffffffffffff
push 0x40d2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x41a174]
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 edi, dword [ebp + 0x914]
xor eax, eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push str.jp2launcher
mov dword [ebp - 4], eax
call fcn.0040d04b
pop ecx
call fcn.004027ee
mov ebx, dword [ebp + 0x910]
mov esi, dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
cmp ebx, 1
jle 0x4028df
push 0x40e7ac
push dword [edi + 4]
call esi
pop ecx
pop ecx
test eax, eax
jne 0x4028af
push edi
push ebx
call fcn.00403209
pop ecx
pop ecx
mov esi, eax
call fcn.004019e9
lea ecx, [ebp - 0x1c]
call fcn.00402dd6
mov eax, esi
jmp 0x402b89
push str._securejws
push dword [edi + 4]
call esi
pop ecx
pop ecx
test eax, eax
jne 0x4028c8
push edi
push ebx
call fcn.004022c5
jmp 0x402897
push str._sjed
push dword [edi + 4]
call esi
pop ecx
pop ecx
test eax, eax
jne 0x4028df
call fcn.00402530
jmp 0x402899
cmp ebx, 4
jge 0x4028f7
push ebx
push str.Invalid_number_of_arguments._argc__d_n
call fcn.00401a09
xor esi, esi
inc esi
jmp 0x402b68
lea eax, [ebp - 0x1c]
push eax
push dword [edi]
call fcn.004020fa
pop ecx
pop ecx
test eax, eax
jne 0x40291a
push str.Cannot_add_constant_arguments..._n
call fcn.00401a09
xor esi, esi
inc esi
jmp 0x402b69
xor esi, esi
inc esi
cmp ebx, esi
jle 0x4029ba
push dword [edi + esi*4]
call fcn.0040d04b
pop ecx
test eax, eax
je 0x4029ba
push 0x16
push 0x40e814
push dword [edi + esi*4]
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcmp]
add esp, 0xc
test eax, eax
je 0x4029e0
push dword [edi + esi*4]
call fcn.00401398
pop ecx
test eax, eax
jne 0x4029a6
push dword [edi + esi*4]
call fcn.00401d99
pop ecx
test eax, eax
je 0x4029a6
push dword [edi + esi*4]
call fcn.0040606c
pop ecx
test al, al
je 0x40298c
push dword [edi + esi*4]
call fcn.0040600b
push eax
call fcn.0040d04b
pop ecx
pop ecx
test al, al
je 0x4029c8
push dword [edi + esi*4]
call fcn.00401aee
pop ecx
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
call fcn.00402d2c
jmp 0x4029b1
push 0x40e854
call fcn.00401a09
pop ecx
inc esi
cmp esi, ebx
jl 0x402925
cmp esi, ebx
jne 0x4029ea
push str.Invalid_arguments:_no_main_class_found_n
jmp 0x40290d
push 0x40e840
call fcn.00401a09
pop ecx
call fcn.004019e9
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push 0x40e82c
jmp 0x40290d
lea eax, [edi + esi*4]
push 0x40e890
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 0x402a0a
push str.Invalid_arguments:_PluginMain_main_class_not_found_n
jmp 0x40290d
lea eax, [edi + esi*4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402d2c
inc esi
cmp esi, ebx
jge 0x402a39
lea eax, [edi + esi*4]
sub ebx, esi
mov dword [ebp - 0x10], eax
mov edi, eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00402d2c
add edi, 4
sub ebx, 1
jne 0x402a25
mov edi, dword [ebp - 0x20]
push 0x104
lea eax, [ebp + 0x800]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor ebx, ebx
lea eax, [ebp + 0x800]
inc ebx
push ebx
push eax
push dword [edi]
call fcn.00401dba
add esp, 0x18
test eax, eax
jne 0x402a76
push str.Error_during_getting_jre_home..._n
call fcn.00401a09
mov esi, ebx
jmp 0x402b69
lea eax, [ebp + 0x800]
mov esi, 0x400
push eax
push str._s_binjava.exe
lea eax, [ebp + 0x400]
push esi
push eax
call fcn.00402e32
lea eax, [ebp + 0x400]
push eax
push str.__s_
lea eax, [ebp]
push esi
push eax
call fcn.00402e32
add esp, 0x20
lea eax, [ebp]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push eax
call fcn.00402cd1
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00401beb
mov edi, eax
push edi
push str.commandLine:__s_n
call fcn.00401a09
mov esi, dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__putenv]
push 0x40e938
call esi
push 0x40e944
call fcn.0040d04b
add esp, 0x18
test al, al
jne 0x402b04
push 0x40e954
call esi
pop ecx
push 0x40e964
call fcn.0040d04b
pop ecx
test al, al
jne 0x402b1b
push 0x40e978
call esi
pop ecx
push 0x44
pop esi
push esi
lea eax, [ebp - 0x74]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x30]
mov dword [ebp - 0x74], esi
push eax
lea eax, [ebp - 0x74]
push eax
xor eax, eax
push eax
push eax
push 0x8000000
push ebx
push eax
push eax
lea eax, [ebp + 0x400]
push edi
push eax
call fcn.0040d04b
add esp, 0x34
test eax, eax
jne 0x402b6f
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push str.CreateProcess_failed__d_n
call fcn.00401a09
mov esi, ebx
pop ecx
pop ecx
jmp 0x40289b
push 0xffffffffffffffff
push dword [ebp - 0x30]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
call fcn.004019e9
lea ecx, [ebp - 0x1c]
call fcn.00402dd6
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.0040baa8
add ebp, 0x908
leave
ret