Function at 0x1120920
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1146878
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x115f604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x128], ebx
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 1
call edx
add eax, 0x10
mov dword [ebp - 0x14c], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 2
call edx
add eax, 0x10
mov dword [ebp - 0x130], eax
mov eax, dword [0x1161d94]
mov edx, dword [eax + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 3
call edx
add eax, 0x10
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x148], ebx
push ebx
push 0x1067598
lea eax, [ebp - 0x120]
push eax
push 0x1067518
lea ecx, [ebp - 0x11c]
push 2
push ecx
mov byte [ebp - 4], 6
call fcn.01075110
add esp, 0x18
mov edx, dword [0x1161d94]
mov eax, dword [edx + 0xc]
mov ecx, 0x1161d94
mov byte [ebp - 4], 7
mov dword [ebp - 0x160], ebx
call eax
add eax, 0x10
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], ebx
cmp byte [ebp + 8], bl
mov eax, dword [0x115f560]
mov byte [ebp - 4], 8
jne 0x1120a25
mov eax, dword [0x115f564]
push 0xffffffffffffffff
push eax
push ebx
lea ecx, [ebp - 0x160]
call fcn.010c8ad0
test eax, eax
jne 0x1120a8b
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1120a48
call esi
jmp 0x1120a54
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x120], eax
call fcn.01127f00
test al, al
je 0x1120ee8
mov ecx, dword [ebp - 0x120]
push 0x10674e8
push ecx
push 0x1066708
push 0x1067468
push ebx
call fcn.01128b70
add esp, 0x14
jmp 0x1120ee8
cmp esi, ebx
je 0x1120ede
cmp word [esi], bx
je 0x1120ede
mov edx, dword [ebp + 0x10]
cmp dword [edx - 0xc], ebx
je 0x1120ede
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x128]
push eax
push ecx
call fcn.01120240
cmp eax, ebx
mov dword [ebp - 0x120], eax
jge 0x1120aee
call fcn.01127f00
test al, al
je 0x1120ee8
mov edx, dword [ebp - 0x120]
push edx
push 0x1066fb8
push 0x10673e8
push ebx
call fcn.01128b70
add esp, 0x10
jmp 0x1120ee8
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x128]
push ecx
push esi
call fcn.0111e630
cmp eax, ebx
mov dword [ebp - 0x120], eax
jl 0x1120ee8
lea edx, [ebp - 0x130]
push edx
push 0xffffffffffffffff
push esi
call fcn.011258c0
lea ecx, [ebp - 0x130]
call fcn.0109d5e0
mov eax, dword [0x1162c5c]
mov ecx, dword [ebp - 0x130]
mov edx, dword [0x1162c64]
push eax
mov eax, dword [0x1162c58]
push ecx
push edx
push eax
lea ecx, [ebp - 0x14c]
push 0x1065944
push ecx
call fcn.0109dc70
mov edx, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x128]
add esp, 0x18
push edx
lea ecx, [ebp - 0x124]
call fcn.010969e0
mov eax, dword [eax]
mov ecx, dword [esi]
lea edx, [ebp - 0x12c]
push edx
push eax
mov eax, dword [ecx + 0x94]
push esi
mov byte [ebp - 4], 9
call eax
mov ecx, dword [ebp - 0x124]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
mov dword [ebp - 0x120], eax
call edi
mov eax, dword [ebp - 0x120]
cmp eax, ebx
jl 0x1120ee8
je 0x1120c46
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x150], ebx
mov eax, dword [ebp - 0x128]
mov edx, dword [eax]
mov edx, dword [edx + 0xbc]
lea ecx, [ebp - 0x124]
push ecx
mov ecx, dword [0x1162c5c]
push ecx
push eax
mov byte [ebp - 4], 0xb
call edx
cmp eax, ebx
mov dword [ebp - 0x120], eax
je 0x1120c0a
mov eax, dword [ebp - 0x124]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x1120ee8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x1120ee8
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax]
lea edx, [ebp - 0x12c]
push edx
mov edx, dword [ebp - 0x124]
push edx
push eax
mov eax, dword [ecx + 0x54]
call eax
mov dword [ebp - 0x120], eax
cmp eax, ebx
mov eax, dword [ebp - 0x124]
mov byte [ebp - 4], 8
jne 0x1120bf5
cmp eax, ebx
je 0x1120c46
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x124]
call fcn.01099650
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x134], ebx
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x154]
push ecx
push 5
push ebx
push ebx
mov dword [ebp - 0x164], eax
mov eax, dword [eax - 0xc]
push ebx
push ebx
lea edx, [ebp - 0x168]
lea eax, [eax + eax + 2]
push edx
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x168], eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x1120cf6
call fcn.01071a70
mov dword [ebp - 0x120], eax
call fcn.01127f00
test al, al
je 0x1120cdb
mov eax, dword [ebp - 0x120]
push eax
push 0x1052518
push 0x1067368
push ebx
call fcn.01128b70
add esp, 0x10
lea ecx, [ebp - 0x13c]
call fcn.010975a0
lea ecx, [ebp - 0x124]
call fcn.0111cdb0
jmp 0x1120ee8
mov eax, dword [ebp - 0x150]
cmp eax, ebx
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x134], ebx
je 0x1120d24
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x134], ecx
push 2
lea edx, [ebp - 0x144]
push edx
push ecx
push eax
call fcn.010a0660
cmp eax, ebx
mov dword [ebp - 0x120], eax
jge 0x1120d6d
call fcn.01127f00
test al, al
je 0x1120cdb
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x154]
push eax
push ecx
push 0x1067318
push 0x1067298
push ebx
call fcn.01128b70
add esp, 0x14
jmp 0x1120cdb
lea ecx, [ebp - 0x13c]
call fcn.010975a0
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 8
call fcn.0111cdb0
mov edx, dword [ebp - 0x144]
mov esi, dword [ebp - 0x12c]
push edx
lea ecx, [ebp - 0x124]
call fcn.010bd930
mov eax, dword [eax]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x6c]
push eax
push esi
mov byte [ebp - 4], 0xe
call edx
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x124]
push eax
call edi
cmp dword [ebp - 0x120], ebx
jne 0x1120ee8
lea ecx, [ebp - 0x140]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [ebp - 0x124], ebx
mov edx, dword [ebp - 0x12c]
push edx
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0x10
call fcn.010c6310
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x140]
push eax
call esi
cmp byte [ebp + 0x14], bl
mov eax, 0x101055c
jne 0x1120e10
mov eax, 0x1010550
push eax
lea ecx, [ebp - 0x140]
call fcn.01096ab0
mov edi, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x124]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ebp - 0x13c]
mov dword [eax + 4], edi
mov edi, dword [ebp - 0x138]
mov dword [eax + 8], edi
mov edi, dword [ebp - 0x134]
mov dword [eax + 0xc], edi
mov eax, dword [0x1162c74]
push eax
push ecx
mov ecx, dword [edx + 0xb4]
call ecx
mov dword [ebp - 0x120], eax
cmp eax, ebx
mov eax, dword [ebp - 0x124]
mov byte [ebp - 4], 0xf
je 0x1120e86
cmp eax, ebx
je 0x1120e7b
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [ebp - 0x140]
push ecx
call esi
jmp 0x1120ee8
cmp eax, ebx
je 0x1120e92
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [ebp - 0x140]
push ecx
mov byte [ebp - 4], 8
call esi
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x128]
push edx
push eax
call fcn.0111ff30
cmp eax, ebx
mov dword [ebp - 0x120], eax
jge 0x1120ee8
call fcn.01127f00
test al, al
je 0x1120ee8
mov ecx, dword [ebp - 0x120]
push ecx
push 0x1066f78
push 0x1067218
push ebx
call fcn.01128b70
add esp, 0x10
jmp 0x1120ee8
mov dword [ebp - 0x120], 0x80070057
cmp dword [ebp - 0x160], ebx
mov edi, dword [ebp - 0x120]
mov esi, dword [ebp - 0x158]
mov byte [ebp - 4], 7
je 0x1120f0b
cmp esi, ebx
je 0x1120f16
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp esi, ebx
je 0x1120f16
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x15c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1120f38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 6
call fcn.01075230
mov eax, dword [ebp - 0x148]
cmp eax, ebx
mov byte [ebp - 4], 5
je 0x1120f5d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x12c]
cmp eax, ebx
mov byte [ebp - 4], 4
je 0x1120f73
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 3
call fcn.0109b310
mov eax, dword [ebp - 0x130]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1120fa8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1120fce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x128]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x1120fe3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.0109c040
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.010840d6
mov esp, ebp
pop ebp
ret 0x10