Function at 0x544410
Capabilities:
Encrypt data using dpapi
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x55e431
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x660038]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x78]
mov eax, dword [esi + 0x14]
mov edx, dword [eax + 0x14]
add esi, 0x14
push ebx
mov ecx, esi
call edx
mov eax, edi
call fcn.00495350
test al, al
je 0x544478
mov esi, dword [esp + 0x7c]
mov ecx, esi
call fcn.004949f0
mov dword [esp + 0x70], ebx
mov dword [esp + 0x18], 1
jmp 0x544711
mov eax, edi
call fcn.00407eb0
mov ebp, eax
mov eax, edi
mov dword [esp + 0x1c], ebp
call fcn.00495300
mov ebx, eax
mov eax, 0x67ba20
call fcn.00495300
lea ecx, [esp + 0x20]
push ecx
mov edx, eax
mov ecx, edi
call fcn.00494f40
mov edi, 1
mov dword [esp + 0x70], edi
mov edx, 0x67ba20
call fcn.00495cf0
mov byte [esp + 0x17], al
mov byte [esp + 0x70], 0
lea ecx, [esp + 0x20]
call fcn.00494b70
cmp byte [esp + 0x17], 0
je 0x5444f0
mov eax, 0x67ba20
call fcn.00495300
lea edx, [ebp + eax*2]
mov eax, 0x67ba20
mov dword [esp + 0x1c], edx
call fcn.00495300
sub ebx, eax
test bl, 1
je 0x54454f
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push 0xe1040047
mov ecx, esi
call edx
mov eax, dword [esp + 0x78]
mov edx, dword [esi]
add eax, 4
call fcn.00407eb0
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x3c]
mov ecx, esi
call eax
push eax
push 0x60cbd8
call fcn.005459a0
mov esi, dword [esp + 0x84]
add esp, 8
mov ecx, esi
call fcn.004949f0
mov dword [esp + 0x70], 0
mov dword [esp + 0x18], edi
jmp 0x544711
mov eax, ebx
shr eax, 1
push eax
mov dword [esp + 0x28], eax
call sub.mfc90u.dll_new_1
lea edi, [ebx - 1]
add esp, 4
mov ebp, eax
xor edx, edx
mov dword [esp + 0x28], ebp
test edi, edi
jbe 0x544604
mov ebx, dword [esp + 0x1c]
movzx eax, word [ebx + edx*2]
lea ecx, [eax - 0x30]
cmp cx, 9
ja 0x54458c
movzx eax, ax
sub eax, 0x30
jmp 0x5445b1
lea ecx, [eax - 0x61]
cmp cx, 5
ja 0x54459d
movzx eax, ax
sub eax, 0x57
jmp 0x5445b1
lea ecx, [eax - 0x41]
cmp cx, 5
ja 0x5445ae
movzx eax, ax
sub eax, 0x37
jmp 0x5445b1
or eax, 0xffffffff
mov ecx, edx
shr ecx, 1
shl al, 4
add ecx, ebp
mov byte [ecx], al
movzx eax, word [ebx + edx*2 + 2]
lea ebx, [eax - 0x30]
cmp bx, 9
ja 0x5445d2
movzx eax, ax
sub eax, 0x30
jmp 0x5445f7
lea ebx, [eax - 0x61]
cmp bx, 5
ja 0x5445e3
movzx eax, ax
sub eax, 0x57
jmp 0x5445f7
lea ebx, [eax - 0x41]
cmp bx, 5
ja 0x5445f4
movzx eax, ax
sub eax, 0x37
jmp 0x5445f7
or eax, 0xffffffff
or byte [ecx], al
add edx, 2
cmp edx, edi
jb 0x544573
lea edx, [esp + 0x2c]
push edx
push 1
push 0
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x5446c2
mov ecx, dword [0x676f64]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.00497730
mov dword [esp + 0x70], 2
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push 0xe1040046
mov ecx, esi
call edx
mov eax, dword [esp + 0x78]
mov edx, dword [esi]
add eax, 4
call fcn.00407eb0
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov edi, dword [esi]
lea ecx, [esp + 0x34]
add edi, 0x28
call fcn.00497ce0
mov edx, dword [edi]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x3c]
mov ecx, esi
call edx
push eax
push 0x60cbd8
call fcn.005459a0
push ebp
call sub.mfc90u.dll_delete_1
mov esi, dword [esp + 0x88]
add esp, 0xc
mov ecx, esi
call fcn.004949f0
mov dword [esp + 0x18], 1
mov byte [esp + 0x70], 0
lea ecx, [esp + 0x34]
call fcn.004978f0
jmp 0x544711
push ebp
call sub.mfc90u.dll_delete_1
mov eax, dword [esp + 0x34]
add esp, 4
push 0
or edi, 0xffffffff
lea esi, [esp + 0x7c]
call fcn.00494ae0
mov dword [esp + 0x70], 3
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov esi, dword [esp + 0x7c]
call fcn.00494a10
mov dword [esp + 0x18], 1
mov byte [esp + 0x70], 0
lea ecx, [esp + 0x78]
call fcn.00494b70
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 8