joyce8/EMBER2024-capa huggingface dataset:
Function at 0x9ac058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009ac1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9ac07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9ac06a
add dl, dl
jne 0x9ac089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9ac0dc
xor eax, eax
add dl, dl
jne 0x9ac096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9ac17d
add dl, dl
jne 0x9ac0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9ac0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9ac0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9ac0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9ac0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9ac075
mov eax, 1
add dl, dl
jne 0x9ac0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9ac0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9ac0e1
sub eax, ebx
mov ebx, 1
jne 0x9ac128
mov ecx, 1
add dl, dl
jne 0x9ac10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9ac119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9ac105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9ac075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9ac13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9ac14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9ac136
cmp eax, 0x7d00
jae 0x9ac16d
cmp eax, 0x500
jb 0x9ac168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9ac075
cmp eax, 0x7f
ja 0x9ac170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9ac075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9ac19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9ac075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4161ac4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4161b1d
test eax, edx
je 0x4161b20
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4161adb
movzx eax, word [eax]
sub eax, ecx
jmp 0x4161b02
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4161b03
add ecx, 4
js 0x4161af3
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4161b00
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4161b02
xor eax, eax
ret
test eax, eax
je 0x4161b2c
test edx, edx
jne 0x4161acc
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x416ab98
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.041494bc
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0414d278
mov edi, eax
cmp edi, 0x104
jbe 0x416ab43
mov eax, edi
add eax, eax
call fcn.04145d48
mov esi, eax
jmp 0x416ab45
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0414d278
push esi
call fcn.04152400
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x416ab7e
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x416ab68
mov eax, esp
cmp esi, eax
je 0x416ab8b
mov eax, esi
call fcn.04145d64
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x416abc4
cmp bl, 0
je 0x416abc0
cmp bl, 0x41
jl 0x416abbb
cmp bl, 0x5a
jg 0x416abbb
or bl, 0x20
xor al, bl
inc esi
jmp 0x416ab9f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x416ab04
Function at 0x41cb8f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x41cb8f8
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4250330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x51108a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 4], 0
je 0x425045f
mov eax, dword [ebx + 4]
mov dl, 1
call fcn.0416309c
test al, al
je 0x425045f
push 0x20
mov ecx, dword [ebx + 4]
mov dl, 1
mov eax, dword [0x496f94]
call fcn.041f967c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x511058
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
mov esi, eax
mov eax, dword [ebp - 0xc]
call fcn.041f708c
sub esi, eax
push esi
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x40462c]
call fcn.0414b300
add esp, 4
mov edx, dword [ebp - 4]
mov ecx, esi
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebx + 0xc]
mov eax, dword [ebp - 4]
call fcn.0416ed80
mov esi, eax
mov dl, 1
mov eax, dword [0x494104]
call fcn.041f6fe8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x51103b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, dword [ebp - 4]
test edi, edi
je 0x42503fc
sub edi, 4
mov edi, dword [edi]
sub edi, esi
push edi
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0xc]
mov ecx, esi
mov edx, dword [ebp - 4]
call fcn.041700d0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.04250728
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x511042
mov eax, dword [ebp - 8]
call fcn.04147264
ret
mov eax, ebx
call fcn.04250134
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x511091
lea eax, [ebp - 0x10]
call fcn.04148fec
lea eax, [ebp - 4]
mov edx, dword [0x40462c]
call fcn.0414b424
ret

