Function at 0x4032ee
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45dd99
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x324
push edi
mov dword [ebp - 0x330], ecx
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x120]
call fcn.00402210
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00402210
mov byte [ebp - 4], 1
mov al, byte [0x479634]
mov byte [ebp - 0x314], al
mov ecx, 0x7c
xor eax, eax
lea edi, [ebp - 0x313]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1f4
lea ecx, [ebp - 0x314]
push ecx
push 0x148
mov ecx, 0x479934
call fcn.0041c0a1
lea edx, [ebp - 0x314]
push edx
push 0x471238
lea eax, [ebp - 0x120]
push eax
call fcn.0044fdfe
add esp, 0xc
push 0x1f4
lea ecx, [ebp - 0x314]
push ecx
push 0x15e
mov ecx, 0x479934
call fcn.0041c0a1
lea edx, [ebp - 0x314]
push edx
push 0x47123c
lea eax, [ebp - 0x1c]
push eax
call fcn.0044fdfe
add esp, 0xc
lea ecx, [ebp - 0x318]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x120]
call fcn.00402270
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40354a
mov dword [ebp - 0x14], 0x100
mov dword [ebp - 0x31c], 0
jmp 0x40340d
mov edx, dword [ebp - 0x31c]
add edx, 1
mov dword [ebp - 0x31c], edx
cmp dword [ebp - 0x31c], 3
jge 0x403444
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x11c]
push ecx
push 0
push 0
push str.Installed
mov edx, dword [ebp - 0x318]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x403442
jmp 0x403444
jmp 0x4033fe
mov eax, dword [ebp - 0x318]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x10], 0
jne 0x403545
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x320]
call fcn.0045518e
mov byte [ebp - 4], 2
push 0x47124c
lea ecx, [ebp - 0x320]
call fcn.00402280
test eax, eax
jne 0x403491
mov dword [ebp - 0x18], 1
jmp 0x403536
lea edx, [ebp - 0x318]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x1c]
call fcn.00402270
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403536
mov dword [ebp - 0x14], 0x100
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x11c]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x318]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x403529
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x324]
call fcn.0045518e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x324]
call fcn.00402230
test eax, eax
jne 0x403513
mov dword [ebp - 0x18], 1
jmp 0x40351a
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x324]
call fcn.00455120
mov ecx, dword [ebp - 0x318]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x320]
call fcn.00455120
jmp 0x40362d
lea edx, [ebp - 0x318]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x1c]
call fcn.00402270
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40362d
mov dword [ebp - 0x14], 0x100
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x11c]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x318]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x403620
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x328]
call fcn.0045518e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x328]
call fcn.00402230
test eax, eax
jne 0x40360a
push str.__ProgramFiles_Outlook_Expressmsimn.exe___eml:_1
lea ecx, [ebp - 0x328]
call fcn.00402280
test eax, eax
jne 0x4035e4
mov dword [ebp - 0x18], 1
jmp 0x403608
push str.__ProgramFiles_x86__Outlook_Expressmsimn.exe___eml:_1
lea ecx, [ebp - 0x328]
call fcn.00402280
test eax, eax
jne 0x403601
mov dword [ebp - 0x18], 1
jmp 0x403608
mov dword [ebp - 0x18], 0
jmp 0x403611
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x328]
call fcn.00455120
mov ecx, dword [ebp - 0x318]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x32c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00455120
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.00455120
mov eax, dword [ebp - 0x32c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret