Function at 0x4489d0
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 [0x5d7b20]
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.0053e550
push 0x60
lea edi, [esi + 0x30]
push ebx
push edi
call fcn.0053e550
xor eax, eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
push 0x11c
lea eax, [ebp - 0x120]
push ebx
push eax
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0x2b0], ebx
mov dword [ebp - 0x23c], ebx
call fcn.0053e550
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.00403ab0
mov eax, dword [ebp - 0x11c]
push eax
push str.CSysInfo::CSysInfo___osviEx.dwMajorVersion__1_d__n
push 5
call fcn.00403ab0
add esp, 0x18
cmp dword [ebp - 0x238], 0
mov ebx, 1
je 0x448cd9
mov eax, dword [ebp - 0x11c]
cmp eax, 6
jbe 0x448b48
push str.CSysInfo::CSysInfo___osviEx.dwMajorVersion___6_n
push 5
call fcn.00403ab0
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x118]
mov ax, word [ebp - 0xc]
mov dword [esi + 0xa8], ecx
mov cx, word [ebp - 0xa]
add esp, 8
mov dword [esi + 0xac], 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 + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x54], ebx
mov word [esi + 0x8c], ax
mov word [esi + 0x8e], cx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x88], ebx
cmp byte [ebp - 6], bl
je 0x448b3c
mov dword [esi + 0x34], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x80], ebx
mov ecx, esi
call fcn.004488f0
jmp 0x448dfc
jne 0x448c0f
push str.CSysInfo::CSysInfo___osviEx.dwMajorVersion__6_n
push 5
call fcn.00403ab0
mov ax, word [ebp - 0xc]
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
mov word [esi + 0x8c], ax
mov dword [esi + 0xa8], edx
mov dx, word [ebp - 0xa]
mov eax, ecx
add esp, 8
sub eax, 0
mov dword [esi + 0xac], 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 word [esi + 0x8e], dx
je 0x448bba
sub eax, ebx
je 0x448bb2
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x84], ebx
jmp 0x448bbd
mov dword [esi + 0x54], ebx
mov dword [esi + 0x7c], ebx
jmp 0x448bbd
mov dword [esi + 0x4c], ebx
cmp byte [ebp - 6], bl
je 0x448c03
mov eax, ecx
sub eax, 0
mov dword [esi + 0x34], ebx
je 0x448bfd
sub eax, ebx
je 0x448be5
mov ecx, esi
mov dword [esi + 0x60], ebx
mov dword [esi + 0x88], ebx
call fcn.004488f0
jmp 0x448dfc
mov ecx, esi
mov dword [esi + 0x58], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x78], ebx
call fcn.004488f0
jmp 0x448dfc
mov dword [esi + 0x50], ebx
mov dword [esi + 0x78], ebx
mov ecx, esi
call fcn.004488f0
jmp 0x448dfc
cmp eax, 5
jne 0x448cd9
push str.CSysInfo::CSysInfo___osviEx.dwMajorVersion__5_n
push eax
call fcn.00403ab0
mov eax, dword [ebp - 0x11c]
mov cx, word [ebp - 0xc]
mov dx, word [ebp - 0xa]
mov dword [esi + 0xa8], eax
mov eax, dword [ebp - 0x118]
add esp, 8
mov dword [esi + 0xac], eax
sub eax, 0
mov dword [edi], ebx
mov word [esi + 0x8c], cx
mov word [esi + 0x8e], dx
je 0x448cbb
sub eax, ebx
je 0x448caa
sub eax, ebx
je 0x448c77
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 0x448dfc
push str.CSysInfo::CSysInfo___swith_case__2_n
push 5
call fcn.00403ab0
add esp, 8
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
cmp byte [ebp - 6], bl
je 0x448ca2
mov dword [esi + 0x34], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x70], ebx
jmp 0x448dfc
mov dword [esi + 0x44], ebx
jmp 0x448dfc
mov dword [esi + 0x44], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
jmp 0x448dfc
mov dword [esi + 0x64], ebx
cmp byte [ebp - 6], bl
je 0x448cd1
mov dword [esi + 0x34], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x68], ebx
jmp 0x448dfc
mov dword [esi + 0x3c], ebx
jmp 0x448dfc
push str.CIstDrvApp::InitInstance_osviEx.dwMajorVersion__other_n
push 5
call fcn.00403ab0
push 0x114
lea eax, [ebp - 0x234]
push 0
push eax
call fcn.0053e550
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 0x448dfc
mov eax, dword [ebp - 0x224]
sub eax, ebx
mov ecx, dword [ebp - 0x230]
mov edx, dword [ebp - 0x22c]
mov dword [esi + 0xa8], ecx
mov dword [esi + 0xac], edx
je 0x448d92
sub eax, ebx
jne 0x448dfc
mov dword [edi], ebx
cmp ecx, 4
jne 0x448dfc
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 0x448dfc
lea eax, [ebp - 0x206]
push eax
call fcn.0053f952
add esp, 4
mov word [esi + 0x8c], ax
jmp 0x448dfc
movzx eax, word [ebp - 0x21e]
sub eax, 0x41
mov dword [esi + 4], ebx
je 0x448db8
sub eax, ebx
je 0x448db3
sub eax, ebx
je 0x448dae
mov dword [esi + 0x2c], ebx
jmp 0x448dbb
mov dword [esi + 0x28], ebx
jmp 0x448dbb
mov dword [esi + 0x24], ebx
jmp 0x448dbb
mov dword [esi + 0x20], ebx
test edx, edx
je 0x448df9
cmp edx, 0xa
je 0x448dc9
cmp edx, 0x5a
jmp 0x448dd8
mov eax, dword [ebp - 0x228]
shr eax, 0x10
cmp al, 0xa
je 0x448de8
cmp al, 0x5a
jne 0x448dfc
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
jmp 0x448dfc
cmp dword [esi + 0x20], 0
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
je 0x448dfc
mov dword [esi + 0x18], ebx
jmp 0x448dfc
mov dword [esi + 8], ebx
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x449034
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 0x448e4e
lea eax, [esi + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x238]
cmp dword [esi + 0x90], 0
je 0x448ebb
xor eax, eax
mov dword [ebp - 0x268], eax
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
test edi, edi
je 0x448ebb
lea ecx, [ebp - 0x268]
push ecx
call edi
movzx eax, word [ebp - 0x268]
cmp eax, 6
je 0x448eb5
cmp eax, 9
jne 0x448ebb
mov dword [esi + 0xa0], ebx
jmp 0x448ebb
mov dword [esi + 0xa4], ebx
xor eax, eax
lea edx, [ebp - 0x28c]
push edx
mov dword [esi + 0x94], ebx
mov dword [ebp - 0x28c], 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
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x28c]
cmp eax, 6
je 0x448f2b
cmp eax, 9
je 0x448f23
mov dword [esi + 0x94], 0
jmp 0x448f31
mov dword [esi + 0x98], ebx
jmp 0x448f31
mov dword [esi + 0x9c], ebx
push 0x200
lea edi, [esi + 0xb0]
push 0
push edi
call fcn.0053e550
add esp, 0xc
cmp dword [esi + 4], 0
je 0x448fa8
lea eax, [ebp - 0x23c]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44900a
lea ecx, [ebp - 0x240]
push ecx
push edi
lea edx, [ebp - 0x244]
push edx
push eax
mov eax, dword [ebp - 0x23c]
push 0x58abbc
push eax
mov dword [ebp - 0x240], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x23c]
push ecx
jmp 0x449004
cmp dword [esi + 0x30], 0
je 0x44900a
lea edx, [ebp - 0x23c]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44900a
mov edx, dword [ebp - 0x23c]
lea eax, [ebp - 0x240]
push eax
push edi
lea ecx, [ebp - 0x244]
push ecx
push 0
push 0x58abbc
push edx
mov dword [ebp - 0x240], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [esi + 0x94], eax
je 0x449034
cmp byte [ebp - 6], bl
jne 0x449034
cmp dword [ebp - 0x11c], 5
jne 0x449034
cmp dword [ebp - 0x118], 2
jne 0x449034
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.0053e1ad
mov esp, ebp
pop ebp
ret