Function at 0x42a5d1
Capabilities:
Get system information on windows

Disassembly:
mov eax, 0x43f2a4
call fcn.0043ad60
sub esp, 0x1c4
mov al, byte [ebp + 0xb]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x50], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea eax, [ebp - 0xd]
pop esi
lea ecx, [ebp - 0x40]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
push 9
xor eax, eax
pop ecx
lea edi, [ebp - 0xb4]
rep stosd dword es:[edi], eax
push 0x47
lea edi, [ebp - 0x1d0]
pop ecx
mov dword [ebp - 4], 2
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1d0]
mov dword [ebp - 0x1d0], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, ebx
jne 0x42a661
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x50]
push eax
call fcn.004059a5
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 3
jmp 0x42a82b
push str.GetNativeSystemInfo
push 0x44fc34
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x42a687
lea ecx, [ebp - 0xb4]
push ecx
call eax
jmp 0x42a694
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push dword [ebp - 0x1c8]
lea eax, [ebp - 0x70]
push eax
call fcn.00419ef8
mov dword [ebp - 0x14], eax
push dword [ebp - 0x1cc]
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 4
push eax
call fcn.00419ef8
mov edi, 0x44fc30
mov byte [ebp - 4], 5
push edi
push eax
lea eax, [ebp - 0x60]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
push dword [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x80]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0x28
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 7
push dword [ecx]
lea ecx, [ebp - 0x50]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push esi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push esi
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push esi
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push esi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
movzx eax, word [ebp - 0xba]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00407922
mov dword [ebp - 0x14], eax
movzx eax, word [ebp - 0xbc]
push eax
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 8
call fcn.00407922
push edi
push eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 9
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
push dword [ebp - 0x14]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0x28
mov byte [ebp - 4], 0xb
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
push dword [ecx]
lea ecx, [ebp - 0x40]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push esi
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push esi
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push esi
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push esi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x30], eax
call fcn.0042a854
mov byte [ebp - 0x2c], al
mov eax, dword [ebp - 0x1c0]
push 0x59
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
setne al
mov byte [ebp - 0x24], al
mov ecx, dword [ebp + 8]
movzx eax, word [ebp - 0xb8]
mov dword [ebp - 0x20], eax
movzx eax, word [ebp - 0xb4]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x50]
push eax
call fcn.004059a5
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0xc
push esi
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret