Function at 0x420880
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cd0dd
mov eax, dword fs:[0]
push eax
mov eax, 0x22b8
call fcn.0044a8a0
mov eax, dword [0x664340]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x22b4], edi
mov dword [ebp - 0x22c4], eax
mov dword [ebp - 0x22b0], 0
mov dword [ebp - 0x22ac], 0
mov dword [ebp - 0x22a8], 0
push 0x20
push str.c4d2bab193c21299d3ce2aa4f594d761
lea ecx, [ebp - 0x2248]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2238], 0
mov dword [ebp - 0x2234], 0xf
mov byte [ebp - 0x2248], 0
call fcn.004034c0
lea eax, [ebp - 0x2248]
mov byte [ebp - 4], 1
push eax
push 0
lea ecx, [ebp - 0x22b0]
call fcn.0040e8f0
mov edx, dword [ebp - 0x2234]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x42096b
mov ecx, dword [ebp - 0x2248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420961
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421100
push edx
push ecx
call fcn.0044a315
add esp, 8
push 0x20
push str.fc976272f1dc8ce3e9c2a769d7a73bca
lea ecx, [ebp - 0x2248]
mov dword [ebp - 0x2238], 0
mov dword [ebp - 0x2234], 0xf
mov byte [ebp - 0x2248], 0
call fcn.004034c0
mov eax, dword [ebp - 0x22ac]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x22a8], eax
je 0x4209e6
movups xmm0, xmmword [ebp - 0x2248]
mov dword [eax + 0x10], 0
mov edx, 0xf
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
mov byte [ebp - 0x2248], 0
movq xmm0, qword [ebp - 0x2238]
movq qword [eax + 0x10], xmm0
add eax, 0x18
mov dword [ebp - 0x22ac], eax
jmp 0x4209ff
lea ecx, [ebp - 0x2248]
push ecx
push eax
lea ecx, [ebp - 0x22b0]
call fcn.0040e8f0
mov edx, dword [ebp - 0x2234]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x420a37
mov ecx, dword [ebp - 0x2248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420a2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421105
push edx
push ecx
call fcn.0044a315
add esp, 8
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x229c], 0
push 0
push eax
call fcn.0046cf80
add esp, 0xc
lea eax, [ebp - 0x218]
xor esi, esi
mov dword [ebp - 0x22a0], esi
mov dword [ebp - 0x22b8], esi
push 0x104
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x4210d6
test esi, esi
jne 0x4210d6
lea eax, [ebp - 0x229c]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4210ad
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x2238], eax
mov dword [ebp - 0x2234], 7
lea edx, [ecx + 2]
mov word [ebp - 0x2248], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420ac6
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2248]
call fcn.00403240
lea eax, [ebp - 0x2248]
mov byte [ebp - 4], 3
push eax
call fcn.004560e5
mov edi, dword [ebp - 0x2238]
lea eax, [ebp - 0x2248]
add esp, 4
mov dword [ebp - 0x2250], 0
cmp dword [ebp - 0x2234], 8
mov dword [ebp - 0x224c], 0
cmovae eax, dword [ebp - 0x2248]
mov dword [ebp - 0x2298], eax
cmp edi, 8
jae 0x420b4a
movups xmm0, xmmword [eax]
mov dword [ebp - 0x224c], 7
movups xmmword [ebp - 0x2260], xmm0
jmp 0x420b91
mov esi, edi
lea ecx, [ebp - 0x2260]
or esi, 7
mov eax, SysReAllocString
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00403910
mov ecx, eax
lea eax, [edi*2 + 2]
push eax
push dword [ebp - 0x2298]
mov dword [ebp - 0x2260], ecx
push ecx
call fcn.0046c480
add esp, 0xc
mov dword [ebp - 0x224c], esi
mov dword [ebp - 0x2250], edi
push 1
push 0x5d4df0
lea ecx, [ebp - 0x2260]
mov byte [ebp - 4], 4
call fcn.004058f0
push 0xb
push 0x5d4df4
lea ecx, [ebp - 0x2260]
call fcn.004058f0
lea eax, [ebp - 0x2260]
push eax
lea eax, [ebp - 0x2278]
push eax
call fcn.00455493
add esp, 8
mov eax, dword [ebp - 0x22b0]
mov edi, dword [ebp - 0x2264]
mov esi, dword [ebp - 0x2278]
mov dword [ebp - 0x22a4], 0
mov dword [ebp - 0x2298], eax
cmp eax, dword [ebp - 0x22ac]
je 0x420c8b
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x420c0d
mov edx, dword [eax]
cmp edi, 0x10
lea ecx, [ebp - 0x2278]
cmovae ecx, esi
nop dword [eax]
mov al, byte [ecx]
cmp al, byte [edx]
mov byte [ebp - 0x2291], al
mov eax, dword [ebp - 0x2298]
jne 0x420c62
cmp byte [ebp - 0x2291], 0
je 0x420c5e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
mov byte [ebp - 0x2291], al
mov eax, dword [ebp - 0x2298]
jne 0x420c62
add ecx, 2
add edx, 2
cmp byte [ebp - 0x2291], 0
jne 0x420c20
xor ecx, ecx
jmp 0x420c67
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x420c84
add eax, 0x18
mov dword [ebp - 0x2298], eax
cmp eax, dword [ebp - 0x22ac]
jne 0x420c03
mov eax, dword [ebp - 0x22a4]
jmp 0x420c8d
mov eax, 1
jmp 0x420c8d
xor eax, eax
test eax, eax
je 0x420fb2
push 0x2000
lea eax, [ebp - 0x2218]
mov dword [ebp - 0x22a4], 0x1000
push 0
push eax
call fcn.0046cf80
xor eax, eax
mov dword [ebp - 0x2298], 1
add esp, 0xc
mov dword [ebp - 0x2220], 0
mov dword [ebp - 0x221c], 7
mov word [ebp - 0x2230], ax
lea eax, [ebp - 0x22a4]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x2298]
push eax
push 0
push str.UninstallString
push dword [ebp - 0x229c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x420f56
lea eax, [ebp - 0x2218]
mov dword [ebp - 0x22a0], 1
push eax
lea eax, [ebp - 0x2290]
push eax
call fcn.0045923f
mov esi, eax
add esp, 8
lea eax, [ebp - 0x2230]
cmp eax, esi
je 0x420dc1
mov edx, dword [ebp - 0x221c]
cmp edx, 8
jb 0x420d80
mov ecx, dword [ebp - 0x2230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420d76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421100
push edx
push ecx
call fcn.0044a315
add esp, 8
mov dword [ebp - 0x2220], 0
xor eax, eax
mov dword [ebp - 0x221c], 7
mov word [ebp - 0x2230], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2230], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x2220], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x227c]
cmp edx, 8
jb 0x420e01
mov ecx, dword [ebp - 0x2290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420df7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421100
push edx
push ecx
call fcn.0044a315
add esp, 8
mov esi, dword [ebp - 0x221c]
lea eax, [ebp - 0x2230]
mov edi, dword [ebp - 0x2230]
cmp esi, 8
mov edx, dword [ebp - 0x2220]
cmovae eax, edi
mov dword [ebp - 0x22c0], eax
cmp edx, 0xa
jb 0x420e64
add edx, 0xfffffff7
mov ecx, eax
lea edx, [eax + edx*2]
mov dword [ebp - 0x22bc], edx
mov eax, edx
sub eax, ecx
sar eax, 1
je 0x420e52
cmp word [ecx], 0x4d
je 0x420ef2
add ecx, 2
sub eax, 1
jne 0x420e40
mov edx, dword [ebp - 0x2220]
mov esi, dword [ebp - 0x221c]
mov edi, dword [ebp - 0x2230]
or ecx, 0xffffffff
cmp ecx, 0xffffffff
jle 0x420ed0
xor eax, eax
mov dword [ebp - 0x2280], 0
cmp edx, ecx
mov word [ebp - 0x2290], ax
lea eax, [ebp - 0x2230]
mov dword [ebp - 0x227c], 7
cmovb ecx, edx
cmp esi, 8
push ecx
cmovae eax, edi
lea ecx, [ebp - 0x2290]
push eax
call fcn.00403240
lea ecx, [ebp - 0x2230]
call fcn.00402fe0
movups xmm0, xmmword [ebp - 0x2290]
movups xmmword [ebp - 0x2230], xmm0
movq xmm0, qword [ebp - 0x2280]
movq qword [ebp - 0x2220], xmm0
mov esi, dword [ebp - 0x22c4]
lea ecx, [ebp - 0x2230]
push ecx
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x420f4e
mov ecx, eax
call fcn.00403ce0
add dword [esi + 4], 0x18
jmp 0x420f56
test ecx, ecx
je 0x420e52
mov edx, str.MailMaster
mov edi, ecx
mov esi, 0xa
sub edi, edx
nop dword [eax + eax]
mov ax, word [edx + edi]
cmp ax, word [edx]
jne 0x420f40
add edx, 2
sub esi, 1
jne 0x420f10
sub ecx, dword [ebp - 0x22c0]
mov edx, dword [ebp - 0x2220]
mov esi, dword [ebp - 0x221c]
mov edi, dword [ebp - 0x2230]
sar ecx, 1
jmp 0x420e67
mov edx, dword [ebp - 0x22bc]
add ecx, 2
jmp 0x420e38
push eax
mov ecx, esi
call fcn.004039f0
push dword [ebp - 0x229c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x221c]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x420fa6
mov ecx, dword [ebp - 0x2230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420f9c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421100
push edx
push ecx
call fcn.0044a315
add esp, 8
mov esi, dword [ebp - 0x2278]
mov edi, dword [ebp - 0x2264]
mov byte [ebp - 4], 4
cmp edi, 0x10
jb 0x420fe6
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x420fdc
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421100
push ecx
push esi
call fcn.0044a315
add esp, 8
mov edx, dword [ebp - 0x224c]
mov dword [ebp - 0x2268], 0
mov dword [ebp - 0x2264], 0xf
mov byte [ebp - 0x2278], 0
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x421045
mov ecx, dword [ebp - 0x2260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42103b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421100
push edx
push ecx
call fcn.0044a315
add esp, 8
mov edx, dword [ebp - 0x2234]
xor eax, eax
mov dword [ebp - 0x2250], 0
mov dword [ebp - 0x224c], 7
mov word [ebp - 0x2260], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x4210a1
mov ecx, dword [ebp - 0x2248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421097
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421100
push edx
push ecx
call fcn.0044a315
add esp, 8
mov edi, dword [ebp - 0x22b4]
mov esi, dword [ebp - 0x22a0]
mov eax, dword [ebp - 0x22b8]
lea ecx, [ebp - 0x218]
push 0x104
inc eax
push ecx
push eax
push edi
mov dword [ebp - 0x22b8], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x420a81
lea ecx, [ebp - 0x22b0]
call fcn.00408c50
mov eax, esi
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.0044a851
mov esp, ebp
pop ebp
ret 8
call fcn.00470179
call fcn.00470179
int3