Function at 0x452700
Capabilities:
Check os version
Get geographical location
Get system information on windows
Identify system language via api
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d507c
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x56e01c]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56e01c]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1a8]
mov eax, str.Part_of_the_System_Information_Dialog._See_the_screenshot_for_a_layout_example.
mov ecx, str._Operating_system:_
lea esi, [esp + 0x18]
call fcn.00451f20
push eax
lea eax, [esp + 0x18]
push 0x501488
xor edi, edi
push eax
mov dword [esp + 0x1ac], edi
call fcn.00402970
push 0x4f8df4
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x1b8], 1
call fcn.004029f0
add esp, 0x18
mov byte [esp + 0x1a0], 2
mov ebx, dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
push eax
mov ecx, ebp
call ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a0], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x1a0], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, esi
mov dword [esp + 0x1a0], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, str.Brand__product_and_version_name._Part_of_the_System_Information_dialog.
mov ecx, str._Microsoft_Windows_Vista_
lea esi, [esp + 0x44]
call fcn.00451f20
mov eax, str.Brand__product_and_version_name._Part_of_the_System_Information_dialog.
mov ecx, str._Microsoft_Windows_XP_
lea esi, [esp + 0x38]
mov dword [esp + 0x1a0], 3
call fcn.00451f20
mov eax, str.Brand__product_and_version_name._Part_of_the_System_Information_dialog.
mov ecx, str._Microsoft_Windows_Server_2003_
lea esi, [esp + 0x48]
mov byte [esp + 0x1a0], 4
call fcn.00451f20
mov eax, str.Brand__product_and_version_name._Part_of_the_System_Information_dialog.
mov ecx, str._Microsoft_Windows_2000_
lea esi, [esp + 0x40]
mov byte [esp + 0x1a0], 5
call fcn.00451f20
mov eax, str.Brand__product_and_version_name._Part_of_the_System_Information_dialog.
mov ecx, str._Microsoft_Windows_7_
lea esi, [esp + 0x3c]
mov byte [esp + 0x1a0], 6
call fcn.00451f20
mov eax, str.Brand__product_and_version_name._Part_of_the_System_Information_dialog.
mov ecx, str._Microsoft_Windows_Server_2008_
lea esi, [esp + 0x34]
mov byte [esp + 0x1a0], 7
call fcn.00451f20
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x30], eax
mov edx, 1
lock xadd dword [eax], edx
push 0x118
mov byte [esp + 0x1a4], 9
mov byte [esp + 0x18], 0x20
push edi
lea eax, [esp + 0x84]
push eax
call sub.MSVCR90.dll_memset
xor eax, eax
add esp, 0xc
push str.GetNativeSystemInfo
push str.kernel32.dll
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0x11c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x4528fa
lea ecx, [esp + 0x54]
push ecx
call eax
jmp 0x452905
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x452a3d
mov eax, dword [esp + 0x7c]
cmp eax, 6
jne 0x452948
mov eax, dword [esp + 0x80]
cmp eax, edi
jne 0x4529c7
cmp byte [esp + 0x192], 1
jne 0x4529dc
lea ecx, [esp + 0x44]
push ecx
jmp 0x4529e1
cmp eax, 5
jne 0x452a00
mov eax, dword [esp + 0x80]
cmp eax, 2
jne 0x4529a8
mov al, byte [esp + 0x192]
cmp al, 1
jne 0x452984
cmp word [esp + 0x54], 9
jne 0x452a00
lea eax, [esp + 0x38]
push eax
mov ecx, ebp
call ebx
mov byte [esp + 0x14], 0x40
jmp 0x452a00
test al, al
jne 0x452a00
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebp
call ebx
mov eax, dword [esp + 0x54]
cmp ax, 9
je 0x4529a1
cmp ax, 6
jne 0x4529fb
mov byte [esp + 0x14], 0x40
jmp 0x452a00
cmp eax, 1
jne 0x4529b8
lea edx, [esp + 0x38]
push edx
mov ecx, ebp
call ebx
jmp 0x4529fb
cmp eax, edi
jne 0x452a00
lea eax, [esp + 0x40]
push eax
mov ecx, ebp
call ebx
jmp 0x4529fb
cmp eax, 1
jne 0x452a00
cmp byte [esp + 0x192], al
jne 0x4529dc
lea ecx, [esp + 0x3c]
push ecx
jmp 0x4529e1
lea edx, [esp + 0x34]
push edx
mov ecx, ebp
call ebx
mov eax, dword [esp + 0x54]
cmp ax, 9
jne 0x4529f6
mov byte [esp + 0x14], 0x40
jmp 0x452a00
cmp ax, di
jne 0x452a00
mov byte [esp + 0x14], 0x20
push 0xffffffffffffffff
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const___int_]
add esp, 0xc
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1a4], 0xa
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a0], 9
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [esp + 0x18], 0x20
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov eax, str.Argument_1_is_either_32_or_64__e.g.__32_bit_Edition_._Part_of_the_System_Information_dialog.
mov ecx, str.__1_bit_Edition_
lea esi, [esp + 0x2c]
call fcn.00451f20
lea ecx, [esp + 0x24]
push ecx
push 0xa
mov byte [esp + 0x1a8], 0xb
movsx edx, byte [esp + 0x1c]
push edi
push edx
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_int__int__int__class_QChar_const__]
push eax
lea edx, [esp + 0x1c]
push 0x4f8df0
push edx
mov byte [esp + 0x1ac], 0xc
call fcn.00402970
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x1a4], 0xd
call ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a0], 0xc
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a0], 0xb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, esi
mov byte [esp + 0x1a0], 9
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x30]
cmp dword [eax + 8], 1
jle 0x452b23
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x1c]
push 0x5016d0
push edx
call fcn.00402970
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x1a4], 0xe
call ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a0], 9
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push edi
movzx eax, ax
push edi
push 4
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ce3b0
mov edi, eax
lea eax, [esi + esi]
push eax
push 0
push edi
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x28]
add esp, 0x10
push esi
push edi
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esi, dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const___int_]
push 0xffffffffffffffff
lea edx, [esp + 0x20]
push edi
push edx
call esi
add esp, 0xc
mov byte [esp + 0x1a0], 0xf
mov eax, dword [esp + 0x1c]
cmp dword [eax + 8], 1
jle 0x452ca6
lea ecx, [esp + 0x24]
push ecx
push 0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_class_QChar___thiscall_QString::at_int_const]
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QChar___thiscall_QChar::toUpper_void_]
movzx eax, word [eax]
push eax
push 1
push 0
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::replace_int__int__class_QChar_]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
mov byte [esp + 0x18], 0x20
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0xffffffffffffffff
lea edx, [esp + 0x2c]
push edi
push edx
call esi
add esp, 0xc
mov dword [esp + 0x18], eax
mov eax, str.Argument_1_is_the_system_language_name._Part_of_the_System_Information_dialog.
mov ecx, str._Language:__1_
lea esi, [esp + 0x14]
mov byte [esp + 0x1a0], 0x10
call fcn.00451f20
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x1a4], 0x11
mov edx, dword [esp + 0x1c]
push 0
push edx
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_const__]
push eax
lea edx, [esp + 0x24]
push 0x4f8df4
push edx
mov byte [esp + 0x1ac], 0x12
call fcn.00402970
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x1a4], 0x13
call ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a0], 0x12
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1a0], 0x11
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, esi
mov byte [esp + 0x1a0], 0x10
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a0], 0xf
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
push 0
movzx eax, ax
push 0
push 4
push eax
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor ecx, ecx
mov edi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ce3b0
mov esi, eax
lea eax, [edi + edi]
push eax
push 0
push esi
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x38]
add esp, 0x10
push edi
push esi
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0xffffffffffffffff
lea edx, [esp + 0x2c]
push esi
push edx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_unsigned_short_int_const___int_]
add esp, 0xc
mov byte [esp + 0x1a0], 0x14
mov edi, dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
push eax
lea ecx, [esp + 0x20]
call edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a0], 0xf
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x20]
add esp, 4
cmp dword [eax + 8], 1
jle 0x452f47
lea ecx, [esp + 0x24]
push ecx
push 0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_class_QChar___thiscall_QString::at_int_const]
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_class_QChar___thiscall_QChar::toUpper_void_]
movzx eax, word [eax]
push eax
push 1
push 0
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::replace_int__int__class_QChar_]
push eax
lea ecx, [esp + 0x20]
call edi
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x14], eax
mov ecx, 1
lock xadd dword [eax], ecx
lea edi, [esp + 0x14]
mov byte [esp + 0x1a0], 0x15
call fcn.004ace90
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, edi
mov byte [esp + 0x1a0], 0x17
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0x4f80e0
lea ecx, [esp + 0x30]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator_char_const__const]
test al, al
jne 0x452def
push 0x4f80e4
lea ecx, [esp + 0x30]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QString::operator_char_const__const]
test al, al
je 0x452e91
push 0x501738
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push 0x4fc9f8
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a4], 0x18
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push 1
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1ac], 0x19
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::replace_class_QString_const___class_QString_const___enum_Qt::CaseSensitivity_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x1a0], 0x18
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a0], 0x17
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
push 0x4fc9f4
lea ecx, [esp + 0x24]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push 1
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1a8], 0x1a
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::remove_class_QString_const___enum_Qt::CaseSensitivity_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a0], 0x17
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [esp + 0x28], 0x20
mov edx, dword [esp + 0x28]
push edx
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov eax, str.Argument_1_is_a_localized_language_name._Part_of_the_System_Information_dialog.
mov ecx, str._Language_for_non_Unicode_programs:__1_
lea esi, [esp + 0x50]
call fcn.00451f20
lea ecx, [esp + 0x24]
push ecx
push 0
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
mov byte [esp + 0x1b0], 0x1b
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_const__]
push eax
lea edx, [esp + 0x2c]
push 0x4f8df4
push edx
mov byte [esp + 0x1ac], 0x1c
call fcn.00402970
add esp, 0xc
push eax
mov ecx, ebp
mov byte [esp + 0x1a4], 0x1d
call ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a0], 0x1c
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1a0], 0x1b
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, esi
mov byte [esp + 0x1a0], 0x17
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1a0], 0xf
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1a0], 9
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x1a0], 8
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x1a0], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a0], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x40]
mov byte [esp + 0x1a0], 5
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x1a0], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0x1a0], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x44]
mov dword [esp + 0x1a0], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.004ce3bb
add esp, 0x190
ret 4