joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419c70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
cmp byte [ecx], 0
push ebx
push ebp
push esi
push edi
je 0x419d53
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x419c95
cmp al, 0x58
jne 0x419d53
lea edi, [ecx + 2]
mov esi, edi
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x419ca0
sub esi, ecx
mov ecx, 1
lea eax, [esi*4 + 0x1f]
shr eax, 5
cmp eax, ecx
cmova ecx, eax
call fcn.004155e0
xor ecx, ecx
mov edx, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
test esi, esi
je 0x419d49
lea eax, [edi - 1]
add eax, esi
mov dword [esp + 0x18], eax
nop dword [eax + eax]
movsx ebx, byte [eax]
mov ebp, 0x66
sub ebp, ebx
shr ecx, 3
lea eax, [ebx - 0x61]
or ebp, eax
lea eax, [ebx - 0x57]
xor eax, ebx
shr ebp, 0x1f
dec ebp
and ebp, eax
mov eax, dword [edx + 4]
mov edx, 0x46
xor ebp, ebx
sub edx, ebx
lea edi, [eax + ecx*4]
mov ecx, dword [esp + 0x14]
lea eax, [ebx - 0x41]
and ecx, 7
or edx, eax
shl ecx, 2
shr edx, 0x1f
lea eax, [ebx - 7]
dec edx
xor eax, ebp
and edx, eax
mov eax, dword [esp + 0x18]
xor edx, ebp
dec eax
and edx, 0xf
mov dword [esp + 0x18], eax
shl edx, cl
mov ecx, dword [esp + 0x14]
or dword [edi], edx
inc ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
cmp ecx, esi
jb 0x419ce0
mov eax, edx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004157e0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425500
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov eax, ecx
mov ebp, edx
push esi
push edi
mov edi, dword [esp + 0x18]
xor edx, edx
mov esi, dword [eax]
and edi, 1
mov ebx, dword [ebp]
mov dword [esp + 0x10], eax
mov eax, edi
neg eax
mov dword [esp + 0x18], eax
cmp dword [esi], edx
jbe 0x42554a
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 4]
mov eax, dword [eax + edx*4]
xor eax, dword [ecx + edx*4]
mov ecx, dword [esp + 0x18]
and ecx, eax
mov eax, dword [esi + 4]
xor dword [eax + edx*4], ecx
mov eax, dword [ebx + 4]
xor dword [eax + edx*4], ecx
inc edx
cmp edx, dword [esi]
jb 0x425527
mov edx, dword [esp + 0x10]
mov eax, edi
mov ebx, dword [ebp + 4]
neg eax
xor esi, esi
mov edx, dword [edx + 4]
mov dword [esp + 0x18], eax
cmp dword [edx], esi
jbe 0x425585
mov eax, dword [ebx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [eax + esi*4]
xor eax, dword [ecx + esi*4]
mov ecx, dword [esp + 0x18]
and ecx, eax
mov eax, dword [edx + 4]
xor dword [eax + esi*4], ecx
mov eax, dword [ebx + 4]
xor dword [eax + esi*4], ecx
inc esi
cmp esi, dword [edx]
jb 0x425562
mov eax, dword [esp + 0x10]
neg edi
mov ebx, dword [ebp + 8]
xor edx, edx
mov esi, dword [eax + 8]
mov dword [esp + 0x18], edi
cmp dword [esi], edx
jbe 0x4255c3
nop dword [eax + eax]
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + edx*4]
xor eax, dword [ecx + edx*4]
mov ecx, dword [esp + 0x18]
and ecx, eax
mov eax, dword [esi + 4]
xor dword [eax + edx*4], ecx
mov eax, dword [ebx + 4]
xor dword [eax + edx*4], ecx
inc edx
cmp edx, dword [esi]
jb 0x4255a0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4274b0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov eax, ecx
mov ebp, edx
push esi
push edi
mov edi, dword [esp + 0x18]
xor edx, edx
mov esi, dword [eax]
and edi, 1
mov ebx, dword [ebp]
mov dword [esp + 0x10], eax
mov eax, edi
neg eax
mov dword [esp + 0x18], eax
cmp dword [esi], edx
jbe 0x4274fa
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 4]
mov eax, dword [eax + edx*4]
xor eax, dword [ecx + edx*4]
mov ecx, dword [esp + 0x18]
and ecx, eax
mov eax, dword [esi + 4]
xor dword [eax + edx*4], ecx
mov eax, dword [ebx + 4]
xor dword [eax + edx*4], ecx
inc edx
cmp edx, dword [esi]
jb 0x4274d7
mov esi, dword [esp + 0x10]
neg edi
mov ebx, dword [ebp + 4]
xor edx, edx
mov esi, dword [esi + 4]
mov dword [esp + 0x18], edi
cmp dword [esi], edx
jbe 0x427533
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 4]
mov eax, dword [eax + edx*4]
xor eax, dword [ecx + edx*4]
mov ecx, dword [esp + 0x18]
and ecx, eax
mov eax, dword [esi + 4]
xor dword [eax + edx*4], ecx
mov eax, dword [ebx + 4]
xor dword [eax + edx*4], ecx
inc edx
cmp edx, dword [esi]
jb 0x427510
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4288f0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov eax, ecx
mov ebp, edx
push esi
push edi
mov edi, dword [esp + 0x18]
xor edx, edx
mov esi, dword [eax]
and edi, 1
mov ebx, dword [ebp]
mov dword [esp + 0x10], eax
mov eax, edi
neg eax
mov dword [esp + 0x18], eax
cmp dword [esi], edx
jbe 0x42893a
mov eax, dword [ebx + 4]
mov ecx, dword [esi + 4]
mov eax, dword [eax + edx*4]
xor eax, dword [ecx + edx*4]
mov ecx, dword [esp + 0x18]
and ecx, eax
mov eax, dword [esi + 4]
xor dword [eax + edx*4], ecx
mov eax, dword [ebx + 4]
xor dword [eax + edx*4], ecx
inc edx
cmp edx, dword [esi]
jb 0x428917
mov edx, dword [esp + 0x10]
mov eax, edi
mov ebx, dword [ebp + 4]
neg eax
xor esi, esi
mov edx, dword [edx + 4]
mov dword [esp + 0x18], eax
cmp dword [edx], esi
jbe 0x428975
mov eax, dword [ebx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [eax + esi*4]
xor eax, dword [ecx + esi*4]
mov ecx, dword [esp + 0x18]
and ecx, eax
mov eax, dword [edx + 4]
xor dword [eax + esi*4], ecx
mov eax, dword [ebx + 4]
xor dword [eax + esi*4], ecx
inc esi
cmp esi, dword [edx]
jb 0x428952
mov eax, dword [esp + 0x10]
xor esi, esi
mov ebx, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, edi
neg eax
mov dword [esp + 0x18], eax
cmp dword [edx], esi
jbe 0x4289b3
nop dword [eax]
mov eax, dword [edx + 4]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + esi*4]
xor eax, dword [ecx + esi*4]
mov ecx, dword [esp + 0x18]
and ecx, eax
mov eax, dword [edx + 4]
xor dword [eax + esi*4], ecx
mov eax, dword [ebx + 4]
xor dword [eax + esi*4], ecx
inc esi
cmp esi, dword [edx]
jb 0x428990
mov eax, dword [esp + 0x10]
neg edi
mov ebx, dword [ebp + 0xc]
xor edx, edx
mov esi, dword [eax + 0xc]
mov dword [esp + 0x18], edi
cmp dword [esi], edx
jbe 0x4289f3
nop dword [eax]
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + edx*4]
xor eax, dword [ecx + edx*4]
mov ecx, dword [esp + 0x18]
and ecx, eax
mov eax, dword [esi + 4]
xor dword [eax + edx*4], ecx
mov eax, dword [ebx + 4]
xor dword [eax + edx*4], ecx
inc edx
cmp edx, dword [esi]
jb 0x4289d0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x42ba60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], 0x20
mov edi, esi
mov eax, 0x4429e8
xor edi, edx
ror esi, 0x1c
xor esi, dword [esp + 0x20]
mov ebx, edi
mov edx, esi
shr edi, 8
shr esi, 8
and edx, 0xfffcfffc
and esi, 0xfffcfffc
and ebx, 0xfffcfffc
and edi, 0xfffcfffc
or edx, 0xff00ff00
or esi, 0xff00ff00
or ebx, 0xff00ff00
or edi, 0xff00ff00
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], ebp
nop dword [eax]
mov ecx, dword [eax - 8]
lea eax, [eax + 0x10]
and ecx, edx
add edx, 0x80008
xor ebp, ecx
mov ecx, dword [eax - 0x14]
and ecx, esi
add esi, 0x80008
xor dword [esp + 0x10], ecx
mov ecx, ebx
and ecx, dword [eax - 0x10]
add ebx, 0x80008
xor dword [esp + 0x20], ecx
mov ecx, dword [eax - 0xc]
and ecx, edi
add edi, 0x80008
xor dword [esp + 0x14], ecx
sub dword [esp + 0x18], 1
jne 0x42bad0
mov ecx, dword [esp + 0x20]
and edx, 0x40004
imul edx, edx, 0x3c00
and ebx, 0x40004
imul eax, ebx, 0x3c00
and esi, 0x40004
and edi, 0x40004
shr edx, 4
shr eax, 4
and edx, ebp
and eax, ecx
shr ebp, 4
shr ecx, 4
xor edx, ebp
xor eax, ecx
shr edx, 4
mov ecx, dword [esp + 0x10]
and eax, 0xf000f00
and edx, 0xf000f0
or edx, eax
imul eax, esi, 0x3c00
shr edx, 4
shr eax, 4
and eax, ecx
shr ecx, 4
xor eax, ecx
imul ecx, edi, 0x3c00
and eax, 0xf000f00
or edx, eax
mov eax, dword [esp + 0x14]
shl eax, 4
pop edi
and ecx, eax
xor ecx, dword [esp + 0x10]
and ecx, 0xf000f000
or edx, ecx
mov ecx, edx
shr ecx, 4
xor ecx, edx
and ecx, 0x7030702
mov eax, ecx
shl eax, 4
xor eax, ecx
xor edx, eax
mov ecx, edx
shr ecx, 8
xor ecx, edx
and ecx, 0x4e009e
mov eax, ecx
shl eax, 8
xor eax, ecx
xor edx, eax
mov ecx, edx
shr ecx, 0x10
xor ecx, edx
and ecx, 0xd9d3
mov eax, ecx
shl eax, 0x10
xor eax, ecx
xor edx, eax
mov ecx, edx
shr ecx, 4
xor ecx, edx
and ecx, 0x5040004
mov eax, ecx
shl eax, 4
xor eax, ecx
xor edx, eax
mov ecx, edx
shr ecx, 1
xor ecx, edx
and ecx, 0x4045015
pop esi
pop ebp
pop ebx
lea eax, [ecx + ecx]
xor eax, ecx
xor eax, edx
add esp, 0xc
ret
Function at 0x433840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 8]
add ecx, 0xfffffcf0
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x10], ecx
add eax, edi
mov dword [esp + 0x1c], eax
cmp edi, eax
jae 0x433960
lea esi, [ecx + 0x2d8]
lea eax, [esi + 8]
mov dword [esp + 0x18], eax
mov ecx, esi
call fcn.0042e620
mov ecx, edi
mov ebx, eax
mov esi, edx
call fcn.0042e620
xor ebx, eax
xor esi, edx
mov dword [esp + 0x14], esi
mov eax, ebx
mov edx, dword [esp + 0x14]
mov ecx, edx
mov esi, dword [esp + 0x10]
shrd eax, ecx, 8
add esi, 0x2d8
mov ecx, ebx
mov byte [esi + 1], al
mov eax, edx
shrd ecx, eax, 0x10
mov eax, edx
mov byte [esi], bl
shrd ebx, eax, 0x18
mov eax, edx
mov byte [esi + 4], dl
shr eax, 8
mov byte [esi + 5], al
mov eax, edx
mov byte [esi + 2], cl
lea ecx, [esi + 8]
shr eax, 0x10
shr edx, 0x18
mov byte [esi + 3], bl
mov byte [esi + 6], al
mov byte [esi + 7], dl
call fcn.0042e620
lea ecx, [edi + 8]
mov ebx, eax
mov esi, edx
call fcn.0042e620
xor ebx, eax
xor esi, edx
mov dword [esp + 0x14], esi
mov eax, ebx
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, edx
shrd eax, ecx, 8
mov ecx, ebx
mov byte [esi + 1], al
mov eax, edx
shrd ecx, eax, 0x10
mov eax, edx
mov byte [esi], bl
shrd ebx, eax, 0x18
mov eax, edx
mov byte [esi + 4], dl
shr eax, 8
mov byte [esi + 5], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 6], al
mov eax, dword [esp + 0x10]
shr edx, 0x18
mov byte [esi + 2], cl
mov byte [esi + 7], dl
mov byte [esi + 3], bl
lea esi, [eax + 0x2d8]
push eax
mov edx, esi
mov ecx, esi
call fcn.00431ed0
movups xmm0, xmmword [esi]
add esp, 4
movups xmmword [edi], xmm0
add edi, 0x10
cmp edi, dword [esp + 0x1c]
jb 0x433876
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x54], eax
lea eax, [ecx - 0x310]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
push esi
mov esi, edx
movaps xmmword [esp + 0x2c], xmm0
cdq
and edx, 0xf
movaps xmmword [esp + 0x3c], xmm0
add eax, edx
sar eax, 4
mov dword [esp + 0x18], eax
push edi
test eax, eax
je 0x433b41
nop dword [eax + eax]
mov edi, 2
cmp eax, edi
cmovb edi, eax
mov eax, edi
mov dword [esp + 0x28], edi
shl eax, 4
push eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x34]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea edx, [esp + 0x30]
mov ecx, edx
push dword [esp + 0x10]
call fcn.00432d70
add esp, 4
test edi, edi
je 0x433b29
mov ecx, dword [esp + 0x10]
lea esi, [esp + 0x3a]
mov eax, dword [esp + 0x14]
add ecx, 0x2d8
mov edx, esi
mov dword [esp + 0x18], edi
sub eax, edx
mov dword [esp + 0x24], eax
lea eax, [ecx + 8]
mov dword [esp + 0x20], eax
call fcn.0042e620
lea ecx, [esi - 0xa]
mov dword [esp + 8], edx
mov edi, eax
call fcn.0042e620
xor edi, eax
mov dword [esp + 0xc], edi
mov edi, dword [esp + 8]
xor edi, edx
mov edx, dword [esp + 0xc]
mov byte [ecx], dl
mov eax, edi
mov ecx, edx
mov dword [esp + 8], edi
shrd ecx, eax, 8
mov eax, edi
mov byte [esi - 9], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov byte [esi - 8], cl
mov ecx, edi
mov eax, ecx
mov byte [esi - 6], cl
shrd edx, eax, 0x18
mov eax, ecx
shr eax, 8
mov byte [esi - 5], al
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
mov byte [esi - 3], cl
mov ecx, dword [esp + 0x20]
mov byte [esi - 7], dl
mov byte [esi - 4], al
call fcn.0042e620
mov dword [esp + 0xc], eax
lea ecx, [esi - 2]
mov eax, edx
mov dword [esp + 8], eax
call fcn.0042e620
xor dword [esp + 0xc], eax
lea esi, [esi + 0x10]
mov eax, dword [esp + 8]
xor eax, edx
mov edx, dword [esp + 0xc]
mov dword [esp + 8], eax
mov ecx, edx
shrd ecx, eax, 8
mov eax, dword [esp + 8]
mov byte [esi - 0x11], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov byte [esi - 0x12], dl
mov byte [esi - 0x10], cl
mov ecx, dword [esp + 8]
mov eax, ecx
shrd edx, eax, 0x18
mov eax, ecx
mov byte [esi - 0xe], cl
shr eax, 8
mov byte [esi - 0xd], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [esi - 0xc], al
mov eax, dword [esp + 0x24]
mov byte [esi - 0xb], cl
mov ecx, dword [esp + 0x10]
add ecx, 0x2d8
mov byte [esi - 0xf], dl
sub dword [esp + 0x18], 1
movups xmm0, xmmword [eax + esi - 0x10]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esi - 0x1a]
movups xmmword [eax + esi - 0x10], xmm0
jne 0x433a25
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add esi, dword [esp + 0x2c]
sub eax, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
jne 0x4339c0
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push 0x20
push eax
mov eax, dword [fcn.0040ae20]
movaps xmmword [esp + 0x38], xmm0
movaps xmmword [esp + 0x48], xmm0
call eax
mov ecx, dword [esp + 0x64]
add esp, 8
pop edi
pop esi
xor ecx, esp
call fcn.0043505d
mov esp, ebp
pop ebp
ret
Function at 0x434090
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, edx
mov ebx, ecx
mov ecx, edi
call fcn.0042b9e0
xor dword [ebx + 0x40], eax
lea ecx, [edi + 8]
xor dword [ebx + 0x44], edx
lea esi, [ebx + 0x60]
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x30], xmm0
call fcn.0042b9e0
mov ebp, eax
mov dword [esp + 0x20], 0x40
mov eax, dword [esp + 0x34]
mov ecx, edx
xor ebp, dword [ebx + 0x48]
xor ecx, dword [ebx + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov edi, ebp
xor edx, edx
shrd edi, ecx, 1
and ebp, 1
shr ecx, 1
neg ebp
mov dword [ebx + 0x4c], ecx
adc edx, edx
mov dword [ebx + 0x48], edi
neg edx
mov dword [esp + 0x24], ecx
mov eax, edx
mov ecx, ebp
and eax, dword [esi + 4]
xor dword [esp + 0x10], eax
and ecx, dword [esi]
and ebp, dword [esi + 8]
mov eax, dword [esi + 0xc]
add esi, 0x10
xor dword [esp + 0x1c], ecx
and eax, edx
xor dword [esp + 0x14], ebp
mov ebp, edi
xor dword [esp + 0x18], eax
sub dword [esp + 0x20], 1
mov ecx, dword [esp + 0x24]
jne 0x4340f4
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x20], 0x40
nop
mov edi, dword [ebx + 0x40]
lea esi, [esi + 0x10]
mov ecx, dword [ebx + 0x44]
mov eax, edi
shrd eax, ecx, 1
and edi, 1
xor edx, edx
shr ecx, 1
neg edi
mov dword [ebx + 0x40], eax
mov eax, edi
adc edx, edx
mov dword [ebx + 0x44], ecx
and eax, dword [esi - 0x10]
neg edx
and edi, dword [esi - 8]
xor ebp, eax
mov eax, dword [esp + 0x10]
mov ecx, edx
and ecx, dword [esi - 0xc]
xor eax, ecx
mov ecx, dword [esp + 0x14]
xor ecx, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi - 4]
mov dword [esp + 0x14], ecx
and eax, edx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x18]
xor ecx, eax
sub dword [esp + 0x20], 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x34], ecx
jne 0x434150
pop edi
mov dword [esp + 0x24], ebp
movups xmm0, xmmword [esp + 0x24]
pop esi
pop ebp
movups xmmword [ebx + 0x40], xmm0
pop ebx
add esp, 0x2c
ret

