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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40bb6e
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b9cb
mov eax, 0x7000000
jmp 0x40b9d3
test eax, eax
je 0x40bb49
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.00463470
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, [0xb53140]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40bb61
cmp ecx, 0x21
jae 0x40bb55
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.0045d8a0
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.0045d970
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 [0x9cb89c]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x9cb964]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40bb24
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x9cb9bc]
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.00463550
mov eax, ecx
mov ecx, 0x21
call fcn.00463620
nop
call fcn.004620b0
jmp fcn.0040b9a0
Function at 0x415500
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x415714
sub esp, 0x18
mov eax, dword [0xbaa4f4]
test eax, eax
jne 0x4156fd
nop
lea eax, [0xbaa4dc]
mov dword [esp], eax
call fcn.004097f0
mov eax, dword [0xbaa4e0]
test eax, eax
je 0x415549
cmp dword [eax + 8], 0xcc
jne 0x4155bf
mov edx, dword [0xbaa4d4]
test edx, edx
jne 0x4155a1
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0xbaf7b0]
mov dword [esp + 8], eax
call fcn.0040bb80
mov eax, dword [esp + 0xc]
mov dword [0xbaa4d4], eax
mov ecx, dword [0xbaa498]
mov dword [eax], ecx
mov eax, dword [0xbaa4d4]
mov dword [0xbaa498], eax
movzx eax, byte [0xbaaba0]
test al, al
jne 0x4155a1
xor eax, eax
jmp 0x4156a9
mov edx, dword [0xbaa4d4]
mov ebx, dword [edx + 4]
mov dword [0xbaa4d4], ebx
mov ebx, dword [0xbaa4e0]
mov dword [edx + 4], ebx
mov dword [0xbaa4e0], edx
mov edx, dword [0xbaa4e0]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x415691
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.00402110
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0xbaa820]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x41561d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x41562a
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.004634c0
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0xbaa820]
test edx, edx
jne 0x415656
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 0x415677
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.004634c0
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.004634c0
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.004634c0
mov byte [0xbaa433], 1
nop
lea eax, [0xbaa4dc]
mov dword [esp], eax
call fcn.004099f0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00463550
lea esi, [0xbaaba0]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x4155a1
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 0x4156f3
lea edx, [0xb4c59c]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x41569b
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.00463540
mov ecx, 5
call fcn.00463540
lea eax, [0x737931]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00437760
nop
call fcn.004620b0
jmp fcn.00415500
Function at 0x429510
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42962c
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x4295a5
cmp cl, 2
je 0x42954d
cmp cl, 3
jne 0x429615
mov byte [eax + 8], 1
jmp 0x429611
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042eca0
nop
lea eax, [0xb8ea84]
mov dword [esp], eax
call fcn.004097f0
nop
mov eax, dword [0xb8ea50]
sub eax, dword [0xb8ea34]
mov dword [0xb8ea50], eax
mov eax, dword [0xb8ea40]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xb8ea40], ecx
nop
lea eax, [0xb8ea84]
mov dword [esp], eax
call fcn.004099f0
jmp 0x429611
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.00415500
nop
lea eax, [0xb8ea84]
mov dword [esp], eax
call fcn.004097f0
nop
mov eax, dword [0xb8ea28]
sub eax, dword [0xb8ea0c]
mov dword [0xb8ea28], eax
mov eax, dword [0xb8ea18]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0xb8ea18], ecx
nop
nop
lea eax, [0xb8ea84]
mov dword [esp], eax
call fcn.004099f0
add esp, 0x14
ret
lea eax, [0x732cdb]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00437760
nop
call fcn.004620b0
jmp fcn.00429510
Function at 0x4529e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x452b67
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x452b5d
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x452a3c
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x452a3c
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 0x452a4f
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x452b32
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 0x452b24
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 0x452b1b
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x452aa6
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x452aef
mov eax, 1
cmp eax, ecx
ja 0x452add
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.004635b0
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x452b16
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 0x452ae2
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x452aab
call fcn.00463550
xor eax, eax
mov ecx, eax
call fcn.00463540
call fcn.004635b0
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x452b58
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 0x452b29
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x452a54
call fcn.00463550
xor eax, eax
mov ecx, eax
call fcn.00463540
nop
call fcn.004620b0
jmp fcn.004529e0
Function at 0x45a580
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 0x45a61f
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.00463757
lea ecx, [0x45a630]
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.00461fa0
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.004620b0
jmp fcn.0045a580
Function at 0x463370
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 [0xbaa980]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x461b3b
je 0x461b8e
cmp ebx, 0x20
jbe 0x461b94
cmp ebx, 0x40
jbe 0x461bda
jmp 0x461c7b
test ebx, ebx
je 0x461b84
add eax, 0x10
test ax, 0xff0
je 0x461b70
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x9cef20]
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 + 0x9cf120]
jmp 0x461b58
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x461b58
pxor xmm1, xmmword [0xbaa990]
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 [0xbaa990]
pxor xmm2, xmmword [0xbaa9a0]
pxor xmm3, xmmword [0xbaa9b0]
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 [0xbaa990]
pxor xmm2, xmmword [0xbaa9a0]
pxor xmm3, xmmword [0xbaa9b0]
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 0x461cda
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 [0xbaa43b], 0
je 0x46338a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x461b00
jmp fcn.004081b0
Function at 0x9dccd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9dcd1c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9dcce2
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9dcd80
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9dcdd2
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9dcdd8
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0x9f52c5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009f4f85

