joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6f08b140
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6f08b30e
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x6f08b16b
mov eax, 0x7000000
jmp 0x6f08b173
test eax, eax
je 0x6f08b2e9
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.6f0db690
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x6f109ce0]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x6f08b301
cmp ecx, 0x21
jae 0x6f08b2f5
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.6f0d6650
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.6f0d6720
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x6f144570]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x6f1445d8]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x6f08b2c4
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x6f144620]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.6f0db770
mov eax, ecx
mov ecx, 0x21
call fcn.6f0db800
nop
call fcn.6f0da2c0
jmp fcn.6f08b140
Function at 0x6f092150
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6f092374
sub esp, 0x18
mov eax, dword [0x6f1c81c0]
test eax, eax
jne 0x6f09235d
nop
lea eax, [0x6f1c81ac]
mov dword [esp], eax
call fcn.6f088f30
mov eax, dword [0x6f1c81b0]
test eax, eax
je 0x6f092199
cmp dword [eax + 8], 0xcc
jne 0x6f09220f
mov edx, dword [0x6f1c81a4]
test edx, edx
jne 0x6f0921f1
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x6f1ca9d0]
mov dword [esp + 8], eax
call fcn.6f08b320
mov eax, dword [esp + 0xc]
mov dword [0x6f1c81a4], eax
mov ecx, dword [0x6f1c8168]
mov dword [eax], ecx
mov eax, dword [0x6f1c81a4]
mov dword [0x6f1c8168], eax
movzx eax, byte [0x6f1c8640]
test al, al
jne 0x6f0921f1
xor eax, eax
jmp 0x6f092309
mov edx, dword [0x6f1c81a4]
mov ebx, dword [edx + 4]
mov dword [0x6f1c81a4], ebx
mov ebx, dword [0x6f1c81b0]
mov dword [edx + 4], ebx
mov dword [0x6f1c81b0], edx
mov edx, dword [0x6f1c81b0]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x6f0922f1
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.6f082620
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x6f1c8340]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x6f09226d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x6f09227a
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.6f0db6e0
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x6f1c8340]
test edx, edx
jne 0x6f0922a6
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x6f0922c7
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.6f0db6e0
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.6f0db6e0
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.6f0db6e0
nop
lea eax, [0x6f1c81ac]
mov dword [esp], eax
call fcn.6f089130
nop
lea eax, [0x6f1c81a8]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.6f082790
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.6f0db770
lea esi, [0x6f1c8640]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x6f0921f1
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x6f092353
lea edx, [0x6f1061b4]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x6f0922fb
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.6f0db760
mov ecx, 5
call fcn.6f0db760
lea eax, [0x6f12b0c7]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.6f0b31b0
nop
call fcn.6f0da2c0
jmp fcn.6f092150
Function at 0x6f0a5770
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6f0a58e0
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.6f0a3500
mov eax, dword [esp + 4]
test eax, eax
je 0x6f0a58c9
mov dword [esp + 0xc], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp], eax
call fcn.6f0a1280
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xb], bl
lea ebp, [ecx + 0x48]
mov dword [esp + 0x18], ebp
nop
mov dword [esp], ebp
call fcn.6f088f30
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x4c]
movzx edx, byte [esp + 0xb]
mov ebx, dword [esp + 0x10]
jmp 0x6f0a5807
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x6f0a586d
movzx esi, word [ebp + 4]
cmp esi, ebx
jne 0x6f0a581c
cmp byte [ebp + 6], dl
je 0x6f0a5827
cmp esi, ebx
ja 0x6f0a586d
jne 0x6f0a5805
cmp byte [ebp + 6], dl
jbe 0x6f0a5805
jmp 0x6f0a586d
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.6f089130
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x6f0a5864
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x6f0a5864
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 0
add esp, 0x1c
ret
mov edx, dword [esp + 0x24]
mov word [edx + 4], bx
mov ebx, dword [ecx]
mov dword [edx], ebx
mov dword [ecx], edx
mov dword [esp], eax
call fcn.6f0a5670
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.6f089130
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x6f0a58c0
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x6f0a58c0
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
lea eax, [0x6f12c225]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.6f0b31b0
nop
call fcn.6f0da2c0
jmp fcn.6f0a5770
Function at 0x6f0a5d60
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6f0a5e7c
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x6f0a5df5
cmp cl, 2
je 0x6f0a5d9d
cmp cl, 3
jne 0x6f0a5e65
mov byte [eax + 8], 1
jmp 0x6f0a5e61
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.6f0aaf90
nop
lea eax, [0x6f1ac798]
mov dword [esp], eax
call fcn.6f088f30
nop
mov eax, dword [0x6f1ac764]
sub eax, dword [0x6f1ac748]
mov dword [0x6f1ac764], eax
mov eax, dword [0x6f1ac754]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x6f1ac754], ecx
nop
lea eax, [0x6f1ac798]
mov dword [esp], eax
call fcn.6f089130
jmp 0x6f0a5e61
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.6f092150
nop
lea eax, [0x6f1ac798]
mov dword [esp], eax
call fcn.6f088f30
nop
mov eax, dword [0x6f1ac73c]
sub eax, dword [0x6f1ac720]
mov dword [0x6f1ac73c], eax
mov eax, dword [0x6f1ac72c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x6f1ac72c], ecx
nop
nop
lea eax, [0x6f1ac798]
mov dword [esp], eax
call fcn.6f089130
add esp, 0x14
ret
lea eax, [0x6f128d6c]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.6f0b31b0
nop
call fcn.6f0da2c0
jmp fcn.6f0a5d60
Function at 0x6f0cba30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6f0cbbb7
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x6f0cbbad
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x6f0cba8c
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x6f0cba8c
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 0x6f0cba9f
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x6f0cbb82
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 0x6f0cbb74
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 0x6f0cbb6b
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x6f0cbaf6
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x6f0cbb3f
mov eax, 1
cmp eax, ecx
ja 0x6f0cbb2d
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.6f0db7d0
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x6f0cbb66
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 0x6f0cbb32
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x6f0cbafb
call fcn.6f0db770
xor eax, eax
mov ecx, eax
call fcn.6f0db760
call fcn.6f0db7d0
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x6f0cbba8
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 0x6f0cbb79
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x6f0cbaa4
call fcn.6f0db770
xor eax, eax
mov ecx, eax
call fcn.6f0db760
nop
call fcn.6f0da2c0
jmp fcn.6f0cba30
Function at 0x6f0cfc20
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6f0cfd20
sub esp, 0x28
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x8c], 0
mov dword [eax + 0x90], 0
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0x94], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.6f0d04b0
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x6f11c640]
mov dword [esp], ecx
call fcn.6f08afd0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax], ecx
lea ecx, [0x6f1ac830]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.6f0cf4a0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp], 0xd
mov dword [esp + 4], 2
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.6f0ce8c0
add esp, 0x28
ret
call fcn.6f0da2c0
jmp fcn.6f0cfc20
Function at 0x6f0d3290
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 0x6f0d332f
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.6f0db897
lea ecx, [0x6f0d3340]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.6f0da1b0
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.6f0da2c0
jmp fcn.6f0d3290
Function at 0x6f0db580
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 [0x6f1c8420]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x6f0d9d6b
je 0x6f0d9dbe
cmp ebx, 0x20
jbe 0x6f0d9dc4
cmp ebx, 0x40
jbe 0x6f0d9e0a
jmp 0x6f0d9eab
test ebx, ebx
je 0x6f0d9db4
add eax, 0x10
test ax, 0xff0
je 0x6f0d9da0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x6f144920]
pxor xmm1, xmm0
aesenc xmm1, xmm1
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 + 0x6f144a20]
jmp 0x6f0d9d88
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x6f0d9d88
pxor xmm1, xmmword [0x6f1c8430]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
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 [0x6f1c8430]
pxor xmm2, xmmword [0x6f1c8440]
pxor xmm3, xmmword [0x6f1c8450]
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]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor 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
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 [0x6f1c8430]
pxor xmm2, xmmword [0x6f1c8440]
pxor xmm3, xmmword [0x6f1c8450]
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 0x6f0d9f0a
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
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 [0x6f1c814b], 0
je 0x6f0db59a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x6f0d9d30
jmp fcn.6f087c80
Function at 0x6f1031c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x6f103364
sub esp, 0x8c
mov dword [esp + 0x32], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x32], 0x736e495c
mov dword [esp + 0x36], 0x636e6174
mov dword [esp + 0x3a], 0x6e694665
mov dword [esp + 0x3e], 0x44726564
mov word [esp + 0x42], 0x676c
lea eax, [esp + 0x64]
mov dword [esp], eax
lea eax, [esp + 0x32]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
call fcn.6f0c95f0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2e], 0
mov dword [esp + 0x2e], 0x7461642e
lea edx, [esp + 0x44]
mov dword [esp], edx
lea edx, [esp + 0x2e]
mov dword [esp + 4], edx
mov dword [esp + 8], 4
call fcn.6f0c95f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [0x6f1a3610]
mov ebx, dword [0x6f1a3614]
test ebx, ebx
jbe 0x6f10335a
mov dword [esp + 0x28], ecx
mov dword [esp + 0x88], eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.6f102120
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.6f102670
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
je 0x6f103303
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x8c
ret
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
call fcn.6f0c93e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
add esp, 0x8c
ret
xor eax, eax
mov ecx, eax
call fcn.6f0db760
nop
call fcn.6f0da2c0
jmp fcn.6f1031c0

