Function at 0x4286c0
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push 0x590
mov eax, 0x4a5cf7
call fcn.00456221
mov ebx, ecx
mov dword [ebp - 0x570], ebx
lea eax, [ebx + 0x90]
push eax
lea ecx, [ebp - 0x578]
call fcn.004241b0
and dword [ebp - 4], 0
cmp dword [ebx + 0x2c], 0
je 0x4289af
cmp dword [ebx + 0x1c], 0
jne 0x428772
push 0x30
call fcn.00455954
mov esi, eax
pop ecx
mov dword [ebp - 0x560], esi
mov ecx, esi
call fcn.0040c36c
xor eax, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x43c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
call fcn.00429598
push eax
mov ecx, esi
call fcn.00428b45
lea ecx, [ebp - 0x43c]
call fcn.0040b307
mov byte [ebp - 4], 0
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x1c], esi
mov dword [esi + 0x20], eax
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 8]
mov dword [ecx + 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0x28], eax
mov eax, dword [ebx + 0x14]
mov dword [ecx + 0x2c], eax
cmp dword [ebx + 0x2c], 0
je 0x4289af
cmp dword [ebx + 0x20], 0
jne 0x4289af
push 0x70
call fcn.00455954
pop ecx
mov dword [ebp - 0x560], eax
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00428438
mov byte [ebp - 4], 0
mov ecx, dword [ebx + 0x18]
mov dword [ebx + 0x20], eax
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 8]
push pe_nt_image_headers32
push 0
mov dword [ecx + 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x10]
mov dword [ecx + 0x28], eax
mov eax, dword [ebx + 0x14]
mov dword [ecx + 0x2c], eax
lea eax, [ebp - 0x554]
push eax
call fcn.00458260
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x558]
add esp, 0xc
mov dword [ebp - 0x558], 0x11c
push eax
call esi
test eax, eax
jne 0x428834
lea eax, [ebp - 0x558]
mov dword [ebp - 0x558], 0x114
push eax
call esi
test eax, eax
jne 0x428834
mov eax, dword [ebx + 0x20]
xor ecx, ecx
mov word [eax + 0x30], cx
mov eax, dword [ebx + 0x20]
mov word [eax + 0x32], cx
mov eax, dword [ebx + 0x20]
mov word [eax + 0x36], cx
mov eax, dword [ebx + 0x20]
mov word [eax + 0x34], cx
jmp 0x42886c
mov ecx, dword [ebx + 0x20]
mov ax, word [ebp - 0x554]
mov word [ecx + 0x30], ax
mov ecx, dword [ebx + 0x20]
mov ax, word [ebp - 0x550]
mov word [ecx + 0x32], ax
mov ecx, dword [ebx + 0x20]
mov ax, word [ebp - 0x444]
mov word [ecx + 0x36], ax
mov ecx, dword [ebx + 0x20]
mov ax, word [ebp - 0x54c]
mov word [ecx + 0x34], ax
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x59c]
push str.GetNativeSystemInfo
rep stosd dword es:[edi], eax
push 0x4cdda0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42889f
lea ecx, [ebp - 0x59c]
push ecx
call eax
jmp 0x4288ac
lea eax, [ebp - 0x59c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebx + 0x20]
mov ax, word [ebp - 0x59c]
mov word [ecx + 0x38], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, dword [ebx + 0x20]
xorps xmm0, xmm0
movlpd qword [ebp - 0x568], xmm0
mov word [ecx + 0x3a], ax
lea eax, [ebp - 0x55c]
and dword [ebp - 0x55c], 0
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42899a
push 0x412
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00458260
and dword [ebp - 0x560], 0
lea eax, [ebp - 0x56c]
add esp, 0xc
mov dword [ebp - 0x56c], 0x208
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x560]
push eax
push 0
push str.Version
push dword [ebp - 0x55c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x428980
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x43c]
call fcn.0040224c
lea eax, [ebp - 0x43c]
push eax
call fcn.00428a69
lea ecx, [ebp - 0x43c]
mov esi, eax
mov edi, edx
call fcn.004020b1
jmp 0x42898c
mov edi, dword [ebp - 0x564]
mov esi, dword [ebp - 0x568]
push dword [ebp - 0x55c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4289a6
mov edi, dword [ebp - 0x564]
mov esi, dword [ebp - 0x568]
mov eax, dword [ebx + 0x20]
mov dword [eax + 0x40], esi
mov dword [eax + 0x44], edi
mov eax, dword [ebp - 0x570]
lea ecx, [ebp - 0x578]
xor ebx, ebx
cmp dword [eax + 0x1c], ebx
setne bl
call fcn.004241dc
mov eax, ebx
call fcn.004561cb
ret