joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412c30
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x412e54
sub esp, 0x18
mov eax, dword [0x85ddfc]
test eax, eax
jne 0x412e3d
nop
lea eax, [0x85dde8]
mov dword [esp], eax
call fcn.004097d0
mov eax, dword [0x85ddec]
test eax, eax
je 0x412c79
cmp dword [eax + 8], 0xcc
jne 0x412cef
mov edx, dword [0x85dde0]
test edx, edx
jne 0x412cd1
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x860610]
mov dword [esp + 8], eax
call fcn.0040b8a0
mov eax, dword [esp + 0xc]
mov dword [0x85dde0], eax
mov ecx, dword [0x85dda4]
mov dword [eax], ecx
mov eax, dword [0x85dde0]
mov dword [0x85dda4], eax
movzx eax, byte [0x85e280]
test al, al
jne 0x412cd1
xor eax, eax
jmp 0x412de9
mov edx, dword [0x85dde0]
mov ebx, dword [edx + 4]
mov dword [0x85dde0], ebx
mov ebx, dword [0x85ddec]
mov dword [edx + 4], ebx
mov dword [0x85ddec], edx
mov edx, dword [0x85ddec]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x412dd1
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.004025f0
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x85df80]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x412d4d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x412d5a
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.004528f0
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x85df80]
test edx, edx
jne 0x412d86
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 0x412da7
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.004528f0
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.004528f0
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.004528f0
nop
lea eax, [0x85dde8]
mov dword [esp], eax
call fcn.004099d0
nop
lea eax, [0x85dde4]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.00402770
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00452980
lea esi, [0x85e280]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x412cd1
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 0x412e33
lea edx, [0x4a10b4]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x412ddb
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.00452970
mov ecx, 5
call fcn.00452970
lea eax, [0x7b4030]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.0042fde0
nop
call fcn.004514c0
jmp fcn.00412c30
Function at 0x41a9f0
Capabilities:
Hash data using murmur3

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41ac1e
sub esp, 0x20
mov eax, dword [esp + 0x24]
test eax, 3
jne 0x41ac07
mov edx, dword [esp + 0x30]
mov ebx, dword [edx + 0x2c]
test byte [ebx], al
nop
movzx ebp, byte [0x85dd6e]
mov ecx, dword [esp + 0x38]
mov esi, ecx
shr ecx, 3
mov dword [esp + 0x1c], ecx
mov edi, esi
and esi, 7
mov ecx, esi
mov eax, 1
shl eax, cl
mov esi, dword [esp + 0x1c]
mov ecx, eax
lea eax, [ebx + esi]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x41ab18
mov ebp, dword [0x85e0ec]
test ebp, ebp
jle 0x41aa7c
cmp dword [edx + 0x58], edi
ja 0x41aa7c
mov ebp, dword [edx + 0x28]
test byte [ebp], al
movzx ebp, byte [ebp + esi]
nop
xchg ebp, eax
test cl, al
xchg ebp, eax
je 0x41ab8e
movzx ebx, byte [esi + ebx]
test cl, bl
jne 0x41ab14
nop
mov dword [esp], eax
mov byte [esp + 4], cl
call fcn.00402740
mov eax, dword [0x83de9c]
test byte [eax], al
nop
nop
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0xc]
nop
mov ebx, edx
shr edx, 0x16
mov edx, dword [eax + edx*4]
test byte [edx], al
mov ebp, ebx
shr ebx, 0x10
and ebx, 0x3f
movzx esi, byte [edx + ebx + 0x21840]
lea edx, [edx + ebx + 0x21840]
shr ebp, 0xd
and ebp, 7
mov eax, ecx
mov ecx, ebp
mov ebx, 1
shl ebx, cl
xchg esi, eax
test bl, al
xchg esi, eax
jne 0x41aaef
mov dword [esp], edx
mov byte [esp + 4], bl
call fcn.00402740
mov eax, dword [esp + 0x30]
movzx edx, byte [eax + 0x3a]
test dl, 1
je 0x41ab49
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov eax, dword [eax + 0x40]
add edx, eax
adc ebx, 0
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], ebx
add esp, 0x20
ret
add esp, 0x20
ret
mov edx, dword [esp + 0x24]
mov dword [esp], edx
mov ebx, dword [esp + 0x28]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], cl
mov dword [esp + 0x14], edi
call fcn.004125c0
movzx eax, byte [esp + 0x18]
test al, al
jne 0x41ab80
mov edx, dword [esp + 0x34]
mov ebx, dword [edx]
test ebx, ebx
je 0x41ab6c
mov eax, dword [ebx + 0xc]
cmp eax, 0x1fc
je 0x41ab6c
jae 0x41ab84
mov ecx, dword [esp + 0x24]
mov dword [ebx + eax*4 + 0x10], ecx
inc dword [ebx + 0xc]
jmp 0x41ab7c
mov dword [esp], edx
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00420e30
add esp, 0x20
ret
add esp, 0x20
ret
mov ecx, 0x1fc
call fcn.00452970
lea eax, [0x7b0204]
mov dword [esp], eax
mov dword [esp + 4], 4
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], eax
call fcn.0041ac30
lea eax, [0x7b016c]
mov dword [esp], eax
mov dword [esp + 4], 3
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xffffffff
call fcn.0041ac30
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov byte [eax + 0x9d], 2
lea eax, [0x7b2809]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.0042fde0
lea eax, [0x7b658d]
mov dword [esp], eax
mov dword [esp + 4], 0x23
call fcn.0042fde0
nop
call fcn.004514c0
jmp fcn.0041a9f0
Function at 0x423b70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x423ce0
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00421c20
mov eax, dword [esp + 4]
test eax, eax
je 0x423cc9
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.0041fe60
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.004097d0
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x4c]
movzx edx, byte [esp + 0xb]
mov ebx, dword [esp + 0x10]
jmp 0x423c07
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x423c6d
movzx esi, word [ebp + 4]
cmp esi, ebx
jne 0x423c1c
cmp byte [ebp + 6], dl
je 0x423c27
cmp esi, ebx
ja 0x423c6d
jne 0x423c05
cmp byte [ebp + 6], dl
jbe 0x423c05
jmp 0x423c6d
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.004099d0
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 0x423c64
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x423c64
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.00423a70
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.004099d0
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 0x423cc0
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x423cc0
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
lea eax, [0x7b5146]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0042fde0
nop
call fcn.004514c0
jmp fcn.00423b70
Function at 0x424160
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42427c
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x4241f5
cmp cl, 2
je 0x42419d
cmp cl, 3
jne 0x424265
mov byte [eax + 8], 1
jmp 0x424261
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.004289c0
nop
lea eax, [0x8423b8]
mov dword [esp], eax
call fcn.004097d0
nop
mov eax, dword [0x842384]
sub eax, dword [0x842368]
mov dword [0x842384], eax
mov eax, dword [0x842374]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x842374], ecx
nop
lea eax, [0x8423b8]
mov dword [esp], eax
call fcn.004099d0
jmp 0x424261
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.00412c30
nop
lea eax, [0x8423b8]
mov dword [esp], eax
call fcn.004097d0
nop
mov eax, dword [0x84235c]
sub eax, dword [0x842340]
mov dword [0x84235c], eax
mov eax, dword [0x84234c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x84234c], ecx
nop
nop
lea eax, [0x8423b8]
mov dword [esp], eax
call fcn.004099d0
add esp, 0x14
ret
lea eax, [0x7b1c1b]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0042fde0
nop
call fcn.004514c0
jmp fcn.00424160
Function at 0x445580
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x445707
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x4456fd
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x4455dc
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4455dc
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 0x4455ef
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x4456d2
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 0x4456c4
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 0x4456bb
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x445646
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x44568f
mov eax, 1
cmp eax, ecx
ja 0x44567d
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.004529e0
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x4456b6
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 0x445682
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x44564b
call fcn.00452980
xor eax, eax
mov ecx, eax
call fcn.00452970
call fcn.004529e0
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x4456f8
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 0x4456c9
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x4455f4
call fcn.00452980
xor eax, eax
mov ecx, eax
call fcn.00452970
nop
call fcn.004514c0
jmp fcn.00445580
Function at 0x449640
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x449740
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.00449ed0
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x79da00]
mov dword [esp], ecx
call fcn.0040b550
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax], ecx
lea ecx, [0x842450]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00448f10
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.00448330
add esp, 0x28
ret
call fcn.004514c0
jmp fcn.00449640

Function at 0x44b380
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 0x44b41f
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.00452ab7
lea ecx, [0x44b430]
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.004513b0
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.004514c0
jmp fcn.0044b380
Function at 0x452780
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 [0x85e060]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x450f6b
je 0x450fbe
cmp ebx, 0x20
jbe 0x450fc4
cmp ebx, 0x40
jbe 0x45100a
jmp 0x4510ab
test ebx, ebx
je 0x450fb4
add eax, 0x10
test ax, 0xff0
je 0x450fa0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x7d75a0]
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 + 0x7d76a0]
jmp 0x450f88
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x450f88
pxor xmm1, xmmword [0x85e070]
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 [0x85e070]
pxor xmm2, xmmword [0x85e080]
pxor xmm3, xmmword [0x85e090]
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 [0x85e070]
pxor xmm2, xmmword [0x85e080]
pxor xmm3, xmmword [0x85e090]
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 0x45110a
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 [0x85dd6d], 0
je 0x45279a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x450f30
jmp fcn.00408220
Function at 0x4527a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40307e
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00408220
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.004514c0
jmp 0x403040
cmp byte [0x85dd6d], 0
je 0x4527bb
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x450f30
jmp 0x403040
Function at 0x49f2a0
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 [0x861b70], eax
test eax, eax
je 0x49f2e8
mov dword [esp], 0x861b74
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
sub esp, 4
add esp, 0x1c
ret
mov dword [esp], 2
call dword [0x792cfc]
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 0x49f560
Capabilities:
Create thread

