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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cd20d
mov eax, dword fs:[0]
push eax
mov eax, 0x22b8
call fcn.0059cf50
mov eax, dword [0x667ce0]
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.0040e8c0
mov edx, dword [ebp - 0x2234]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x420a8b
mov ecx, dword [ebp - 0x2248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420a81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421220
push edx
push ecx
call fcn.0059c9cd
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 0x420b06
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 0x420b1f
lea ecx, [ebp - 0x2248]
push ecx
push eax
lea ecx, [ebp - 0x22b0]
call fcn.0040e8c0
mov edx, dword [ebp - 0x2234]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x420b57
mov ecx, dword [ebp - 0x2248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x420b4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421225
push edx
push ecx
call fcn.0059c9cd
add esp, 8
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x229c], 0
push 0
push eax
call fcn.005a2240
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 0x4211f6
test esi, esi
jne 0x4211f6
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 0x4211cd
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 0x420be6
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.004441ad
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 0x420c6a
movups xmm0, xmmword [eax]
mov dword [ebp - 0x224c], 7
movups xmmword [ebp - 0x2260], xmm0
jmp 0x420cb1
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.00403950
mov ecx, eax
lea eax, [edi*2 + 2]
push eax
push dword [ebp - 0x2298]
mov dword [ebp - 0x2260], ecx
push ecx
call fcn.005a1740
add esp, 0xc
mov dword [ebp - 0x224c], esi
mov dword [ebp - 0x2250], edi
push 1
push 0x5d4e08
lea ecx, [ebp - 0x2260]
mov byte [ebp - 4], 4
call fcn.00405a30
push 0xb
push 0x5d4e0c
lea ecx, [ebp - 0x2260]
call fcn.00405a30
lea eax, [ebp - 0x2260]
push eax
lea eax, [ebp - 0x2278]
push eax
call fcn.0044355b
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 0x420dab
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x420d2d
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 0x420d82
cmp byte [ebp - 0x2291], 0
je 0x420d7e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
mov byte [ebp - 0x2291], al
mov eax, dword [ebp - 0x2298]
jne 0x420d82
add ecx, 2
add edx, 2
cmp byte [ebp - 0x2291], 0
jne 0x420d40
xor ecx, ecx
jmp 0x420d87
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x420da4
add eax, 0x18
mov dword [ebp - 0x2298], eax
cmp eax, dword [ebp - 0x22ac]
jne 0x420d23
mov eax, dword [ebp - 0x22a4]
jmp 0x420dad
mov eax, 1
jmp 0x420dad
xor eax, eax
test eax, eax
je 0x4210d2
push 0x2000
lea eax, [ebp - 0x2218]
mov dword [ebp - 0x22a4], 0x1000
push 0
push eax
call fcn.005a2240
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 0x421076
lea eax, [ebp - 0x2218]
mov dword [ebp - 0x22a0], 1
push eax
lea eax, [ebp - 0x2290]
push eax
call fcn.00447bb6
mov esi, eax
add esp, 8
lea eax, [ebp - 0x2230]
cmp eax, esi
je 0x420ee1
mov edx, dword [ebp - 0x221c]
cmp edx, 8
jb 0x420ea0
mov ecx, dword [ebp - 0x2230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420e96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421220
push edx
push ecx
call fcn.0059c9cd
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 0x420f21
mov ecx, dword [ebp - 0x2290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x420f17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421220
push edx
push ecx
call fcn.0059c9cd
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 0x420f84
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 0x420f72
cmp word [ecx], 0x4d
je 0x421012
add ecx, 2
sub eax, 1
jne 0x420f60
mov edx, dword [ebp - 0x2220]
mov esi, dword [ebp - 0x221c]
mov edi, dword [ebp - 0x2230]
or ecx, 0xffffffff
cmp ecx, 0xffffffff
jle 0x420ff0
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 0x42106e
mov ecx, eax
call fcn.00403d20
add dword [esi + 4], 0x18
jmp 0x421076
test ecx, ecx
je 0x420f72
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 0x421060
add edx, 2
sub esi, 1
jne 0x421030
sub ecx, dword [ebp - 0x22c0]
mov edx, dword [ebp - 0x2220]
mov esi, dword [ebp - 0x221c]
mov edi, dword [ebp - 0x2230]
sar ecx, 1
jmp 0x420f87
mov edx, dword [ebp - 0x22bc]
add ecx, 2
jmp 0x420f58
push eax
mov ecx, esi
call fcn.00403a30
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 0x4210c6
mov ecx, dword [ebp - 0x2230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4210bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421220
push edx
push ecx
call fcn.0059c9cd
add esp, 8
mov esi, dword [ebp - 0x2278]
mov edi, dword [ebp - 0x2264]
mov byte [ebp - 4], 4
cmp edi, 0x10
jb 0x421106
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x4210fc
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421220
push ecx
push esi
call fcn.0059c9cd
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 0x421165
mov ecx, dword [ebp - 0x2260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42115b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421220
push edx
push ecx
call fcn.0059c9cd
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 0x4211c1
mov ecx, dword [ebp - 0x2248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4211b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421220
push edx
push ecx
call fcn.0059c9cd
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 0x420ba1
lea ecx, [ebp - 0x22b0]
call fcn.00408c20
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.0059cf09
mov esp, ebp
pop ebp
ret 8
call fcn.005a57f9
call fcn.005a57f9
int3