Function at 0x100058b0
Capabilities:
Acquire credentials from windows credential manager
Encrypt data using dpapi

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029343
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xd0
push esi
push edi
lea eax, [ebp - 0x34]
mov dword [ebp - 0x40], edx
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x38], ecx
push eax
push 0
push 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
call dword [sym.imp.ADVAPI32.dll_CredEnumerateW]
test eax, eax
je 0x10005df4
xor edi, edi
cmp dword [ebp - 0x30], edi
jbe 0x10005deb
nop dword [eax]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x14], eax
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x4c], eax
xor eax, eax
mov word [ebp - 0x90], ax
mov eax, edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 7
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10005954
sub eax, esi
lea ecx, [ebp - 0x90]
sar eax, 1
push eax
push edx
call fcn.10003250
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x38]
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10005980
mov esi, dword [ebp - 0x90]
sub edx, ecx
sar edx, 1
lea ecx, [ebp - 0x90]
cmp dword [ebp - 0x7c], 8
push edx
push dword [ebp - 0x38]
mov edx, dword [ebp - 0x80]
cmovae ecx, esi
push ecx
call fcn.10007890
add esp, 0xc
cmp eax, 0xffffffff
jne 0x10005a00
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x7c]
cmp eax, 8
jb 0x100059f1
lea ecx, [eax*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x100059e7
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005e07
push ecx
push esi
call fcn.1000c885
add esp, 8
inc edi
cmp edi, dword [ebp - 0x30]
jb 0x10005920
jmp 0x10005deb
cmp dword [ebp - 0x7c], 8
lea ecx, [ebp - 0x90]
mov edx, dword [ebp - 0x80]
push 0x11
cmovae ecx, esi
push str.Microsoft_WinInet
push ecx
call fcn.10007890
add esp, 0xc
cmp eax, 0xffffffff
je 0x10005d6e
mov eax, dword [0x10037cf8]
xorps xmm0, xmm0
movups xmm1, xmmword [str.abe2869f_9b47_4cd9_a358_c22904dba7f7]
mov dword [ebp - 0x58], eax
mov ecx, 0x20
mov al, byte [0x10037cfc]
movups xmm3, xmmword [0x10037ce8]
mov byte [ebp - 0x54], al
xor eax, eax
movlpd qword [ebp - 0xa0], xmm0
movq xmm0, xmm1
punpcklbw xmm0, xmm0
psraw xmm0, 8
mov word [ebp - 0x98], ax
mov eax, 2
movups xmmword [ebp - 0x78], xmm1
unpckhpd xmm1, xmm1
movd xmm2, eax
psllw xmm0, xmm2
movups xmmword [ebp - 0x68], xmm3
movups xmmword [ebp - 0xe0], xmm0
movq xmm0, xmm1
punpcklbw xmm0, xmm0
psraw xmm0, 8
psllw xmm0, xmm2
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, xmm3
unpckhpd xmm3, xmm3
punpcklbw xmm0, xmm0
psraw xmm0, 8
psllw xmm0, xmm2
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, xmm3
punpcklbw xmm0, xmm0
psraw xmm0, 8
psllw xmm0, xmm2
movups xmmword [ebp - 0xb0], xmm0
nop dword [eax]
movsx ax, byte [ebp + ecx - 0x78]
shl ax, 2
mov word [ebp + ecx*2 - 0xe0], ax
inc ecx
cmp ecx, 0x25
jb 0x10005ae0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x4c], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x50], 0x4a
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
push 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x10005db2
mov edx, dword [ebp - 0x38]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005b60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10003250
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
cmp edi, 8
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
cmovae ecx, esi
push 1
push 0x10037d00
push ecx
call fcn.10007890
add esp, 0xc
cmp eax, 0xffffffff
je 0x10005d38
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
cmp edi, 8
mov dword [ebp - 0x5c], 0
push 1
cmovae ecx, esi
mov dword [ebp - 0x58], 7
xor eax, eax
push 0x10037d00
push ecx
mov word [ebp - 0x6c], ax
call fcn.10007890
add esp, 0xc
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x1c], eax
cmovb eax, dword [ebp - 0x1c]
cmp edi, 8
push eax
cmovae ecx, esi
push ecx
lea ecx, [ebp - 0x6c]
call fcn.10003250
mov esi, dword [ebp - 0x40]
lea eax, [ebp - 0x6c]
cmp esi, eax
je 0x10005c16
mov ecx, esi
call fcn.10001fb0
movups xmm0, xmmword [ebp - 0x6c]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x5c]
movq qword [esi + 0x10], xmm0
jmp 0x10005c50
mov edx, dword [ebp - 0x58]
cmp edx, 8
jb 0x10005c50
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005c46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005e07
push edx
push ecx
call fcn.1000c885
add esp, 8
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmp edi, 8
push 1
cmovae ecx, dword [ebp - 0x2c]
mov edx, esi
push 0x10037d00
push ecx
call fcn.10007890
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp edi, 8
lea ecx, [ebp - 0x2c]
mov edx, esi
cmovae ecx, dword [ebp - 0x2c]
push 1
push 0x10037d00
push ecx
call fcn.10007890
add esp, 0xc
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
lea edx, [eax + 1]
xor eax, eax
mov word [ebp - 0x6c], ax
cmp esi, edx
jb 0x10005e0c
mov ecx, esi
lea eax, [ebp - 0x2c]
sub ecx, dword [ebp - 0x14]
sub esi, edx
dec ecx
cmp esi, ecx
cmovb ecx, esi
cmp edi, 8
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x6c]
lea eax, [eax + edx*2]
push eax
call fcn.10003250
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x6c]
cmp esi, eax
je 0x10005cf8
mov ecx, esi
call fcn.10001fb0
movups xmm0, xmmword [ebp - 0x6c]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x5c]
movq qword [esi + 0x10], xmm0
jmp 0x10005d32
mov edx, dword [ebp - 0x58]
cmp edx, 8
jb 0x10005d32
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005d28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005e11
push edx
push ecx
call fcn.1000c885
add esp, 8
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
cmp edi, 8
jb 0x10005db2
lea edi, [edi*2 + 2]
mov eax, esi
cmp edi, 0x1000
jb 0x10005d62
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005e16
push edi
push esi
call fcn.1000c885
add esp, 8
jmp 0x10005db2
mov edx, dword [ebp - 0x44]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005d76
sub ecx, esi
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x40]
push edx
call fcn.10003250
mov ecx, dword [ebx + 8]
push 0
push 0x10037a68
call fcn.10003250
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebx + 8]
shr eax, 1
push eax
push dword [ebp - 0x4c]
call fcn.10003a80
mov edx, dword [ebp - 0x7c]
cmp edx, 8
jb 0x10005deb
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10005de1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005e1b
push edx
push ecx
call fcn.1000c885
add esp, 8
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CredFree]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100151c9
call fcn.100076b0
call fcn.100151c9
call fcn.100151c9
call fcn.100151c9
int3