Function at 0x41b630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470431
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x48e084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x110]
push 0x80
push 0
mov dword [ebp - 0x28c], esi
push eax
mov dword [ebp - 0x28c], 4
call fcn.0044c770
push 0x110
lea eax, [ebp - 0x280]
mov dword [ebp - 0x284], 0x114
push 0
push eax
call fcn.0044c770
add esp, 0x18
lea eax, [ebp - 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0044c770
push dword [ebp - 0x278]
lea eax, [ebp - 0x90]
push dword [ebp - 0x27c]
push dword [ebp - 0x280]
push str._d._d._d
push 0x40
push eax
call fcn.0041e070
add esp, 0x24
mov dword [ebp - 0x130], 0
xor eax, eax
mov dword [ebp - 0x12c], 7
lea ecx, [ebp - 0x90]
mov word [ebp - 0x140], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b711
sub ecx, edx
lea eax, [ebp - 0x90]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x140]
call fcn.0040a7a0
lea eax, [ebp - 0x140]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.0041df20
add esp, 8
mov edx, dword [ebp - 0x12c]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x41b794
mov ecx, dword [ebp - 0x140]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b78a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b987
push edx
push ecx
call fcn.00434483
add esp, 8
xor eax, eax
mov dword [ebp - 0x130], 0
mov word [ebp - 0x140], ax
lea eax, [ebp - 0x288]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
mov dword [ebp - 0x12c], 7
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41b7fa
movups xmm0, xmmword [ebp - 0x128]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x118]
movq qword [esi + 0x10], xmm0
jmp 0x41b968
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x280]
push eax
push 0
push 0
push str.CurrentMajorVersionNumber
push dword [ebp - 0x288]
call edi
test eax, eax
je 0x41b874
push dword [ebp - 0x288]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [ebp - 0x128]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov byte [ebp - 0x128], 0
movq xmm0, qword [ebp - 0x118]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
jmp 0x41b95d
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x27c]
push eax
push 0
push 0
push str.CurrentMinorVersionNumber
push dword [ebp - 0x288]
call edi
test eax, eax
jne 0x41b823
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x28c], 0x80
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push str.CurrentBuildNumber
push dword [ebp - 0x288]
call edi
push dword [ebp - 0x288]
test eax, eax
je 0x41b8d2
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41b94f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x27c]
lea eax, [ebp - 0x90]
push dword [ebp - 0x280]
push str._d._d._s
push 0x40
push eax
call fcn.0041e070
add esp, 0x18
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x158]
push eax
call fcn.00403670
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.0041df20
add esp, 8
lea ecx, [ebp - 0x128]
push eax
call fcn.00417280
lea ecx, [ebp - 0x170]
call fcn.00404b50
lea ecx, [ebp - 0x158]
call fcn.00404ba0
lea eax, [ebp - 0x128]
mov ecx, esi
push eax
call fcn.00416a30
lea ecx, [ebp - 0x128]
call fcn.00404b50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004349bf
mov esp, ebp
pop ebp
ret 4
call fcn.0044f769
int3