Function at 0x100053c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092ca6
mov eax, dword fs:[0]
push eax
sub esp, 0x560
mov eax, dword [0x100b2040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x568], edi
mov esi, dword [ebp + 8]
push 0x108
push 0
mov dword [ebp - 0x56c], esi
push esi
mov dword [ebp - 0x548], esi
mov dword [ebp - 0x54c], 0
call fcn.1006e410
add esp, 0xc
mov ecx, esi
call fcn.10005a70
push 0x38
lea eax, [ebp - 0x544]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x54c], 1
call fcn.1006e410
add esp, 0xc
mov esi, edi
cmp dword [edi + 0x14], 0xf
jbe 0x10005453
mov esi, dword [edi]
sub esp, 0x18
lea eax, [edi + 0x18]
mov ecx, esp
push eax
call fcn.10008620
push esi
lea ecx, [ebp - 0x544]
call fcn.10002cd0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x444]
push 5
xorps xmm0, xmm0
mov dword [ebp - 0x434], 0
push str.1.0.0
movups xmmword [ebp - 0x444], xmm0
mov dword [ebp - 0x430], 0
call fcn.1000d110
push 0
call fcn.100782c9
push 0x98
mov edi, eax
mov esi, edx
lea eax, [ebp - 0x50c]
push 0
push eax
call fcn.1006e410
add esp, 0x10
mov dword [ebp - 0x50c], 0x100ac298
lea ecx, [ebp - 0x4bc]
call fcn.1000a870
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x50c]
mov dword [ebp - 0x54c], 3
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x50c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x510], eax
lea ecx, [ebp - 0x50c]
mov eax, dword [ebp - 0x50c]
add ecx, dword [eax + 4]
lea eax, [ebp - 0x508]
push ecx
push eax
call fcn.1000bec0
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x50c]
push 2
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x50c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x510], eax
lea ecx, [ebp - 0x508]
call fcn.1000a5c0
push esi
push edi
lea ecx, [ebp - 0x50c]
mov byte [ebp - 4], 6
call fcn.10007f30
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x508]
call fcn.1000a4e0
mov dword [ebp - 0x54c], 0xb
mov byte [ebp - 4], 7
lea eax, [ebp - 0x42c]
mov esi, dword [ebp - 0x548]
cmp esi, eax
je 0x100055c3
cmp dword [ebp - 0x418], 0xf
mov ecx, esi
push dword [ebp - 0x41c]
cmova eax, dword [ebp - 0x42c]
push eax
call fcn.1000a910
lea eax, [ebp - 0x548]
mov dword [ebp - 0x414], 0x400
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000565f
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push str.CurrentBuild
push dword [ebp - 0x548]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x548]
test eax, eax
jne 0x10005659
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
mov dword [ebp - 0x554], 0
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x550], 0
movups xmmword [ebp - 0x564], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005646
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
jmp 0x10005684
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x554], 0
push str.INVALID
movups xmmword [ebp - 0x564], xmm0
mov dword [ebp - 0x550], 0
lea ecx, [ebp - 0x564]
call fcn.1000d110
lea eax, [ebp - 0x564]
mov dword [ebp - 0x54c], 0x1b
push eax
lea ecx, [esi + 0x30]
call fcn.10008460
mov ecx, dword [ebp - 0x550]
cmp ecx, 0xf
jbe 0x100056e2
mov edx, dword [ebp - 0x564]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100056d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a65
push ecx
push edx
call fcn.1006cf0e
add esp, 8
lea ecx, [esi + 0x60]
lea eax, [ebp - 0x444]
cmp ecx, eax
je 0x10005709
cmp dword [ebp - 0x430], 0xf
push dword [ebp - 0x434]
cmova eax, dword [ebp - 0x444]
push eax
call fcn.1000a910
push 0xe
xorps xmm0, xmm0
mov dword [ebp - 0x554], 0
push str.Windows_32_bit
lea ecx, [ebp - 0x564]
mov dword [ebp - 0x550], 0
movups xmmword [ebp - 0x564], xmm0
call fcn.1000d110
lea eax, [ebp - 0x564]
mov dword [ebp - 0x54c], 0x3b
push eax
lea ecx, [esi + 0x48]
call fcn.10008460
mov ecx, dword [ebp - 0x550]
cmp ecx, 0xf
jbe 0x1000578c
mov edx, dword [ebp - 0x564]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005782
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a65
push ecx
push edx
call fcn.1006cf0e
add esp, 8
push 5
push str.false
lea ecx, [esi + 0x9c]
call fcn.1000a910
lea eax, [ebp - 0x564]
push eax
call fcn.100039d0
push eax
lea ecx, [esi + 0x84]
call fcn.10008460
mov ecx, dword [ebp - 0x550]
cmp ecx, 0xf
jbe 0x100057f0
mov edx, dword [ebp - 0x564]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100057e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a5b
push ecx
push edx
call fcn.1006cf0e
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x464], 0
movups xmmword [ebp - 0x474], xmm0
mov dword [ebp - 0x460], 0xf
movups xmmword [ebp - 0x45c], xmm0
mov byte [ebp - 0x474], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 0
push 6
push str.custom
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 8
call fcn.1000a910
lea eax, [ebp - 0x564]
push eax
lea ecx, [ebp - 0x544]
call fcn.10003830
push eax
lea ecx, [ebp - 0x45c]
call fcn.10008460
mov ecx, dword [ebp - 0x550]
cmp ecx, 0xf
jbe 0x100058a5
mov edx, dword [ebp - 0x564]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000589b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a60
push ecx
push edx
call fcn.1006cf0e
add esp, 8
mov eax, dword [esi + 0x7c]
lea ecx, [ebp - 0x474]
mov dword [ebp - 0x414], eax
push ecx
cmp eax, dword [esi + 0x80]
je 0x100058ed
mov ecx, eax
mov dword [ebp - 0x548], eax
call fcn.10008620
mov byte [ebp - 4], 9
lea eax, [ebp - 0x45c]
mov ecx, dword [ebp - 0x414]
add ecx, 0x18
push eax
call fcn.10008620
mov byte [ebp - 4], 8
add dword [esi + 0x7c], 0x30
jmp 0x100058f6
push eax
lea ecx, [esi + 0x78]
call fcn.10012bb0
mov eax, dword [ebp - 0x568]
cmp dword [eax + 0x40], 0
je 0x10005921
add eax, 0x30
lea ecx, [esi + 0xb4]
cmp ecx, eax
je 0x10005921
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x1000591a
mov eax, dword [eax]
push edx
push eax
call fcn.1000a910
lea ecx, [ebp - 0x474]
call fcn.10005c00
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x418]
cmp ecx, 0xf
jbe 0x1000596a
mov edx, dword [ebp - 0x42c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005960
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a65
push ecx
push edx
call fcn.1006cf0e
add esp, 8
mov eax, dword [ebp - 0x50c]
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x50c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x510], eax
lea ecx, [ebp - 0x508]
call fcn.10007ba0
mov eax, dword [ebp - 0x50c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x50c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x510], eax
lea eax, [ebp - 0x4bc]
mov byte [ebp - 4], 0xb
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1006c161
mov ecx, dword [ebp - 0x430]
add esp, 4
cmp ecx, 0xf
jbe 0x10005a31
mov edx, dword [ebp - 0x444]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005a27
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005a65
push ecx
push edx
call fcn.1006cf0e
add esp, 8
lea ecx, [ebp - 0x544]
call fcn.10005330
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.1006cacc
mov esp, ebp
pop ebp
ret 4
call fcn.10078661
call fcn.10078661
call fcn.10078661
int3