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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a018
mov eax, dword fs:[0]
push eax
sub esp, 0xdf4
mov eax, dword [0x72400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xddc], ecx
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0xd2c]
mov ebx, dword [ebp + 8]
xor eax, eax
push eax
push 0x70f8c0
mov dword [ebp - 0xdc8], edi
mov dword [ebp - 0xde0], 0
mov dword [ebp - 0xd18], 7
mov dword [ebp - 0xd1c], 0
mov word [ebp - 0xd2c], ax
call fcn.0040f5c0
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0x10
jb 0x414699
mov eax, dword [edi]
jmp 0x41469b
mov eax, edi
lea ecx, [ebp - 0xdc0]
push ecx
push 0x20019
push 0
push eax
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4146f0
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov ecx, ebx
mov word [ebx], ax
lea eax, [ebp - 0xd2c]
push eax
call fcn.004107b0
mov ecx, dword [ebp - 0xd18]
cmp ecx, 8
jb 0x414baa
inc ecx
push ecx
jmp 0x414b99
push str.Birness
lea ecx, [ebp - 0xd5c]
mov dword [ebp - 0xdcc], 0x800
call fcn.0040f910
mov byte [ebp - 4], 1
lea eax, [ebp - 0xd5c]
cmp dword [ebp - 0xd48], 8
mov ecx, 0x74
cmovae eax, dword [ebp - 0xd5c]
mov word [eax + 4], cx
lea ecx, [ebp - 0xdcc]
cmp dword [ebp - 0xd48], 8
lea eax, [ebp - 0xd5c]
push ecx
cmovae eax, dword [ebp - 0xd5c]
lea ecx, [ebp - 0xd14]
push ecx
push 0
push 0
push eax
push dword [ebp - 0xdc0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp byte [ebp + 0x10], 0
je 0x4147ad
test eax, eax
jne 0x4147ad
lea eax, [ebp - 0xd14]
push eax
lea ecx, [ebp - 0xd74]
call fcn.0040f910
push eax
lea ecx, [ebp - 0xd2c]
call fcn.0040f890
mov eax, dword [ebp - 0xd60]
cmp eax, 8
jb 0x414b24
inc eax
lea ecx, [ebp - 0xd74]
push eax
push dword [ebp - 0xd74]
call fcn.004120a0
jmp 0x414b24
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004e7b30
add esp, 0xc
mov dword [ebp - 0xdd0], 0x104
lea eax, [ebp - 0xe00]
mov dword [ebp - 0xdc4], 0
push eax
lea eax, [ebp - 0xde4]
push eax
lea eax, [ebp - 0xde8]
push eax
lea eax, [ebp - 0xdec]
push eax
lea eax, [ebp - 0xdf0]
push eax
lea eax, [ebp - 0xdf4]
push eax
lea eax, [ebp - 0xdf8]
push eax
lea eax, [ebp - 0xdc4]
push eax
push 0
lea eax, [ebp - 0xdd0]
push eax
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0xdc0]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x414b24
xor esi, esi
cmp dword [ebp - 0xdc4], esi
jbe 0x414b24
nop dword [eax]
nop word [eax + eax]
lea eax, [ebp - 0xe00]
mov dword [ebp - 0xdd4], 0x400
push eax
push 0
push 0
push 0
lea eax, [ebp - 0xdd4]
push eax
lea eax, [ebp - 0x514]
push eax
push esi
push dword [ebp - 0xdc0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x414af7
mov dword [ebp - 0xd30], 0xf
mov dword [ebp - 0xd34], eax
mov byte [ebp - 0xd44], al
cmp byte [ebp - 0x514], al
je 0x4148ba
lea eax, [ebp - 0x514]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4148b1
sub eax, edx
push eax
lea eax, [ebp - 0x514]
push eax
lea ecx, [ebp - 0xd44]
call fcn.00407f60
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd8c]
push 1
push 0x70febc
mov dword [ebp - 0xd78], 0xf
mov dword [ebp - 0xd7c], 0
mov byte [ebp - 0xd8c], 0
call fcn.00407f60
lea eax, [ebp - 0xd8c]
mov byte [ebp - 4], 3
push eax
mov edx, edi
lea ecx, [ebp - 0xd74]
call fcn.00414c20
lea ecx, [ebp - 0xd44]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0xdbc]
call fcn.00414bd0
mov dword [ebp - 0xdd8], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd44]
cmp dword [ebp - 0xd30], 0x10
mov edx, 7
mov edi, dword [ebp - 0xd34]
cmovae ecx, dword [ebp - 0xd44]
cmp edi, edx
cmovb edx, edi
push edx
mov edx, str.Outlook
call fcn.00405ee0
add esp, 0xc
test eax, eax
jne 0x414985
cmp edi, 7
jae 0x414978
or eax, 0xffffffff
jmp 0x414983
mov eax, 7
cmp eax, edi
sbb eax, eax
neg eax
test eax, eax
mov ecx, dword [ebp - 0xddc]
sete al
movzx eax, al
push eax
push dword [ebp - 0xdd8]
lea eax, [ebp - 0xda4]
push eax
call fcn.00414610
mov edi, eax
lea eax, [ebp - 0xd2c]
cmp eax, edi
je 0x4149f7
mov eax, dword [ebp - 0xd18]
cmp eax, 8
jb 0x4149ce
inc eax
lea ecx, [ebp - 0xd2c]
push eax
push dword [ebp - 0xd2c]
call fcn.004120a0
xor eax, eax
mov dword [ebp - 0xd18], 7
push edi
lea ecx, [ebp - 0xd2c]
mov dword [ebp - 0xd1c], 0
mov word [ebp - 0xd2c], ax
call fcn.004107b0
mov eax, dword [ebp - 0xd90]
cmp eax, 8
jb 0x414a15
inc eax
lea ecx, [ebp - 0xda4]
push eax
push dword [ebp - 0xda4]
call fcn.004120a0
xor eax, eax
mov dword [ebp - 0xd90], 7
mov word [ebp - 0xda4], ax
mov eax, dword [ebp - 0xda8]
mov dword [ebp - 0xd94], 0
cmp eax, 0x10
jb 0x414a50
inc eax
lea ecx, [ebp - 0xdbc]
push eax
push dword [ebp - 0xdbc]
call fcn.00408600
mov eax, dword [ebp - 0xd60]
mov dword [ebp - 0xda8], 0xf
mov dword [ebp - 0xdac], 0
mov byte [ebp - 0xdbc], 0
cmp eax, 0x10
jb 0x414a89
inc eax
lea ecx, [ebp - 0xd74]
push eax
push dword [ebp - 0xd74]
call fcn.00408600
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xd78]
mov dword [ebp - 0xd60], 0xf
mov dword [ebp - 0xd64], 0
mov byte [ebp - 0xd74], 0
cmp eax, 0x10
jb 0x414ac6
inc eax
lea ecx, [ebp - 0xd8c]
push eax
push dword [ebp - 0xd8c]
call fcn.00408600
cmp dword [ebp - 0xd1c], 0
jne 0x414b06
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xd30]
cmp eax, 0x10
jb 0x414af1
inc eax
lea ecx, [ebp - 0xd44]
push eax
push dword [ebp - 0xd44]
call fcn.00408600
mov edi, dword [ebp - 0xdc8]
inc esi
cmp esi, dword [ebp - 0xdc4]
jb 0x414850
jmp 0x414b24
mov eax, dword [ebp - 0xd30]
cmp eax, 0x10
jb 0x414b24
inc eax
lea ecx, [ebp - 0xd44]
push eax
push dword [ebp - 0xd44]
call fcn.00408600
push dword [ebp - 0xdc0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov ecx, ebx
mov word [ebx], ax
lea eax, [ebp - 0xd2c]
push eax
call fcn.004107b0
mov eax, dword [ebp - 0xd48]
cmp eax, 8
jb 0x414b6f
inc eax
lea ecx, [ebp - 0xd5c]
push eax
push dword [ebp - 0xd5c]
call fcn.004120a0
xor eax, eax
mov dword [ebp - 0xd48], 7
mov word [ebp - 0xd5c], ax
mov eax, dword [ebp - 0xd18]
mov dword [ebp - 0xd4c], 0
cmp eax, 8
jb 0x414baa
inc eax
push eax
push dword [ebp - 0xd2c]
lea ecx, [ebp - 0xd2c]
call fcn.004120a0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ce564
mov esp, ebp
pop ebp
ret 0xc