Function at 0x6f104510
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 dword [sym.imp.KERNEL32.dll_CreateEventA]
sub esp, 0x10
mov dword [0x6f1cbf30], eax
test eax, eax
je 0x6f104558
mov dword [esp], 0x6f1cbf34
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
sub esp, 4
add esp, 0x1c
ret
mov dword [esp], 2
call dword [0x6f115f7c]
mov dword [esp + 8], 0x3d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.runtime:_failed_to_create_runtime_initialization_wait_event._n
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
lea esi, [esi]
Function at 0x6f104c80
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x6f1cc2b8]
test esi, esi
jle 0x6f104d90
mov edi, dword [0x6f1cc2bc]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x6f104cb4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x6f104d35
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x6f104ca0
mov dword [esp], eax
mov ebx, eax
call fcn.6f1053d0
test eax, eax
mov edi, eax
je 0x6f104db7
mov eax, dword [0x6f1cc2bc]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.6f1054d0
add eax, dword [edi + 0xc]
mov edx, dword [0x6f1cc2bc]
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 0x6f104d97
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x6f104d2e
sub eax, 4
and eax, 0xfffffffb
jne 0x6f104d40
add dword [0x6f1cc2b8], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x6f1cc2bc]
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 0x6f104d2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.6f105998
lea esi, [esi]
xor esi, esi
jmp 0x6f104cbe
mov eax, dword [0x6f1cc2bc]
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.6f105998
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.6f105998
mov esi, esi
lea edi, [edi]

