Function at 0x1003497c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10034acc
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x10034ab5
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x34], eax
push 0
mov ecx, dword [ebp - 0x10]
call fcn.10017dd6
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0xfff9
push 0
mov ecx, dword [ebp - 0x10]
call fcn.10017dd6
cmp dword [eax], 0xfff9
jl 0x10034a5b
xor eax, eax
inc eax
je 0x10034a5b
mov dword [ebp - 0x3c], 1
jmp 0x10034a5f
and dword [ebp - 0x3c], 0
push 0
mov ecx, dword [ebp - 0x10]
call fcn.10017dd6
cmp dword [eax], 0xfffffffd
ja 0x10034a77
mov dword [ebp - 0x18], 1
jmp 0x10034a7b
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
push 0
mov ecx, dword [ebp - 0x10]
call fcn.10017dd6
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jle 0x10034a9f
mov dword [ebp - 0x14], 1
jmp 0x10034aa3
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
jmp 0x10034ac7
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x10034c45
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x10034b9c
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 4
mov dword [ebp - 4], 0xe32
mov dword [ebp - 0x24], 0x2be1
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x64], 0
push 1
lea eax, [ebp - 0x1c]
push eax
push 0x6460
push 0x5082
push 0x1ec5
push 0
lea eax, [ebp - 0x28]
push eax
push 0x481d
push 1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10026169
add esp, 0x30
mov dword [ebp - 4], 0
jmp 0x10034b56
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x2c
jl 0x10034b97
mov dword [ebp - 0x6c], 0x967268f5
push 1
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
push 0xf1b
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x62be
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1002322b
add esp, 0x2c
jmp 0x10034b4f
jmp 0x10034c45
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 3
jmp 0x10034bbe
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x10034c45
mov dword [ebp - 0xc], 0xfffffff8
mov dword [ebp - 0x94], 0xfffffff7
mov dword [ebp - 0xc], 0
jmp 0x10034be7
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jg 0x10034c40
mov dword [ebp - 0x84], 0x3e7ed6f1
lea eax, [ebp - 0x84]
push eax
push 1
push 0x687a
push 0x6383
push 0x2d40
push 0x28b6
push 0x60e0
push 0x5022
push 0
push 0xecc
push 0x3489
push 0x70e7
push 0x4bee
push 1
call fcn.100215d7
add esp, 0x38
jmp 0x10034be0
jmp 0x10034bb3
mov esp, ebp
pop ebp
ret