joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e1d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 8
push ebx
push esi
mov esi, dword [ecx]
xor ebx, ebx
and esi, 7
cmp eax, 5
jae 0x1000e1f1
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
mov edi, dword [ebp + 8]
sub eax, 4
add edi, eax
mov dword [ebp - 4], edi
lea ecx, [ecx]
mov eax, dword [ebp + 8]
lea edx, [ebx + eax]
cmp edx, edi
jae 0x1000e21f
lea ebx, [ebx]
mov cl, byte [edx]
and cl, 0xfe
cmp cl, 0xe8
je 0x1000e21f
inc edx
cmp edx, edi
jb 0x1000e210
mov ecx, edx
sub ecx, ebx
mov ebx, edx
sub ecx, eax
sub ebx, eax
cmp edx, edi
jae 0x1000e2fd
cmp ecx, 2
jbe 0x1000e2bd
xor esi, esi
movzx ecx, byte [edx + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x1000e2ef
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or eax, ecx
lea edi, [ebx + 5]
mov ebx, edi
sub eax, edi
mov dword [ebp - 8], ebx
test esi, esi
je 0x1000e298
and esi, 6
add esi, esi
add esi, esi
mov ebx, eax
mov ecx, esi
shr ebx, cl
inc ebx
test bl, 0xfe
jne 0x1000e293
mov ebx, pe_nt_image_headers32
shl ebx, cl
dec ebx
xor eax, ebx
sub eax, edi
mov ebx, dword [ebp - 8]
xor esi, esi
mov edi, dword [ebp - 4]
mov ecx, eax
shr ecx, 8
mov byte [edx + 1], al
mov byte [edx + 2], cl
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
and al, 1
neg al
mov byte [edx + 3], cl
mov byte [edx + 4], al
jmp 0x1000e200
shr esi, cl
test esi, esi
je 0x1000e23c
cmp esi, 4
ja 0x1000e2e4
cmp esi, 3
je 0x1000e2e4
mov eax, esi
shr eax, 1
movzx ecx, byte [eax + edx + 1]
inc ecx
test cl, 0xfe
jne 0x1000e23c
or esi, 8
shr esi, 1
inc ebx
jmp 0x1000e200
mov edi, dword [ebp - 4]
or esi, 8
shr esi, 1
inc ebx
jmp 0x1000e200
pop edi
cmp ecx, 2
jbe 0x1000e314
mov edx, dword [ebp + 0xc]
xor esi, esi
mov dword [edx], esi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
shr esi, cl
mov eax, ebx
mov dword [edx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1001139a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x100113bb
mov esi, edx
mov ecx, eax
sub esi, eax
mov edx, edi
mov bl, byte [esi + ecx]
xor bl, byte [ebp + 0xc]
mov byte [ecx], bl
inc ecx
dec edx
jne 0x100113af
xor edx, edx
mov byte [edi + eax], dl
cmp edi, edx
jbe 0x10011453
lea ebx, [edx + eax]
mov cl, byte [ebx]
cmp cl, 0x5c
jne 0x100113f5
lea edi, [edx + eax + 1]
cmp byte [edi], cl
je 0x1001143e
cmp cl, cl
jne 0x100113f5
lea edi, [edx + eax + 1]
cmp byte [edi], 0x72
jne 0x100113f5
mov ecx, dword [ebp + 8]
sub ecx, edx
lea esi, [edx + eax + 2]
mov byte [ebx], 0xd
rep movsb byte es:[edi], byte [esi]
cmp byte [ebx], 0x5c
jne 0x10011449
lea edi, [edx + eax + 1]
cmp byte [edi], 0x6e
jne 0x10011411
mov ecx, dword [ebp + 8]
sub ecx, edx
lea esi, [edx + eax + 2]
mov byte [ebx], 0xa
rep movsb byte es:[edi], byte [esi]
cmp byte [ebx], 0x5c
jne 0x10011449
lea edi, [edx + eax + 1]
cmp byte [edi], 0x74
jne 0x1001142d
mov ecx, dword [ebp + 8]
sub ecx, edx
lea esi, [edx + eax + 2]
mov byte [ebx], 9
rep movsb byte es:[edi], byte [esi]
cmp byte [ebx], 0x5c
jne 0x10011449
lea edi, [edx + eax + 1]
cmp byte [edi], 0x22
jne 0x10011449
mov byte [ebx], 0x22
mov ecx, dword [ebp + 8]
sub ecx, edx
lea esi, [edx + eax + 2]
rep movsb byte es:[edi], byte [esi]
inc edx
cmp edx, dword [ebp + 8]
jb 0x100113c8
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1001201a
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
test ecx, ecx
je 0x100120b7
test edi, edi
je 0x100120b7
mov eax, edi
shr eax, 2
xor edx, edx
lea ecx, [ecx + eax*4]
neg eax
push esi
je 0x1001205c
mov esi, dword [ecx + eax*4]
imul esi, esi, 0xcc9e2d51
rol esi, 0xf
imul esi, esi, 0x1b873593
xor edx, esi
rol edx, 0xd
imul edx, edx, 5
add edx, 0xe6546b64
inc eax
jne 0x10012039
mov eax, edi
and eax, 3
xor esi, esi
dec eax
je 0x1001207c
dec eax
je 0x10012073
dec eax
jne 0x10012092
movzx esi, byte [ecx + 2]
shl esi, 0x10
movzx eax, byte [ecx + 1]
shl eax, 8
xor esi, eax
movzx eax, byte [ecx]
xor eax, esi
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor edx, eax
xor edx, edi
mov eax, edx
shr eax, 0x10
xor eax, edx
imul eax, eax, 0x85ebca6b
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul ecx, ecx, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop esi
ret
xor eax, eax
ret
Function at 0x10014558
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x44
mov esi, eax
pop eax
mov edi, ecx
call fcn.1001d380
mov eax, esp
test eax, eax
je 0x10014584
push 0x96
push 0x40
mov edx, 0x10025eb0
call fcn.1001139a
lea edx, [ebx - 2]
xor ecx, ecx
test edx, edx
jle 0x100145ec
movzx edx, byte [edi + ecx]
shr edx, 2
mov dl, byte [edx + eax]
mov byte [esi], dl
movsx edx, byte [edi + ecx]
movzx ebx, byte [edi + ecx + 1]
and edx, 3
shl edx, 4
shr ebx, 4
or edx, ebx
mov dl, byte [edx + eax]
mov byte [esi + 1], dl
movsx ebx, byte [edi + ecx + 1]
movzx edx, byte [edi + ecx + 2]
shr edx, 6
and ebx, 0xf
shl ebx, 2
or edx, ebx
mov dl, byte [edx + eax]
mov ebx, dword [ebp + 8]
mov byte [esi + 2], dl
movsx edx, byte [edi + ecx + 2]
and edx, 0x3f
mov dl, byte [edx + eax]
mov byte [esi + 3], dl
add ecx, 3
lea edx, [ebx - 2]
add esi, 4
cmp ecx, edx
jl 0x1001458d
cmp ecx, ebx
jge 0x1001463f
add edi, ecx
movzx edx, byte [edi]
shr edx, 2
mov dl, byte [edx + eax]
dec ebx
mov byte [esi], dl
cmp ecx, ebx
movsx ecx, byte [edi]
jne 0x10014616
and ecx, 3
add ecx, ecx
mov al, byte [eax + ecx*8]
mov byte [esi + 1], al
mov byte [esi + 2], 0x3d
jmp 0x10014638
movzx edx, byte [edi + 1]
and ecx, 3
shl ecx, 4
shr edx, 4
or ecx, edx
mov cl, byte [ecx + eax]
mov byte [esi + 1], cl
movsx ecx, byte [edi + 1]
and ecx, 0xf
mov al, byte [eax + ecx*4]
mov byte [esi + 2], al
add esi, 3
mov byte [esi], 0x3d
inc esi
mov byte [esi], 0
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x10015dcd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
jne 0x10015ddf
xor eax, eax
jmp 0x10015eaf
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x10015e93
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10021ee0]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10021ee0]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10021ee0]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10021ee0]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10021ee0]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10021ee0]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10021ee0]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10021ee0]
add ecx, 8
sub edi, 8
dec esi
jne 0x10015df6
pop ebx
test edi, edi
je 0x10015eac
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x10021ee0]
inc ecx
dec edi
jne 0x10015e97
not eax
pop esi
pop edi
pop ebp
ret 4
Function at 0x10018aee
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, eax
xor edi, edi
mov dword [esi + 0x6af78], edi
cmp dword [esi + 0x6af70], edi
jne 0x10018b1d
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.1001d16c
mov eax, ebx
movzx ecx, word [eax*8 + 0x100206e2]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax*8 + 0x100206e0]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax*8 + 0x100206e4]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax*8 + 0x100206e6]
add esp, 0xc
mov dword [esi + 0x6af94], eax
cmp ebx, 2
jg 0x10018b80
mov eax, dword [ebp + 0xc]
or word [eax], 4
jmp 0x10018b8c
cmp ebx, 8
jl 0x10018b8c
mov eax, dword [ebp + 0xc]
or word [eax], 2
push 0x10000
lea ebx, [esi + 0x1af70]
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
mov dword [esi + 0x6af90], eax
cmp eax, edi
je 0x10018bee
cmp eax, 0xffffffff
je 0x10018bee
mov dword [esi + 0x6af8c], edi
cmp eax, 0x106
jae 0x10018bc9
call fcn.10018d48
mov dword [esi + 0x6af7c], edi
xor eax, eax
movzx ecx, byte [ebx + eax]
shl edi, 5
xor edi, ecx
and edi, 0x7fff
inc eax
mov dword [esi + 0x6af7c], edi
cmp eax, 2
jb 0x10018bd1
jmp 0x10018bfe
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10018e56
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x1001904e
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0x10018ed0
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0x10018f12
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0x10018f12
mov ecx, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], ecx
jbe 0x10018efa
mov dword [esi + 0x6afa0], ecx
push dword [ebp - 4]
mov edx, esi
call fcn.10018c05
mov ebx, eax
mov eax, dword [esi + 0x6af90]
cmp ebx, eax
jbe 0x10018f12
mov ebx, eax
push esi
cmp ebx, 3
jb 0x10018fd2
mov edx, dword [esi + 0x6af84]
sub edx, dword [esi + 0x6af88]
lea ecx, [ebx - 3]
call fcn.100185b0
sub dword [esi + 0x6af90], ebx
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x6af90]
cmp ebx, dword [esi + 0x6af98]
ja 0x10018f9f
cmp eax, 3
jb 0x10018f9f
dec ebx
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, edi
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, edi
dec ebx
mov dword [esi + edx*4 + 0x2af70], ecx
mov eax, dword [esi + 0x6af7c]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x10018f4d
jmp 0x10018ff0
add dword [esi + 0x6af84], ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + esi + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, edi
mov dword [esi + 0x6af7c], edx
jmp 0x10018ff6
mov eax, dword [esi + 0x6af84]
movzx ecx, byte [eax + esi + 0x1af70]
xor edx, edx
call fcn.100185b0
dec dword [esi + 0x6af90]
mov dword [ebp - 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp - 8], 0
je 0x1001902f
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x1001900f
lea edx, [ecx + esi + 0x1af70]
jmp 0x10019011
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 0
sub eax, ecx
push edx
mov ecx, esi
call fcn.100183ef
mov eax, dword [esi + 0x6af84]
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x10019040
call fcn.10018d48
cmp dword [esi + 0x6af90], 0
jne 0x10018e80
pop edi
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x10019061
lea edx, [ecx + esi + 0x1af70]
jmp 0x10019063
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 1
sub eax, ecx
push edx
mov ecx, esi
call fcn.100183ef
pop esi
pop ebx
leave
ret
Function at 0x10019c01
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
jne 0x10019c13
xor eax, eax
jmp 0x10019ce3
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x10019cc7
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10020730]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10020730]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10020730]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10020730]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10020730]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10020730]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10020730]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x10020730]
add ecx, 8
sub edi, 8
dec esi
jne 0x10019c2a
pop ebx
test edi, edi
je 0x10019ce0
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x10020730]
inc ecx
dec edi
jne 0x10019ccb
not eax
pop esi
pop edi
pop ebp
ret 4
Function at 0x1001ace9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
mov esi, eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
cmp esi, edi
je 0x1001aded
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001ad06
sub eax, edx
je 0x1001aded
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001ad1a
push ebx
lea ecx, [ebp - 8]
push ecx
sub eax, edx
push esi
call fcn.1001464c
mov ebx, eax
cmp ebx, edi
je 0x1001adec
cmp dword [ebp - 8], edi
je 0x1001ade5
mov ecx, ebx
call fcn.1001acb5
test eax, eax
je 0x1001ade5
lea eax, [ebx + 1]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001ad56
movzx ecx, byte [ebx]
sub eax, esi
lea esi, [ecx + eax + 2]
call fcn.10011d3d
mov dword [ebp - 4], eax
cmp eax, edi
je 0x1001ade5
xor ecx, ecx
cmp byte [ebx], cl
jbe 0x1001adaa
mov eax, dword [0x1002889c]
xor edx, edx
push 0x19
pop esi
div esi
mov eax, dword [ebp - 4]
add dl, 0x61
mov byte [ecx + eax], dl
mov eax, dword [0x1002889c]
add eax, dword [ebx + 8]
mov dword [0x1002889c], eax
xor eax, dword [ebx + 0xc]
inc ecx
mov dword [0x1002889c], eax
movzx edx, byte [ebx]
cmp ecx, edx
jl 0x1001ad7d
mov edi, dword [ebp - 4]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001adae
mov esi, 0x100223d4
lea eax, [ebx + 1]
movsw word es:[edi], word [esi]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001adc2
mov edi, dword [ebp - 4]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1001adcf
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, ebx
call fcn.10011df1
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x1001be09
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
test edx, edx
jle 0x1001be92
mov ecx, dword [ebp + 8]
push ebx
sub ecx, esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
jmp 0x1001be29
mov ecx, dword [ebp - 0xc]
mov cl, byte [ecx + esi]
mov byte [ebp - 1], cl
mov cl, byte [eax + 0x100]
movzx edi, cl
add edi, eax
mov dl, byte [edi]
mov byte [ebp + 0xf], dl
mov dl, byte [eax + 0x101]
add dl, byte [ebp + 0xf]
mov dword [ebp - 0x10], edi
movzx edi, dl
add edi, eax
mov bl, byte [edi]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x10]
mov byte [edi], bl
mov edi, dword [ebp - 0x14]
mov byte [ebp + 0xb], bl
mov bl, byte [ebp + 0xf]
mov byte [edi], bl
movzx edi, byte [ebp + 0xb]
movzx ebx, bl
add edi, ebx
mov bl, byte [ebp - 1]
and edi, 0xff
xor bl, byte [edi + eax]
inc cl
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x1001be26
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x412a20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a2edb
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.00497687
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x412aa2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00495098
mov eax, dword [eax]
push 0x56fccc
push eax
call fcn.00487244
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00497912
test bl, bl
je 0x412aa2
push 0x56fccc
lea ecx, [esp + 0xc]
call fcn.00497ca2
push 0x56fcd8
lea ecx, [esp + 0xc]
call fcn.00497ca2
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 0x412ade
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00497912
jmp 0x412ba9
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 0x412b62
lea edx, [esp + 0x7c]
push 0x56fcd4
push edx
call fcn.00487244
add esp, 8
test eax, eax
je 0x412b62
lea eax, [esp + 0x7c]
push 0x56fcd0
push eax
call fcn.00487244
add esp, 8
test eax, eax
je 0x412b62
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 0x412af2
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.00497912
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 0x4133b0
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 0x413412
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 0x413420
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a2f5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x57f098]
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 0x413558
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x413486
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00497912
xor eax, eax
jmp 0x4135cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00497a4f
push esi
lea ecx, [esp + 0xc]
call fcn.00497cde
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 0x4135ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004133b0
test eax, eax
jne 0x4135ad
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.004133b0
test eax, eax
jne 0x4135ad
lea eax, [esp + 0x14]
push 0x56fce8
push eax
call fcn.004882c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41358c
lea ecx, [esp + 0x14]
push 0x56fce4
push ecx
call fcn.00488240
mov esi, eax
add esp, 8
test esi, esi
jne 0x41358c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41358f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004979ff
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41349e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00497912
xor eax, eax
jmp 0x4135cf
mov byte [esi], 0
push 0x56fce0
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.00497912
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 0x426560
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 0x4265ce
cmp si, 0x69
ja 0x4265ce
add esi, 0xffd0
cmp si, 0x11
je 0x42659e
push 0x11
call edi
test ax, ax
jge 0x42659e
or esi, 0x2000
cmp si, 0x10
je 0x4265b3
push 0x10
call edi
test ax, ax
jge 0x4265b3
or esi, 0x4000
cmp si, 0x12
je 0x4265c8
push 0x12
call edi
test ax, ax
jge 0x4265c8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4265db
mov esi, 0xbd
jmp 0x42658f
cmp si, 0x6e
jne 0x4265e8
mov esi, 0xbe
jmp 0x42658f
cmp si, 0x6f
jne 0x426589
mov esi, 0xbf
jmp 0x42658f

Function at 0x427ea0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x58f8c8]
xor edx, edx
cmp eax, edx
jne 0x427ec6
xor eax, eax
mov byte [eax + 0x58f7c8], al
inc eax
cmp eax, 0x100
jl 0x427eae
mov dword [0x58f8c8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x58f7c8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x427f57
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 0x427f2a
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 0x427ef8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x427f60
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 0x427fb3
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 0x427f9a
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