Function at 0x6f105050
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x6f1cc2c8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x6f1cc2c0]
sub esp, 4
test ebx, ebx
je 0x6f1050a5
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 0x6f10509e
test esi, esi
je 0x6f10509e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6f105080
mov dword [esp], 0x6f1cc2c8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6f105998
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.6f105970
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.6f105970
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
Function at 0x100012ed
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10026eaa
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x10034230]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x10037a68]
neg eax
sbb eax, eax
inc eax
jne 0x1000132d
push 0x80004005
call fcn.1000869d
push 0x64
call fcn.10013da8
pop ecx
mov ecx, eax
mov dword [esp + 8], ecx
xor esi, esi
mov dword [esp + 0x30], esi
cmp ecx, esi
je 0x1000134a
call fcn.10001000
or dword [esp + 0x30], 0xffffffff
push esi
push 0xc9
lea eax, [esp + 0x1c]
push eax
call fcn.100012a5
push esi
push esi
lea eax, [esp + 0x1c]
push eax
push 0x10001b64
push esi
push esi
mov dword [esp + 0x48], 1
call fcn.100160e2
mov ecx, dword [0x10037a68]
mov dword [ecx + 0x30], eax
mov eax, dword [0x10037a68]
add esp, 0x18
cmp dword [eax + 0x30], esi
je 0x10001323
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [0x10037a68]
mov eax, dword [eax + 0x30]
push 0x7530
mov dword [esp + 0x14], eax
push esi
lea eax, [esp + 0x14]
push eax
push 2
call dword [0x10028204]
cmp dword [esp + 0x14], esi
je 0x100013c7
push dword [esp + 0x14]
call dword [0x10028258]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret