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

Disassembly:
cmp dword [0x4151c4], 0
jne 0x403a18
call fcn.004039e0
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x403a45
test cl, 7
je 0x403a45
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
dec esi
inc ecx
jmp 0x403a26
cmp esi, 8
jb 0x403ac9
mov edi, esi
shr edi, 3
xor eax, dword [ecx]
add ecx, 8
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
sub esi, 8
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
mov edx, eax
movzx eax, dl
mov eax, dword [eax*4 + 0x4151c0]
xor eax, dword [ecx - 4]
shr edx, 8
xor eax, edx
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4151c0]
dec edi
jne 0x403a4f
xor edx, edx
test esi, esi
jbe 0x403ae9
push ebx
movzx edi, byte [edx + ecx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x4151c0]
inc edx
cmp edx, esi
jb 0x403ad0
pop ebx
pop edi
pop esi
ret 0xc
Function at 0x40b064
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
push 0x20
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 8], ecx
call fcn.0040b978
xor eax, eax
push 4
xor ecx, ecx
mov dword [ebp + 8], eax
xor ebx, ebx
pop edx
cmp eax, 0xa
jg 0x40b172
cmp ebx, edx
jge 0x40b0b9
lea esi, [ebp + ebx*4 - 0x28]
mov dword [ebp - 4], esi
cmp ecx, edx
jge 0x40b0bb
mov edi, dword [ebp - 8]
lea esi, [ecx + eax*4]
lea edi, [edi + esi*4 + 0x14]
mov esi, dword [ebp - 4]
add dword [ebp - 4], edx
inc ebx
inc ecx
cmp ebx, edx
movsd dword es:[edi], dword [esi]
jl 0x40b09e
cmp ecx, edx
jne 0x40b0c3
inc eax
mov dword [ebp + 8], eax
xor ecx, ecx
cmp ebx, edx
jl 0x40b08a
cmp eax, 0xa
jg 0x40b172
mov dword [ebp - 4], 0x41aeb0
movzx esi, byte [ebp - 0x1b]
mov al, byte [ebp - 0x28]
xor al, byte [esi + 0x41afd0]
movzx esi, byte [ebp - 0x1a]
mov bl, byte [esi + 0x41afd0]
movzx esi, byte [ebp - 0x19]
xor byte [ebp - 0x27], bl
mov bl, byte [esi + 0x41afd0]
movzx esi, byte [ebp - 0x1c]
xor byte [ebp - 0x26], bl
mov bl, byte [esi + 0x41afd0]
mov esi, dword [ebp - 4]
xor al, byte [esi]
xor byte [ebp - 0x25], bl
inc dword [ebp - 4]
push 3
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x24]
pop edi
xor esi, esi
mov bl, byte [eax + esi - 4]
xor byte [eax + esi], bl
inc esi
cmp esi, edx
jl 0x40b11e
add eax, edx
dec edi
jne 0x40b11c
xor ebx, ebx
cmp dword [ebp + 8], 0xa
jg 0x40b172
cmp ebx, edx
jge 0x40b15b
lea eax, [ebp + ebx*4 - 0x28]
cmp ecx, edx
jge 0x40b15d
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 8]
lea esi, [ecx + esi*4]
lea edi, [edi + esi*4 + 0x14]
mov esi, eax
inc ebx
add eax, edx
inc ecx
cmp ebx, edx
movsd dword es:[edi], dword [esi]
jl 0x40b13f
cmp ecx, edx
jne 0x40b164
inc dword [ebp + 8]
xor ecx, ecx
cmp ebx, edx
jl 0x40b131
cmp dword [ebp + 8], 0xa
jle 0x40b0d7
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40b179
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
add ecx, 0x24
push 4
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 9
pop edi
xor eax, eax
mov ecx, dword [ebp - 4]
lea esi, [ebp + eax - 0x1c]
add ecx, 2
mov dword [ebp - 8], edi
movzx edx, byte [ecx + 1]
movzx ebx, byte [ecx - 1]
mov dl, byte [eax + edx*4 + 0x417eb0]
xor dl, byte [eax + ebx*4 + 0x4186b0]
movzx ebx, byte [ecx - 2]
xor dl, byte [eax + ebx*4 + 0x418ab0]
movzx ebx, byte [ecx]
xor dl, byte [eax + ebx*4 + 0x4182b0]
add ecx, edi
mov byte [esi], dl
add esi, edi
dec dword [ebp - 8]
jne 0x40b1a1
inc eax
cmp eax, edi
jl 0x40b194
push 0x10
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call fcn.0040b978
add dword [ebp - 4], 0x10
dec dword [ebp - 0xc]
jne 0x40b192
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40f3b4
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4
Function at 0x4f3c00
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
mov esi, dword [ecx]
mov edx, esi
dec esi
test edx, edx
je 0x4f3c3a
mov edx, dword [esp + 8]
xor ecx, ecx
mov cl, byte [edx]
inc edx
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x55b0c8]
xor ecx, eax
mov eax, ecx
mov ecx, esi
dec esi
test ecx, ecx
jne 0x4f3c18
pop esi
ret

Function at 0x4fd7b9
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
jne 0x4fd7e8
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
inc eax
imul eax, eax, 3
jmp 0x4fd86b
push ebx
xor eax, eax
cmp ecx, edi
push esi
mov dword [ebp + 8], edi
jle 0x4fd869
xor esi, esi
xor edx, edx
mov ecx, dword [ebp - 4]
cmp dword [ebp + 8], ecx
jge 0x4fd856
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
movsx ecx, byte [ebx + ecx]
inc dword [ebp + 8]
cmp ecx, 0xd
je 0x4fd851
cmp ecx, 0xa
je 0x4fd851
shl edx, 6
cmp ecx, 0x60
jle 0x4fd823
add ecx, 0xffffffb9
jmp 0x4fd83d
cmp ecx, 0x40
jle 0x4fd82d
add ecx, 0xffffffbf
jmp 0x4fd83d
cmp ecx, 0x3d
jne 0x4fd835
inc edi
jmp 0x4fd850
cmp ecx, 0x2f
jle 0x4fd841
add ecx, 4
or edx, ecx
jmp 0x4fd850
jne 0x4fd848
or edx, 0x3f
jmp 0x4fd850
cmp ecx, 0x2b
jne 0x4fd850
or edx, 0x3e
inc esi
cmp esi, 4
jne 0x4fd7f7
cmp esi, 4
jne 0x4fd892
lea ecx, [eax + 3]
mov esi, ecx
sub esi, edi
cmp esi, dword [ebp + 0x10]
jle 0x4fd887
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret
dec ecx
test edi, edi
je 0x4fd87e
mov esi, eax
sub esi, edi
add esi, 3
cmp ecx, esi
jge 0x4fd884
mov esi, dword [ebp + 0xc]
mov byte [ecx + esi], dl
shr edx, 8
cmp ecx, eax
jne 0x4fd86e
push 3
pop ecx
sub ecx, edi
add eax, ecx
mov ecx, dword [ebp - 4]
cmp dword [ebp + 8], ecx
jl 0x4fd7f3
jmp 0x4fd869
Function at 0x501b38
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x53093c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, dword [ebp + 8]
xor edx, edx
xor eax, eax
cmp edi, edx
mov dword [ebp - 0xc], ecx
je 0x530a01
cmp dword [ebp + 0xc], edx
mov dword [ebp - 4], edx
jbe 0x530a01
push ebx
push esi
jmp 0x530968
mov edi, dword [ebp + 8]
movzx esi, byte [edx + edi]
inc edx
shl esi, 8
cmp edx, dword [ebp + 0xc]
jae 0x53097e
movzx ebx, byte [edx + edi]
or esi, ebx
inc edx
jmp 0x530981
inc dword [ebp - 4]
shl esi, 8
cmp edx, dword [ebp + 0xc]
jae 0x530992
movzx edi, byte [edx + edi]
or esi, edi
inc edx
jmp 0x530995
inc dword [ebp - 4]
push 3
pop edi
cmp dword [ebp - 4], 0
je 0x5309a8
dec dword [ebp - 4]
mov byte [ebp + edi - 8], 0x3d
jmp 0x5309bd
mov ebx, dword [0x55d804]
mov ecx, esi
and ecx, 0x3f
mov cl, byte [ecx + ebx]
mov byte [ebp + edi - 8], cl
mov ecx, dword [ebp - 0xc]
shr esi, 6
dec edi
jns 0x530998
xor esi, esi
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x5309e2
cmp dword [ecx + 4], edi
jb 0x5309e2
mov edi, dword [ebp + 0x10]
mov byte [eax + edi], 0xd
inc eax
mov byte [eax + edi], 0xa
inc eax
and dword [ecx + 4], 0
mov bl, byte [ebp + esi - 8]
mov edi, dword [ebp + 0x10]
mov byte [eax + edi], bl
inc eax
inc esi
inc dword [ecx + 4]
cmp esi, 4
jl 0x5309c5
cmp edx, dword [ebp + 0xc]
jb 0x530965
pop esi
pop ebx
pop edi
leave
ret 0x10

Function at 0x530a06
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
push edi
je 0x530aba
cmp dword [ebp + 0x10], esi
je 0x530aba
mov ecx, dword [ebp + 0xc]
lea edi, [eax + ecx]
cmp eax, edi
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], esi
jae 0x530af0
xor eax, eax
xor edx, edx
cmp dword [ebp + 8], edi
jae 0x530aa6
mov ecx, dword [ebp + 8]
mov cl, byte [ecx]
inc dword [ebp + 8]
cmp cl, 9
jl 0x530a5b
cmp cl, 0xa
jle 0x530aa1
cmp cl, 0xd
je 0x530aa1
cmp cl, 0x20
je 0x530aa1
shl edx, 6
cmp cl, 0x60
jle 0x530a6b
movsx ecx, cl
sub ecx, 0x47
jmp 0x530a8d
cmp cl, 0x40
jle 0x530a78
movsx ecx, cl
sub ecx, 0x41
jmp 0x530a8d
cmp cl, 0x3d
jne 0x530a82
inc dword [ebp + 0xc]
jmp 0x530aa0
cmp cl, 0x2f
jle 0x530a91
movsx ecx, cl
add ecx, 4
or edx, ecx
jmp 0x530aa0
jne 0x530a98
or edx, 0x3f
jmp 0x530aa0
cmp cl, 0x2b
jne 0x530aa0
or edx, 0x3e
inc eax
cmp eax, 4
jb 0x530a3a
cmp eax, 4
jne 0x530af4
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 3]
mov ebx, eax
sub ebx, ecx
cmp ebx, dword [ebp + 0x14]
jbe 0x530adc
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
dec eax
test ecx, ecx
je 0x530ad3
mov ebx, esi
sub ebx, ecx
add ebx, 3
cmp eax, ebx
jae 0x530ad9
mov ebx, dword [ebp + 0x10]
mov byte [eax + ebx], dl
shr edx, 8
cmp eax, esi
jne 0x530ac3
push 3
pop eax
sub eax, ecx
add esi, eax
cmp dword [ebp + 8], edi
jb 0x530a36
mov eax, esi
jmp 0x530abc
neg eax
sbb eax, eax
not eax
and eax, esi
jmp 0x530abc
Function at 0x530b29
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x530b3b
xor eax, eax
jmp 0x530c03
mov eax, dword [ebp + 8]
mov edx, dword [eax]
push ebx
push esi
mov esi, dword [edx - 0xc]
add esi, edx
mov dword [ebp + 8], edi
jmp 0x530bf6
xor eax, eax
xor ebx, ebx
cmp edx, esi
jae 0x530bb7
mov cl, byte [edx]
inc edx
cmp cl, 9
jl 0x530b6e
cmp cl, 0xa
jle 0x530bb2
cmp cl, 0xd
je 0x530bb2
cmp cl, 0x20
je 0x530bb2
shl ebx, 6
cmp cl, 0x60
jle 0x530b7e
movsx ecx, cl
sub ecx, 0x47
jmp 0x530b9e
cmp cl, 0x40
jle 0x530b8b
movsx ecx, cl
sub ecx, 0x41
jmp 0x530b9e
cmp cl, 0x3d
jne 0x530b93
inc edi
jmp 0x530bb1
cmp cl, 0x2f
jle 0x530ba2
movsx ecx, cl
add ecx, 4
or ebx, ecx
jmp 0x530bb1
jne 0x530ba9
or ebx, 0x3f
jmp 0x530bb1
cmp cl, 0x2b
jne 0x530bb1
or ebx, 0x3e
inc eax
cmp eax, 4
jb 0x530b53
cmp eax, 4
jne 0x530c08
mov eax, dword [ebp + 8]
add eax, 3
mov ecx, eax
sub ecx, edi
cmp ecx, dword [ebp + 0x10]
jbe 0x530be9
xor eax, eax
jmp 0x530c01
dec eax
test edi, edi
je 0x530be0
mov ecx, dword [ebp + 8]
sub ecx, edi
add ecx, 3
cmp eax, ecx
jae 0x530be6
mov ecx, dword [ebp + 0xc]
mov byte [eax + ecx], bl
shr ebx, 8
cmp eax, dword [ebp + 8]
jne 0x530bcf
push 3
pop eax
sub eax, edi
add dword [ebp + 8], eax
cmp edx, esi
jb 0x530b4f
mov eax, dword [ebp + 8]
pop esi
pop ebx
pop edi
pop ebp
ret 0xc
neg eax
sbb eax, eax
not eax
and eax, dword [ebp + 8]
jmp 0x530c01
Function at 0x530c13
Capabilities:
Encode data using base64

