Function at 0x100188a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006759c
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x240
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x22c], 0x200
mov byte [ebp - 0x218], 0
push 0x1ff
push 0
lea eax, [ebp - 0x217]
push eax
call fcn.10041d70
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x230]
push ecx
push 0x2001f
push 0
push 0x10073b38
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10018ae5
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x10073b54
mov ecx, dword [ebp - 0x230]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10018989
mov edx, dword [ebp - 0x22c]
push edx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100415e0
add esp, 0xc
mov edx, dword [ebp - 0x22c]
push edx
lea eax, [ebp - 0x218]
push eax
push 0x1008d608
call fcn.100415e0
add esp, 0xc
jmp 0x10018ac5
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
jl 0x10018aab
lea ecx, [ebp - 0x238]
call fcn.100016b0
mov byte [ebp - 4], 1
movzx edx, byte [ebp - 0x219]
push edx
movzx eax, byte [ebp - 0x21a]
push eax
movzx ecx, byte [ebp - 0x21b]
push ecx
movzx edx, byte [ebp - 0x21c]
push edx
movzx eax, byte [ebp - 0x21d]
push eax
movzx ecx, byte [ebp - 0x21e]
push ecx
movzx edx, byte [ebp - 0x21f]
push edx
movzx eax, byte [ebp - 0x220]
push eax
movzx ecx, word [ebp - 0x222]
push ecx
movzx edx, word [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x228]
push eax
push 0x10073b5c
lea ecx, [ebp - 0x238]
push ecx
call fcn.100030c0
add esp, 0x34
lea ecx, [ebp - 0x238]
call fcn.10025740
push 0
lea ecx, [ebp - 0x238]
call fcn.10001730
mov dword [ebp - 0x244], eax
lea ecx, [ebp - 0x238]
call fcn.10026490
push eax
mov edx, dword [ebp - 0x244]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100415e0
add esp, 0xc
push 0
lea ecx, [ebp - 0x238]
call fcn.10001730
mov dword [ebp - 0x248], eax
lea ecx, [ebp - 0x238]
call fcn.10026490
push eax
mov ecx, dword [ebp - 0x248]
push ecx
push 0x1008d608
call fcn.100415e0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.100016d0
jmp 0x10018ab0
jmp 0x10018c25
jmp 0x10018ac5
mov dword [ebp - 4], 0xffffffff
jmp 0x10018ad3
mov edx, dword [ebp - 0x230]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10018c1e
mov dword [ebp - 4], 3
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jl 0x10018c07
lea ecx, [ebp - 0x240]
call fcn.100016b0
mov byte [ebp - 4], 4
movzx ecx, byte [ebp - 0x219]
push ecx
movzx edx, byte [ebp - 0x21a]
push edx
movzx eax, byte [ebp - 0x21b]
push eax
movzx ecx, byte [ebp - 0x21c]
push ecx
movzx edx, byte [ebp - 0x21d]
push edx
movzx eax, byte [ebp - 0x21e]
push eax
movzx ecx, byte [ebp - 0x21f]
push ecx
movzx edx, byte [ebp - 0x220]
push edx
movzx eax, word [ebp - 0x222]
push eax
movzx ecx, word [ebp - 0x224]
push ecx
mov edx, dword [ebp - 0x228]
push edx
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
lea eax, [ebp - 0x240]
push eax
call fcn.100030c0
add esp, 0x34
lea ecx, [ebp - 0x240]
call fcn.10025740
push 0
lea ecx, [ebp - 0x240]
call fcn.10001730
mov dword [ebp - 0x24c], eax
lea ecx, [ebp - 0x240]
call fcn.10026490
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100415e0
add esp, 0xc
push 0
lea ecx, [ebp - 0x240]
call fcn.10001730
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x240]
call fcn.10026490
push eax
mov eax, dword [ebp - 0x250]
push eax
push 0x1008d608
call fcn.100415e0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x240]
call fcn.100016d0
jmp 0x10018c09
jmp 0x10018c25
jmp 0x10018c1e
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret