Function at 0x1130090
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11477e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x115f604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x1161d94
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov dword [ebp - 4], ebx
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0109db20
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
push ecx
push ecx
add edi, 0xfffffff0
mov dword [ebp + 8], esp
mov esi, esp
push edi
mov dword [ebp + 8], edi
call fcn.010966c0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.010a08d0
cmp eax, ebx
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
jl 0x113022d
mov edx, dword [esi - 0xc]
mov dword [ebp - 0x28], edx
cmp dword [esi - 4], 1
jle 0x1130154
mov eax, dword [esi - 0xc]
push eax
lea ecx, [ebp - 0x10]
call fcn.01080860
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
push ecx
push 1
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x24], esi
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
cmp esi, ebx
jne 0x1130173
xor ecx, ecx
jmp 0x1130189
mov ecx, esi
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
cmp dl, bl
jne 0x1130178
sub ecx, edi
js 0x11302aa
cmp ecx, dword [esi - 8]
jg 0x11302aa
cmp eax, ebx
mov dword [esi - 0xc], ecx
mov byte [ecx + esi], bl
jne 0x11301c0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x11301af
call edi
mov dword [ebp - 0x14], eax
jmp 0x113022a
call edi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x14], eax
jmp 0x113022a
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp + 0xc]
add esi, 3
and esi, 0xfffffffe
push esi
call fcn.010b6570
push esi
mov edi, eax
push ebx
push edi
call fcn.01084910
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push eax
push ecx
push edi
call fcn.01086710
mov esi, dword [ebp + 0xc]
mov edx, dword [esi]
add esp, 0x18
cmp edx, ebx
jne 0x11301fa
xor eax, eax
jmp 0x1130215
mov eax, edx
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1130200
sub eax, edi
sar eax, 1
js 0x11302aa
cmp eax, dword [edx - 8]
jg 0x11302aa
mov dword [edx - 0xc], eax
mov edx, dword [esi]
mov esi, dword [ebp - 0x10]
mov word [edx + eax*2], bx
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x1130254
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x113024d
jmp 0x1130240
mov byte [eax], bl
add eax, 1
sub ecx, 1
jne 0x1130240
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1130273
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1130293
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.01071710
int3