Function at 0x1000c0ae
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1414]
mov eax, 0x1414
call fcn.10050990
push 0xffffffffffffffff
push 0x1007263a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1008dd90]
xor eax, ebp
mov dword [ebp + 0x1410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x141c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
mov ebx, SysReAllocStringLen
push ebx
mov dword [ebp - 0x2c], eax
call edi
test eax, eax
jne 0x1000c39f
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x800]
push eax
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x18], 0x400
call esi
test eax, eax
jne 0x1000c396
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
lea eax, [ebp]
push 0x10075ea4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp]
push eax
call fcn.10051577
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x800]
push eax
call fcn.10051577
push dword [ebp - 0x10]
push eax
call fcn.100503f0
lea ecx, [ebp + 0x800]
add esp, 0x1c
cmp eax, ecx
jne 0x1000c396
push 0x10075eac
mov eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x800]
push eax
push ebx
call edi
test eax, eax
jne 0x1000c396
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp + 0x1208]
push eax
xor ebx, ebx
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x30], 0x208
call esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.USER32.dll_CharLowerW]
lea eax, [ebp + 0x1208]
push eax
call esi
xor eax, eax
push 0x206
mov word [ebp + 0x1000], ax
lea eax, [ebp + 0x1002]
push ebx
push eax
call fcn.10050bb0
add esp, 0xc
push str...X86
push 0x1008f4e8
lea eax, [ebp + 0x1000]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x10075ee4
lea eax, [ebp + 0x1000]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1000]
push eax
call esi
lea eax, [ebp + 0x1000]
push eax
lea eax, [ebp + 0x1208]
push eax
call fcn.100503f0
pop ecx
pop ecx
lea ecx, [ebp + 0x1208]
cmp eax, ecx
jne 0x1000c39f
mov edi, 0x1008f90c
push edi
lea ecx, [ebp - 0x14]
call fcn.10002c90
push dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], ebx
call fcn.1000be9a
pop ecx
pop ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
push 1
push dword [ebp - 0x14]
mov esi, reloc.WS2_32.dll_accept
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.100094fb
cmp eax, ebx
je 0x1000c2a5
lea ecx, [ebp - 0x24]
call fcn.10009486
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10002890
xor eax, eax
inc eax
jmp 0x1000c3a1
push edi
lea ecx, [ebp - 0x1c]
call fcn.10002c90
push dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
push 0x10075efc
push 0x10075f0c
push eax
mov byte [ebp - 4], 2
call fcn.1000cf04
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1208]
push eax
push 0x10075f18
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], 0x104
call fcn.1000cb6b
test eax, eax
je 0x1000c316
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10002890
lea ecx, [ebp - 0x24]
call fcn.10009486
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10002890
mov eax, esi
jmp 0x1000c3a1
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp + 0x1208]
push eax
call edi
test eax, eax
je 0x1000c330
xor esi, esi
jmp 0x1000c2f1
push str.UserChoice
lea ecx, [ebp - 0x14]
call fcn.1000cee7
lea ecx, [ebp - 0x24]
call fcn.10009486
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
push esi
call fcn.100094fb
test eax, eax
jne 0x1000c2ee
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1208]
push eax
push str.Progid
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], 0x104
call fcn.1000cb6b
test eax, eax
jne 0x1000c2ee
push dword [ebp - 0x1c]
lea eax, [ebp + 0x1208]
push eax
call edi
mov esi, eax
neg esi
sbb esi, esi
inc esi
jmp 0x1000c2f1
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1410]
xor ecx, ebp
call fcn.1005097c
add ebp, 0x1414
leave
ret 4