joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008b050
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x20]
push esi
push edi
add eax, 0xc
mov dword [ebp - 0x10], 0
push eax
mov dword [ebp - 0xc], 0xf
mov byte [ebp - 0x20], 0
call fcn.100b5850
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov esi, dword [ebp - 0xc]
mov eax, esi
cmovae ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x18]
mov edx, dword [ebp - 0x10]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x1008b0c3
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
lea esi, [eax + edx]
push esi
call fcn.100c21a0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x1008b0d3
mov byte [ebp - 8], 0
lea ecx, [ebp - 0x20]
push dword [ebp - 8]
push edi
call fcn.100b4330
push str.logins.json
lea ecx, [ebp - 0x20]
call fcn.100b2580
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 8]
call fcn.100b2640
mov edx, dword [ebp - 0xc]
cmp edx, 0x10
jb 0x1008b120
mov ecx, dword [ebp - 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008b116
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008b214
push edx
push ecx
call fcn.100becc4
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 0x100fb3cc
cmovae eax, dword [ebp + 8]
push eax
call fcn.100c885d
add esp, 8
test eax, eax
je 0x1008b1d4
push eax
call fcn.100c88eb
push 0x186a0
call fcn.100c5123
add esp, 8
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov esi, eax
cmovae ecx, dword [ebp + 8]
push 0
push 0x80
push 4
push 0
push 7
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x1008b192
push 0
lea ecx, [ebp - 8]
push ecx
push 0x186a0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1008b1c2
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008b1b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008b219
push edx
push ecx
call fcn.100becc4
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100be769
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1008b204
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008b1fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008b21e
push edx
push ecx
call fcn.100becc4
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100be769
mov esp, ebp
pop ebp
ret
call fcn.100cb6d0
call fcn.100cb6d0
call fcn.100cb6d0
int3
Function at 0x198bcf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13cd000]
push edi
or ebp, 0xffffffff
jmp 0x198bd12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x198bd19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x198bd08
mov eax, 1
add ebx, ebx
jne 0x198bd2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x198bd3c
jne 0x198bd5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x198bd5b
dec eax
add ebx, ebx
jne 0x198bd48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x198bd20
add ebx, ebx
jne 0x198bd57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x198bdad
xor ecx, ecx
sub eax, 3
jb 0x198bd73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x198bde2
sar eax, 1
mov ebp, eax
jmp 0x198bd7e
add ebx, ebx
jne 0x198bd7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x198bd4c
inc ecx
add ebx, ebx
jne 0x198bd8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x198bd4c
add ebx, ebx
jne 0x198bd99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x198bd8e
jne 0x198bdaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x198bd8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x198bdcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x198bdbe
jmp 0x198bd0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x198bdcc
add edi, ecx
jmp 0x198bd0e
pop esi
mov edi, esi
mov ecx, 0x20752
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x198bdea
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x198bdef
lea edi, [esi + 0x1587000]
mov eax, dword [edi]
or eax, eax
je 0x198be57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x242ba54]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x242bb98]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x198be15
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x242bba0]
or eax, eax
je 0x198be51
mov dword [ebx], eax
add ebx, 4
jmp 0x198be32
call dword [esi + 0x242bb9c]
mov ebp, dword [esi + 0x242bba4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x198be8b
sub esp, 0xffffff80
jmp 0x9b1c38
Function at 0x424130
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 0x424136
ret
Function at 0x4334fd
Capabilities:
Hash data using sha1

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0x60
push dword [ebp + 0xc]
call dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
jne 0x433514
xor eax, eax
jmp 0x43353f
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
pop ebp
ret 8

Function at 0x44a4e5
Capabilities:
Encode data using xor

Disassembly:
jg 0x44a53c
pop edi
das
add byte [ecx], cl
dec esi
add byte [esi], al
add dh, byte [eax]
or eax, 0xa00
add byte [eax], dh
add byte [ecx], al
add byte [eax], ah
push edx
xchg esi, eax
xchg dword [ebp - 0xa], esp
dec esi
cmp al, byte [eax]
and byte [eax], al
pop ebp
mov word [ebx + 0x10], ds
bound ecx, qword [edx + ebx*4 + 0x7f168bc1]
push ebp
pop edi
das
add byte [ecx], cl
dec esi
add byte [esi], al
add dh, byte [eax]
or eax, 0xa00
add byte [eax], al
add byte [eax], ch
add byte [ecx], al
add byte [ecx + 0x3188c55b], cl
pop ecx
and eax, 0x63ff0c8d
imul ebp, dword [eax], 0x57
sbb eax, 0xd88bd55c
invalid
aad 0x8b
fmul dword [edi + 0x6e90539f]
xchg dword [ebp - 0xa], esp
dec esi
add dh, byte [eax]
or eax, 0xa00
add byte [eax + eax], dh
add dword [eax], eax
fmul dword [edi + 0x6587539f]
test byte [esi + 0x3a], 0
and byte [eax], al
and al, byte [eax]
and eax, 0x22003200
add byte [eax], ah
add dh, cl
dec esi
and byte [eax], al
and al, byte [eax]
and eax, 0x22003100
add byte [eax], ah
add al, bl
invalid
Function at 0x451964
Capabilities:
Encode data using xor

Disassembly:
or eax, 0x32313032
xor esi, dword [ecx]
xor byte [edi], dh
xor byte [eax], dh
xor byte [eax], dh
pop edx
xor byte [eax + 0x31], dh
sub esi, dword [eax]
sub dword [esi], eax
add edx, dword [ebp + 4]
or edx, dword [ebx]
and al, byte [ebx + 0x6f]
jo 0x4519fc
jb 0x4519ee
push 0x63282074
sub dword [eax], esp
xor dword [ecx], edi
cmp dword [edi], esi
and byte [ebp + 0x69], cl
arpl word [edx + 0x6f], si
jae 0x451a08
je 0x4519bc
inc ebx
outsd dx, dword [esi]
jb 0x451a10
xor dword cs:[esi], ebx
xor byte [esi + eax], bl
add edx, dword [ebp + 4]
or edx, dword [ebx]
adc eax, 0x7263694d
outsd dx, dword [esi]
jae 0x451a22
je 0x4519d6
inc ebx
outsd dx, dword [esi]
jb 0x451a2a
outsd dx, dword [esi]
jb 0x451a1e
popal
je 0x451a28
outsd dx, dword [esi]
outsb dx, byte [esi]
xor dword [ecx], esp
xor byte [edi], bl
push es
add edx, dword [ebp + 4]
add edx, dword [ebx]
sbb byte [ebp + 0x69], cl
arpl word [edx + 0x6f], si
jae 0x451a42
je 0x4519f6
push edx
outsd dx, dword [esi]
outsd dx, dword [esi]
je 0x4519fb
inc ecx
jne 0x451a52
push 0x7469726f
jns 0x451a15
add byte [ecx], 0x22
xor byte [0x862a0906], cl
dec eax
xchg bh, dh
or eax, 0x5010101
add byte [ebx], al
add byte [ecx], 0xf
add byte [eax], dh
add byte [ecx], 0xa
xor byte [edx - 0x7dfdf5ff], al
add dword [ecx], eax
add byte [ecx + 0x70c1bd02], ch
out 0x3b, al
add al, byte [edx - 0x56fffeff]
add bh, byte [ebp + 0x3be670c1]
sal dword [eax - 0x1a], 0x3b
dec esi
sbb ebp, dword [eax]
lahf
xchg edi, eax
js 0x451a72
xor dl, ch
mov byte [0x5f258da9], al
invalid
invalid
pop edi
clc
invalid
ljmp 0xf85f:0x258da9a2
dec esp
mov dword [0xa29dfeb7], eax
and byte [esi], bh
jl 0x451a79
popfd
mov byte [0x517c3e20], al
mov byte [0x608fa29b], al
xor ch, byte [ebx - 0x2f]
inc edx
jns 0x451a22
mov byte [0x6b32608f], al
rol dword [edx + 0x64], 1
jns 0x451a22
lodsb al, byte [esi]
jbe 0x451a00
push esp
invalid
mov bl, 0xc5
imul edi, dword [edx + 0x62], 0x23
salc
sbb eax, 0x10fde3c
xchg edx, eax
call 0x2e04deea
lcall 0x9926, 0x689a
sar byte [edx], 1
mov edi, 0x9a9a662d
push 0x3ad09926
sub al, 0xbf
or al, 0xb5
pop eax
rol dword es:[esi - 0x19], 0xa
cmp byte ds:[esi + 0x3928a92c], dl
test al, 0xec
dec ecx
add dword [edx - 0x1d], 0xffffff84
jecxz 0x4519f8
btc dword [edx - 0x539eaa94], ebx
popal
lodsb al, byte [esi]
cmp byte [ecx + 0x60], 0x2d
ja 0x451ace
jmp 0x3ba9cf20
cmp al, 0x56
call [ebx - 5]
movsb byte es:[edi], byte [esi]
or cl, byte [eax]
cmpsb byte [esi], byte es:[edi]
rol byte [ecx - 0x4910a8aa], cl
cmp ebx, dword [esi + 0x16]
xor dword [edi + 4], 0xaebef6da
adc byte [ebp + 0x7fcdb0fe], 0xd6
cmpsd dword [esi], dword es:[edi]
sbb dh, byte [edx + 0x5c]
cmp al, 0xca
mov esp, 0x22a308f0
xor byte [ebx - 0x4c367afa], dh
and byte [edi + 0x13], dh
test edi, ebx
add al, byte [ebx]
add dword [eax], eax
add dword [ebx - 0x7ecf577f], esp
movsd dword es:[edi], dword [esi]
xor byte [ecx + 0x550306a2], al
sbb eax, 0x9a810401
xor byte [ecx + 0x5b108097], al
sal byte [eax - 0x11], 1
imul esi, dword [edx - 0x62], 0x147e5123
mov dl, 0x4d
invalid
Function at 0x459a31
Capabilities:
Parse pe header

Disassembly:
push 0x1c
push 0x1006bc0
call fcn.004535b0
mov dword [ebp - 0x1c], 0x57
mov esi, dword [ebp + 8]
xor ecx, ecx
cmp esi, ecx
je 0x459ae9
mov edi, dword [ebp + 0x10]
cmp edi, ecx
je 0x459ae9
cmp dword [ebp + 0x14], ecx
je 0x459ae9
mov eax, dword [ebp + 0xc]
cmp eax, ecx
je 0x459ae9
lea ebx, [esi + 0x10040]
add eax, esi
mov dword [ebp - 0x24], eax
mov dword [edi], ecx
mov dword [edi + 4], ecx
cmp eax, ebx
jae 0x459a82
mov ebx, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x28], esi
lea eax, [esi + 0x40]
cmp eax, ebx
jae 0x459ae5
cmp dword [ebp - 0x1c], 0x57
jne 0x459ae5
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], esi
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x20], eax
cmp word [esi], 0x5a4d
jne 0x459ad7
lea ecx, [eax + 0xf8]
cmp ecx, dword [ebp - 0x24]
jae 0x459ad7
cmp dword [eax], 0x4550
jne 0x459ad7
cmp word [eax + 4], 0x14c
jne 0x459ad7
push edi
push esi
call fcn.0045992f
mov eax, dword [edi]
or eax, dword [edi + 4]
je 0x459ad7
and dword [ebp - 0x1c], 0
add esi, dword [ebp + 0x14]
xor ecx, ecx
jmp 0x459a85
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
call fcn.004535eb
ret 0x10
Function at 0x40e7f0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a2ac
xor eax, eax
push ebp
push 0x40e8b0
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040b318
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b4c8
mov eax, dword [ebx]
call fcn.0040e6a0
test al, al
jne 0x40e88d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040b318
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b4c8
mov eax, dword [ebx]
call fcn.0040e6a0
test al, al
jne 0x40e88d
mov eax, ebx
call fcn.0040a1c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e8b7
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a228
lea eax, [ebp - 4]
call fcn.0040a1c8
ret

