Function at 0x10104ca0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov ecx, dword [ebp + 8]
add ecx, 0x120
call fcn.10004cb0
test eax, eax
je 0x10104dc4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3b4], 0
je 0x10104dc4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3b4]
cmp dword [edx + 0x12c], 0
je 0x10104dc4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3b4]
mov edx, dword [ecx + 0x12c]
cmp dword [edx + 0x48], 0
je 0x10104dc4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3b4]
mov edx, dword [ecx + 0x12c]
mov ecx, dword [edx + 0x48]
add ecx, 0x10
call fcn.10004400
movzx eax, al
test eax, eax
jne 0x10104dc4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3b4]
mov eax, dword [edx + 0x12c]
mov ecx, dword [eax + 0x48]
add ecx, 0x10
push ecx
lea ecx, [ebp - 0x20]
call fcn.10005d60
lea ecx, [ebp - 0x20]
call fcn.100ab8e0
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x24]
call fcn.10005d80
lea ecx, [ebp - 0x24]
call fcn.100ab8e0
push 0
lea ecx, [ebp - 0x20]
call fcn.10004390
push eax
lea ecx, [ebp - 0x24]
call fcn.10004220
cmp eax, 0xffffffff
jne 0x10104db4
mov eax, dword [ebp + 0x10]
push eax
push 0x101d8b34
lea ecx, [ebp - 0x48]
call fcn.100ae090
mov ecx, eax
call fcn.1009d390
lea ecx, [ebp - 0x48]
call fcn.10012580
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x24]
call fcn.10005e00
lea ecx, [ebp - 0x20]
call fcn.10005e00
mov eax, dword [ebp - 0x4c]
jmp 0x10105199
lea ecx, [ebp - 0x24]
call fcn.10005e00
lea ecx, [ebp - 0x20]
call fcn.10005e00
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10005d80
lea ecx, [ebp - 0x18]
call fcn.10005d40
lea ecx, [ebp - 0x14]
call fcn.10005d40
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.100a9410
add esp, 0xc
movzx edx, al
test edx, edx
jne 0x10104e42
mov eax, dword [ebp + 0x10]
push eax
push 0x101d8b38
lea ecx, [ebp - 0x60]
call fcn.100ae090
mov ecx, eax
call fcn.1009d390
lea ecx, [ebp - 0x60]
call fcn.10012580
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x14]
call fcn.10005e00
lea ecx, [ebp - 0x18]
call fcn.10005e00
lea ecx, [ebp - 0x1c]
call fcn.10005e00
mov eax, dword [ebp - 0x64]
jmp 0x10105199
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 4
lea ecx, [ebp - 0xc]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x1c]
call fcn.100043a0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
lea edx, [ebp - 0x18]
push edx
call fcn.10005d60
call fcn.100a92b0
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10104eea
mov eax, dword [ebp + 0x10]
push eax
push 0x101d8b3c
lea ecx, [ebp - 0x78]
call fcn.100ae090
mov ecx, eax
call fcn.1009d390
lea ecx, [ebp - 0x78]
call fcn.10012580
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0x14]
call fcn.10005e00
lea ecx, [ebp - 0x18]
call fcn.10005e00
lea ecx, [ebp - 0x1c]
call fcn.10005e00
mov eax, dword [ebp - 0x7c]
jmp 0x10105199
push 0
push 0
lea edx, [ebp - 4]
push edx
push 0
lea ecx, [ebp - 0x14]
call fcn.100043a0
push eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10104f6d
mov ecx, dword [ebp + 0x10]
push ecx
push 0x101d8b40
lea ecx, [ebp - 0x90]
call fcn.100ae090
mov ecx, eax
call fcn.1009d390
lea ecx, [ebp - 0x90]
call fcn.10012580
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x94], 0
lea ecx, [ebp - 0x14]
call fcn.10005e00
lea ecx, [ebp - 0x18]
call fcn.10005e00
lea ecx, [ebp - 0x1c]
call fcn.10005e00
mov eax, dword [ebp - 0x94]
jmp 0x10105199
mov eax, dword [ebp - 4]
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
jbe 0x101050b0
cmp dword [ebp - 0xf8], 3
jbe 0x10104f9a
cmp dword [ebp - 0xf8], 7
je 0x10104f9a
jmp 0x101050b0
push 0x8000
call fcn.1016f15a
add esp, 4
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 0x4000
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
lea ecx, [ebp - 0x14]
call fcn.100043a0
push eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1010506e
push 0x101d8b44
lea ecx, [ebp - 0xa8]
call fcn.100ae090
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0xa8]
call fcn.10012580
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
push edx
call fcn.10170335
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xb0], 0
lea ecx, [ebp - 0x14]
call fcn.10005e00
lea ecx, [ebp - 0x18]
call fcn.10005e00
lea ecx, [ebp - 0x1c]
call fcn.10005e00
mov eax, dword [ebp - 0xb0]
jmp 0x10105199
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0xc0]
call fcn.100ae090
mov ecx, eax
call fcn.1009d390
lea ecx, [ebp - 0xc0]
call fcn.10012580
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
push ecx
call fcn.10170335
add esp, 4
jmp 0x10105167
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 4
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
lea ecx, [ebp - 0x14]
call fcn.100043a0
push eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10105142
mov eax, dword [ebp + 0x10]
push eax
push 0x101d8b48
lea ecx, [ebp - 0xd8]
call fcn.100ae090
mov ecx, eax
call fcn.1009d390
lea ecx, [ebp - 0xd8]
call fcn.10012580
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xdc], 0
lea ecx, [ebp - 0x14]
call fcn.10005e00
lea ecx, [ebp - 0x18]
call fcn.10005e00
lea ecx, [ebp - 0x1c]
call fcn.10005e00
mov eax, dword [ebp - 0xdc]
jmp 0x10105199
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0xf0]
call fcn.10090a60
mov ecx, eax
call fcn.1009d390
lea ecx, [ebp - 0xf0]
call fcn.10012580
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xf4], 0
lea ecx, [ebp - 0x14]
call fcn.10005e00
lea ecx, [ebp - 0x18]
call fcn.10005e00
lea ecx, [ebp - 0x1c]
call fcn.10005e00
mov eax, dword [ebp - 0xf4]
mov esp, ebp
pop ebp
ret 0xc