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

Disassembly:
push 0xffffffffffffffff
push 0x48d06f
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.004145d0
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.00410830
mov byte [esp + 0x148], 2
mov edi, dword [esp + 0x150]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.00429440
mov dword [ebx + 0x20], eax
mov byte [esp + 0x148], 1
mov ebp, 8
cmp dword [esp + 0x38], ebp
jb 0x42cb48
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0046d9dc
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.00410830
mov byte [esp + 0x148], 3
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x48]
push edx
mov ecx, edi
call fcn.0042ca10
mov byte [esp + 0x148], 5
cmp dword [esp + 0x78], ebp
jb 0x42cbb2
mov eax, dword [esp + 0x64]
push eax
call fcn.0046d9dc
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.004294a0
mov dword [esp + 0x148], 0xb
push esi
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0042baa0
add esp, 0xc
mov byte [esp + 0x148], 0xd
lea ecx, [esp + 0x20]
call fcn.00424b20
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 0x42cc48
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
test ebp, ebp
je 0x42cc52
cmp ebp, dword [esp + 0x58]
je 0x42cc57
call fcn.0046ec6c
cmp edi, dword [esp + 0x5c]
mov eax, 0x32
setne bl
mov dword [esp + 0x148], eax
test esi, 0x400000
je 0x42cc8f
and esi, 0xffbfffff
mov dword [esp + 0x14], esi
mov dword [esp + 0x148], eax
lea ecx, [esp + 0x80]
call fcn.00424b20
mov dword [esp + 0x148], 0x17
test esi, 0x200000
je 0x42ccc0
and esi, 0xffdfffff
mov dword [esp + 0x14], esi
mov byte [esp + 0x148], 0x17
lea ecx, [esp + 0xc0]
call fcn.00424b20
test bl, bl
je 0x42ce74
test ebp, ebp
jne 0x42ce6c
call fcn.0046ec6c
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x42cce1
call fcn.0046ec6c
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.00410370
mov dword [esp + 0x148], 0x39
test esi, 0x1000000
je 0x42cd32
and esi, 0xfeffffff
lea ecx, [esp + 0x100]
mov dword [esp + 0x14], esi
call fcn.00427150
mov byte [esp + 0x148], 0x3a
test esi, 0x800000
je 0x42cd60
and esi, 0xff7fffff
lea ecx, [esp + 0xa0]
mov dword [esp + 0x14], esi
call fcn.00427150
jmp 0x42cd60
mov eax, dword [esp + 0x24]
mov ebp, 8
mov edi, 4
mov dword [esp + 0x50], edi
cmp dword [esp + 0x38], ebp
jae 0x42cd7c
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 0x42cda8
cmp dword [esp + 0x4c], edi
je 0x42cda8
mov eax, 0x3bc6
push str.RegQueryValueEx
push eax
call fcn.00429300
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x5c]
add esp, 8
lea eax, [esp + 0x20]
push eax
call fcn.00424c70
mov dword [eax], edi
mov byte [esp + 0x148], 0x17
cmp dword [esp + 0x38], ebp
jb 0x42cde5
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0046d9dc
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.00403760
mov eax, 0x2e
mov dword [esp + 0x148], eax
test esi, 0x100000
je 0x42ce32
and esi, 0xffefffff
mov dword [esp + 0x14], esi
mov dword [esp + 0x148], eax
lea ecx, [esp + 0xe0]
call fcn.00424b20
mov dword [esp + 0x148], 0x17
test esi, 0x80000
je 0x42cc40
and esi, 0xfff7ffff
mov dword [esp + 0x14], esi
mov byte [esp + 0x148], 0x17
lea ecx, [esp + 0x120]
call fcn.00424b20
jmp 0x42cc40
mov eax, dword [ebp]
jmp 0x42ccd7
mov byte [esp + 0x148], 5
lea ecx, [esp + 0x60]
call fcn.00424b20
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