Function at 0x4401d2
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0xdc
mov eax, 0x46d274
call fcn.0046bbe6
mov edi, ecx
mov dword [ebp - 0xb0], edi
xor ebx, ebx
mov dword [ebp - 0xac], edi
mov dword [ebp - 0x80], ebx
push 2
pop esi
mov dword [ebp - 4], esi
mov dword [edi], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
push 0x47a7c4
mov byte [edi], bl
call fcn.0044b945
xor eax, eax
inc eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x80], eax
lea eax, [ebp + 8]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.0044c02b
push 3
pop eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x80], eax
call fcn.0043e4dc
test al, al
je 0x44026b
push ecx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.0044c02b
push 7
pop eax
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x80], eax
call fcn.0043e528
mov byte [ebp - 0x79], 1
test al, al
jne 0x44026e
mov byte [ebp - 0x79], bl
mov eax, dword [ebp - 0x80]
test al, 4
je 0x440286
and eax, 0xfffffffb
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x80], eax
call fcn.0044b6d9
mov eax, dword [ebp - 0x80]
mov dword [ebp - 4], esi
test al, 2
je 0x44029b
and eax, 0xfffffffd
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x80], eax
call fcn.0044b6d9
cmp byte [ebp - 0x79], 0
je 0x4406f4
push ecx
lea eax, [ebp + 8]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x48]
call fcn.0044c02b
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xc8]
call fcn.0043e47c
lea ecx, [ebp - 0x48]
call fcn.0044b6d9
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0xa4]
call fcn.0044070c
mov eax, dword [ebp - 0xa0]
mov esi, dword [ebp - 0xa4]
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0044070c
mov ecx, dword [ebp - 0xd8]
xorps xmm0, xmm0
movlpd qword [ebp - 0xa4], xmm0
mov eax, ebx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], ebx
test ecx, ecx
je 0x44033e
call fcn.0042a587
mov eax, ebx
mov byte [ebp - 4], 0xa
cmp esi, eax
je 0x440676
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0xb
push eax
mov ecx, esi
call fcn.0043de86
mov ecx, eax
cmp dword [ecx], 3
mov eax, dword [ecx + 4]
mov dword [ebp - 0x88], eax
je 0x440698
mov eax, dword [0x486fd0]
lea ecx, [esi + 0x20]
mov ebx, dword [eax + 0x2c]
lea eax, [ebp - 0x78]
push eax
call fcn.0043d919
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, eax
call fcn.0043d8ed
push ebx
mov ecx, eax
call fcn.0044cae0
lea ecx, [ebp - 0x48]
mov bl, al
call fcn.0044b89e
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xb
call fcn.0044b6d9
test bl, bl
je 0x440698
sub esp, 0x18
lea ecx, [esi + 0x20]
push esp
call fcn.0043d8ed
lea ecx, [ebp - 0x30]
call fcn.0043f432
add esp, 0x18
push 0x47a7c4
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xd
call fcn.0044cae0
test al, al
jne 0x44066e
mov eax, dword [0x486fd0]
push ecx
lea ecx, [ebp - 0x30]
push dword [eax + 0xb4]
call fcn.0044b37c
xor ebx, ebx
cmp eax, 0xffffffff
je 0x44065e
push eax
push ebx
lea ecx, [ebp - 0x30]
call fcn.0044b8ff
push eax
lea ecx, [ebp - 0x30]
call fcn.0044b499
push ecx
push 0x47ee00
lea ecx, [ebp - 0x30]
call fcn.0044b37c
sub eax, 0x1a
lea ecx, [ebp - 0x30]
push eax
push 0x1a
lea eax, [ebp - 0x78]
push eax
call fcn.0044b2f0
lea ecx, [ebp - 0x30]
cmp ecx, eax
je 0x440454
mov byte [ebp - 0xbc], bl
push dword [ebp - 0xbc]
push eax
call fcn.0044ba6a
lea ecx, [ebp - 0x78]
call fcn.0044b89e
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x78]
call fcn.0043f886
lea ecx, [ebp - 0x30]
cmp ecx, eax
je 0x440480
mov byte [ebp - 0xc0], bl
push dword [ebp - 0xc0]
push eax
call fcn.0044ba6a
lea ecx, [ebp - 0x78]
call fcn.0044b89e
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
add eax, 0xfffffffc
push eax
push 4
lea eax, [ebp - 0x78]
push eax
call fcn.0044b2f0
lea ecx, [ebp - 0x30]
cmp ecx, eax
je 0x4404b6
mov byte [ebp - 0xb0], bl
push dword [ebp - 0xb0]
push eax
call fcn.0044ba6a
lea ecx, [ebp - 0x78]
call fcn.0044b89e
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], ebx
call fcn.00440105
test eax, eax
je 0x44053a
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], ebx
push eax
push 2
push 2
push ebx
push 0xf01ff
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x44052c
push dword [ebp - 0x90]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x90]
test eax, eax
je 0x440528
call esi
push dword [ebp - 0x88]
call esi
mov eax, dword [ebp - 0x94]
jmp 0x44053c
call esi
jmp 0x440532
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x88]
call esi
mov eax, ebx
test eax, eax
je 0x44065e
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
mov esi, dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
xorps xmm0, xmm0
cmovae eax, dword [ebp - 0x30]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0x98]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xd0]
movlpd qword [ebp - 0x8c], xmm0
push eax
movlpd qword [ebp - 0x98], xmm0
call esi
test eax, eax
jne 0x44059b
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
jmp 0x44066e
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
lea eax, [ebp - 0x8c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x98]
push eax
call esi
test eax, eax
je 0x44066e
push 0x20
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
call fcn.0044cab1
mov esi, dword [ebp - 0x54]
push 0x20
push 0x485a8c
push esi
call fcn.00451310
add esp, 0xc
mov dword [ebp - 0x94], ebx
lea eax, [esi + 0x20]
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x50], eax
call fcn.0044ca20
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x88]
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x8c]
call fcn.0043edab
pop ecx
pop ecx
push 0x47a7c4
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xf
call fcn.0044cae0
test al, al
jne 0x44064e
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0044b499
cmp dword [ebp - 0x88], 0
je 0x44064e
push dword [ebp - 0x88]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x48]
call fcn.0044b89e
lea ecx, [ebp - 0x54]
call fcn.0044b182
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
mov dword [ebp - 0x20], ebx
cmovae eax, dword [ebp - 0x30]
mov byte [eax], bl
lea ecx, [ebp - 0x30]
call fcn.0044b89e
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x440687
mov ecx, eax
call fcn.0042a587
mov ecx, dword [ebp - 0xc4]
test ecx, ecx
je 0x4406f4
call fcn.0042a587
jmp 0x4406f4
mov dword [ebp - 4], 0xa
jmp 0x4406c0
lea ecx, [ebp - 0xb8]
call fcn.0043e4bf
mov eax, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xb8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa4]
jmp 0x440342
lea ecx, [ebp + 8]
call fcn.0044b89e
lea ecx, [ebp + 0x20]
call fcn.0044b89e
mov eax, edi
call fcn.0046bb38
ret