Function at 0x1000c03b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1414]
mov eax, 0x1414
call fcn.100503e0
push 0xffffffffffffffff
push 0x10071e5a
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1008cc50]
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 0x1000c32c
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 0x1000c323
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
lea eax, [ebp]
push 0x10074ea4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp]
push eax
call fcn.10050fc7
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x800]
push eax
call fcn.10050fc7
push dword [ebp - 0x10]
push eax
call fcn.1004fe3e
lea ecx, [ebp + 0x800]
add esp, 0x1c
cmp eax, ecx
jne 0x1000c323
push 0x10074eac
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 0x1000c323
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.10050600
add esp, 0xc
push str...X86
push 0x1008e3a8
lea eax, [ebp + 0x1000]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x10074ee4
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.1004fe3e
pop ecx
pop ecx
lea ecx, [ebp + 0x1208]
cmp eax, ecx
jne 0x1000c32c
mov edi, 0x1008e7cc
push edi
lea ecx, [ebp - 0x14]
call fcn.10002cc0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], ebx
call fcn.1000be27
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.10009473
cmp eax, ebx
je 0x1000c232
lea ecx, [ebp - 0x24]
call fcn.100093fe
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.100028c0
xor eax, eax
inc eax
jmp 0x1000c32e
push edi
lea ecx, [ebp - 0x1c]
call fcn.10002cc0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x1c]
push 0x10074efc
push 0x10074f0c
push eax
mov byte [ebp - 4], 2
call fcn.1000ce91
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1208]
push eax
push 0x10074f18
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], 0x104
call fcn.1000caf8
test eax, eax
je 0x1000c2a3
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.100028c0
lea ecx, [ebp - 0x24]
call fcn.100093fe
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.100028c0
mov eax, esi
jmp 0x1000c32e
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp + 0x1208]
push eax
call edi
test eax, eax
je 0x1000c2bd
xor esi, esi
jmp 0x1000c27e
push str.UserChoice
lea ecx, [ebp - 0x14]
call fcn.1000ce74
lea ecx, [ebp - 0x24]
call fcn.100093fe
push 1
push dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
push esi
call fcn.10009473
test eax, eax
jne 0x1000c27b
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.1000caf8
test eax, eax
jne 0x1000c27b
push dword [ebp - 0x1c]
lea eax, [ebp + 0x1208]
push eax
call edi
mov esi, eax
neg esi
sbb esi, esi
inc esi
jmp 0x1000c27e
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.100503cc
add ebp, 0x1414
leave
ret 4