Function at 0x429620
Capabilities:
Check os version
Get system information on windows
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28c
mov eax, dword [0x5a6a30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
push 0x2c
xor ebx, ebx
lea eax, [esi + 4]
push ebx
push eax
mov dword [esi], vtable.CSysInfo.0
call fcn.0051eb70
push 0x80
lea edi, [esi + 0x30]
push ebx
push edi
call fcn.0051eb70
xor eax, eax
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], eax
push 0x11c
lea eax, [ebp - 0x120]
push ebx
push eax
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0x2d0], ebx
mov dword [ebp - 0x23c], ebx
call fcn.0051eb70
add esp, 0x24
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [ebp - 0x118]
push edx
push str.CSysInfo::CSysInfo___osviEx.dwMinorVersion__1_d__n
push 5
mov dword [ebp - 0x238], eax
call fcn.00403750
mov eax, dword [ebp - 0x11c]
push eax
push str.CSysInfo::CSysInfo___osviEx.dwMajorVersion__1_d__n
push 5
call fcn.00403750
add esp, 0x18
cmp dword [ebp - 0x238], 0
mov ebx, 1
je 0x429abb
mov eax, dword [ebp - 0x11c]
cmp eax, 0xa
jbe 0x4297cb
push str.CSysInfo::CSysInfo___osviEx.dwMajorVersion___10_n
push 5
call fcn.00403750
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
mov ax, word [ebp - 0xc]
mov dword [esi + 0xc8], ecx
mov cx, word [ebp - 0xa]
add esp, 8
mov dword [esi + 0xcc], edx
mov dword [edi], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x54], ebx
mov word [esi + 0xac], ax
mov word [esi + 0xae], cx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa4], ebx
cmp byte [ebp - 6], bl
je 0x4297bf
mov dword [esi + 0x34], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa8], ebx
mov ecx, esi
call fcn.00429540
jmp 0x429bde
jne 0x42986f
push str.CSysInfo::CSysInfo___osviEx.dwMajorVersion__10_n
push 5
call fcn.00403750
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x118]
mov cx, word [ebp - 0xc]
mov dword [esi + 0xc8], edx
mov dx, word [ebp - 0xa]
add esp, 8
mov dword [esi + 0xcc], eax
mov dword [edi], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x7c], ebx
mov word [esi + 0xac], cx
mov word [esi + 0xae], dx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa4], ebx
cmp byte [ebp - 6], bl
je 0x429863
mov dword [esi + 0x34], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa8], ebx
mov ecx, esi
call fcn.00429540
jmp 0x429bde
cmp eax, 6
jbe 0x429916
push str.CSysInfo::CSysInfo___osviEx.dwMajorVersion___6_n
push 5
call fcn.00403750
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
mov dx, word [ebp - 0xc]
mov dword [esi + 0xc8], eax
mov ax, word [ebp - 0xa]
add esp, 8
mov dword [esi + 0xcc], ecx
mov dword [edi], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x54], ebx
mov word [esi + 0xac], dx
mov word [esi + 0xae], ax
mov dword [esi + 0x84], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x94], ebx
cmp byte [ebp - 6], bl
je 0x42990a
mov dword [esi + 0x34], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x98], ebx
mov ecx, esi
call fcn.00429540
jmp 0x429bde
jne 0x4299f1
push str.CSysInfo::CSysInfo___osviEx.dwMajorVersion__6_n
push 5
call fcn.00403750
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x118]
mov dx, word [ebp - 0xc]
mov dword [esi + 0xc8], ecx
mov cx, word [ebp - 0xa]
add esp, 8
mov dword [esi + 0xcc], eax
mov dword [edi], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov word [esi + 0xac], dx
mov word [esi + 0xae], cx
cmp eax, 3
ja case.0x42996f.3
jmp dword [eax*4 + 0x429dc8]
mov dword [esi + 0x4c], ebx
jmp 0x42999a
mov dword [esi + 0x54], ebx
jmp 0x429997
mov dword [esi + 0x5c], ebx
jmp 0x429991
mov dword [esi + 0x94], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x7c], ebx
cmp byte [ebp - 6], bl
je 0x4299e5
mov dword [esi + 0x34], ebx
cmp eax, 3
ja case.0x4299a7.3
jmp dword [eax*4 + 0x429dd8]
mov ecx, esi
mov dword [esi + 0x50], ebx
mov dword [esi + 0x78], ebx
call fcn.00429540
jmp 0x429bde
mov dword [esi + 0x58], ebx
jmp 0x4299dc
mov dword [esi + 0x60], ebx
jmp 0x4299d6
mov dword [esi + 0x98], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x78], ebx
mov ecx, esi
call fcn.00429540
jmp 0x429bde
cmp eax, 5
jne 0x429abb
push str.CSysInfo::CSysInfo___osviEx.dwMajorVersion__5_n
push eax
call fcn.00403750
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x118]
mov cx, word [ebp - 0xc]
mov dword [esi + 0xc8], edx
mov dx, word [ebp - 0xa]
add esp, 8
mov dword [esi + 0xcc], eax
sub eax, 0
mov dword [edi], ebx
mov word [esi + 0xac], cx
mov word [esi + 0xae], dx
je 0x429a9d
sub eax, ebx
je 0x429a8c
sub eax, ebx
je 0x429a59
mov dword [esi + 0x48], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
jmp 0x429bde
push str.CSysInfo::CSysInfo___swith_case__2_n
push 5
call fcn.00403750
add esp, 8
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
cmp byte [ebp - 6], bl
je 0x429a84
mov dword [esi + 0x34], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x70], ebx
jmp 0x429bde
mov dword [esi + 0x44], ebx
jmp 0x429bde
mov dword [esi + 0x44], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
jmp 0x429bde
mov dword [esi + 0x64], ebx
cmp byte [ebp - 6], bl
je 0x429ab3
mov dword [esi + 0x34], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x68], ebx
jmp 0x429bde
mov dword [esi + 0x3c], ebx
jmp 0x429bde
push str.CIstDrvApp::InitInstance_osviEx.dwMajorVersion__other_n
push 5
call fcn.00403750
push 0x114
lea eax, [ebp - 0x234]
push 0
push eax
call fcn.0051eb70
add esp, 0x14
lea ecx, [ebp - 0x234]
push ecx
mov dword [ebp - 0x234], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x429bde
mov eax, dword [ebp - 0x224]
sub eax, ebx
mov ecx, dword [ebp - 0x230]
mov edx, dword [ebp - 0x22c]
mov dword [esi + 0xc8], ecx
mov dword [esi + 0xcc], edx
je 0x429b74
sub eax, ebx
jne 0x429bde
mov dword [edi], ebx
cmp ecx, 4
jne 0x429bde
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.Service_Pack_6a
mov dword [esi + 0x38], ebx
call edi
lea edx, [ebp - 0x220]
push edx
mov dword [ebp - 0x238], eax
call edi
cmp eax, dword [ebp - 0x238]
jl 0x429bde
lea eax, [ebp - 0x206]
push eax
call fcn.005200e9
add esp, 4
mov word [esi + 0xac], ax
jmp 0x429bde
movzx eax, word [ebp - 0x21e]
sub eax, 0x41
mov dword [esi + 4], ebx
je 0x429b9a
sub eax, ebx
je 0x429b95
sub eax, ebx
je 0x429b90
mov dword [esi + 0x2c], ebx
jmp 0x429b9d
mov dword [esi + 0x28], ebx
jmp 0x429b9d
mov dword [esi + 0x24], ebx
jmp 0x429b9d
mov dword [esi + 0x20], ebx
test edx, edx
je 0x429bdb
cmp edx, 0xa
je 0x429bab
cmp edx, 0x5a
jmp 0x429bba
mov eax, dword [ebp - 0x228]
shr eax, 0x10
cmp al, 0xa
je 0x429bca
cmp al, 0x5a
jne 0x429bde
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
jmp 0x429bde
cmp dword [esi + 0x20], 0
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
je 0x429bde
mov dword [esi + 0x18], ebx
jmp 0x429bde
mov dword [esi + 8], ebx
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x429db4
push str.IsWow64Process
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push edi
mov dword [ebp - 0x238], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [ebp - 0x238], 0
mov edi, eax
je 0x429c30
lea eax, [esi + 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x238]
cmp dword [esi + 0xb0], 0
je 0x429c9d
xor eax, eax
mov dword [ebp - 0x288], eax
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], eax
test edi, edi
je 0x429c9d
lea ecx, [ebp - 0x288]
push ecx
call edi
movzx eax, word [ebp - 0x288]
cmp eax, 6
je 0x429c97
cmp eax, 9
jne 0x429c9d
mov dword [esi + 0xc0], ebx
jmp 0x429c9d
mov dword [esi + 0xc4], ebx
xor eax, eax
lea edx, [ebp - 0x264]
push edx
mov dword [esi + 0xb4], ebx
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x264]
cmp eax, 6
je 0x429d0d
cmp eax, 9
je 0x429d05
mov dword [esi + 0xb4], 0
jmp 0x429d13
mov dword [esi + 0xb8], ebx
jmp 0x429d13
mov dword [esi + 0xbc], ebx
push 0x200
lea edi, [esi + 0xd0]
push 0
push edi
call fcn.0051eb70
add esp, 0xc
cmp dword [esi + 0x30], 0
je 0x429d8a
lea eax, [ebp - 0x23c]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x429d8a
lea ecx, [ebp - 0x240]
push ecx
push edi
lea edx, [ebp - 0x28c]
push edx
push eax
mov eax, dword [ebp - 0x23c]
push 0x55c5d0
push eax
mov dword [ebp - 0x240], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [esi + 0xb4], eax
je 0x429db4
cmp byte [ebp - 6], bl
jne 0x429db4
cmp dword [ebp - 0x11c], 5
jne 0x429db4
cmp dword [ebp - 0x118], 2
jne 0x429db4
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0x70], eax
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051e701
mov esp, ebp
pop ebp
ret