Function at 0x412820
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3a20
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4e54fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
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 [0x4ff5ad]
nop
test al, al
je 0x412864
xor al, al
jmp 0x412cad
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
mov eax, dword [ecx]
lea ecx, [ebp - 0x38]
push 1
push esi
push dword [eax]
call fcn.0040f7a0
cmp dword [ebp - 0x38], 0
je 0x412cab
push str.Debugger
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041bd90
add esp, 0xc
mov byte [ebp - 4], 1
or edi, 0xffffffff
cmp dword [ebp - 0x44], 0
je 0x4129e7
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x24], xmm0
call fcn.00405980
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
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x412910
sub ecx, dword [ebp - 0x1c]
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00402740
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x54]
add esi, 0x60
cmp esi, eax
je 0x412962
mov ecx, esi
call fcn.00402b30
movups xmm0, xmmword [ebp - 0x54]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x44]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov edx, esi
lea ecx, [ebp - 0x74]
call fcn.0041fda0
mov esi, dword [ebp - 0x24]
push eax
lea ecx, [esi + 0x48]
call fcn.00404ef0
lea ecx, [ebp - 0x74]
call fcn.00402b30
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 0x41299f
lock inc dword [eax + 4]
mov dword [ecx], esi
mov dword [ecx + 4], eax
xor ecx, ecx
call fcn.0041bea0
add esp, 8
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 8]
call fcn.00404d60
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x4129e7
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4129e7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4129e7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push str.GlobalFlags
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x412c95
cmp dword [ebp - 0x18], 4
jne 0x412c95
test dword [ebp - 0x3c], 0x100
je 0x412c95
mov esi, dword [ebp - 0x58]
push str.VerifierDlls
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x8c]
push dword [esi]
push eax
call fcn.0041bd90
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x412a51
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x18]
call fcn.00405020
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 5
call fcn.00402b30
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0x4c971c
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x18]
call fcn.00408b90
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x412c66
mov esi, dword [esi + 4]
mov dword [ebp - 0x5c], esi
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x2c], xmm0
call fcn.00405980
add esp, 4
mov byte [ebp - 4], 7
xor ecx, ecx
cmp byte [esi], cl
mov eax, 2
mov esi, dword [ebp - 0x2c]
cmovne eax, ecx
or eax, 0x40000
mov dword [esi + 0xd0], eax
mov eax, dword [ebp - 0x14]
mov edx, eax
lea edi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x412ae0
sub edx, edi
mov ecx, esi
sar edx, 1
push edx
push eax
call fcn.00402740
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 0x412b03
sub edx, dword [ebp - 0x20]
lea ecx, [esi + 0x60]
sar edx, 1
push edx
push eax
call fcn.00402740
lea edi, [esi + 0x48]
mov edx, edi
lea ecx, [ebp - 0x74]
call fcn.0041fda0
mov esi, eax
cmp edi, esi
je 0x412b5a
mov ecx, edi
call fcn.00402b30
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x60]
cmp ecx, 8
jb 0x412b94
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412b8a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412cca
push ecx
push edx
call fcn.0047dc2a
add esp, 8
mov esi, dword [ebp - 0x28]
sub esp, 8
mov eax, esp
xor dl, dl
mov dword [eax], 0
mov dword [eax + 4], 0
test esi, esi
je 0x412bb3
lock inc dword [esi + 4]
mov edi, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [eax], edi
mov dword [eax + 4], esi
call fcn.0041bea0
mov eax, dword [ebp - 0x58]
add esp, 8
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x412c2e
mov dword [eax], edi
mov dword [eax + 4], esi
add dword [ecx + 4], 8
or edi, 0xffffffff
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412bfd
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 0x4c971c
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.00408b90
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x412c66
mov esi, dword [ebp - 0x5c]
jmp 0x412aa3
lea edx, [ebp - 0x2c]
push edx
push eax
call fcn.00405ee0
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x412bdc
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x412bdf
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x412bdf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x412bdf
lea edx, [eax - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412c7d
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], edi
dec edi
test edi, edi
jg 0x412c95
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x54]
call fcn.00402b30
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x412cab
push eax
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
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret 8
call fcn.00482fbf
int3