joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10041ba0
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 0x10041c7b
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edi
xor esi, 1
cmp edi, 2
cmovge esi, edi
test ebx, ebx
je 0x10041c34
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 0x10041c16
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 + 0x100f97d0]
cmp al, byte [ecx + 0x100f97d0]
jne 0x10041c13
mov al, byte [edi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x10041bf2
mov edi, dword [ebp - 8]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x100f97d0]
movzx eax, bl
mov ebx, dword [ebp + 8]
movzx eax, byte [eax + 0x100f97d0]
sub eax, ecx
jne 0x10041c66
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.100090f0
add esp, 4
test eax, eax
je 0x10041c5f
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x10041c79
jmp 0x10041c69
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x10041c69
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
inc edi
mov dword [ebp - 8], edi
cmp edi, dword [edx + 0x14]
jl 0x10041bc7
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10041d20
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 0x10041dfd
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
cmovge eax, edi
add eax, eax
mov esi, dword [edx + eax*8 + 0xc]
mov dword [ebp - 8], esi
test ecx, ecx
je 0x10041dbc
mov bl, byte [ecx]
mov edx, dword [edx + eax*8]
test bl, bl
je 0x10041da4
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 + 0x100f97d0]
cmp al, byte [ecx + 0x100f97d0]
jne 0x10041da1
mov al, byte [esi + edx + 1]
inc edx
mov bl, al
test al, al
jne 0x10041d80
mov esi, dword [ebp - 8]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x100f97d0]
movzx eax, bl
movzx eax, byte [eax + 0x100f97d0]
sub eax, ecx
jne 0x10041dec
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
lea ecx, [esi + 0x18]
call fcn.100090f0
add esp, 4
test eax, eax
je 0x10041de5
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x10041def
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov dword [ebp - 4], ecx
jmp 0x10041def
mov ecx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp - 0x10]
jge 0x10041ddc
mov edx, dword [ebp - 0x14]
jmp 0x10041d50
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x100840b0
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 - 0x24], 0x67452301
mov dword [ebp - 0x20], 0xefcdab89
mov dword [ebp - 0x1c], 0x98badcfe
mov dword [ebp - 0x18], 0x10325476
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
call fcn.100b3f50
mov ebx, eax
lea eax, [ebp - 0x24]
push 0x10
push eax
push ebx
lea esi, [ebx + 0x10]
call fcn.100c1ff0
lea eax, [ebp - 0x14]
add esp, 0xc
cmp edi, eax
je 0x1008414d
mov eax, dword [edi]
test eax, eax
je 0x10084143
mov ecx, dword [edi + 8]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10084139
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10084209
mov eax, edx
push ecx
push eax
call fcn.100bfa23
add esp, 8
mov dword [edi], ebx
mov dword [edi + 4], esi
mov dword [edi + 8], esi
jmp 0x1008417e
test ebx, ebx
je 0x1008417e
sub esi, ebx
and esi, 0xfffffffc
cmp esi, 0x1000
jb 0x10084174
mov ecx, dword [ebx - 4]
add esi, 0x23
sub ebx, ecx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x10084209
mov ebx, ecx
push esi
push ebx
call fcn.100bfa23
add esp, 8
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10084195
push eax
call fcn.100bf6d4
add esp, 4
mov dword [edi + 0xc], 0
sub esp, 0x18
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.100b3780
mov ecx, edi
call fcn.10084210
mov ebx, dword [edi + 0x10]
xor esi, esi
shr ebx, 6
test ebx, ebx
je 0x100841c3
push esi
mov ecx, edi
call fcn.10084400
inc esi
cmp esi, ebx
jl 0x100841b6
mov esi, dword [ebp - 8]
mov ecx, edi
push esi
call fcn.10084720
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x100841fe
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100841f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10084209
push edx
push ecx
call fcn.100bfa23
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
call fcn.100cc12d
int3
Function at 0x10086570
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x10102008]
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 - 0x128], 0
mov dword [ebp - 0x118], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x114], 0xf
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100865c0
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.100b3d90
push 0x100fc694
lea ecx, [ebp - 0x128]
call fcn.100b3600
mov dword [esi], 0
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 0x10086657
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008664d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10086668
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
call fcn.100cc12d
int3
Function at 0x10086fe0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x10102008]
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 - 0x128], 0
mov dword [ebp - 0x118], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x114], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10087032
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x128]
call fcn.100b3d90
push 0x100fc694
lea ecx, [ebp - 0x128]
call fcn.100b3600
mov dword [esi], 0
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 0x100870c9
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100870bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100870da
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
call fcn.100cc12d
int3
Function at 0x10087200
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10102008]
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 0x10087237
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 0x1008724c
push 0
push 1
mov byte [ebp - 0x28], 0
lea ecx, [ebp + 8]
push dword [ebp - 0x28]
push 1
call fcn.100b4cc0
mov edx, dword [ebp + 0x34]
mov eax, edx
mov ecx, dword [ebp + 0x30]
sub eax, ecx
cmp eax, 1
jb 0x10087273
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 0x10087288
push 0
push 1
mov byte [ebp - 0x28], 0
lea ecx, [ebp + 0x20]
push dword [ebp - 0x28]
push 1
call fcn.100b4cc0
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 0x10087307
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100872fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008735a
push edx
push ecx
call fcn.100bfa23
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 0x10087349
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008733f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008735a
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
call fcn.100cc12d
int3
Function at 0x10087360
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10102008]
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 0x10087397
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 0x100873ac
push 0
push 1
mov byte [ebp - 0x28], 0
lea ecx, [ebp + 8]
push dword [ebp - 0x28]
push 1
call fcn.100b4cc0
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], 0x100f3188
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edx, dword [ebp + 0x1c]
mov esi, eax
cmp edx, 0x10
jb 0x10087415
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008740b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10087426
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
call fcn.100cc12d
int3
Function at 0x10088c80
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10102008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10104558]
push ebx
push esi
inc eax
mov dword [ebp - 0xc], edx
push edi
push eax
mov byte [0x1010a378], 0
call fcn.100bfa31
add esp, 4
mov esi, eax
cmp dword [0x1010455c], 0x10
mov ecx, 0x10104548
mov edx, esi
cmovae ecx, dword [0x10104548]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x10088cc5
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 0x10088d89
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x10088d89
push esi
call fcn.100c5213
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10088d21
push esi
push 0
push ebx
call fcn.100c1e30
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 0x10088d89
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.100c5213
mov edi, eax
add esp, 4
test edi, edi
je 0x10088d56
push esi
push 0
push edi
call fcn.100c1e30
add esp, 0xc
xor ecx, ecx
test esi, esi
je 0x10088d89
lea eax, [ebx + 2]
nop
cmp byte [eax - 2], 0x6b
jne 0x10088d83
cmp byte [eax - 1], 0x65
jne 0x10088d83
cmp byte [eax], 0x79
jne 0x10088d83
cmp byte [eax + 1], 0x22
jne 0x10088d83
cmp byte [eax + 2], 0x3a
jne 0x10088d83
cmp byte [eax + 3], 0x22
je 0x10088d9c
inc ecx
inc eax
cmp ecx, esi
jb 0x10088d60
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
mov al, byte [ecx + ebx + 6]
cmp al, 0x22
je 0x10088dbe
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 0x10088db0
push ebx
call fcn.100c51f8
add esp, 4
push edi
push 0x1010a378
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x1010a378
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0xc]
push edi
mov dword [ecx], eax
call fcn.100c51f8
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
Function at 0x10088e10
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 [0x10102008]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0x1c], eax
push edi
push ebx
call fcn.100c5213
add esp, 4
mov edi, eax
push ebx
push 0
push edi
call fcn.100c1e30
add esp, 0xc
xor esi, esi
test bl, 3
jne 0x10088eba
xor edx, edx
test ebx, ebx
je 0x10088eba
nop
mov al, byte [edx + 0x1010a378]
cmp al, 0x3d
je 0x10088eba
cmp al, 0x2b
jl case.default.0x10088e75
cmp al, 0x7a
jg case.default.0x10088e75
movsx eax, al
mov cl, byte [eax + 0x100fb840]
cmp cl, 0xff
je case.default.0x10088e75
mov eax, edx
and eax, 3
jmp dword [eax*4 + 0x10088f84]
shl cl, 2
mov byte [esi + edi], cl
jmp 0x10088eb1
mov al, cl
shr al, 4
and al, 3
or byte [esi + edi], al
inc esi
shl cl, 4
mov byte [esi + edi], cl
jmp 0x10088eb1
mov al, cl
shr al, 2
and al, 0xf
or byte [esi + edi], al
inc esi
shl cl, 6
mov byte [esi + edi], cl
jmp 0x10088eb1
or byte [esi + edi], cl
lea eax, [esi + edi]
inc esi
inc edx
cmp edx, ebx
jb 0x10088e50
jmp 0x10088eba
xor esi, esi
lea eax, [esi - 5]
push eax
mov dword [ebp - 0xc], eax
call fcn.100c5213
add esp, 4
mov ebx, eax
lea eax, [esi - 5]
mov dword [ebp - 0x20], ebx
push eax
push 0
push ebx
call fcn.100c1e30
mov ecx, 5
add esp, 0xc
cmp esi, ecx
jbe 0x10088ef2
mov al, byte [ecx + edi]
mov byte [ebx + ecx - 5], al
inc ecx
cmp ecx, esi
jb 0x10088ee6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], ebx
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x10088f6f
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10088f3e
mov esi, dword [ebp - 0xc]
mov edx, ebx
mov ecx, dword [ebp - 0x1c]
sub esi, ecx
nop dword [eax + eax]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x10088f30
mov eax, dword [ebp - 0x1c]
push edi
mov byte [ebx + eax], 0
call fcn.100c51f8
add esp, 4
push dword [ebp - 0x20]
call fcn.100c51f8
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100bf4c9
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.100bf4c9
mov esp, ebp
pop ebp
ret
Function at 0x1008c7a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10102008]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
mov eax, 0x7fffffff
sub eax, ecx
push esi
cmp eax, 0xc
jb 0x1008c916
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 0xc
cmovae eax, dword [ebp + 8]
push str.logins.json
push ecx
push eax
push ecx
push dword [ebp - 8]
lea ecx, [ebp - 0x20]
call fcn.100b6510
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 8]
call fcn.100b36c0
mov edx, dword [ebp - 0xc]
cmp edx, 0x10
jb 0x1008c824
mov ecx, dword [ebp - 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008c81a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008c920
push edx
push ecx
call fcn.100bfa23
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 0x100fc708
cmovae eax, dword [ebp + 8]
push eax
call fcn.100c88ed
add esp, 8
test eax, eax
je 0x1008c8d7
push eax
call fcn.100c897b
push 0x186a0
call fcn.100c5213
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 0x1008c896
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 0x1008c8c6
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008c8bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008c91b
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1008c907
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008c8fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008c920
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
call fcn.100833c0
call fcn.100cc12d
call fcn.100cc12d
int3
Function at 0x100a1d50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10102008]
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.100c1e30
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 0x100a1dd6
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], 0
mov dword [esi + 0x10], 0
lea edx, [ecx + 1]
mov dword [esi + 0x14], 0xf
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a1e00
sub ecx, edx
lea eax, [ebp - 0x404]
push ecx
push eax
mov ecx, esi
call fcn.100b3d90
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x100a1e48
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a1e3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a1e9b
push edx
push ecx
call fcn.100bfa23
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 0x100a1e8a
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a1e80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a1e9b
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
call fcn.100cc12d
int3
Function at 0x100a4f00
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10102008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x101063e4]
push esi
push edi
mov edi, ecx
mov ecx, dword [0x101063e8]
cmp ebx, ecx
jne 0x100a4f4c
mov dword [edi], 0
mov eax, edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
mov edx, ecx
xor eax, eax
sub edx, ebx
mov dword [ebp - 0xc], eax
dec edx
mov dword [ebp - 8], eax
xor esi, esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], esi
test edx, edx
je 0x100a4fa1
cmp edx, 0x7fffffff
ja 0x100a50a3
push edx
lea ecx, [ebp - 0x10]
call fcn.100b7cd0
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
push ebx
push 0
push esi
call fcn.100c1e30
mov ecx, dword [0x101063e8]
lea eax, [esi + ebx]
mov esi, dword [ebp - 0x10]
add esp, 0xc
mov ebx, dword [0x101063e4]
mov dword [ebp - 0xc], eax
mov edx, 1
sub ecx, ebx
sub ecx, edx
je 0x100a4fcd
nop dword [eax]
mov al, byte [ebx + edx]
lea edx, [edx + 1]
mov byte [esi + edx - 2], al
mov esi, dword [ebp - 0x10]
sub ecx, 1
je 0x100a4fca
mov ebx, dword [0x101063e4]
jmp 0x100a4fb0
mov eax, dword [ebp - 0xc]
sub eax, esi
mov dword [ebp - 0x1c], esi
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 0x100a504c
mov eax, dword [ebp - 0x10]
xor esi, esi
mov ecx, eax
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x18], esi
jbe 0x100a502e
mov eax, dword [ebp - 0x14]
add eax, esi
cmp ecx, dword [ebp - 8]
je 0x100a5018
mov al, byte [eax]
mov byte [ecx], al
mov ecx, dword [ebp - 0xc]
inc ecx
mov dword [ebp - 0xc], ecx
jmp 0x100a5025
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.100b4570
mov ecx, dword [ebp - 0xc]
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x100a5001
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 8]
mov dword [edi + 8], eax
mov eax, edi
mov dword [edi + 4], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
test ecx, ecx
je 0x100a5090
mov edx, dword [ebp - 8]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x100a5086
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a50a8
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
call fcn.100b62e0
call fcn.100cc12d
int3
Function at 0x100a50b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x10102008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
mov dword [ebp - 0x21c], ecx
cmp esi, edi
je 0x100a510d
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov ebx, dword [esi]
sub edi, eax
mov dword [ebp - 0x218], eax
mov eax, dword [esi + 8]
sub eax, ebx
cmp edi, eax
jbe 0x100a50f7
push edi
mov ecx, esi
call fcn.100b9d60
mov ebx, dword [esi]
push edi
push dword [ebp - 0x218]
push ebx
call fcn.100c1ff0
lea eax, [ebx + edi]
add esp, 0xc
mov dword [esi + 4], eax
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp - 0x210]
push ecx
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x210], 0x200
push ecx
push 0
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push 0
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100a5184
xor edi, edi
cmp dword [ebp - 0x210], edi
jbe 0x100a5184
nop
mov cl, byte [ebp + edi - 0x20c]
mov eax, dword [esi + 4]
mov byte [ebp - 0x211], cl
cmp eax, dword [esi + 8]
je 0x100a516c
mov byte [eax], cl
inc dword [esi + 4]
jmp 0x100a517b
lea ecx, [ebp - 0x211]
push ecx
push eax
mov ecx, esi
call fcn.100b4570
inc edi
cmp edi, dword [ebp - 0x210]
jb 0x100a5150
mov edx, dword [ebp + 0x20]
cmp edx, 0x10
jb 0x100a51b4
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a51aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a51c5
push edx
push ecx
call fcn.100bfa23
add esp, 8
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bf4c9
mov esp, ebp
pop ebp
ret
call fcn.100cc12d
int3