Function at 0x4103b4
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x415048
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.00415034
add esp, 0x208
pop ebx
ret

Function at 0x41b6fc
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
xor esi, eax
cmp dword [0x6caae3], ebp
ja 0x41b708
sub eax, ebx
mov esi, esp
xor edx, ebp
call fcn.004082cb
not esi
ror ebx, 0x13
call fcn.006377e4
or dword [0x6ce760], ecx
add ebx, ebp
neg esi
dec edx
call fcn.004c9f94
or dword [0x6ce6d4], eax
mov edi, dword [0x6c8c55]
dec ebx
or esi, ebp
add dword [0x6ce4ee], 0xa8aa908c
Function at 0x422268
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4222c1
test eax, edx
je 0x4222c4
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x42227f
movzx eax, word [eax]
sub eax, ecx
jmp 0x4222a6
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 0x4222a7
add ecx, 4
js 0x422297
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4222a4
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4222a6
xor eax, eax
ret
test eax, eax
je 0x4222d0
test edx, edx
jne 0x422270
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4237a8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x4237d5
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x4238a8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0040b278
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x423912
test ah, 4
je 0x42390b
test bl, bl
jne 0x4238d0
mov al, 1
jmp 0x423939
test al, 0x10
je 0x4238d8
xor eax, eax
jmp 0x423939
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x4238fc
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x423939
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x423939
test al, 0x10
sete al
jmp 0x423939
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x423933
cmp ebx, 3
je 0x423933
cmp ebx, 0x7b
je 0x423933
mov eax, esi
call fcn.00423868
test al, al
jne 0x423937
xor eax, eax
jmp 0x423939
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x423a20
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.0040b278
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x423a75
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x423a6f
test ah, 4
je 0x423a6f
test al, 0x10
je 0x423a6f
mov eax, esi
call fcn.0040b278
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x423a75
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x41e450
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4afa6b
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.004a1f8e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41e4d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049f3b3
mov eax, dword [eax]
push 0x529d1c
push eax
call fcn.004913c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a2219
test bl, bl
je 0x41e4d2
push 0x529d1c
lea ecx, [esp + 0xc]
call fcn.004a25f5
push 0x529d28
lea ecx, [esp + 0xc]
call fcn.004a25f5
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 0x41e50e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a2219
jmp 0x41e5d9
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 0x41e592
lea edx, [esp + 0x7c]
push 0x529d24
push edx
call fcn.004913c4
add esp, 8
test eax, eax
je 0x41e592
lea eax, [esp + 0x7c]
push 0x529d20
push eax
call fcn.004913c4
add esp, 8
test eax, eax
je 0x41e592
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 0x41e522
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.004a2219
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 0x41ede0
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 0x41ee42
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 0x41ee50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4afaeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x536400]
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 0x41ef88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41eeb6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a2219
xor eax, eax
jmp 0x41efff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a23a2
push esi
lea ecx, [esp + 0xc]
call fcn.004a2631
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 0x41efdd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0041ede0
test eax, eax
jne 0x41efdd
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.0041ede0
test eax, eax
jne 0x41efdd
lea eax, [esp + 0x14]
push 0x529d38
push eax
call fcn.004925b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41efbc
lea ecx, [esp + 0x14]
push 0x529d34
push ecx
call fcn.00492530
mov esi, eax
add esp, 8
test esi, esi
jne 0x41efbc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41efbf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a2352
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41eece
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a2219
xor eax, eax
jmp 0x41efff
mov byte [esi], 0
push 0x529d30
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.004a2219
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 0x4345b0
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 0x43461e
cmp si, 0x69
ja 0x43461e
add esi, 0xffd0
cmp si, 0x11
je 0x4345ee
push 0x11
call edi
test ax, ax
jge 0x4345ee
or esi, 0x2000
cmp si, 0x10
je 0x434603
push 0x10
call edi
test ax, ax
jge 0x434603
or esi, 0x4000
cmp si, 0x12
je 0x434618
push 0x12
call edi
test ax, ax
jge 0x434618
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43462b
mov esi, 0xbd
jmp 0x4345df
cmp si, 0x6e
jne 0x434638
mov esi, 0xbe
jmp 0x4345df
cmp si, 0x6f
jne 0x4345d9
mov esi, 0xbf
jmp 0x4345df

Function at 0x436000
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5473f0]
xor edx, edx
cmp eax, edx
jne 0x436026
xor eax, eax
mov byte [eax + 0x5472f0], al
inc eax
cmp eax, 0x100
jl 0x43600e
mov dword [0x5473f0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5472f0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4360b7
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 0x43608a
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 0x436058
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x436130
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 0x436183
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 0x43616a
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