joyce8/EMBER2024-capa huggingface dataset:
Function at 0x64ae2990
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x64ae2aae
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x64ae2a26
cmp cl, 2
je 0x64ae29cd
cmp cl, 3
jne 0x64ae2a97
mov byte [eax + 8], 1
jmp 0x64ae2a93
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.64ae7f50
nop
nop
lea eax, [0x64bdd6b0]
mov dword [esp], eax
call fcn.64ac88e0
nop
mov eax, dword [0x64bdd680]
sub eax, dword [0x64bdd668]
mov dword [0x64bdd680], eax
mov eax, dword [0x64bdd674]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x64bdd674], ecx
nop
lea eax, [0x64bdd6b0]
mov dword [esp], eax
call fcn.64ac8ae0
jmp 0x64ae2a93
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.64ad2230
nop
nop
lea eax, [0x64bdd6b0]
mov dword [esp], eax
call fcn.64ac88e0
nop
mov eax, dword [0x64bdd65c]
sub eax, dword [0x64bdd644]
mov dword [0x64bdd65c], eax
mov eax, dword [0x64bdd650]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x64bdd650], ecx
nop
nop
lea eax, [0x64bdd6b0]
mov dword [esp], eax
call fcn.64ac8ae0
add esp, 0x14
ret
lea eax, [0x64b645ba]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.64af0700
nop
call fcn.64b15250
jmp fcn.64ae2990
Function at 0x64ae48d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 0xc]
jbe 0x64ae4ad3
sub esp, 0x34
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
cmp dword [edx + 0x34], eax
jbe 0x64ae48f9
mov dword [edx + 0x34], eax
mov ebx, dword [esp + 0x40]
mov ebp, ebx
shl ebx, 0xd
lea ebx, [ebx + eax - 1]
cmp dword [edx + 0x78], ebx
jae 0x64ae490e
mov dword [edx + 0x78], ebx
cmp ebp, 1
je 0x64ae49a0
nop
nop
nop
nop
mov ecx, eax
shr eax, 0x16
mov esi, ebx
shr ebx, 0x16
and ecx, 0x3fffff
shr ecx, 0xd
and esi, 0x3fffff
shr esi, 0xd
cmp ebx, eax
je 0x64ae497c
mov ebp, dword [edx + 0x30]
test byte [ebp], al
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
shl eax, 7
add eax, ebp
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [ecx - 0x200]
neg eax
mov dword [esp + 8], eax
call fcn.64ae5d10
mov eax, dword [esp + 0x2c]
inc eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
jmp 0x64ae4a8e
mov ebx, dword [edx + 0x30]
test byte [ebx], al
shl eax, 7
add eax, ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
sub esi, ecx
lea eax, [esi + 1]
mov dword [esp + 8], eax
call fcn.64ae5d10
jmp 0x64ae4a3f
mov ebx, dword [edx + 0x30]
test byte [ebx], al
nop
mov esi, eax
shr eax, 0x16
shl eax, 7
add ebx, eax
mov eax, esi
and eax, 0x3fffff
nop
mov edi, eax
shr eax, 0x13
cmp eax, 8
jae 0x64ae4a66
mov dword [esp + 0x30], ebx
mov dword [esp + 0x20], eax
shr edi, 0xd
and edi, 0x3f
mov dword [esp + 0x1c], edi
cmp edi, 0x20
sbb ebp, ebp
mov dword [esp + 0x18], ebp
lea esi, [edi - 0x20]
mov dword [esp + 0x14], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp esi, 0x20
sbb edx, edx
mov ebp, dword [esp + 0x14]
cmp ebp, 0x20
sbb edi, edi
lea eax, [ebx + eax*8]
mov ecx, esi
mov ebx, 1
shr ebx, cl
and ebx, edx
mov ecx, ebp
mov edx, 1
shl edx, cl
and edi, edx
or ebx, edi
not ebx
and ebx, dword [eax + 4]
mov ecx, dword [esp + 0x1c]
mov edx, 1
shl edx, cl
mov ebp, dword [esp + 0x18]
and edx, ebp
not edx
and dword [eax], edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
lea eax, [edx + eax*8 + 4]
mov dword [eax], ebx
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov word [esp + 0xc], 1
call fcn.64ae31c0
add esp, 0x34
ret
mov ecx, 8
call fcn.64b16730
mov dword [esp + 0x10], eax
shl eax, 7
add eax, ebx
mov dword [esp], eax
call fcn.64ae5fc0
mov eax, dword [esp + 0x10]
inc eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
cmp eax, ecx
jae 0x64ae4aa0
mov ebx, dword [edx + 0x30]
test byte [ebx], al
cmp eax, 0x400
jb 0x64ae4a70
jmp 0x64ae4ac8
mov eax, dword [edx + 0x30]
test byte [eax], al
shl ecx, 7
add eax, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 8], eax
call fcn.64ae5d10
jmp 0x64ae4a3f
mov ecx, 0x400
call fcn.64b16730
nop
call fcn.64b13de0
jmp fcn.64ae48d0
Function at 0x64aeef30
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x14]
test edx, edx
je 0x64aef05d
lea ebx, [esp + 0x20]
cmp dword [edx + 8], ebx
jne 0x64aef059
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], edx
lea edi, [ecx + 0x14]
mov dword [esp + 0x18], edi
movzx ebp, byte [edx + 6]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x64aef013
mov ebp, dword [edx]
test ebp, ebp
je 0x64aeefae
cmp ebp, 4
jne 0x64aeef8e
lea ebp, [edx + 0x28]
test byte [ebp], al
mov ebp, dword [edx + 0x28]
nop
mov dword [ebx], ebp
jmp 0x64aeefae
nop
mov dword [esp], ebx
lea eax, [edx + 0x28]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.64b16f60
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebx, dword [edx + 0x10]
mov ebp, dword [0x64bf9210]
test ebp, ebp
jne 0x64aeefc4
mov dword [edx + 0x10], 0
jmp 0x64aeefd4
lea ebp, [edx + 0x10]
xor eax, eax
mov esi, edi
mov edi, ebp
call fcn.64b166a0
mov edi, esi
mov dword [esp + 0x10], ebx
test byte [ecx], al
mov ebp, dword [0x64bf9210]
mov eax, dword [edx + 0x18]
test ebp, ebp
jne 0x64aeefec
mov dword [ecx + 0x14], eax
jmp 0x64aeeff1
call fcn.64b166a0
mov dword [esp], edx
call fcn.64aeeb60
mov eax, dword [esp + 0x10]
test byte [eax], al
mov dword [esp], eax
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
call fcn.64b162e0
add esp, 0x1c
ret
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.64aef680
movzx eax, byte [esp + 8]
test al, al
je 0x64aef061
mov ecx, dword [esp + 0xc]
test byte [ecx], al
mov edx, dword [0x64bf9210]
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0x18]
test edx, edx
jne 0x64aef044
mov dword [ecx + 0x14], eax
jmp 0x64aef04d
mov edi, dword [esp + 0x18]
call fcn.64b166a0
mov dword [esp], ebx
call fcn.64aeeb60
add esp, 0x1c
ret
add esp, 0x1c
ret
add esp, 0x1c
ret
lea eax, [0x64b69b41]
mov dword [esp], eax
mov dword [esp + 4], 0x2b
call fcn.64af0700
nop
int3
Function at 0x64af9a70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, dword [eax + 0x18]
inc dword [ecx + 0x78]
mov dword [eax + 8], 0xfffffade
mov byte [eax + 0x6b], 1
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
call fcn.64af9a10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x38], eax
mov edx, dword [esp + 0x1c]
mov dword [ecx + 0x3c], edx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 3
call fcn.64af45a0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x38]
cmp dword [eax], ecx
ja 0x64af9ae3
cmp dword [eax + 4], ecx
jae 0x64af9b11
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
lea ecx, [0x64af9c40]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
mov dword [esp], ecx
call fcn.64b15140
mov eax, dword [esp + 0xc]
movzx ecx, byte [0x64bdd6e8]
test cl, cl
je 0x64af9b3e
lea eax, [0x64b6b0f0]
mov dword [esp], eax
call fcn.64b15140
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.64af9a10
lea eax, [0x64bd3b2c]
mov dword [esp], eax
call fcn.64ac23d0
mov eax, dword [esp + 4]
test eax, eax
je 0x64af9b76
lea eax, [0x64b6afcc]
mov dword [esp], eax
call fcn.64b15140
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.64af9a10
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x54]
test byte [ecx], al
mov ecx, dword [ecx + 0x13a8]
test ecx, ecx
je 0x64af9bb2
lea eax, [0x64b6b0ac]
mov dword [esp], eax
call fcn.64b15140
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.64af9a10
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x54]
mov edx, dword [edx + 0x10]
mov dword [ecx + 0x164], edx
mov byte [eax + 0x6f], 1
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x54]
mov dword [ecx + 0x2c], 0
mov edx, dword [eax + 0x18]
mov ebx, ecx
mov dword [edx + 0x5c], ecx
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x54], 0
lea ecx, [ebx + 4]
mov dword [esp], ecx
mov dword [esp + 4], 2
call fcn.64ac25b0
mov eax, dword [0x64bd3b20]
test eax, eax
je 0x64af9c23
lea eax, [0x64b6afc8]
mov dword [esp], eax
call fcn.64b15140
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.64af9a10
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x78]
add esp, 0x18
ret
Function at 0x64b006c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x64b008bf
sub esp, 0x30
mov eax, dword [esp + 0x34]
mov ecx, eax
mov dword [esp + 0x20], eax
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.64ac24f0
mov eax, dword [esp + 0x20]
shr eax, 3
mov ecx, eax
mov eax, 0x828cbfbf
mul ecx
shr edx, 7
imul eax, edx, 0xfb
sub ecx, eax
shl ecx, 6
mov dword [esp + 0x1c], ecx
lea eax, [0x64bd5200]
lea edx, [eax + ecx + 8]
mov dword [esp + 0x2c], edx
mov dword [esp], edx
call fcn.64ac23d0
mov eax, dword [esp + 4]
test eax, eax
je 0x64b008a4
mov eax, dword [esp + 0x1c]
lea ecx, [0x64bd5200]
lea edx, [ecx + eax]
mov dword [esp + 0x28], edx
mov dword [esp], edx
call fcn.64ac88e0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.64ac23d0
mov eax, dword [esp + 4]
test eax, eax
je 0x64b00892
mov eax, dword [esp + 0x1c]
lea ecx, [0x64bd5200]
add eax, ecx
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.64b00cd0
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
test eax, eax
je 0x64b007b4
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.64ac24f0
nop
nop
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.64ac8ae0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x64b0088e
mov ecx, dword [eax + 0x10]
test ecx, ecx
setne dl
mov ebx, dword [eax + 0x14]
test ebx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x64b00811
mov eax, dword [esp + 0x14]
sub eax, ecx
mov ecx, dword [esp + 0x18]
sbb ecx, ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 3]
mov dword [esp + 8], ecx
call fcn.64b130a0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x64b008a8
movzx ecx, byte [esp + 0x38]
test cl, cl
je 0x64b0084b
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.64b008d0
movzx eax, byte [esp + 4]
test al, al
je 0x64b00847
mov eax, dword [esp + 0x24]
mov dword [eax + 0x20], 1
jmp 0x64b0084b
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
add ecx, 5
mov dword [esp + 4], ecx
call fcn.64b00340
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x20], 1
jne 0x64b0088e
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x78]
test eax, eax
jne 0x64b0088e
nop
lea eax, [0x64b6b034]
mov dword [esp], eax
call fcn.64b150e0
add esp, 0x30
ret
nop
nop
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.64ac8ae0
add esp, 0x30
ret
add esp, 0x30
ret
lea eax, [0x64b670c2]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
call fcn.64af0700
nop
call fcn.64b15250
jmp fcn.64b006c0
Function at 0x64b076f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x64b07873
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x64b0786b
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x64b0774c
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x64b0774c
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x64b0775f
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x64b07840
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x64b07832
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x64b0782b
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x64b077b6
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x64b077ff
mov eax, 1
cmp eax, ecx
ja 0x64b077ed
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebx, ebp
mov dword [esp + 0x2c], ebx
sub ecx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.64b16790
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x64b07826
movzx edi, byte [eax + ebx]
lea ebp, [eax + 1]
mov eax, edi
and edi, 0x7f
mov ecx, esi
shl edi, cl
or edx, edi
test al, 0x80
jne 0x64b077f2
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x64b077bb
call fcn.64b16730
xor eax, eax
call fcn.64b16720
call fcn.64b16790
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x64b07866
movzx esi, byte [eax + edx]
lea edi, [eax + 1]
mov eax, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
or ebx, esi
test al, 0x80
jne 0x64b07837
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x64b07764
call fcn.64b16730
xor eax, eax
call fcn.64b16720
nop
call fcn.64b15250
jmp fcn.64b076f0
Function at 0x64b0e660
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x64b0e6ff
sub esp, 0x30
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.64b16857
lea ecx, [0x64b0e710]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.64b15140
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.64b15250
jmp fcn.64b0e660
Function at 0x64b16540
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x64bf92a0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x64b14d2b
je 0x64b14d7a
cmp ebx, 0x20
jbe 0x64b14d80
cmp ebx, 0x40
jbe 0x64b14dbe
jmp 0x64b14e4f
test ebx, ebx
je 0x64b14d70
add eax, 0x10
test ax, 0xff0
je 0x64b14d5c
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x64b81380]
aesenc xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x64b81480]
jmp 0x64b14d48
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x64b14d48
pxor xmm1, xmmword [0x64bf92b0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
aesenc xmm2, xmm0
aesenc xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x64bf92b0]
pxor xmm2, xmmword [0x64bf92c0]
pxor xmm3, xmmword [0x64bf92d0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x64bf92b0]
pxor xmm2, xmmword [0x64bf92c0]
pxor xmm3, xmmword [0x64bf92d0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x64b14eae
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x64bf902f], 0
je 0x64b1655a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x64b14cf0
jmp fcn.64ac7600

Function at 0x64b172d0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov eax, esp
mov dword [edx + 4], eax
sub eax, 0x10000
mov dword [edx], eax
add eax, 0xba0
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
lea esi, [ecx + 0x30]
mov dword fs:[0x14], esi
mov dword [edx + 0x18], ecx
mov dword [esi], edx
cld
call fcn.64b164c0
call fcn.64b150c0
ret
Function at 0x64b25d70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x64b25e9a
sub esp, 0xc
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x64b25df3
mov edx, dword [esp + 0x1c]
cmp edx, ecx
jb 0x64b25e94
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
cmp edx, ebx
je 0x64b25dca
nop
mov ebp, ebx
lea esi, [edx + ecx - 1]
cmp esi, ebx
jb 0x64b25dc8
mov ebx, edx
lea esi, [ebp + ecx - 1]
cmp esi, edx
jae 0x64b25e7c
mov edx, ebx
mov ebx, ebp
jmp 0x64b25dca
mov ebx, ebp
mov ebp, dword [esp + 0x10]
movzx esi, byte [ebp + 0x400]
movzx edi, byte [ebp + 0x401]
lea eax, [ecx - 1]
mov ebx, dword [esp + 0x18]
cmp ebx, eax
jbe 0x64b25e75
mov ebx, dword [esp + 0x14]
xor eax, eax
jmp 0x64b25e13
add esp, 0xc
ret
mov edx, dword [esp + 0x14]
mov byte [edx + eax], bl
inc eax
mov ebx, dword [esp + 0x20]
movzx esi, byte [esp + 0xb]
movzx edi, byte [esp + 0xa]
mov edx, ebx
mov ebx, dword [esp + 0x14]
cmp ecx, eax
jle 0x64b25e5c
movzx edx, byte [edx + eax]
mov byte [esp + 9], dl
inc esi
xchg esi, eax
mov byte [esp + 0xb], al
xchg esi, eax
xchg esi, eax
movzx eax, al
xchg esi, eax
mov ebx, dword [ebp + esi*4]
add edi, ebx
xchg edi, eax
mov byte [esp + 0xa], al
xchg edi, eax
xchg edi, eax
movzx eax, al
xchg edi, eax
mov edx, dword [ebp + edi*4]
mov dword [ebp + esi*4], edx
mov dword [ebp + edi*4], ebx
add edx, ebx
movzx edx, dl
movzx ebx, byte [esp + 9]
xor ebx, dword [ebp + edx*4]
cmp ecx, eax
ja 0x64b25df7
jmp 0x64b25e70
xchg esi, eax
mov byte [ebp + 0x400], al
xchg esi, eax
xchg edi, eax
mov byte [ebp + 0x401], al
xchg edi, eax
add esp, 0xc
ret
call fcn.64b16720
mov ecx, ebx
call fcn.64b16720
lea eax, [0x64b5a2c0]
mov dword [esp], eax
lea eax, [0x64b7f394]
mov dword [esp + 4], eax
call fcn.64aeffa0
call fcn.64b16760
nop
call fcn.64b15250
jmp fcn.64b25d70
Function at 0x64b3fc60
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
call sub.KERNEL32.dll_CreateEventA
sub esp, 0x10
test eax, eax
mov dword [0x64bfdf80], eax
je 0x64b3fca6
mov dword [esp], 0x64bfdf84
call sub.KERNEL32.dll_InitializeCriticalSection
sub esp, 4
add esp, 0x1c
ret
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x3d
mov dword [esp + 4], 1
mov dword [esp], 0x64bd2c38
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
lea esi, [esi]
lea edi, [edi]

Function at 0x64b403c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x64bfe318]
test esi, esi
jle 0x64b404d0
mov edi, dword [0x64bfe31c]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x64b403f4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x64b40475
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x64b403e0
mov dword [esp], eax
mov ebx, eax
call fcn.64b40b10
test eax, eax
mov edi, eax
je 0x64b404f7
mov eax, dword [0x64bfe31c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.64b40c10
add eax, dword [edi + 0xc]
mov edx, dword [0x64bfe31c]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x64b404d7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x64b4046e
sub eax, 4
and eax, 0xfffffffb
jne 0x64b40480
add dword [0x64bfe318], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x64bfe31c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x64b4046e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.64b41108
lea esi, [esi]
xor esi, esi
jmp 0x64b403fe
mov eax, dword [0x64bfe31c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.64b41108
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.64b41108
mov esi, esi
lea edi, [edi]
Function at 0x64b40790
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x64bfe328
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x64bfe320]
sub esp, 4
test ebx, ebx
je 0x64b407e5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x64b407de
test esi, esi
je 0x64b407de
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x64b407c0
mov dword [esp], 0x64bfe328
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x64b41108
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.64b410e0
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.64b410e0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
pop ebp
jmp fcn.64ac13e0