Function at 0x404880
Capabilities:
Execute command
Get system information on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push str.java__version__nul_2_1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wsystem]
add esp, 4
test eax, eax
je 0x4049eb
push 0xd
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
push str.JDK_not_found
lea ecx, [esp + 0x18]
movaps xmmword [esp + 0x18], xmm0
mov dword [esp + 0x2c], 0
call fcn.00405df0
push 0x96
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
push str.Java_is_not_found_in_PATH._Please_install_JDK_17_or_higher_and_add_it_to_the_PATH._n_nDownload_link:_https:__www.oracle.com_java_technologies_downloads_
lea ecx, [esp + 0x38]
movaps xmmword [esp + 0x38], xmm0
mov dword [esp + 0x4c], 0
call fcn.00405df0
cmp dword [esp + 0x24], 7
lea ecx, [esp + 0x10]
push 0x10
cmova ecx, dword [esp + 0x14]
lea eax, [esp + 0x34]
cmp dword [esp + 0x48], 7
push ecx
cmova eax, dword [esp + 0x38]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x44]
cmp ecx, 7
jbe 0x40497b
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404971
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4049c0
push ecx
push edx
call fcn.0040714a
add esp, 8
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 7
mov word [esp + 0x30], ax
cmp ecx, 7
jbe 0x4049d0
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4049c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4049c6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040714a
add esp, 8
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00406ff2
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0xd0]
call fcn.00402e50
cmp dword [esp + 0xe0], 0
jne 0x404b0c
push 0xd
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
push str.JDK_not_found
lea ecx, [esp + 0x18]
movaps xmmword [esp + 0x18], xmm0
mov dword [esp + 0x2c], 0
call fcn.00405df0
push 0x6b
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
push str.Failed_to_determine_Java_version._n_nCheck_if_JDK17_is_installed_and_the_path_is_correct_in_the_System_PATH.
lea ecx, [esp + 0x38]
movaps xmmword [esp + 0x38], xmm0
mov dword [esp + 0x4c], 0
call fcn.00405df0
cmp dword [esp + 0x24], 7
lea ecx, [esp + 0x10]
push 0x10
cmova ecx, dword [esp + 0x14]
lea eax, [esp + 0x34]
cmp dword [esp + 0x48], 7
push ecx
cmova eax, dword [esp + 0x38]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x44]
cmp ecx, 7
jbe 0x404ab5
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404aab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b06
push ecx
push edx
call fcn.0040714a
add esp, 8
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 7
mov word [esp + 0x30], ax
cmp ecx, 7
jbe 0x404ca4
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404c9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404c9a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea ecx, [esp + 0xd0]
call fcn.00403160
test al, al
jne 0x404cae
push 0x15
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
push str.Incorrect_JDK_version
lea ecx, [esp + 0x18]
movaps xmmword [esp + 0x18], xmm0
mov dword [esp + 0x2c], 0
call fcn.00405df0
mov ecx, dword [esp + 0xe0]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0x32
jb 0x405070
cmp dword [esp + 0xe4], 7
lea eax, [esp + 0xd0]
push ecx
cmova eax, dword [esp + 0xd4]
push eax
push 0x32
push str.Java_17_or_higher_is_required._Current_version_is
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x48]
call fcn.00406780
push str._n_nDownload_link:_https:__www.oracle.com_java_technologies_downloads_
lea edx, [esp + 0x34]
lea ecx, [esp + 0x5c]
call fcn.00405900
add esp, 4
lea ecx, [esp + 0x10]
cmp dword [esp + 0x24], 7
cmova ecx, dword [esp + 0x10]
cmp dword [eax + 0x14], 7
jbe 0x404bb8
mov eax, dword [eax]
push 0x10
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [esp + 0x6c]
cmp ecx, 7
jbe 0x404c00
mov edx, dword [esp + 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404bf6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404c94
push ecx
push edx
call fcn.0040714a
add esp, 8
mov ecx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 7
mov word [esp + 0x58], ax
cmp ecx, 7
jbe 0x404c4f
mov edx, dword [esp + 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404c45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404c94
push ecx
push edx
call fcn.0040714a
add esp, 8
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 7
mov word [esp + 0x30], ax
cmp ecx, 7
jbe 0x404ca4
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404c9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404c9a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040714a
add esp, 8
mov esi, 1
jmp 0x405014
lea eax, [esp + 0xe8]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [esp + 0xe8], 9
lea ecx, [esp + 0xb0]
push str..__istack_commons_runtime.jar_jassimp.jar_javacord_2.0.17_shaded.jar_javax.activation_api.jar_jaxb_api.jar_jaxb_runtime.jar_lwjgl.jar_lwjgl_glfw.jar_lwjgl_jemalloc.jar_lwjgl_opengl.jar_lwjgl_util.jar_sqlite_jdbc_3.27.2.1.jar_trove_3.0.3.jar_uncommons_maths_1.2.3.jar_commons_compress_1.18.jar_
push dword [esp + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0xc8], 0
sete byte [esp + 0x13]
movaps xmmword [esp + 0xb8], xmm0
xor eax, eax
movaps xmmword [esp + 0x78], xmm0
movaps xmmword [esp + 0x98], xmm0
push 0x125
mov dword [esp + 0xd0], 7
mov word [esp + 0xbc], ax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 7
mov word [esp + 0x7c], ax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], 7
mov word [esp + 0x9c], ax
call fcn.00405b30
mov eax, dword [esp + 0x84]
cmp eax, 3
jb 0x404d88
cmp eax, 7
mov dword [esp + 0x80], 3
push 6
lea esi, [esp + 0x74]
cmova esi, dword [esp + 0x74]
push 0x4096cc
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + 6], ax
jmp 0x404d9c
push 0x4096cc
push dword [esp + 0x10]
lea ecx, [esp + 0x78]
push 3
call fcn.00405b30
cmp byte [esp + 0xb], 0
mov edx, str._XX:UseZGC__Xmx3072m
mov eax, str._XX:UseG1GC__Xmx1200m
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404db3
mov eax, dword [esp + 0xa4]
sub ecx, esi
sar ecx, 1
cmp ecx, eax
ja 0x404e00
lea esi, [ecx + ecx]
mov dword [esp + 0xa0], ecx
cmp eax, 7
lea edi, [esp + 0x90]
push esi
cmova edi, dword [esp + 0x94]
push edx
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov edi, dword [esp + 0xc]
jmp 0x404e12
push edx
push dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x9c]
call fcn.00405b30
cmp byte [esp + 0xb], 0
mov ecx, str.win64_
mov eax, str.win32_
cmovne eax, ecx
lea ecx, [esp + 0x70]
push eax
call fcn.00405490
cmp byte [esp + 0xb], 0
mov ecx, str.lwjgl_natives_windows.jar_lwjgl_glfw_natives_windows.jar_lwjgl_jemalloc_natives_windows.jar_lwjgl_opengl_natives_windows.jar_
mov eax, str.lwjgl_natives_windows_x86.jar_lwjgl_glfw_natives_windows_x86.jar_lwjgl_jemalloc_natives_windows_x86.jar_lwjgl_opengl_natives_windows_x86.jar_
cmovne eax, ecx
lea ecx, [esp + 0xb0]
push eax
call fcn.00405490
call fcn.004032e0
test al, al
jne 0x404e60
mov esi, 1
jmp 0x404ef8
mov ecx, edi
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
movaps xmmword [esp + 0x10], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404e80
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [esp + 0x18]
call fcn.00405df0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x94]
push eax
lea edx, [esp + 0x78]
lea ecx, [esp + 0xb8]
call fcn.00403810
mov ecx, dword [esp + 0x2c]
add esp, 8
cmp ecx, 7
jbe 0x404ef6
mov edx, dword [esp + 0x10]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404eec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405048
push ecx
push edx
call fcn.0040714a
add esp, 8
xor esi, esi
mov ecx, dword [esp + 0xa4]
cmp ecx, 7
jbe 0x404f3a
mov edx, dword [esp + 0x90]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404f30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405048
push ecx
push edx
call fcn.0040714a
add esp, 8
mov ecx, dword [esp + 0x84]
xor eax, eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 7
mov word [esp + 0x90], ax
cmp ecx, 7
jbe 0x404f99
mov edx, dword [esp + 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404f8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405048
push ecx
push edx
call fcn.0040714a
add esp, 8
mov ecx, dword [esp + 0xc4]
xor eax, eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 7
mov word [esp + 0x70], ax
cmp ecx, 7
jbe 0x404ff4
mov edx, dword [esp + 0xb0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404fea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405048
push ecx
push edx
call fcn.0040714a
add esp, 8
xor eax, eax
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 7
mov word [esp + 0xb0], ax
mov ecx, dword [esp + 0xe4]
cmp ecx, 7
jbe 0x405058
mov edx, dword [esp + 0xd0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40504e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40504e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040714a
add esp, 8
mov ecx, dword [esp + 0x10c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.00406ff2
mov esp, ebp
pop ebp
ret 0x10
call fcn.00401160
int3