Function at 0x42c2e0
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x491a4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
push ebp
push esi
push edi
mov ebx, ecx
lea eax, [esp + 0x13]
push eax
lea ecx, [esp + 0x17]
push ecx
xor esi, esi
mov ecx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x1c], esi
call fcn.00413b20
mov dword [esp + 0x148], 1
push 0xf
xor edx, edx
push str.DefaultLogLevel
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], esi
mov word [esp + 0x2c], dx
call fcn.0040fd40
mov byte [esp + 0x148], 2
mov edi, dword [esp + 0x150]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.00428fd0
mov dword [ebx + 0x20], eax
mov byte [esp + 0x148], 1
mov ebp, 8
cmp dword [esp + 0x38], ebp
jb 0x42c388
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00471e4a
add esp, 4
push 0xb
mov ebx, 7
xor edx, edx
xor eax, eax
push str.OriginRules
lea ecx, [esp + 0x68]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], esi
mov word [esp + 0x2c], dx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], esi
mov word [esp + 0x6c], ax
call fcn.0040fd40
mov byte [esp + 0x148], 3
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, edi
call fcn.0042c250
mov byte [esp + 0x148], 5
cmp dword [esp + 0x78], ebp
jb 0x42c3f2
mov eax, dword [esp + 0x64]
push eax
call fcn.00471e4a
add esp, 4
xor ecx, ecx
lea edx, [esp + 0x20]
mov word [esp + 0x64], cx
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], esi
call fcn.00429030
mov dword [esp + 0x148], 0xb
push esi
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0042b4b0
add esp, 0xc
mov byte [esp + 0x148], 0xd
lea ecx, [esp + 0x20]
call fcn.004243f0
mov byte [esp + 0x148], 0x17
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
mov ebp, dword [esp + 0x60]
mov edi, eax
mov eax, 0x17
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x148], eax
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x148], eax
jmp 0x42c488
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
test ebp, ebp
je 0x42c492
cmp ebp, dword [esp + 0x58]
je 0x42c497
call fcn.00473348
cmp edi, dword [esp + 0x5c]
mov eax, 0x32
setne bl
mov dword [esp + 0x148], eax
test esi, 0x400000
je 0x42c4cf
and esi, 0xffbfffff
mov dword [esp + 0x14], esi
mov dword [esp + 0x148], eax
lea ecx, [esp + 0x80]
call fcn.004243f0
mov dword [esp + 0x148], 0x17
test esi, 0x200000
je 0x42c500
and esi, 0xffdfffff
mov dword [esp + 0x14], esi
mov byte [esp + 0x148], 0x17
lea ecx, [esp + 0xc0]
call fcn.004243f0
test bl, bl
je 0x42c6b4
test ebp, ebp
jne 0x42c6ac
call fcn.00473348
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x42c521
call fcn.00473348
xor edx, edx
push 0xffffffffffffffff
lea eax, [edi + 0xc]
push edx
mov ebx, 7
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], 0
mov word [esp + 0x30], dx
call fcn.0040f880
mov dword [esp + 0x148], 0x39
test esi, 0x1000000
je 0x42c572
and esi, 0xfeffffff
lea ecx, [esp + 0x100]
mov dword [esp + 0x14], esi
call fcn.00426970
mov byte [esp + 0x148], 0x3a
test esi, 0x800000
je 0x42c5a0
and esi, 0xff7fffff
lea ecx, [esp + 0xa0]
mov dword [esp + 0x14], esi
call fcn.00426970
jmp 0x42c5a0
mov eax, dword [esp + 0x24]
mov ebp, 8
mov edi, 4
mov dword [esp + 0x50], edi
cmp dword [esp + 0x38], ebp
jae 0x42c5bc
lea eax, [esp + 0x24]
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x58]
push edx
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x54]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42c5e8
cmp dword [esp + 0x4c], edi
je 0x42c5e8
mov eax, 0x3bc6
push str.RegQueryValueEx
push eax
call fcn.00428e90
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x5c]
add esp, 8
lea eax, [esp + 0x20]
push eax
call fcn.004244c0
mov dword [eax], edi
mov byte [esp + 0x148], 0x17
cmp dword [esp + 0x38], ebp
jb 0x42c625
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00471e4a
add esp, 4
xor edx, edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 0
mov word [esp + 0x24], dx
call fcn.00403710
mov eax, 0x2e
mov dword [esp + 0x148], eax
test esi, 0x100000
je 0x42c672
and esi, 0xffefffff
mov dword [esp + 0x14], esi
mov dword [esp + 0x148], eax
lea ecx, [esp + 0xe0]
call fcn.004243f0
mov dword [esp + 0x148], 0x17
test esi, 0x80000
je 0x42c480
and esi, 0xfff7ffff
mov dword [esp + 0x14], esi
mov byte [esp + 0x148], 0x17
lea ecx, [esp + 0x120]
call fcn.004243f0
jmp 0x42c480
mov eax, dword [ebp]
jmp 0x42c517
mov byte [esp + 0x148], 5
lea ecx, [esp + 0x60]
call fcn.004243f0
mov byte [esp + 0x148], 1
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x148], 0xffffffff
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x13c
ret 4