Function at 0x10391a5
Capabilities:
Encrypt data using dpapi

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x1076530]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 1
push 0x109f
push 0x1006fb0
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x218], esi
call fcn.01055826
xor ebx, ebx
push 0x20f
lea eax, [ebp - 0x213]
push ebx
push eax
mov dword [ebp - 0x240], ebx
mov byte [ebp - 0x214], bl
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x1585
push dword [0x1077408]
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x244], eax
test eax, eax
jne 0x103923a
call fcn.0105d3b8
mov dword [ebp - 0x23c], eax
mov eax, 0x10a6
mov word [ebp - 0x236], ax
jmp 0x103959e
and dword [ebp - 0x23c], ebx
push eax
push 0
push 0x80
mov ecx, 0x10a6
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov word [ebp - 0x238], cx
call esi
push dword [ebp - 0x244]
push 1
push 0x80
push dword [ebp - 0x218]
call esi
push 0x640000
push 0
push 0x401
push 0x43b
push dword [ebp - 0x218]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
push 0
push 1
push 0x404
push 0x43b
push dword [ebp - 0x218]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
push 0
push 1
push 0x402
push 0x43b
push dword [ebp - 0x218]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call esi
push dword [ebp - 0x218]
call fcn.01061d0e
xor esi, esi
mov dword [ebp - 0x23c], eax
cmp eax, esi
mov eax, 0x10af
jl 0x103922e
mov word [ebp - 0x238], ax
lea eax, [ebp - 0x240]
push eax
call fcn.010372fa
mov ebx, dword [ebp - 0x240]
mov dword [ebp - 0x23c], eax
cmp eax, esi
mov eax, 0x10b1
jl 0x103922e
mov word [ebp - 0x238], ax
mov eax, dword [ebp - 0x218]
mov dword [ebx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x2bc]
cmp eax, esi
jne 0x103934c
mov dword [ebp - 0x23c], 0x81000036
mov eax, 0x10b8
jmp 0x103922e
mov ecx, 0x10b8
mov word [ebp - 0x238], cx
mov dword [ebp - 0x23c], esi
mov dword [ebx + 0x14], eax
lea eax, [edi + 0x2c0]
mov ecx, dword [eax]
mov dword [edi + 0x2bc], esi
mov dword [ebx + 0x18], ecx
mov dword [eax], esi
mov eax, dword [edi + 0x2c4]
mov dword [ebx + 0x1c], eax
cmp dword [edi + 0x288], esi
jne 0x103941b
mov eax, dword [edi + 0x28c]
mov edx, dword [eax + 0x18]
lea ecx, [ebx + 0x20]
call fcn.0106470b
mov dword [ebp - 0x23c], eax
cmp eax, esi
mov eax, 0x10c2
jl 0x103922e
mov word [ebp - 0x238], ax
mov eax, dword [edi + 0x28c]
mov edx, dword [eax + 0x24]
lea ecx, [ebx + 0x2c]
call fcn.0106470b
mov dword [ebp - 0x23c], eax
cmp eax, esi
mov eax, 0x10c3
jl 0x103922e
mov word [ebp - 0x238], ax
mov eax, dword [edi + 0x28c]
mov edx, dword [eax + 0x30]
lea ecx, [ebx + 0x38]
call fcn.0106470b
mov dword [ebp - 0x23c], eax
cmp eax, esi
mov eax, 0x10c4
jl 0x103922e
mov word [ebp - 0x238], ax
mov eax, dword [edi + 0x28c]
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x5c], eax
jmp 0x1039548
push 0x5c
lea esi, [edi + 0x48]
pop edx
mov ecx, esi
call fcn.01063962
mov edx, dword [esi]
lea ecx, [ebx + 0x20]
call fcn.0106470b
mov dword [ebp - 0x23c], eax
test eax, eax
mov eax, 0x10cc
jl 0x103922e
mov edx, dword [esi]
lea ecx, [ebx + 0x2c]
mov word [ebp - 0x238], ax
call fcn.0106470b
mov dword [ebp - 0x23c], eax
test eax, eax
mov eax, 0x10cd
jl 0x103922e
mov esi, dword [esi]
lea ecx, [ebx + 0x38]
mov edx, esi
mov word [ebp - 0x238], ax
call fcn.0106470b
mov dword [ebp - 0x23c], eax
test eax, eax
mov eax, 0x10ce
jl 0x103922e
mov word [ebp - 0x238], ax
mov dword [ebx + 0x5c], 4
mov edx, dword [edi + 0x54]
lea ecx, [ebx + 0x44]
call fcn.0106470b
mov dword [ebp - 0x23c], eax
test eax, eax
mov eax, 0x10d1
jl 0x103922e
lea esi, [edi + 0x60]
mov ecx, 0x84
lea edi, [ebp - 0x214]
rep movsd dword es:[edi], dword [esi]
push 0
mov word [ebp - 0x238], ax
mov esi, 0x210
push esi
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectMemory]
test eax, eax
jne 0x1039500
call fcn.0105d3b8
mov dword [ebp - 0x23c], eax
mov eax, 0x10d5
jmp 0x103922e
and dword [ebp - 0x23c], 0
mov eax, 0x10d5
lea ecx, [ebx + 0x50]
lea edx, [ebp - 0x214]
mov word [ebp - 0x238], ax
call fcn.0106470b
mov dword [ebp - 0x23c], eax
test eax, eax
mov eax, 0x10d6
jl 0x103922e
mov word [ebp - 0x238], ax
lea eax, [ebp - 0x214]
mov byte [eax], 0
inc eax
dec esi
jne 0x1039541
lea eax, [ebx + 4]
push eax
mov edi, ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebx
push 6
mov eax, 0x10dc
push 0x1077470
mov dword [ebp - 0x23c], esi
mov word [ebp - 0x238], ax
call fcn.01017371
mov dword [ebp - 0x23c], eax
cmp eax, esi
mov eax, 0x10dd
jge 0x103958b
mov word [ebp - 0x236], ax
jmp 0x1039594
mov word [ebp - 0x238], ax
xor edi, edi
cmp edi, esi
je 0x103959e
push edi
call fcn.0101ae81
mov esi, dword [ebp - 0x23c]
test ebx, ebx
je 0x10395ae
push ebx
call fcn.0101ae81
lea ecx, [ebp - 0x23c]
call fcn.01055a3c
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01054fa7
leave
ret 8