Disassembly:
push 0x14
mov eax, 0x507213
call 0x5cfc02
mov edi, ecx
mov ebx, dword [ebp + 0xc]
and dword [ebp - 0x20], 0
test ebx, ebx
jne 0x530c3e
mov ecx, dword [ebp + 8]
push 0x517e10
call main
jmp 0x530d3e
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.005308d3
mov esi, eax
call 0x5b32b4
push eax
lea ecx, [ebp - 0x18]
call 0x5aa694
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x18]
call fcn.004f48de
xor ecx, ecx
xor edx, edx
cmp dword [ebp + 0x10], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], ecx
jbe 0x530d1e
jmp 0x530c7e
mov ebx, dword [ebp + 0xc]
movzx esi, byte [ecx + ebx]
inc ecx
shl esi, 8
cmp ecx, dword [ebp + 0x10]
jae 0x530c94
movzx ebx, byte [ecx + ebx]
or esi, ebx
inc ecx
jmp 0x530c97
inc dword [ebp - 0x10]
shl esi, 8
cmp ecx, dword [ebp + 0x10]
jae 0x530cab
mov ebx, dword [ebp + 0xc]
movzx ebx, byte [ecx + ebx]
or esi, ebx
inc ecx
jmp 0x530cae
inc dword [ebp - 0x10]
mov dword [ebp - 0x14], 3
cmp dword [ebp - 0x10], 0
je 0x530cc8
mov ebx, dword [ebp - 0x14]
dec dword [ebp - 0x10]
mov byte [ebp + ebx - 0x1c], 0x3d
jmp 0x530ce0
mov ebx, dword [0x55d804]
mov eax, esi
and eax, 0x3f
mov al, byte [eax + ebx]
mov ebx, dword [ebp - 0x14]
mov byte [ebp + ebx - 0x1c], al
mov eax, dword [ebp - 0x20]
shr esi, 6
dec dword [ebp - 0x14]
jns 0x530cb5
xor esi, esi
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x530d04
cmp dword [edi + 4], ebx
jb 0x530d04
mov byte [edx + eax], 0xd
inc edx
mov byte [edx + eax], 0xa
inc edx
and dword [edi + 4], 0
mov bl, byte [ebp + esi - 0x1c]
mov byte [edx + eax], bl
inc edx
inc esi
inc dword [edi + 4]
cmp esi, 4
jl 0x530cea
cmp ecx, dword [ebp + 0x10]
jb 0x530c7b
push edx
lea ecx, [ebp - 0x18]
call fcn.004f7532
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.004f48c0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004f4357
mov eax, dword [ebp + 8]
call 0x5cfcda
ret 0x10
Function at 0x40cee0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46d96b
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.00462571
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40cf62
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004602f0
mov eax, dword [eax]
push 0x52b210
push eax
call fcn.00452f24
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004627fc
test bl, bl
je 0x40cf62
push 0x52b210
lea ecx, [esp + 0xc]
call fcn.00462b8c
push 0x52ed84
lea ecx, [esp + 0xc]
call fcn.00462b8c
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 0x40cf9e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004627fc
jmp 0x40d069
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 0x40d022
lea edx, [esp + 0x7c]
push 0x52ed80
push edx
call fcn.00452f24
add esp, 8
test eax, eax
je 0x40d022
lea eax, [esp + 0x7c]
push 0x52ed7c
push eax
call fcn.00452f24
add esp, 8
test eax, eax
je 0x40d022
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 0x40cfb2
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.004627fc
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 0x40d860
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 0x40d8c2
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 0x40d8d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46d9eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x535368]
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 0x40da08
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40d936
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004627fc
xor eax, eax
jmp 0x40da7f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00462939
push esi
lea ecx, [esp + 0xc]
call fcn.00462bc8
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x52edbc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40da5d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040d860
test eax, eax
jne 0x40da5d
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 closesocket
mov ecx, edi
call fcn.0040d860
test eax, eax
jne 0x40da5d
lea eax, [esp + 0x14]
push 0x52ed98
push eax
call fcn.00453f60
mov esi, eax
add esp, 8
test esi, esi
jne 0x40da3c
lea ecx, [esp + 0x14]
push 0x52ed94
push ecx
call fcn.00453ee0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40da3c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40da3f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004628e9
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40d94e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004627fc
xor eax, eax
jmp 0x40da7f
mov byte [esi], 0
push 0x52ed90
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.004627fc
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 0x420890
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 0x4208fe
cmp si, 0x69
ja 0x4208fe
add esi, 0xffd0
cmp si, 0x11
je 0x4208ce
push 0x11
call edi
test ax, ax
jge 0x4208ce
or esi, 0x2000
cmp si, 0x10
je 0x4208e3
push 0x10
call edi
test ax, ax
jge 0x4208e3
or esi, 0x4000
cmp si, 0x12
je 0x4208f8
push 0x12
call edi
test ax, ax
jge 0x4208f8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42090b
mov esi, 0xbd
jmp 0x4208bf
cmp si, 0x6e
jne 0x420918
mov esi, 0xbe
jmp 0x4208bf
cmp si, 0x6f
jne 0x4208b9
mov esi, 0xbf
jmp 0x4208bf

Function at 0x422030
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5459d8]
xor edx, edx
cmp eax, edx
jne 0x422056
xor eax, eax
mov byte [eax + 0x5458d8], al
inc eax
cmp eax, 0x100
jl 0x42203e
mov dword [0x5459d8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5458d8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4220e7
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 0x4220ba
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 0x422088
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x422160
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 0x4221b3
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 0x42219a
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
Function at 0x428bf0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x428d88
cmp ebp, ebx
jle 0x428d88
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x428c4e
dec eax
or eax, 0xfffffff8
inc eax
je 0x428c55
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x428c64
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x428c6b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0046253d
add esp, 4
cmp eax, ebx
je 0x428c8c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0046253d
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x428d7e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x428d65
mov al, byte [edx]
cmp al, 0xc0
jbe 0x428d51
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x428d46
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x428d54
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x428d54
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x428cf0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x428ce1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x42bdb0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46f258
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x42bde9
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.00469eea
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.00469f36
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.0042be70
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.00469f73
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24