Function at 0x10088c80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x534
mov eax, dword [0x10189710]
xor eax, esp
mov dword [esp + 0x530], eax
mov eax, dword [esp + 0x538]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x103
lea edx, [esp + 0x31]
push ebx
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov byte [esp + 0x38], bl
call fcn.1012e060
push 0x103
lea eax, [esp + 0x245]
push ebx
push eax
mov byte [esp + 0x24c], bl
call fcn.1012e060
push 0x103
lea ecx, [esp + 0x355]
push ebx
push ecx
mov byte [esp + 0x35c], bl
call fcn.1012e060
push 0x103
lea edx, [esp + 0x465]
push ebx
push edx
mov byte [esp + 0x46c], bl
call fcn.1012e060
push 0x103
lea eax, [esp + 0x165]
push ebx
push eax
mov byte [esp + 0x16c], bl
call fcn.1012e060
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
add esp, 0x3c
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push ebx
xor eax, eax
push str.Identities
push reloc.WS2_32.dll_accept
mov byte [esp + 0x38], bl
mov dword [esp + 0x39], eax
mov word [esp + 0x3d], ax
mov byte [esp + 0x3f], al
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, eax
push esi
call ebp
cmp esi, ebx
jne 0x10088f1c
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x33c]
push eax
push ebx
push ebx
push str.Default_User_ID
push ecx
mov byte [esp + 0x350], bl
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10088f1c
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x338]
push eax
lea ecx, [esp + 0x440]
push str.Identities_sSoftwareMicrosoftInternet_Account_Manager
push ecx
call fcn.10127dc0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0xf003f
push ebx
lea eax, [esp + 0x448]
push eax
push reloc.WS2_32.dll_accept
call edi
mov esi, eax
push esi
call ebp
cmp esi, ebx
jne 0x10088f1c
lea ecx, [esp + 0x43c]
push ecx
lea edx, [esp + 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebx
push ebx
push str.Default_Mail_Account
push edx
mov byte [esp + 0x44], bl
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x2c], bl
je 0x10088f1c
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x134]
push edx
lea eax, [esp + 0x23c]
push str._sAccounts_s
push eax
call fcn.10127dc0
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push ebx
lea edx, [esp + 0x240]
push edx
push reloc.WS2_32.dll_accept
call edi
mov esi, eax
push esi
call ebp
cmp esi, ebx
jne 0x10088f1c
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x10088eb4
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push eax
push ebx
push ebx
push str.SMTP_Server
push edx
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x10088f07
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push str.SMTP_Port
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp byte [esp + 0x24], bl
jne 0x10088ef7
mov byte [esp + 0x24], 0x19
push 0xa
push esi
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.10145409
add esp, 0xc
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x1008904b
push str.SoftwareMicrosoftInternet_Account_Manager
lea eax, [esp + 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push ebx
lea edx, [esp + 0x13c]
push edx
push reloc.WS2_32.dll_accept
call edi
mov esi, eax
push esi
call ebp
cmp esi, ebx
jne 0x10089049
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebx
push ebx
push str.Default_Mail_Account
push edx
mov byte [esp + 0x44], bl
mov dword [esp + 0x2c], 0x104
call esi
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x2c], bl
je 0x10089049
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x134]
push edx
lea eax, [esp + 0x23c]
push str._sAccounts_s
push eax
call fcn.10127dc0
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push ebx
lea edx, [esp + 0x240]
push edx
push reloc.WS2_32.dll_accept
call edi
mov edi, eax
push edi
call ebp
cmp edi, ebx
jne 0x10089049
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x10088ffe
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push eax
push ebx
push ebx
push str.SMTP_Server
push edx
mov dword [esp + 0x2c], 0x104
call esi
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x10088f07
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
push str.SMTP_Port
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], 8
call esi
cmp byte [esp + 0x24], bl
jne 0x10089041
mov byte [esp + 0x24], 0x19
push 0xa
push edi
jmp 0x10088efa
xor eax, eax
mov ecx, dword [esp + 0x540]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10127db1
add esp, 0x534
ret