joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ddfe0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x4de0a2
cmp byte [esi + 0x3e], 0
je 0x4de0a2
mov eax, dword [esi]
push edi
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x4de090
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4de058
sub eax, 1
je 0x4de05c
sub eax, 2
jne 0x4de090
mov byte [esi + 0x3e], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4de079
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00670ce0
add esp, 0x10
cmp edi, eax
jne 0x4de090
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
Function at 0x4ebc30
Capabilities:
Acquire credentials from windows credential manager

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c11e0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x34], 0
push eax
push 0
push 0
mov esi, 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_CredEnumerateW]
test eax, eax
je 0x4ebd4c
xor edi, edi
cmp edi, dword [ebp - 0x18]
jae 0x4ebd4c
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x38], eax
mov edx, dword [eax + 8]
xor eax, eax
mov word [ebp - 0x30], ax
mov eax, edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
lea ecx, [eax + 2]
mov dword [ebp - 0x3c], ecx
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ebcd0
sub eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x30]
sar eax, 1
push eax
push edx
call fcn.004271d0
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x4ebcf4
mov eax, dword [ebx]
push dword [ebx + 0x10]
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x20]
cmovae ecx, dword [ebp - 0x30]
push eax
push 0
call fcn.0042fe40
add esp, 0xc
cmp eax, 0xffffffff
je 0x4ebd2c
mov eax, dword [ebp - 0x38]
push 0
push 1
push dword [eax + 8]
call dword [sym.imp.ADVAPI32.dll_CredDeleteW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
lea ecx, [ebp - 0x30]
call fcn.00427170
inc edi
jmp 0x4ebc97
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4ebd5a
push eax
call dword [sym.imp.ADVAPI32.dll_CredFree]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret 8

Function at 0x4f0790
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x4f07c1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4f07b0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x4f0a10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x4f0a41
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4f0a30
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x4faae0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c1f03
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.00427050
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
je 0x4fac3f
push 2
push 0x73b7a4
lea ecx, [ebp - 0x28]
call fcn.004272f0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x278]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4fac3f
nop dword [eax]
test byte [ebp - 0x278], 0x10
jne 0x4fac19
xor eax, eax
mov dword [ebp - 0x284], 0
mov word [ebp - 0x294], ax
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x280], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4fab93
sub eax, edx
lea ecx, [ebp - 0x294]
sar eax, 1
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.004271d0
mov byte [ebp - 4], 1
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4fabfb
movups xmm0, xmmword [ebp - 0x294]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x284]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [esi + 4], 0x18
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
jmp 0x4fac0a
lea ecx, [ebp - 0x294]
push ecx
push eax
mov ecx, esi
call fcn.0043f2a0
lea ecx, [ebp - 0x294]
mov byte [ebp - 4], 0
call fcn.00427170
lea eax, [ebp - 0x278]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4fab60
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov byte [ebp - 0x279], 1
jmp 0x4fac46
mov byte [ebp - 0x279], 0
lea ecx, [ebp - 0x28]
call fcn.00427170
mov al, byte [ebp - 0x279]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
Function at 0x4fb990
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x4fb9c5
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x4fba03
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ecx + ebx*2]
cmp ecx, eax
jae 0x4fba03
lea ecx, [ebx - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
pop ebx
mov ax, di
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x4fbacc
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x4fba2d
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov eax, dword [esi + 0x1c]
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4fba3a
push dword [esi + 0x4c]
push edi
jmp 0x4fba75
movzx eax, di
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x4fbacc
cmp eax, 1
jle 0x4fba9f
cmp eax, 3
jne 0x4fbacc
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.0067e248
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x4fbad1
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x4fbabc
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.00670ce0
add esp, 0x10
cmp ebx, eax
jne 0x4fbacc
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
jne 0x4fb9ed
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00650ddc
mov esp, ebp
pop ebp
ret 4
Function at 0x4fceb0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c23a6
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x7e500c]
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 edi, ecx
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x80
push eax
lea eax, [ebp - 0x118]
mov esi, 1
push eax
push 6
call dword [sym.imp.Secur32.dll_GetUserNameExW]
test al, al
je 0x4fcfb4
lea ecx, [ebp - 0x118]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fcf16
sub ecx, edx
lea eax, [ebp - 0x118]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.004271d0
xor eax, eax
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fcf60
sub ecx, edx
lea eax, [ebp - 0x118]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.004271d0
push edi
lea eax, [ebp - 0x240]
mov dword [ebp - 4], 0
push eax
push 1
call fcn.004d47a0
lea ecx, [ebp - 0x240]
mov bl, al
call fcn.00427170
test bl, bl
je 0x4fd04c
xor eax, eax
jmp 0x4fd04e
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x80
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov dword [ebp - 0x248], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fd000
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x258]
call fcn.004271d0
push edi
lea eax, [ebp - 0x258]
mov dword [ebp - 4], 1
push eax
push 1
call fcn.004d47a0
lea ecx, [ebp - 0x258]
mov bl, al
call fcn.00427170
xor eax, eax
test bl, bl
cmovne esi, eax
mov eax, esi
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.00650ddc
mov esp, ebp
pop ebp
ret
Function at 0x4fe5a0
Capabilities:
Get common file path

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 0x6c25b8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x38
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x34], 0xff
jb 0x4fe5fc
mov eax, dword [esi]
mov byte [eax], 0
lea eax, [ebp - 0x30]
movups xmm0, xmmword [0x73c218]
push eax
push 0
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x4fe6d1
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x4fe6d1
mov ecx, edx
mov dword [ebp - 0x3c], 0
xor eax, eax
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fe656
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.004271d0
mov edx, esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.004ed550
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.00427170
push 1
push 0x73ae3c
mov ecx, esi
call fcn.004389e0
push 5
push 0x73bc38
mov ecx, esi
call fcn.004389e0
push 1
push 0x73ae3c
mov ecx, esi
call fcn.004389e0
push dword [ebp - 0x30]
xor esi, esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x4fe6d6
mov esi, 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4fe700
Capabilities:
Get common file path

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 0x6c25e8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x38
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x34], 0xff
jb 0x4fe75c
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x30]
movups xmm0, xmmword [0x73c260]
push eax
push ecx
push ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
push eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 4], ecx
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x4fe803
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x4fe803
mov ecx, edx
mov dword [ebp - 0x3c], 0
xor eax, eax
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fe7a6
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.004271d0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
cmp esi, eax
je 0x4fe7dd
cmp dword [ebp - 0x38], 8
mov ecx, esi
push dword [ebp - 0x3c]
cmovae eax, dword [ebp - 0x4c]
push eax
call fcn.004271d0
lea ecx, [ebp - 0x4c]
call fcn.00427170
push dword [ebp - 0x30]
xor esi, esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x4fe808
mov esi, 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4fe830
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c2618
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x2c], 0xff
jb 0x4fe878
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x28]
movups xmm0, xmmword [0x73c250]
push eax
push ecx
push ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 4], ecx
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x4fe919
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x4fe919
mov ecx, edx
mov dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fe8c2
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.004271d0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
cmp esi, eax
je 0x4fe8f9
cmp dword [ebp - 0x30], 8
mov ecx, esi
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.004271d0
lea ecx, [ebp - 0x44]
call fcn.00427170
push dword [ebp - 0x28]
xor esi, esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x4fe91e
mov esi, 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
Function at 0x4fe940
Capabilities:
Get common file path

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 0x6c2648
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x38
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x34], 0xff
jb 0x4fe99c
mov eax, dword [esi]
mov byte [eax], 0
lea eax, [ebp - 0x30]
movups xmm0, xmmword [0x73c240]
push eax
push 0
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x4fea71
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x4fea71
mov ecx, edx
mov dword [ebp - 0x3c], 0
xor eax, eax
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fe9f6
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.004271d0
mov edx, esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.004ed550
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.00427170
push 1
push 0x73ae3c
mov ecx, esi
call fcn.004389e0
push 5
push 0x73bc38
mov ecx, esi
call fcn.004389e0
push 1
push 0x73ae3c
mov ecx, esi
call fcn.004389e0
push dword [ebp - 0x30]
xor esi, esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x4fea76
mov esi, 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4ff2e0
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c2728
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ecx + 0x10]
mov esi, dword [ebp + 0xc]
test edi, edi
je 0x4ff408
mov eax, dword [edx + 0x10]
test eax, eax
je 0x4ff408
cmp byte [ebp + 8], 0
jne 0x4ff3fd
cmp dword [ecx + 0x14], 0x10
jb 0x4ff335
mov ecx, dword [ecx]
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
jb 0x4ff343
mov edx, dword [edx]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], edx
push eax
push 0
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x4ff408
push dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00427530
mov dword [ebp - 4], 0
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.DLL_LocalFree]
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x4ff3ac
mov eax, dword [esi]
mov byte [eax], 0
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x4ff3c9
cmp dword [ebp - 0x14], 0x10
mov ecx, esi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00427530
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4ff3f9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ff3ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ff428
push edx
push ecx
call fcn.0065106e
add esp, 8
xor eax, eax
jmp 0x4ff40d
push esi
call fcn.004ff110
add esp, 4
jmp 0x4ff40d
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
call fcn.0066bea5
int3
Function at 0x4ff600
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c2728
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x7e500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ecx + 0x10]
mov esi, dword [ebp + 0xc]
test edi, edi
je 0x4ff728
mov eax, dword [edx + 0x10]
test eax, eax
je 0x4ff728
cmp byte [ebp + 8], 0
jne 0x4ff71d
cmp dword [ecx + 0x14], 0x10
jb 0x4ff655
mov ecx, dword [ecx]
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
jb 0x4ff663
mov edx, dword [edx]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], edx
push eax
push 0
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x4ff728
push dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00427530
mov dword [ebp - 4], 0
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.DLL_LocalFree]
mov dword [esi + 0x10], 0
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x4ff6cc
mov eax, dword [esi]
mov byte [eax], 0
lea eax, [ebp - 0x28]
cmp esi, eax
je 0x4ff6e9
cmp dword [ebp - 0x14], 0x10
mov ecx, esi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00427530
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4ff719
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ff70f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ff748
push edx
push ecx
call fcn.0065106e
add esp, 8
xor eax, eax
jmp 0x4ff72d
push esi
call fcn.004ff430
add esp, 4
jmp 0x4ff72d
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00650ddc
mov esp, ebp
pop ebp
ret
call fcn.0066bea5
int3
Function at 0x4ff8d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c278b
mov eax, dword fs:[0]
push eax
mov eax, 0x114c
call fcn.006aa250
mov eax, dword [0x7e500c]
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 edi, ecx
push 0x118
xor ebx, ebx
lea eax, [ebp - 0x112c]
push ebx
push eax
call fcn.00663090
add esp, 0xc
mov dword [ebp - 0x1130], 0x11c
xor eax, eax
mov dword [ebp - 0x1148], ebx
lea ecx, [ebp - 0x1158]
mov dword [ebp - 0x1144], 7
mov word [ebp - 0x1158], ax
push 9
push str.ntdll.dll
call fcn.004271d0
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], ebx
push ebx
push eax
mov dword [ebp - 0x1134], ebx
call fcn.00663090
add esp, 0xc
lea eax, [ebp - 0x1010]
push 0x800
push ebx
push eax
call fcn.00663090
add esp, 0xc
lea eax, [ebp - 0x1158]
mov dword [ebp - 0x113c], eax
lea eax, [ebp - 0x1134]
mov dword [ebp - 0x1138], eax
lea eax, [ebp - 0x810]
push 0x400
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
je 0x4ff9c7
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x113c]
call fcn.004ff7e0
test eax, eax
jne 0x4ff9ef
push 0x400
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
test eax, eax
je 0x4ff9ef
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x113c]
call fcn.004ff7e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1158]
mov esi, dword [ebp - 0x1134]
call fcn.00427170
test esi, esi
je 0x4ffa34
push str.RtlGetVersion
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x4ffa29
lea ecx, [ebp - 0x1130]
mov ebx, 1
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
test ebx, ebx
jne 0x4ffa65
mov esi, dword [sym.imp.KERNEL32.DLL_GetVersionExW]
lea eax, [ebp - 0x1130]
push eax
call esi
test eax, eax
jne 0x4ffa65
lea eax, [ebp - 0x1130]
mov dword [ebp - 0x1130], 0x114
push eax
call esi
test eax, eax
jne 0x4ffa65
mov eax, 1
jmp 0x4ffa8b
mov eax, dword [ebp - 0x112c]
mov dword [edi], eax
mov eax, dword [ebp - 0x1128]
mov dword [edi + 4], eax
movzx eax, byte [ebp - 0x1016]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x1124]
mov dword [edi + 0xc], eax
xor eax, eax
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.00650ddc
mov esp, ebp
pop ebp
ret