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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
mov dword [ebp - 0x510], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x510]
mov dword [eax + 0x380], 0
mov ecx, dword [ebp - 0x510]
mov dword [ecx + 0x384], 0
lea edx, [ebp - 0x11c]
push edx
push 0x20019
push 0
push 0x41420c
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404b02
mov dword [ebp - 0x164], 0
push 0x104
lea eax, [ebp - 0x268]
push eax
mov ecx, dword [ebp - 0x164]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
je 0x403c96
mov eax, dword [ebp - 0x164]
add eax, 1
mov dword [ebp - 0x164], eax
jmp 0x403c5e
mov ecx, dword [ebp - 0x510]
mov edx, dword [ebp - 0x164]
mov dword [ecx + 0x380], edx
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 0x380]
imul ecx, ecx, 0x14c
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [ebp - 0x510]
mov dword [edx + 0x384], eax
mov eax, dword [ebp - 0x510]
cmp dword [eax + 0x384], 0
jne 0x403d0d
push 0
push 0x41424c
push str.FATAL_ERROR_HeapAlloc___failed_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x404b26
mov dword [ebp - 0x164], 0
push 0x104
lea edx, [ebp - 0x268]
push edx
mov eax, dword [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, 0x103
je 0x404b00
mov edx, dword [ebp - 0x164]
imul edx, edx, 0x14c
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 0x384]
lea edx, [ecx + edx + 0x20]
push edx
push 0xf003f
push 0
lea eax, [ebp - 0x268]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x404ad6
lea edx, [ebp - 0x268]
push edx
mov eax, dword [ebp - 0x164]
imul eax, eax, 0x14c
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx + 0x384]
lea eax, [edx + eax + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 8], 0x104
mov dword [ebp - 0xc], 1
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x384]
mov ecx, dword [eax + ecx + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x404abe
push 0x27
lea edx, [ebp - 0x4c0]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x118]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x384]
lea ecx, [eax + ecx + 0xc]
push ecx
lea edx, [ebp - 0x4c0]
push edx
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x164]
imul eax, eax, 0x14c
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx + 0x384]
mov dword [edx + eax + 0x1c], 0
mov eax, dword [ebp - 0x164]
imul eax, eax, 0x14c
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx + 0x384]
lea eax, [edx + eax + 0x1c]
push eax
push 0x4130e0
push 1
push 0
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x384]
lea ecx, [eax + ecx + 0xc]
push ecx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x4c4], eax
cmp dword [ebp - 0x4c4], 0
jl 0x404abc
push 0x400
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [ebp - 0x164]
imul edx, edx, 0x14c
mov ecx, dword [ebp - 0x510]
mov ecx, dword [ecx + 0x384]
mov dword [ecx + edx + 0x128], eax
mov edx, dword [ebp - 0x164]
imul edx, edx, 0x14c
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 0x384]
cmp dword [ecx + edx + 0x128], 0
jne 0x403f1c
xor eax, eax
jmp 0x404b26
mov edx, dword [ebp - 0x164]
imul edx, edx, 0x14c
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 0x384]
mov dword [ecx + edx + 0x134], 0
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x350]
and eax, 1
test eax, eax
je 0x403f93
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x384]
mov ecx, dword [eax + ecx + 0x134]
or ecx, 0x20
mov edx, dword [ebp - 0x164]
imul edx, edx, 0x14c
mov eax, dword [ebp - 0x510]
mov eax, dword [eax + 0x384]
mov dword [eax + edx + 0x134], ecx
mov ecx, dword [ebp - 0x510]
cmp dword [ecx + 0x358], 0
je 0x403fe3
mov edx, dword [ebp - 0x164]
imul edx, edx, 0x14c
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 0x384]
mov edx, dword [ecx + edx + 0x134]
or edx, 0x40
mov eax, dword [ebp - 0x164]
imul eax, eax, 0x14c
mov ecx, dword [ebp - 0x510]
mov ecx, dword [ecx + 0x384]
mov dword [ecx + eax + 0x134], edx
push 0x104
lea edx, [ebp - 0x470]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x510]
add eax, 8
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x384]
lea ecx, [eax + ecx + 0x134]
push ecx
mov edx, dword [ebp - 0x164]
imul edx, edx, 0x14c
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 0x384]
lea edx, [ecx + edx + 0x128]
push edx
mov eax, dword [ebp - 0x164]
imul eax, eax, 0x14c
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx + 0x384]
lea eax, [edx + eax + 0x12c]
push eax
lea ecx, [ebp - 0x470]
push ecx
mov edx, dword [ebp - 0x164]
imul edx, edx, 0x14c
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 0x384]
mov edx, dword [ecx + edx + 0x20]
push edx
mov eax, dword [ebp - 0x164]
imul eax, eax, 0x14c
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx + 0x384]
mov eax, dword [edx + eax + 0x1c]
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov edx, dword [edx + 0x384]
mov ecx, dword [edx + ecx + 0x1c]
mov edx, dword [ecx]
push eax
call dword [edx + 0xc]
mov dword [ebp - 0x4c4], eax
cmp dword [ebp - 0x4c4], 0
jl 0x404abc
cmp dword [ebp - 0x4c4], 0
jne 0x404a96
mov eax, dword [ebp - 0x164]
imul eax, eax, 0x14c
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx + 0x384]
mov dword [edx + eax + 0x144], 1
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x384]
lea ecx, [eax + ecx + 0x138]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
push str.Priority
mov eax, dword [ebp - 0x164]
imul eax, eax, 0x14c
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx + 0x384]
mov eax, dword [edx + eax + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x404191
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x384]
mov dword [eax + ecx + 0x138], 0xc8
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x384]
cmp dword [eax + ecx + 0x12c], 0
jne 0x404366
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 1
lea ecx, [ebp - 0x10]
push ecx
push 0
lea edx, [ebp - 0xc]
push edx
push 0
push 0x414288
mov eax, dword [ebp - 0x164]
imul eax, eax, 0x14c
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx + 0x384]
mov eax, dword [edx + eax + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x268]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
cmp dword [ebp - 0x10], eax
jbe 0x404219
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x514], edx
jmp 0x40422f
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x514], eax
mov ecx, dword [ebp - 0x514]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x4c8], eax
cmp dword [ebp - 0x4c8], 0
je 0x404366
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x4c8]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.display
mov edx, dword [ebp - 0x164]
imul edx, edx, 0x14c
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 0x384]
mov edx, dword [ecx + edx + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4042a9
lea eax, [ebp - 0x268]
push eax
mov ecx, dword [ebp - 0x4c8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp - 0x4c8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
shl eax, 1
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov edx, dword [edx + 0x384]
mov dword [edx + ecx + 0x12c], eax
mov eax, dword [ebp - 0x164]
imul eax, eax, 0x14c
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx + 0x384]
cmp dword [edx + eax + 0x12c], 0
je 0x404350
mov eax, dword [ebp - 0x160]
push eax
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x384]
mov ecx, dword [eax + ecx + 0x12c]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x4c8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x4c8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x384]
cmp dword [eax + ecx + 0x128], 0
jne 0x4044f2
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 1
lea ecx, [ebp - 0x10]
push ecx
push 0
lea edx, [ebp - 0xc]
push edx
push 0
push 0x414298
mov eax, dword [ebp - 0x164]
imul eax, eax, 0x14c
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx + 0x384]
mov eax, dword [edx + eax + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x10]
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x4cc], eax
cmp dword [ebp - 0x4cc], 0
je 0x4044f2
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x4cc]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.Description
mov edx, dword [ebp - 0x164]
imul edx, edx, 0x14c
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 0x384]
mov edx, dword [ecx + edx + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4044dc
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp - 0x4cc]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
shl eax, 1
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov edx, dword [ebp - 0x164]
imul edx, edx, 0x14c
mov ecx, dword [ebp - 0x510]
mov ecx, dword [ecx + 0x384]
mov dword [ecx + edx + 0x128], eax
mov edx, dword [ebp - 0x164]
imul edx, edx, 0x14c
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 0x384]
cmp dword [ecx + edx + 0x128], 0
je 0x4044dc
mov edx, dword [ebp - 0x160]
push edx
mov eax, dword [ebp - 0x164]
imul eax, eax, 0x14c
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx + 0x384]
mov eax, dword [edx + eax + 0x128]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x4cc]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [ebp - 0x4cc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x164]
imul eax, eax, 0x14c
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx + 0x384]
mov dword [edx + eax + 0x130], 0
mov eax, dword [ebp - 0x164]
imul eax, eax, 0x14c
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx + 0x384]
mov eax, dword [edx + eax + 0x134]
and eax, 1
test eax, eax
je 0x404700
push 0x32
lea ecx, [ebp - 0x500]
push ecx
push 0x18
mov edx, dword [0x417f58]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x10]
push eax
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x4142b0
mov edx, dword [ebp - 0x164]
imul edx, edx, 0x14c
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 0x384]
mov edx, dword [ecx + edx + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x500]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [ebp - 0x10], eax
jbe 0x4045b6
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x518], ecx
jmp 0x4045c9
lea edx, [ebp - 0x500]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x518], eax
mov eax, dword [ebp - 0x518]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x504], eax
cmp dword [ebp - 0x504], 0
je 0x404700
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x504]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push str.AdvancedButtonText
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x384]
mov ecx, dword [eax + ecx + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x404643
lea edx, [ebp - 0x500]
push edx
mov eax, dword [ebp - 0x504]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
push 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x504]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
shl eax, 1
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x160]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov edx, dword [edx + 0x384]
mov dword [edx + ecx + 0x130], eax
mov eax, dword [ebp - 0x164]
imul eax, eax, 0x14c
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx + 0x384]
cmp dword [edx + eax + 0x130], 0
je 0x4046ea
mov eax, dword [ebp - 0x160]
push eax
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x384]
mov ecx, dword [eax + ecx + 0x130]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x504]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x504]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx + 0x350]
and edx, 2
test edx, edx
jne 0x404726
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 0x350]
and ecx, 1
test ecx, ecx
je 0x40474f
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x354]
push eax
push 0x4142d8
push 0x4142e4
lea ecx, [ebp - 0x15c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x404761
push 0x4142ec
lea edx, [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
lea eax, [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x384]
mov ecx, dword [eax + ecx + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x404829
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x350]
and eax, 2
test eax, eax
jne 0x4047d8
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx + 0x350]
and edx, 1
test edx, edx
je 0x4047ff
mov eax, dword [ebp - 0x14]
and eax, 2
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov edx, dword [edx + 0x384]
mov dword [edx + ecx + 0x148], eax
jmp 0x404824
mov eax, dword [ebp - 0x14]
and eax, 1
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov edx, dword [edx + 0x384]
mov dword [edx + ecx + 0x148], eax
jmp 0x4048df
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 0x350]
and ecx, 2
test ecx, ecx
jne 0x40484f
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x350]
and eax, 1
test eax, eax
je 0x404898
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x384]
mov ecx, dword [eax + ecx + 0x134]
and ecx, 8
neg ecx
sbb ecx, ecx
neg ecx
mov edx, dword [ebp - 0x164]
imul edx, edx, 0x14c
mov eax, dword [ebp - 0x510]
mov eax, dword [eax + 0x384]
mov dword [eax + edx + 0x148], ecx
jmp 0x4048df
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x384]
mov ecx, dword [eax + ecx + 0x134]
and ecx, 2
neg ecx
sbb ecx, ecx
neg ecx
mov edx, dword [ebp - 0x164]
imul edx, edx, 0x14c
mov eax, dword [ebp - 0x510]
mov eax, dword [eax + 0x384]
mov dword [eax + edx + 0x148], ecx
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x384]
mov dword [eax + ecx], 0
lea ecx, [ebp - 0x118]
push ecx
mov ecx, dword [ebp - 0x510]
call fcn.004055d9
mov edx, dword [ebp - 0x164]
imul edx, edx, 0x14c
mov ecx, dword [ebp - 0x510]
mov ecx, dword [ecx + 0x384]
mov dword [ecx + edx], eax
mov edx, dword [ebp - 0x164]
imul edx, edx, 0x14c
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 0x384]
mov dword [ecx + edx + 8], 0
mov edx, dword [ebp - 0x164]
imul edx, edx, 0x14c
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 0x384]
mov edx, dword [ecx + edx + 0x20]
push edx
mov ecx, dword [ebp - 0x510]
call fcn.00405777
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov edx, dword [edx + 0x384]
mov dword [edx + ecx + 4], eax
mov eax, dword [ebp - 0x164]
imul eax, eax, 0x14c
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx + 0x384]
cmp dword [edx + eax + 4], 0
je 0x404a94
mov dword [ebp - 0x508], 1
mov dword [ebp - 0x50c], 0
lea eax, [ebp - 0x50c]
push eax
push 0
lea ecx, [ebp - 0x508]
push ecx
push 0
push 0x4142f8
mov edx, dword [ebp - 0x164]
imul edx, edx, 0x14c
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax + 0x384]
mov edx, dword [ecx + edx + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 0x50c], 0
je 0x404a94
mov eax, dword [ebp - 0x50c]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov edx, dword [edx + 0x384]
mov dword [edx + ecx + 8], eax
lea eax, [ebp - 0x50c]
push eax
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x384]
mov ecx, dword [eax + ecx + 8]
push ecx
lea edx, [ebp - 0x508]
push edx
push 0
push 0x4142fc
mov eax, dword [ebp - 0x164]
imul eax, eax, 0x14c
mov ecx, dword [ebp - 0x510]
mov edx, dword [ecx + 0x384]
mov eax, dword [edx + eax + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x404abc
mov ecx, dword [ebp - 0x164]
imul ecx, ecx, 0x14c
mov edx, dword [ebp - 0x510]
mov eax, dword [edx + 0x384]
add eax, ecx
push eax
mov ecx, dword [ebp - 0x510]
call fcn.00404d09
jmp 0x404ad4
push 0
push str.ERROR_Opening_GUID_key
lea ecx, [ebp - 0x268]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x404aec
push 0
push str.ERROR_Opening_the_client_key
lea edx, [ebp - 0x268]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x164]
add eax, 1
mov dword [ebp - 0x164], eax
jmp 0x403d17
jmp 0x404b16
push 0
push str.CLEANMGR_DEBUG
push str.ERROR_Opening_up_Volume_Cache_key
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret