Function at 0x420820
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524610
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov esi, dword [ebp + 8]
mov al, byte [0x598289]
nop
test al, al
je 0x420865
xor al, al
jmp 0x420c49
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov edi, dword [ecx]
lea ecx, [ebp - 0x30]
push 1
push esi
push dword [edi]
call fcn.0041d0c0
cmp dword [ebp - 0x30], 0
je 0x420c47
push str.Debugger
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0042e130
add esp, 0xc
mov byte [ebp - 4], 1
or ebx, 0xffffffff
cmp dword [ebp - 0x44], 0
je 0x4209bb
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x24], xmm0
call fcn.0040d800
add esp, 4
mov eax, dword [ebp - 0x58]
xor edx, edx
mov byte [ebp - 4], 2
mov ecx, 2
mov eax, dword [eax + 4]
cmp byte [eax], dl
cmovne ecx, edx
mov edx, dword [ebp - 0x24]
or ecx, 0x40000
mov dword [edx + 0xd0], ecx
mov ecx, esi
lea eax, [ecx + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420910
sub ecx, dword [ebp - 0x1c]
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00408af0
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x54]
push eax
lea ecx, [esi + 0x60]
call fcn.0040bfb0
lea edx, [esi + 0x60]
lea ecx, [ebp - 0x74]
call fcn.00434ca0
push eax
lea ecx, [esi + 0x48]
call fcn.0040bfb0
lea ecx, [ebp - 0x74]
call fcn.00409020
mov eax, dword [ebp - 0x20]
sub esp, 8
mov ecx, esp
xor dl, dl
mov dword [ecx], 0
mov dword [ecx + 4], 0
test eax, eax
je 0x420973
lock inc dword [eax + 4]
mov dword [ecx], esi
mov dword [ecx + 4], eax
xor ecx, ecx
call fcn.0042e240
add esp, 8
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 8]
call fcn.0040bbe0
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x4209bb
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4209bb
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4209bb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x1c], 4
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push str.GlobalFlags
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x420c34
cmp dword [ebp - 0x18], 4
jne 0x420c34
test dword [ebp - 0x3c], 0x100
je 0x420c34
push str.VerifierDlls
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x8c]
push edi
push eax
call fcn.0042e130
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x420a22
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c130
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 5
call fcn.00409020
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0x5646d4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x18]
call fcn.00413030
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x420c05
mov eax, dword [ebp - 0x58]
mov esi, dword [eax + 4]
mov dword [ebp - 0x5c], esi
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x38], xmm0
call fcn.0040d800
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 7
cmp byte [esi], cl
mov eax, 2
mov edi, dword [ebp - 0x38]
cmovne eax, ecx
or eax, 0x40000
mov dword [edi + 0xd0], eax
mov eax, dword [ebp - 0x14]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x420ab1
sub ecx, esi
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00408af0
mov eax, dword [ebp - 0x14]
mov edx, eax
lea ecx, [edx + 2]
mov dword [ebp - 0x20], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x420ad4
sub edx, dword [ebp - 0x20]
lea ecx, [edi + 0x60]
sar edx, 1
push edx
push eax
call fcn.00408af0
lea edx, [edi + 0x48]
lea ecx, [ebp - 0x74]
call fcn.00434ca0
push eax
lea ecx, [edi + 0x48]
call fcn.0040bfb0
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x420b3c
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420b32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420c67
push edx
push ecx
call fcn.004d24a7
add esp, 8
mov esi, dword [ebp - 0x34]
sub esp, 8
mov eax, esp
xor dl, dl
mov dword [eax], 0
mov dword [eax + 4], 0
test esi, esi
je 0x420b5b
lock inc dword [esi + 4]
xor ecx, ecx
mov dword [eax], edi
mov dword [eax + 4], esi
call fcn.0042e240
mov eax, dword [ebp - 0x58]
add esp, 8
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x420b83
mov dword [eax], edi
mov dword [eax + 4], esi
add dword [ecx + 4], 8
jmp 0x420bb3
lea edx, [ebp - 0x38]
push edx
push eax
call fcn.0040da80
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x420bb3
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x420bb3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x420bb3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420bd1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push eax
push 0x5646d4
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.00413030
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x420c02
mov esi, dword [ebp - 0x5c]
jmp 0x420a77
mov esi, dword [ebp - 0x30]
lea edx, [eax - 0x10]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420c1c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x420c34
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x54]
call fcn.00409020
test esi, esi
je 0x420c47
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret 8
call fcn.004e0791
int3