Function at 0x4027fb
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x908]
sub esp, 0x908
push 0xffffffffffffffff
push 0x40dacd
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x41b1b4]
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 0x40f72c
push dword [esi + 4]
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x4028a8
push esi
push edi
call fcn.004033d8
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.00402ccb
pop ecx
pop ecx
mov eax, esi
jmp 0x402c1b
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 0x402bec
mov eax, dword [ebp - 0x10]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
jmp 0x402be5
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 0x40f794
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.00406045
pop ecx
test al, al
je 0x402990
push dword [esi + ebx*4]
call fcn.00405fe4
push eax
call fcn.004057fe
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.00402cf7
jmp 0x4029c8
push 0x40f7d4
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 0x40f7c0
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 0x40f7ac
jmp 0x40291f
lea eax, [esi + ebx*4]
push 0x40f810
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.00402cf7
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.00402cf7
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]
push esi
push eax
call fcn.00402f91
lea eax, [ebp]
push eax
push str.__s_
lea eax, [ebp + 0x400]
push esi
push eax
call fcn.00402f91
mov edx, dword [ebp - 0x14]
lea eax, [ebp + 0x400]
mov esi, dword [ebp - 0x18]
add esp, 0x20
mov dword [ebp - 0x1c], eax
cmp edx, dword [ebp - 0x10]
je 0x402b26
cmp esi, edx
jne 0x402b06
mov dword [edx], eax
add dword [ebp - 0x14], 4
jmp 0x402b33
lea ecx, [edx - 4]
mov eax, dword [ecx]
push edx
push ecx
mov dword [edx], eax
add dword [ebp - 0x14], 4
push esi
call fcn.00402c8c
lea eax, [ebp + 0x400]
add esp, 0xc
mov dword [esi], eax
jmp 0x402b33
lea eax, [ebp - 0x1c]
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.00402cf7
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 0x40f8b8
call esi
push 0x40f8c4
call fcn.004058c0
add esp, 0x18
test al, al
jne 0x402b70
push 0x40f8d4
call esi
pop ecx
push 0x40f8e4
call fcn.004058c0
pop ecx
test al, al
jne 0x402b87
push 0x40f8f8
call esi
pop ecx
push 0x44
pop esi
push esi
lea eax, [ebp - 0x70]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x70], esi
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push 0x8000000
push 1
push ebx
push ebx
lea eax, [ebp]
push edi
push eax
call fcn.00408889
add esp, 0x34
test eax, eax
jne 0x402bf1
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 0x402bec
mov ecx, dword [ebp - 0x10]
sub ecx, edx
and ecx, 0xfffffffc
push ecx
push edx
call fcn.00402ccb
pop ecx
pop ecx
xor eax, eax
inc eax
jmp 0x402c1b
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.004019d3
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x402c19
mov eax, dword [ebp - 0x10]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.00402ccb
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.0040c2bc
add ebp, 0x908
leave
ret