Function at 0x1c38f80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov esi, ecx
mov eax, dword [0x1cf3040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ecx], ebx
xorps xmm0, xmm0
movups xmmword [ecx + 0x20], xmm0
xorps xmm0, xmm0
movsd qword [ecx + 0x30], xmm0
mov dword [ecx + 0x40], 4
mov dword [ecx + 0x44], 3
movsd qword [ecx + 0x48], xmm0
mov dword [ecx + 0x50], ebx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov dword [ebp - 0x48], edx
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
mov dword [ebp - 0x20], ebx
movsd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
lea edi, [ebp - 0x40]
mov dword [edi], ebx
push edi
push 1
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1c392ef
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov ecx, 4
mov dword [ebp - 0x40], ecx
lea edx, [ebp - 0x18]
mov dword [edx], ecx
lea ecx, [ebp - 0x1c]
mov dword [ecx], ebx
push edx
push ecx
push edi
push ebx
push 0x1cea9ae
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1c39052
mov eax, dword [ebp - 0x40]
add eax, 0xfffffffd
xor ebx, ebx
cmp dword [ebp - 0x18], 4
mov ecx, 0
jne 0x1c3904c
mov ecx, dword [ebp - 0x1c]
cmp eax, 2
cmovb ebx, ecx
lea edi, [ebp - 0x28]
lea ecx, [ebp - 0x34]
push edi
push str.DisplayVersion
call fcn.01c2a370
movzx eax, byte [edi + 0xb]
test al, al
mov ecx, dword [edi + 4]
mov edx, eax
cmovs edx, ecx
test edx, edx
jne 0x1c39089
lea ecx, [ebp - 0x34]
push edi
push str.ReleaseId
call fcn.01c2a370
mov al, byte [ebp - 0x1d]
mov ecx, dword [ebp - 0x24]
lea edi, [ebp - 0x40]
test al, al
movzx eax, al
cmovs eax, ecx
lea edx, [ebp - 0x28]
mov ecx, dword [edx]
cmovns ecx, edx
push eax
push ecx
push edi
call fcn.01c8c9e0
add esp, 0xc
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x39]
mov dword [ebp - 0x15], eax
mov al, byte [ebp - 0x35]
mov byte [ebp - 0x44], al
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1c390d2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
test ecx, ecx
jne 0x1c393e2
cmp byte [ebp - 0x1d], 0
jns 0x1c390f5
push dword [ebp - 0x28]
call fcn.01c95155
add esp, 4
mov dword [esi + 0x10], ebx
cmp byte [esi + 0x2b], 0
jns 0x1c3910b
lea eax, [esi + 0x20]
push dword [eax]
call fcn.01c95155
add esp, 4
mov dword [esi + 0x20], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x15]
mov dword [esi + 0x24], eax
mov dword [esi + 0x27], ecx
mov al, byte [ebp - 0x44]
mov byte [esi + 0x2b], al
mov ecx, dword [esi + 4]
mov eax, 0x16
cmp ecx, 0xa
mov dword [ebp - 0x44], esi
jne 0x1c39482
mov ecx, dword [esi + 0xc]
cmp ecx, 0x585c
ja 0x1c393ee
cmp ecx, 0x55ef
ja 0x1c3917a
cmp ecx, 0x4f7b
ja 0x1c393f8
cmp ecx, 0x4a64
ja 0x1c39402
je 0x1c3940c
mov eax, 0x12
cmp ecx, 0x4a62
jbe 0x1c392f8
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, eax
mov eax, dword [0x1cf8c04]
mov ecx, dword [0x1cf656c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x1c391e0
push 0x1cf8c04
call fcn.01c9518a
add esp, 4
cmp dword [0x1cf8c04], 0xffffffff
jne 0x1c391e0
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.IsWow64Process2
push eax
call dword [sym.imp.progwrp.dll_GetProcAddress]
mov dword [0x1cf8c00], eax
push 0x1cf8c04
call fcn.01c951d9
add esp, 4
mov ecx, dword [0x1cf8c00]
test ecx, ecx
je 0x1c39442
xor eax, eax
mov word [ebp - 0x28], ax
lea edi, [ebp - 0x34]
mov word [edi], ax
call dword [0x1cef298]
push edi
lea eax, [ebp - 0x28]
push eax
push ebx
call ecx
test eax, eax
je 0x1c3923f
movzx eax, word [ebp - 0x28]
cmp eax, 0x14c
jne 0x1c39416
xor eax, eax
inc eax
mov dword [esi + 0x40], eax
movzx ecx, word [ebp - 0x34]
xor eax, eax
cmp ecx, 0x8664
setne al
inc eax
xor edx, edx
cmp ecx, 0xaa64
cmovne edx, eax
mov dword [esi + 0x44], edx
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
lea eax, [edi + 0x2c]
mov dword [ebp - 0x48], eax
movzx eax, word [esi + 0x114]
mov dword [edi + 0x18], eax
movzx eax, word [esi + 0x116]
mov dword [edi + 0x1c], eax
lea ebx, [esi + 0x14]
push ebx
call fcn.01c96aca
add esp, 4
push eax
push ebx
mov ebx, dword [ebp - 0x48]
lea eax, [ebp - 0x28]
push eax
call fcn.01c8c9e0
add esp, 0xc
cmp byte [edi + 0x37], 0
jns 0x1c3928c
push dword [ebx]
call fcn.01c95155
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebx + 8], eax
movsd xmm0, qword [ebp - 0x28]
movsd qword [ebx], xmm0
mov eax, dword [0x1cf8c1c]
mov dword [edi + 0x38], eax
mov eax, dword [0x1cf8c24]
mov dword [edi + 0x3c], eax
mov eax, dword [esi + 4]
cmp eax, 5
je 0x1c39314
cmp eax, 0xa
je 0x1c392c1
cmp eax, 6
jne 0x1c39376
mov eax, dword [ebp + 8]
cmp eax, 0x45
jg 0x1c39343
cmp eax, 0x1b
mov esi, dword [ebp - 0x44]
ja 0x1c393a3
mov ecx, 0x206f780
bt ecx, eax
jae 0x1c39394
mov dword [esi + 0x14], 2
jmp 0x1c39380
xor ecx, ecx
xor eax, eax
jmp 0x1c3908c
je 0x1c394dd
mov eax, 0x10
cmp ecx, 0x4a60
ja 0x1c3917a
jmp 0x1c394e7
mov eax, dword [esi + 8]
cmp eax, 1
je 0x1c39361
cmp eax, 2
jne 0x1c39376
cmp byte [esi + 0x11a], 1
jne 0x1c39334
cmp word [0x1cf8c08], 9
je 0x1c3936a
cmp word [esi + 0x118], 0
js 0x1c39376
mov esi, dword [ebp - 0x44]
jmp 0x1c392e3
lea ecx, [eax - 0x79]
cmp ecx, 9
mov esi, dword [ebp - 0x44]
ja 0x1c393aa
mov edx, 0x330
bt edx, ecx
jae 0x1c393cf
mov dword [esi + 0x14], 3
jmp 0x1c39380
test byte [esi + 0x119], 2
jne 0x1c39376
mov esi, dword [ebp - 0x44]
mov dword [esi + 0x14], 1
jmp 0x1c39380
mov esi, dword [ebp - 0x44]
mov dword [esi + 0x14], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c98173
mov eax, esi
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x8010050
bt ecx, eax
jb 0x1c39358
cmp eax, 1
je 0x1c3936d
cmp eax, 0x30
je 0x1c3936d
jmp 0x1c39379
lea ecx, [eax - 0x46]
cmp ecx, 0xe
ja 0x1c393bc
mov edx, 0x4005
bt edx, ecx
jb 0x1c39358
add eax, 0xffffff5c
cmp eax, 2
jae 0x1c39379
mov dword [esi + 0x14], 5
jmp 0x1c39380
mov edx, 3
bt edx, ecx
jae 0x1c393aa
mov dword [esi + 0x14], 4
jmp 0x1c39380
push 1
call fcn.01c350e0
jmp 0x1c390e4
mov eax, 0x17
jmp 0x1c3917a
mov eax, 0x15
jmp 0x1c3917a
mov eax, 0x14
jmp 0x1c3917a
mov eax, 0x13
jmp 0x1c3917a
test eax, eax
je 0x1c39433
add eax, 0xfffffe40
cmp eax, 4
ja 0x1c3942e
mov ecx, 0x15
bt ecx, eax
jb 0x1c3943b
mov eax, 3
mov esi, dword [ebp - 0x44]
jmp 0x1c3921e
mov eax, 2
jmp 0x1c39433
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.progwrp.dll_IsWow64Process]
test eax, eax
je 0x1c3923f
cmp dword [ebp - 0x28], 0
je 0x1c39473
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x40], eax
mov dword [ecx + 0x44], eax
jmp 0x1c3923f
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x40], 0
jmp 0x1c3923f
cmp ecx, 0xb
je 0x1c3917a
cmp ecx, 7
jae 0x1c394ab
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 8]
cmp ecx, 6
jne 0x1c394bd
lea ecx, [edx + 3]
cmp edx, 3
mov eax, 6
cmovb eax, ecx
jmp 0x1c394b5
call fcn.01cbf450
mov eax, 0x18
mov esi, dword [ebp - 0x44]
jmp 0x1c3917a
xor eax, eax
test edx, edx
je 0x1c394b5
cmp ecx, 5
mov esi, dword [ebp - 0x44]
jne 0x1c3917a
xor eax, eax
cmp edx, 1
setne al
inc eax
jmp 0x1c3917a
mov eax, 0x11
jmp 0x1c3917a
mov eax, 0xf
cmp ecx, 0x47ba
ja 0x1c3917a
mov eax, 0xe
je 0x1c3917a
mov eax, 0xd
cmp ecx, 0x4562
ja 0x1c3917a
mov eax, 0xc
cmp ecx, 0x42ed
ja 0x1c3917a
mov eax, 0xb
cmp ecx, 0x3faa
ja 0x1c3917a
mov eax, 0xa
cmp ecx, 0x3ad6
ja 0x1c3917a
mov eax, 9
cmp ecx, 0x3838
ja 0x1c3917a
cmp ecx, 0x295a
mov eax, 7
sbb eax, 0xffffffff
jmp 0x1c3917a