Function at 0x425e288
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x425e28e
ret
Function at 0x43bbc94
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x43bbc9c
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x67ca51
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 4]
mov edx, 0x67ca6c
call fcn.04149e78
push esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
movzx ecx, word [ebx + 0x30]
xor edx, edx
mov eax, dword [ebx + 0x1c]
call fcn.043b9858
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x67ca80
call fcn.04361794
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x43bbd17
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x43bbd58
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
movzx ecx, word [ebx + 0x30]
xor edx, edx
mov eax, dword [ebx + 0xc]
call fcn.043b9858
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x67cae8
call fcn.04361794
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.04149e20
mov eax, esi
mov edx, 0x67cb14
call fcn.04149e20
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x43bbd70
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x43bbdde
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x67cb28
call fcn.04361794
mov edx, dword [ebp - 0x2c]
mov eax, esi
call fcn.04149e20
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x43bbda7
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x43bbdd2
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x67cb58
call fcn.04361794
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.04149e20
mov eax, esi
mov edx, 0x67cb84
call fcn.04149e20
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x43bbdea
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x43bbe15
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x67cb98
call fcn.04361794
mov edx, dword [ebp - 0x34]
mov eax, esi
call fcn.04149e20
mov eax, esi
mov edx, 0x67cbe4
call fcn.04149e20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x67ca58
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.0414904c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0414904c
lea eax, [ebp - 4]
call fcn.04148fec
ret
Function at 0x4403164
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x7d3ee8], 0
jne 0x440317b
call fcn.04403120
mov eax, edi
dec eax
test eax, eax
jl 0x44031a3
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x7d3ae8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4403185
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4405e98
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja 0x4405fe3
jmp dword [ecx*4 + 0x6c6acb]
mov ecx, dword [eax + 0x468]
mov edx, dword [ebx + 0x1c]
dec edx
imul ecx, edx
mov esi, ecx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add ecx, dword [eax + 0x44c]
mov dword [ebp - 0x10], ecx
mov esi, edx
test esi, esi
jb 0x440607b
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.044050ac
test eax, eax
je 0x440607b
mov eax, ebx
call fcn.04406084
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x4406014
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4406084
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x44060b5
dec al
je 0x44060f0
dec al
je 0x440612d
dec al
je 0x4406196
jmp 0x4406220
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4406220
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x44060c5
jmp 0x4406220
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4406220
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov ecx, eax
xor cl, 1
and ecx, 0x7f
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ecx, byte [ecx + esi]
movzx edx, al
mov edx, dword [ebx + edx*4 + 0x40]
add cl, byte [edx + esi]
and cl, 0xff
mov byte [edx + esi], cl
inc esi
dec edi
jne 0x4406100
jmp 0x4406220
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4406220
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x440615c
xor ebp, ebp
jmp 0x440616c
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4406175
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x440613d
jmp 0x4406220
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4406220
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x44061ef
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.044031ac
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x44061aa
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x440dd98
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x440ddc6
mov eax, ebx
call fcn.0440e854
cmp dword [ebx + 0x40], 0
je 0x440ddbf
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x440de37
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x440de29
cmp dword [ebx + 8], 0
je 0x440dde8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x440ddfa
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x440de29
cmp dword [ebx + 8], 0
je 0x440dddb
cmp eax, 3
je 0x440de0d
dec eax
jne 0x440dddb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x440dddb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x440dddb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x440de55
cmp dword [ebx + 0x14], 0xcc
je 0x440de55
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0440de60
pop ebx
ret
Function at 0x40a840
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48066b
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.004751a8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a8c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00473082
mov eax, dword [eax]
push 0x4a3ca8
push eax
call fcn.004655b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00475433
test bl, bl
je 0x40a8c2
push 0x4a3ca8
lea ecx, [esp + 0xc]
call fcn.004757c3
push 0x4a3cb4
lea ecx, [esp + 0xc]
call fcn.004757c3
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 0x40a8fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00475433
jmp 0x40a9c9
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 0x40a982
lea edx, [esp + 0x7c]
push 0x4a3cb0
push edx
call fcn.004655b4
add esp, 8
test eax, eax
je 0x40a982
lea eax, [esp + 0x7c]
push 0x4a3cac
push eax
call fcn.004655b4
add esp, 8
test eax, eax
je 0x40a982
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 0x40a912
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.00475433
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 0x40b1d0
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 0x40b232
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 0x40b240
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4806eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4ad6c8]
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 0x40b378
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40b2a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00475433
xor eax, eax
jmp 0x40b3ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00475570
push esi
lea ecx, [esp + 0xc]
call fcn.004757ff
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 0x40b3cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040b1d0
test eax, eax
jne 0x40b3cd
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 accept
mov ecx, edi
call fcn.0040b1d0
test eax, eax
jne 0x40b3cd
lea eax, [esp + 0x14]
push 0x4a3cc4
push eax
call fcn.00466650
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b3ac
lea ecx, [esp + 0x14]
push 0x4a3cc0
push ecx
call fcn.004665d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b3ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40b3af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00475520
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40b2be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00475433
xor eax, eax
jmp 0x40b3ef
mov byte [esi], 0
push 0x4a3cbc
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.00475433
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 0x41be60
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 0x41bece
cmp si, 0x69
ja 0x41bece
add esi, 0xffd0
cmp si, 0x11
je 0x41be9e
push 0x11
call edi
test ax, ax
jge 0x41be9e
or esi, 0x2000
cmp si, 0x10
je 0x41beb3
push 0x10
call edi
test ax, ax
jge 0x41beb3
or esi, 0x4000
cmp si, 0x12
je 0x41bec8
push 0x12
call edi
test ax, ax
jge 0x41bec8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41bedb
mov esi, 0xbd
jmp 0x41be8f
cmp si, 0x6e
jne 0x41bee8
mov esi, 0xbe
jmp 0x41be8f
cmp si, 0x6f
jne 0x41be89
mov esi, 0xbf
jmp 0x41be8f

Function at 0x41d720
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4bdea8]
xor edx, edx
cmp eax, edx
jne 0x41d746
xor eax, eax
mov byte [eax + 0x4bdda8], al
inc eax
cmp eax, 0x100
jl 0x41d72e
mov dword [0x4bdea8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4bdda8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41d7d7
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 0x41d7aa
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 0x41d778
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41d850
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 0x41d8a3
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 0x41d88a
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