Function at 0x4216b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4246d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push esi
mov dword [ebp - 0x168], ecx
cmp dword [ebp - 0x168], 0
je 0x4216ea
mov eax, dword [ebp - 0x168]
cmp dword [eax + 0x7c], 0
je 0x4216ef
jmp 0x421954
mov eax, dword [ebp - 0x168]
add eax, 0x64
lea esi, [ebp - 0x18]
call fcn.00403b30
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x168]
cmp dword [ecx + 0x20], 0
jne 0x421727
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
call fcn.00403b50
jmp 0x421954
push str.RtlGetVersion
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], 0
push 0x118
push 0
lea edx, [ebp - 0x158]
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 0x15c], 0x11c
mov dword [ebp - 0x164], 0
cmp dword [ebp - 0x160], 0
je 0x42179e
lea eax, [ebp - 0x15c]
push eax
call dword [ebp - 0x160]
test eax, eax
jne 0x42179e
mov dword [ebp - 0x164], 1
jmp 0x4217e1
mov dword [ebp - 0x15c], 0x11c
lea ecx, [ebp - 0x15c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0
jne 0x4217e1
mov dword [ebp - 0x15c], 0x114
lea edx, [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0
je 0x421839
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 0x20]
mov dx, word [ebp - 0x158]
mov word [ecx + 0x38], dx
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 0x20]
mov dx, word [ebp - 0x154]
mov word [ecx + 0x3a], dx
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 0x20]
mov dx, word [ebp - 0x48]
mov word [ecx + 0x3e], dx
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 0x20]
mov dx, word [ebp - 0x150]
mov word [ecx + 0x3c], dx
jmp 0x421875
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 0x20]
mov word [ecx + 0x38], 0
mov edx, dword [ebp - 0x168]
mov eax, dword [edx + 0x20]
mov word [eax + 0x3a], 0
mov ecx, dword [ebp - 0x168]
mov edx, dword [ecx + 0x20]
mov word [edx + 0x3e], 0
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 0x20]
mov word [ecx + 0x3c], 0
call fcn.004239b0
movzx edx, al
test edx, edx
je 0x4218cd
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 0x20]
movzx edx, word [ecx + 0x3e]
push edx
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 0x20]
movzx edx, word [ecx + 0x3c]
push edx
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 0x20]
movzx edx, word [ecx + 0x3a]
push edx
mov eax, dword [ebp - 0x168]
mov ecx, dword [eax + 0x20]
movzx edx, word [ecx + 0x38]
push edx
push str.Windows_version:__d._d._d__sp__d_
push 2
push str.D:jenkins_TrunkworkspaceMainline_SourceJob_2qqpcmgr_projFTCommonQMCommonLibDllQMReportMgrQMReportMgr.cpp
call fcn.00423b70
add esp, 0x1c
mov dword [ebp - 0x3c], 0
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x421917
lea edx, [ebp - 0x3c]
push edx
call dword [ebp - 0x10]
jmp 0x421921
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x168]
mov edx, dword [ecx + 0x20]
mov ax, word [ebp - 0x3c]
mov word [edx + 0x40], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, dword [ebp - 0x168]
mov edx, dword [ecx + 0x20]
mov word [edx + 0x42], ax
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
call fcn.00403b50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret