Function at 0x405f80
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x41e4a2
mov eax, dword fs:[0]
push eax
sub esp, 0x34c
mov eax, dword [0x42afb8]
xor eax, esp
mov dword [esp + 0x348], eax
push ebx
push esi
push edi
mov eax, dword [0x42afb8]
xor eax, esp
push eax
lea eax, [esp + 0x35c]
mov dword fs:[0], eax
xor ebx, ebx
push 0x103
lea eax, [esp + 0x155]
push ebx
push eax
mov byte [esp + 0x15c], bl
call sub.MSVCR80.dll_memset
push 0x103
lea ecx, [esp + 0x265]
push ebx
push ecx
mov byte [esp + 0x26c], bl
call sub.MSVCR80.dll_memset
add esp, 0x18
lea edx, [esp + 0x1c]
push edx
push 0x20019
push ebx
push str.SOFTWAREACD_SystemsACDSee_MessageCenter20_
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40638b
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x154]
push ecx
lea edx, [esp + 0x4c]
push edx
push ebx
push str.LocalMsgRootFolder
push eax
call esi
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x258]
push edx
lea eax, [esp + 0x4c]
push eax
push ebx
push str.LocalADRootFolder
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SOFTWAREACD_SystemsACDSee_MessageCenter20_
push SysReAllocStringLen
call fcn.0041b420
add esp, 8
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402c30
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
mov dword [esp + 0x364], ebx
jne 0x4060e4
lea ecx, [esp + 0x10]
push ecx
call fcn.00405c40
add esp, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x368], 1
call fcn.00402b30
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x364], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4060e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
mov edi, dword [sym.imp.SHELL32.dll_SHFileOperationA]
je 0x4061db
mov ecx, dword [0x42b0c8]
mov edx, dword [ecx + 0x1b4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 3
cmp dword [eax - 4], 1
jle 0x406124
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401720
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x48]
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x406130
lea eax, [esp + 0x48]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x406143
sub eax, edx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x48]
push edx
mov byte [esp + eax + 0x4d], bl
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebx
mov word [esp + 0x34], 0x414
mov dword [esp + 0x36], ebx
mov dword [esp + 0x3a], ebx
mov dword [esp + 0x3e], ebx
call edi
mov esi, eax
cmp esi, ebx
je 0x4061db
mov eax, dword [0x434350]
mov edx, dword [eax + 0xc]
mov ecx, 0x434350
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
push esi
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x18]
push str.Kevin:_Can_not_delete_the_whole_messages_folderh:__s__Error_no_is__d_n
push ecx
mov byte [esp + 0x374], 2
call fcn.00402bb0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x364], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4061db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x254]
push ecx
lea ecx, [esp + 0x18]
call fcn.00402c30
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
mov byte [esp + 0x364], 3
jne 0x406251
lea edx, [esp + 0x10]
push edx
call fcn.00405de0
add esp, 4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x368], 4
call fcn.00402b30
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x364], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406244
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x40633d
mov ecx, dword [0x42b0c8]
mov edx, dword [ecx + 0x1b4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 3
cmp dword [eax - 4], 1
jle 0x406280
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.00401720
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x48]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x406286
lea eax, [esp + 0x48]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4062a0
sub eax, edx
lea edx, [esp + 0x20]
lea ecx, [esp + 0x48]
push edx
mov byte [esp + eax + 0x4d], bl
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ebx
mov word [esp + 0x34], 0x414
mov dword [esp + 0x36], ebx
mov dword [esp + 0x3a], ebx
mov dword [esp + 0x3e], ebx
call edi
mov esi, eax
cmp esi, ebx
je 0x406339
mov eax, dword [0x434350]
mov edx, dword [eax + 0xc]
mov ecx, 0x434350
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
push esi
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x18]
push str.Kevin:_Can_not_delete_the_whole_ad_folderh:__s__Error_no_is__d_n
push ecx
mov byte [esp + 0x374], 5
call fcn.00402bb0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x364], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406339
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x364], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406360
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x364], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40638b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x35c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x348]
xor ecx, esp
call fcn.0041ce52
add esp, 0x358
ret