Function at 0x9fa0bf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009f9f3e

Function at 0x9ff670
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x9ff69d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x9ff69d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..wixburn
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5caf435e
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..pdata
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x17e06890
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4461b6
Capabilities:
Encode data using add xor sub operations

Disassembly:
shr ecx, cl
lcall 0x692a, 0x4ed9785e
imul edx, dword [edx], 0x94bcdaa3
invalid

Function at 0x4461be
Capabilities:
Encode data using xor

Disassembly:
xor eax, 0x6b7fb581
xchg dword [ebx - 0xf], ecx
add edi, dword [edi - 0x23]
cmp eax, 0x30e43a19
lodsb al, byte [esi]
fdiv qword [eax]
xlatb
pop esp
xchg edi, eax

Function at 0x47d432
Capabilities:
Encode data using xor

Disassembly:
arpl word [edi], si
dec ebp
pop ss
not dword [edi]
push 0xfffffffffffffff1
mov dword [0x6c5233b6], eax
jo 0x47d44c
xchg ebx, eax
jno 0x47d479
inc edi
and al, 0x82
jecxz 0x47d4b6
xchg edi, eax
jns 0x47d42e
in al, dx
bound ebp, qword [ebp + eax*8 - 0x6eef1082]
jle 0x47d43d
adc byte [ecx + 0xfb6551d], dl
pop es
xchg ecx, eax
sbb eax, 0x70fb655
xor byte [eax], dh
mov ch, 0x70
or ah, byte [ebp + ecx + 0x12]
mov edx, 0x3c21c2d2
mov cl, 0x2d
popfd
jg 0x47d44f
xor eax, 0x8e2230ee
hlt
xor eax, 0x757da4d9
or al, 0xe1
cli
or cl, bh
jbe 0x47d4a9
aas
jmp 0xff6a6cde
xchg edi, eax

Function at 0x4bd9f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c7478
cmp edx, dword [eax]
je 0x4bda12
add eax, 8
inc ecx
cmp eax, 0x4c7508
jl 0x4bda03
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c7478]
jne 0x4bdb40
mov eax, dword [0x4c9d1c]
cmp eax, 1
je 0x4bdb1a
test eax, eax
jne 0x4bda43
cmp dword [0x4c52c0], 1
je 0x4bdb1a
cmp edx, 0xfc
je 0x4bdb40
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bda7a
lea eax, [ebp - 0x1a4]
push 0x4c1b10
push eax
call fcn.004beb50
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bec40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bdabd
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bec40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c1b0c
push edi
call fcn.004bf600
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c1af0
push eax
call fcn.004beb50
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004beb60
lea eax, [ebp - 0xa0]
push 0x4c1aec
push eax
call fcn.004beb60
push dword [esi + 0x4c747c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004beb60
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c1ac4
push eax
call fcn.004bf572
add esp, 0x2c
pop edi
jmp 0x4bdb40
lea eax, [ebp + 8]
lea esi, [esi + 0x4c747c]
push 0
push eax
push dword [esi]
call fcn.004bec40
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4019a2
Capabilities:
Access the windows event log
Clear file content
Clear windows event logs
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x800
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x45be4d9
jg 0x4019c8
inc edi
cmp edi, 0x332fe31
jl 0x4019ae
cmp dword [0x20d2264], 0x400
jne 0x401a07
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push esi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ClearEventLogW]
push esi
call fcn.00401f52
call fcn.00401e01
push esi
call fcn.00402144
pop ecx
pop ecx
xor edi, edi
cmp edi, 0xd036
jge 0x401a18
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0xd2ced2
jg 0x401a3e
inc edi
cmp edi, 0x263ff
jl 0x401a09
mov eax, dword [0x4855e4]
mov dword [0x20d2264], eax
call fcn.00401738
mov edi, 0x3078f
cmp dword [0x20d2264], 0x51f
jne 0x401a6a
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x401a52
pop edi
xor eax, eax
pop esi
add esp, 0x800
ret 0x10

Function at 0x4043d4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46b338]
jne 0x4043de
repz ret
jmp fcn.0040557d
Function at 0x404549
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46b338]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004037ba
and dword [ebp - 0x14], 0
cmp dword [0x4900d0], 0
mov dword [ebp - 0x18], eax
jne 0x4045fc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4046a4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4046a4
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4900d0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4900d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4900d8], eax
call edi
push eax
call esi
mov dword [0x4900e0], eax
test eax, eax
je 0x4045fc
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4900dc], eax
mov eax, dword [0x4900dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404655
cmp dword [0x4900e0], ecx
je 0x404655
push eax
call esi
push dword [0x4900e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404655
test ebx, ebx
je 0x404655
call edi
test eax, eax
je 0x40464c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40464c
test byte [ebp - 8], 1
jne 0x404655
or dword [ebp + 0x10], 0x200000
jmp 0x404688
mov eax, dword [0x4900d4]
cmp eax, dword [ebp - 0x18]
je 0x404688
push eax
call esi
test eax, eax
je 0x404688
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x404688
mov eax, dword [0x4900d8]
cmp eax, dword [ebp - 0x18]
je 0x404688
push eax
call esi
test eax, eax
je 0x404688
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4900d0]
call esi
test eax, eax
je 0x4046a4
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4046a6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004043d4
leave
ret
Function at 0x430005
Capabilities:
Encode data using xor

Disassembly:
pushal
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7d984f61
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1a285a6f
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
jmp 0x401219