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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cd71d
mov eax, dword fs:[0]
push eax
mov eax, 0x22b8
call fcn.0059d3d0
mov eax, dword [0x667d00]
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.00403540
lea eax, [ebp - 0x2248]
mov byte [ebp - 4], 1
push eax
push 0
lea ecx, [ebp - 0x22b0]
call fcn.0040e940
mov edx, dword [ebp - 0x2234]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x420e2b
mov ecx, dword [ebp - 0x2248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420e21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4215c0
push edx
push ecx
call fcn.0059ce4e
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.00403540
mov eax, dword [ebp - 0x22ac]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x22a8], eax
je 0x420ea6
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 0x420ebf
lea ecx, [ebp - 0x2248]
push ecx
push eax
lea ecx, [ebp - 0x22b0]
call fcn.0040e940
mov edx, dword [ebp - 0x2234]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x420ef7
mov ecx, dword [ebp - 0x2248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420eed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4215c5
push edx
push ecx
call fcn.0059ce4e
add esp, 8
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x229c], 0
push 0
push eax
call fcn.005a26c0
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 0x421596
test esi, esi
jne 0x421596
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 0x42156d
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 0x420f86
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2248]
call fcn.004032c0
lea eax, [ebp - 0x2248]
mov byte [ebp - 4], 3
push eax
call fcn.0044455a
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 0x42100a
movups xmm0, xmmword [eax]
mov dword [ebp - 0x224c], 7
movups xmmword [ebp - 0x2260], xmm0
jmp 0x421051
mov esi, edi
lea ecx, [ebp - 0x2260]
or esi, 7
mov eax, bind
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.004039d0
mov ecx, eax
lea eax, [edi*2 + 2]
push eax
push dword [ebp - 0x2298]
mov dword [ebp - 0x2260], ecx
push ecx
call fcn.005a1bc0
add esp, 0xc
mov dword [ebp - 0x224c], esi
mov dword [ebp - 0x2250], edi
push 1
push 0x5d4e14
lea ecx, [ebp - 0x2260]
mov byte [ebp - 4], 4
call fcn.00405ab0
push 0xb
push 0x5d4e18
lea ecx, [ebp - 0x2260]
call fcn.00405ab0
lea eax, [ebp - 0x2260]
push eax
lea eax, [ebp - 0x2278]
push eax
call fcn.00443908
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 0x42114b
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x4210cd
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 0x421122
cmp byte [ebp - 0x2291], 0
je 0x42111e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
mov byte [ebp - 0x2291], al
mov eax, dword [ebp - 0x2298]
jne 0x421122
add ecx, 2
add edx, 2
cmp byte [ebp - 0x2291], 0
jne 0x4210e0
xor ecx, ecx
jmp 0x421127
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x421144
add eax, 0x18
mov dword [ebp - 0x2298], eax
cmp eax, dword [ebp - 0x22ac]
jne 0x4210c3
mov eax, dword [ebp - 0x22a4]
jmp 0x42114d
mov eax, 1
jmp 0x42114d
xor eax, eax
test eax, eax
je 0x421472
push 0x2000
lea eax, [ebp - 0x2218]
mov dword [ebp - 0x22a4], 0x1000
push 0
push eax
call fcn.005a26c0
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 0x421416
lea eax, [ebp - 0x2218]
mov dword [ebp - 0x22a0], 1
push eax
lea eax, [ebp - 0x2290]
push eax
call fcn.00448003
mov esi, eax
add esp, 8
lea eax, [ebp - 0x2230]
cmp eax, esi
je 0x421281
mov edx, dword [ebp - 0x221c]
cmp edx, 8
jb 0x421240
mov ecx, dword [ebp - 0x2230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421236
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4215c0
push edx
push ecx
call fcn.0059ce4e
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 0x4212c1
mov ecx, dword [ebp - 0x2290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4212b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4215c0
push edx
push ecx
call fcn.0059ce4e
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 0x421324
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 0x421312
cmp word [ecx], 0x4d
je 0x4213b2
add ecx, 2
sub eax, 1
jne 0x421300
mov edx, dword [ebp - 0x2220]
mov esi, dword [ebp - 0x221c]
mov edi, dword [ebp - 0x2230]
or ecx, 0xffffffff
cmp ecx, 0xffffffff
jle 0x421390
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.004032c0
lea ecx, [ebp - 0x2230]
call fcn.00403060
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 0x42140e
mov ecx, eax
call fcn.00403da0
add dword [esi + 4], 0x18
jmp 0x421416
test ecx, ecx
je 0x421312
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 0x421400
add edx, 2
sub esi, 1
jne 0x4213d0
sub ecx, dword [ebp - 0x22c0]
mov edx, dword [ebp - 0x2220]
mov esi, dword [ebp - 0x221c]
mov edi, dword [ebp - 0x2230]
sar ecx, 1
jmp 0x421327
mov edx, dword [ebp - 0x22bc]
add ecx, 2
jmp 0x4212f8
push eax
mov ecx, esi
call fcn.00403ab0
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 0x421466
mov ecx, dword [ebp - 0x2230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42145c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4215c0
push edx
push ecx
call fcn.0059ce4e
add esp, 8
mov esi, dword [ebp - 0x2278]
mov edi, dword [ebp - 0x2264]
mov byte [ebp - 4], 4
cmp edi, 0x10
jb 0x4214a6
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x42149c
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4215c0
push ecx
push esi
call fcn.0059ce4e
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 0x421505
mov ecx, dword [ebp - 0x2260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4214fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4215c0
push edx
push ecx
call fcn.0059ce4e
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 0x421561
mov ecx, dword [ebp - 0x2248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421557
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4215c0
push edx
push ecx
call fcn.0059ce4e
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 0x420f41
lea ecx, [ebp - 0x22b0]
call fcn.00408ca0
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.0059d38a
mov esp, ebp
pop ebp
ret 8
call fcn.005a5c79
call fcn.005a5c79
int3