Function at 0x440930
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x57d2d2
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x5ecfcc]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ecfcc]
xor eax, esp
push eax
lea eax, [esp + 0x250]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x40], ebp
mov eax, dword [str.SoftwareMicrosoftWindowsCurrentVersionAcmeCADSeeFileExts]
mov edi, dword [esp + 0x260]
mov esi, dword [esp + 0x264]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404370
push esi
lea ecx, [esp + 0x1c]
push ecx
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x260], ebx
call fcn.0043fd10
mov edx, dword [str.OpenWithList]
push edx
lea ecx, [esp + 0x18]
call fcn.00404370
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
mov byte [esp + 0x260], 1
call fcn.0043fd10
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x258], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4409f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
push 0x20019
push ebx
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x440ccc
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [str.MRUList]
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x34]
mov byte [esp + 0x4c], al
lea eax, [esp + 0x38]
push eax
push ebx
push ecx
push edx
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x48], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x44]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x440a54
sub eax, edx
mov esi, eax
xor eax, eax
mov dword [esp + 0x3c], esi
mov word [esp + 0x1c], ax
call fcn.005322b0
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x440a84
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x258], 2
call fcn.005322b0
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x440ab6
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x258], 3
call fcn.005322b0
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x440ae8
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x258], 4
test esi, esi
jle 0x440c49
jmp 0x440b14
mov ebp, dword [esp + 0x40]
mov cl, byte [esp + ebx + 0x44]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x14c]
push eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x24], cl
lea ecx, [esp + 0x38]
push ecx
push 0
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x148]
push ecx
lea ecx, [esp + 0x38]
call fcn.0043fbe0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x40]
push edx
mov ecx, ebp
mov byte [esp + 0x268], 5
call fcn.00440270
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x258], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440ba4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
je 0x440c3e
mov edx, dword [edi + 4]
push edx
xor esi, esi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jbe 0x440c3e
xor eax, eax
cmp dword [esp + 0x20], eax
setne al
mov ebp, eax
lea ecx, [ecx]
push 0x400
lea ecx, [esp + 0x2c]
push ecx
push esi
mov ecx, edi
call fcn.0054056f
test ebp, ebp
je 0x440a7a
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
push edx
push eax
call fcn.005598ff
add esp, 8
test eax, eax
sete al
test al, al
jne 0x440c16
mov ecx, dword [edi + 4]
push ecx
inc esi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp esi, eax
jb 0x440bd0
jmp 0x440c3e
push 0
push 1
push esi
push edi
mov ecx, 0x5ee9f0
call fcn.0041e2a0
mov edx, dword [esp + 0x38]
push 1
push esi
push edx
mov ecx, edi
call fcn.0041b280
push eax
call fcn.0041b0e0
add esp, 0x10
inc ebx
cmp ebx, dword [esp + 0x3c]
jl 0x440b10
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x258], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440c7c
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 + 0x258], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440ca4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x258], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440ccc
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
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x258], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440cf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.0055953b
add esp, 0x248
ret 8