Disassembly:
push ebp
xor ebp, ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [sym.imp.msvcrt.dll__errno]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.msvcrt.dll__beginthread]
cmp eax, 0xffffffff
jne 0x49f5c2
call ebx
cmp dword [eax], 0xd
je 0x49f5d0
call ebx
mov ebx, dword [eax]
mov dword [esp], 2
call dword [0x792cfc]
mov dword [esp + 4], str.runtime:_failed_to_create_new_OS_thread___d__n
mov dword [esp + 8], ebx
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
call sub.msvcrt.dll_abort
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebp
add ebp, 1
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
cmp ebp, 0x14
jne 0x49f577
jmp 0x49f598
Function at 0x49fb00
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x861f00]
test esi, esi
jle 0x49fc10
mov edi, dword [0x861f04]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x49fb34
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x49fbb5
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x49fb20
mov dword [esp], eax
mov ebx, eax
call fcn.004a03f0
test eax, eax
mov edi, eax
je 0x49fc37
mov eax, dword [0x861f04]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.004a04f0
add eax, dword [edi + 0xc]
mov edx, dword [0x861f04]
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 0x49fc17
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x49fbae
sub eax, 4
and eax, 0xfffffffb
jne 0x49fbc0
add dword [0x861f00], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x861f04]
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 0x49fbae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.004a08b0
lea esi, [esi]
xor esi, esi
jmp 0x49fb3e
mov eax, dword [0x861f04]
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.004a08b0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.004a08b0
mov esi, esi
lea edi, [edi]

Function at 0x4a0070
Capabilities:
Get thread local storage value

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

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.004a0880
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.004a0880
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
jmp fcn.004014e0