Function at 0x415097
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4014
call fcn.004012a0
mov dword [ebp - 0x14], ecx
push 0x800
push 0
lea eax, [ebp - 0x1014]
push eax
call fcn.0040132f
add esp, 0xc
push 0x800
push 0
lea eax, [ebp - 0x2014]
push eax
call fcn.0040132f
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x428600
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415109
push str.SoftwareMicrosoftOffice15.0OutlookProfilesOutlook9375CFF0413111d3B88A00104B2A6676
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4151a9
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x428768
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41513c
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows_Messaging_SubsystemProfilesOutlook9375CFF0413111d3B88A00104B2A6676
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4151a9
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x428958
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41516f
push str.SoftwareMicrosoftWindows_Messaging_SubsystemProfiles9375CFF0413111d3B88A00104B2A6676
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4151a9
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x428ae8
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4151a2
push str.SoftwareMicrosoftOffice16.0OutlookProfilesOutlook9375CFF0413111d3B88A00104B2A6676
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4151a9
xor eax, eax
jmp 0x4152d1
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x4151d7
xor eax, eax
jmp 0x4152d1
and dword [ebp - 8], 0
jmp 0x4151e4
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jae 0x4152ce
mov dword [ebp - 0xc], 0x800
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x3014]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x415221
xor eax, eax
jmp 0x4152d1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x428764
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x3014]
push eax
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x2014]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x415289
xor eax, eax
jmp 0x4152d1
lea eax, [ebp - 0x4014]
push eax
push dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
call fcn.004152d3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x1014]
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4152c9
xor eax, eax
jmp 0x4152d1
jmp 0x4151dd
xor eax, eax
inc eax
leave
ret