Function at 0x422a30
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527eed
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x57f7a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
call fcn.00422430
sub esp, 0x68
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004232c0
mov ecx, esi
call fcn.004233c0
mov edi, eax
push edi
push str.install_method___d.
push 0x70
push str.SetupControl::startSetup
call fcn.00439030
add esp, 0x10
cmp edi, 1
je 0x422ab3
cmp byte [ebp + 0xa], 0
jne 0x422ab3
cmp byte [ebp + 9], 0
jne 0x422ab3
cmp byte [ebp + 0xb], 0
jne 0x422ab3
mov bl, 1
jmp 0x422ab5
xor bl, bl
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x100], esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x14]
push eax
call fcn.00407b90
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x2c]
push eax
call fcn.00407b90
push ebx
mov byte [ebp - 4], 0
mov ecx, dword [esi + 0xc]
push edi
call fcn.00426b30
push str.initpath_end
push 0x73
push str.SetupControl::startSetup
call fcn.00439030
mov eax, dword [0x58a328]
add esp, 0xc
test eax, eax
jne 0x422b61
push 0xf0
call fcn.004ea753
add esp, 4
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x422b56
mov ecx, eax
call fcn.00414e80
jmp 0x422b58
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x58a328], eax
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.00414fd0
cmp dword [eax + 0x10], 0
sete bl
cmp dword [ebp - 0x44], 8
jb 0x422b84
push dword [ebp - 0x58]
call fcn.004db8b0
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
test bl, bl
je 0x422c6d
mov eax, dword [0x589398]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov edx, dword [eax]
xor eax, eax
mov word [ebp - 0x40], ax
cmp word [edx], ax
jne 0x422bc4
xor ecx, ecx
jmp 0x422bdf
mov ecx, edx
lea ebx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422bd0
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00407470
mov byte [ebp - 4], 3
mov eax, dword [0x58a328]
test eax, eax
jne 0x422c25
push 0xf0
call fcn.004ea753
add esp, 4
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x422c1a
mov ecx, eax
call fcn.00414e80
jmp 0x422c1c
xor eax, eax
mov byte [ebp - 4], 3
mov dword [0x58a328], eax
lea ecx, [ebp - 0x40]
cmp eax, ecx
je 0x422c3d
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00407b90
mov eax, dword [0x58a328]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x2c], 8
jb 0x422c57
push dword [ebp - 0x40]
call fcn.004db8b0
mov eax, dword [0x58a328]
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], cx
jmp 0x422c72
mov eax, dword [0x58a328]
test eax, eax
jne 0x422ca5
push 0xf0
call fcn.004ea753
add esp, 4
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x422c9a
mov ecx, eax
call fcn.00414e80
jmp 0x422c9c
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x58a328], eax
lea ecx, [ebp - 0x88]
push ecx
mov ecx, eax
call fcn.00414fd0
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 6
mov eax, dword [0x58a328]
test eax, eax
jne 0x422cf5
push 0xf0
call fcn.004ea753
add esp, 4
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x422cea
mov ecx, eax
call fcn.00414e80
jmp 0x422cec
xor eax, eax
mov byte [ebp - 4], 6
mov dword [0x58a328], eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.00416d70
mov ebx, eax
mov byte [ebp - 4], 8
mov eax, dword [0x58a328]
test eax, eax
jne 0x422d3e
push 0xf0
call fcn.004ea753
add esp, 4
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x422d33
mov ecx, eax
call fcn.00414e80
jmp 0x422d35
xor eax, eax
mov byte [ebp - 4], 8
mov dword [0x58a328], eax
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.00415010
mov byte [ebp - 4], 0xa
mov ecx, 0x5893c0
push dword [ebp - 0x100]
push ebx
push eax
call fcn.0041bb30
cmp dword [ebp - 0x5c], 8
jb 0x422d70
push dword [ebp - 0x70]
call fcn.004db8b0
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jb 0x422d95
push dword [ebp - 0x28]
call fcn.004db8b0
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x422dc0
push dword [ebp - 0x88]
call fcn.004db8b0
add esp, 4
cmp byte [esi + 0x48], 0
jne 0x422fea
mov ecx, esi
call fcn.00424350
lea eax, [ebp - 0x130]
test eax, eax
je 0x422e0e
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x422e01
lea ecx, [ebp - 0x130]
push ecx
call eax
jmp 0x422e0e
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0x130]
cmp ax, 9
je 0x422e25
cmp ax, 6
je 0x422e25
xor eax, eax
jmp 0x422e2a
mov eax, 1
test eax, eax
sete al
test al, al
je 0x422fea
cmp byte [ebp + 0xb], 0
jne 0x422fea
cmp byte [ebp + 9], 0
jne 0x422fea
mov ecx, str.32_system_error_install
call fcn.004077a0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xfc], esp
push eax
call fcn.00407570
mov ecx, str.prompt
mov byte [ebp - 4], 0xb
call fcn.004077a0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x100], esp
push eax
call fcn.00407570
sub esp, 0x18
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x10c], esp
push str.common_msg_noice48.png
call fcn.00407570
sub esp, 0x18
xor bl, bl
mov dword [ebp - 0x108], esp
mov eax, esp
mov dword [eax], vtable.._AV___Func_impl_U___Callable_obj_V_lambda_14d3e5c436fe849fc9ea9e79429d70a9____0A__std__V__allocator_V___Func_class_X___V_std___2_X___V_std__.0
mov dword [eax + 4], esi
mov dword [eax + 0x10], eax
mov ecx, str.exit2
mov byte [ebp - 4], 0xf
call fcn.004077a0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00407570
mov dl, bl
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xc0]
call fcn.00403f30
add esp, 0x30
push eax
sub esp, 0x18
mov bl, 1
mov dword [ebp - 0x104], esp
mov eax, esp
mov dword [eax], vtable.._AV___Func_impl_U___Callable_obj_V_lambda_804cf0d2f259392f5812c5cc761df3cf____0A__std__V__allocator_V___Func_class_X___V_std___2_X___V_std__.0
mov dword [eax + 4], esi
mov dword [eax + 0x10], eax
mov ecx, str.go_to_download
mov byte [ebp - 4], 0x12
call fcn.004077a0
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00407570
mov dl, bl
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xf8]
call fcn.00403f30
add esp, 0x30
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x15
mov edx, eax
mov ecx, dword [esi + 0x44]
call fcn.00424880
add esp, 0x4c
lea ecx, [ebp - 0xf8]
call fcn.00407cd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.00407cd0
lea eax, [ebp - 0x88]
push eax
call fcn.00414f50
mov ecx, eax
call fcn.004151b0
push 0xffffffffffffffff
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x88]
push 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0040e390
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x104], ecx
mov dword [ecx + 0x10], 0
push ecx
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x18
push eax
call fcn.00424df0
push str.installation_package_fail
mov ecx, 0x5893c0
mov byte [ebp - 4], 0x17
call fcn.0041bbc0
lea ecx, [ebp - 0x28]
call fcn.0040eaf0
push dword [0x5893f0]
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [ebp - 0x88]
call fcn.0040eaf0
jmp 0x423016
sub edi, 0
je 0x422ff5
dec edi
jne 0x423016
push edi
jmp 0x42300e
push str.async_check_environment.
push 0x136
push str.SetupControl::_asyncCheck
call fcn.00439030
add esp, 0xc
push 1
mov ecx, dword [esi + 0x10]
call fcn.0042a6e0
lea ecx, [ebp + 8]
call fcn.00423220
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 - 0x10]
xor ecx, ebp
call fcn.004ea604
mov esp, ebp
pop ebp
ret 0x68