Function at 0x435928
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x435967
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x435967
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x435967
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x435967
cmp dword [ecx + 0x74], 0xe
jbe 0x435967
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40fab0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4943cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004891a6
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40fb32
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00486f20
mov eax, dword [eax]
push 0x4b5c58
push eax
call fcn.00478ae4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00489431
test bl, bl
je 0x40fb32
push 0x4b5c58
lea ecx, [esp + 0xc]
call fcn.004897c1
push 0x4b5c64
lea ecx, [esp + 0xc]
call fcn.004897c1
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40fb6e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00489431
jmp 0x40fc39
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40fbf2
lea edx, [esp + 0x7c]
push 0x4b5c60
push edx
call fcn.00478ae4
add esp, 8
test eax, eax
je 0x40fbf2
lea eax, [esp + 0x7c]
push 0x4b5c5c
push eax
call fcn.00478ae4
add esp, 8
test eax, eax
je 0x40fbf2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40fb82
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00489431
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x410440
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4104a2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4104b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49444b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4c25f4]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4105e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x410516
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00489431
xor eax, eax
jmp 0x41065f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048956e
push esi
lea ecx, [esp + 0xc]
call fcn.004897fd
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41063d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00410440
test eax, eax
jne 0x41063d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.00410440
test eax, eax
jne 0x41063d
lea eax, [esp + 0x14]
push 0x4b5c74
push eax
call fcn.00479c30
mov esi, eax
add esp, 8
test esi, esi
jne 0x41061c
lea ecx, [esp + 0x14]
push 0x4b5c70
push ecx
call fcn.00479bb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41061c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41061f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048951e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41052e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00489431
xor eax, eax
jmp 0x41065f
mov byte [esi], 0
push 0x4b5c6c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00489431
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x422290
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x4222fe
cmp si, 0x69
ja 0x4222fe
add esi, 0xffd0
cmp si, 0x11
je 0x4222ce
push 0x11
call edi
test ax, ax
jge 0x4222ce
or esi, 0x2000
cmp si, 0x10
je 0x4222e3
push 0x10
call edi
test ax, ax
jge 0x4222e3
or esi, 0x4000
cmp si, 0x12
je 0x4222f8
push 0x12
call edi
test ax, ax
jge 0x4222f8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42230b
mov esi, 0xbd
jmp 0x4222bf
cmp si, 0x6e
jne 0x422318
mov esi, 0xbe
jmp 0x4222bf
cmp si, 0x6f
jne 0x4222b9
mov esi, 0xbf
jmp 0x4222bf

Function at 0x423b80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4d2d48]
xor edx, edx
cmp eax, edx
jne 0x423ba6
xor eax, eax
mov byte [eax + 0x4d2c48], al
inc eax
cmp eax, 0x100
jl 0x423b8e
mov dword [0x4d2d48], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4d2c48
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x423c37
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x423c0a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x423bd8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x423cb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x423d03
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x423cea
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret