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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x7b6ab4
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x7b6a98
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x7b69ea
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x7b69c8
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x532e2f
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002020f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x14], 0
mov ebx, 1
mov dword [esp + 0x38], ebx
mov eax, dword [reloc.RASAPI32.dll_RasDialA]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0xa]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x24]
push edx
push eax
push ecx
mov byte [esp + 0x4c], 5
call fcn.005477d0
cmp eax, ebx
je 0x532e9e
push 0
push 0
push 0x100289f8
call fcn.00547385
mov esi, dword [esp + 0x40]
push 0x1002c2c4
mov ecx, esi
call fcn.005423a0
mov dword [esp + 0x14], ebx
jmp 0x532f29
push ecx
lea edx, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.005420a7
push ecx
lea eax, [esp + 0x50]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x44], 6
call fcn.005420a7
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x48], 7
call fcn.005420a7
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x4c], 8
call fcn.005420a7
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 5
push ecx
mov ecx, esi
call fcn.00532f86
mov esi, dword [esp + 0x40]
lea edx, [esp + 0x18]
push edx
mov ecx, esi
mov byte [esp + 0x3c], 9
call fcn.005420a7
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x38], 5
call fcn.00542332
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 4
call fcn.00542332
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 3
call fcn.00542332
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 2
call fcn.00542332
lea ecx, [esp + 0x48]
mov byte [esp + 0x38], bl
call fcn.00542332
lea ecx, [esp + 0x4c]
mov byte [esp + 0x38], 0
call fcn.00542332
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret 0x10

Function at 0x547ca8
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x10020957
call fcn.0053650e
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00545ef3
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [reloc.RASAPI32.dll_RasDialA]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], reloc.RASAPI32.dll_RasDialA
call fcn.0054246f
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.0054246f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x547d44
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x1002097f
call fcn.0053650e
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00545ef3
mov eax, dword [reloc.RASAPI32.dll_RasDialA]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], reloc.RASAPI32.dll_RasDialA
mov ecx, 0x1002c390
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.005479af
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.0054246f
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00535486
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0054241f
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.00542332
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x617cca
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 4]
add al, 0x19
sub esp, 4
jp 0x617d03
jnp 0x617ce6
pop esi
fdiv qword [edx + 0x15]
in al, 0x5b
test eax, 0x3d826bc8
xchg dword [esp], edx
lea esp, [esp + 1]
jmp 0x617cb2
mov edx, 0xf4674028
mov dword [esp], ecx
push word [esp + 1]
pop word [esp + 1]
add esp, 1
jmp 0x617dc5
mov edx, 0xf4674028
mov dword [esp], ecx
push word [esp + 1]
jmp 0x617dbd
sub bl, al
pop word [esp + 1]
add esp, 1
setg dh
lea esp, [esp + 3]
jmp 0x617d39

Function at 0x61f81f
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop ax
lea esp, [esp + 1]
jmp 0x61f899
mov ebp, dword [esp]
mov bp, 0x118f
xchg ebp, eax
mov al, byte [esp]
jmp 0x61f87b
mov dl, 0x6c
mov dh, ch
rdtsc
bswap edx
rdtsc
not dh
jmp 0x61fc12
mov ebp, 0xe19f0ac2
push edx
not dh
mov al, 0x36
mov ebp, 0x302ced24
mov ebp, dword [esp]
jmp 0x61f861
mov dword [esp], ebp
xchg ah, al
mov ebp, 0xbc5b9ee8
mov bp, word [esp]
mov bp, word [esp]
mov bp, word [esp]
jmp 0x61f827
mov byte [esp + 0x1d], ah
call fcn.0061f8e3
mov bp, word [esp]
mov dl, dh
xchg dx, bp
mov dx, word [esp]
pop edx
pushal
jmp 0x61f8fa

Function at 0x61f859
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushal
push word [esp + 0x1f]
lea esp, [esp + 2]
mov dword [esp + 1], eax
call fcn.0061f7ed
pushal
pushal
lea esp, [esp + 0x45]
jmp 0x61f80c

Function at 0x640090
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ax, word [esp]
not ecx
mov eax, esi
mov ecx, dword [esp]
setle al
jmp 0x6400e4

Function at 0x64aaf6
Capabilities:
Encode data using xor

Disassembly:
push dword [esp + 2]
lea esp, [esp + 8]
test esi, esi
jmp 0x64a942

Function at 0x6e2930
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ecx, ebp
xchg ch, dl
cpuid
jmp 0x6e293c
mov ax, dx
xchg word [esp], bp
mov ah, byte [esp + 2]
lea ebp, [ebx + edi]
mov dx, word [esp + 3]
xchg word [esp], di
jmp 0x6e29a8
push word [esp + 2]
mov al, 0x6e
mov edi, 0xb447e99c
lea ebx, [edx + edi]
mov bl, 0xe8
jmp 0x6e2968
mov bx, word [esp + 4]
lea edi, [ecx + 0x1b]
mov bx, word [esp]
mov ebx, esi
mov dx, bx
mov edx, 0xa0850582
jmp 0x6e2990
Function at 0x6e53c5
Capabilities:
Execute anti-debugging instructions

Disassembly:
call 0x6e53c5
push ebx
popal
outsb dx, byte gs:[esi]
imul ebp, dword [bp + 0x65], 0x69685320
insb byte es:[edi], dx
outsb dx, byte gs:[esi]
and byte [esi + 0x32], dh
xor dword cs:[esi], ebp
cmp dword [esi], ebp
xor byte [eax], al
pushfd
sub esp, 0x1a
jmp 0x6e5402
mov dword [esp + 3], esi
lea esp, [esp + 0x10]
pushal
xchg ebx, eax
cmc
rdtsc
jmp 0x6e5599
pop dword [esp + 0xa]
mov dword [esp + 3], esi
cld
pop word [esp + 0x11]
pop dword [esp + 2]
jmp 0x6e53e1
mov ecx, eax
rcr ah, 1
sub esp, 0x1a
mov dword [esp + 0xd], esi
mov ecx, eax
pop dword [esp + 6]
jmp 0x6e54cb
mov al, 0x46
xchg esi, edi
lea edx, [edx + edi]
mov esi, 0xc3d4044
sub ax, 0xb648
setbe ch
jmp 0x6e542d
cld
mov bl, bh
mov al, byte [esp]
cmc
add ecx, ebp
lea ebx, [eax + edi]
jmp 0x6e544b
bswap edi
rdtsc
mov byte [esp + 1], dh
mov dword [esp], ecx
push esp
xchg dword [esp + 4], edi
jmp 0x6e555e
mov word [esp + 0x10], bx
lea ebp, [eax*4]
mov bp, word [esp + 6]
pop edi
lea esp, [esp + 9]
mov esi, ebp
jmp 0x6e547f
mov byte [esp + 0xe], ch
not bh
and edi, ecx
xchg edi, edx
lea esp, [esp + 3]
bsf dx, si
jmp 0x6e54a0
mov dword [esp + 3], ecx
xchg edi, ecx
mov byte [esp + 3], bh
add si, 0xd7e
xchg word [esp + 5], di
call fcn.006e54fc
mov word [esp + 0xb], sp
mov byte [esp + 9], ch
xchg bh, cl
mov dl, dh
setbe ah
jmp 0x6e5704
inc cl
mov eax, 0x50eb0c00
xchg word [esp + 1], bx
and ebx, ecx
xchg dh, al
jmp 0x6e5517
xchg ah, bl
mov ax, word [esp]
neg cx
mov edx, 0x7e36af4c
cpuid
shl dx, cl
jmp 0x6e5471
sub edx, eax
neg ah
mov ebx, 0x616bd4a2
cld
setp ah
inc bx
jmp 0x6e5575
mov di, 0x187
pop dword [esp + 0x16]
ror ch, 5
mov ah, byte [esp + 7]
sete bh
sub esp, 0x10
jmp 0x6e5661
xchg byte [esp + 4], al
xchg word [esp + 0x10], di
mov bh, byte [esp + 0xa]
sub esp, 0xc
lea eax, [ebx + ebp]
mov dx, word [esp + 0xf]
jmp 0x6e55c8
push dword [esp + 0xa]
call fcn.006e55fd
pop ebx
enter 0x395e, 0xffffffffffffffc8
and edi, esi
cmc
pushfd
outsd dx, dword [esi]
retf 0x8714
mov edx, 0x804430c
mov eax, 0xc3ff9554
not eax
mov ebx, esi
rcr ah, 1
sub esp, 0x10
jmp 0x6e5618
add esp, 0xb
not bh
popal
rdtsc
xchg dx, cx
xchg ebx, ecx
jmp 0x6e5631
cpuid
push esp
xchg bh, cl
mov si, bx
cpuid
rcr ebp, 0xd
jmp 0x6e55e3
not ch
rol bx, cl
lea ebp, [edx + edi]
mov si, bx
bsr si, cx
bsr dx, bp
jmp 0x6e5679
Function at 0x6e55fd
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg cx, si
mov word [esp + 8], di
mov bx, word [esp + 0xe]
xchg byte [esp + 0x14], bl
lea ebx, [esp + ecx]
jmp 0x6e5646
rdtsc
add cx, 0xa6ae
lea ecx, [ebx + edi]
sub esp, 0x1a
lea ecx, [ebp - 0x57]
mov bh, byte [esp + 0x1d]
jmp 0x6e56d4
xchg word [esp + 0x19], ax
mov dl, dh
pop dword [esp + 0xc]
mov dword [esp + 1], ebp
not edi
jmp 0x6e56e5
xchg esi, ecx
bswap ebp
cpuid
bswap ebp
btr ebx, edx
cpuid
jmp 0x6e568b
push esp
xchg ch, dl
pushal
lea ecx, [esp + edi]
mov bl, 0xd8
cpuid
jmp 0x6e56a3
rdtsc
push dword [esp + 0x10]
mov cl, ch
pushal
lea esp, [esp + 0x56]
not ebx
jmp 0x6e56bd
bswap ebp
inc edi
add esp, 0x1b
pop esi
mov ebx, dword [esp]
xchg bh, cl
jmp 0x6e595d
not eax
not ax
mov dl, 0x6c
call fcn.006e574a
aas
stosd dword es:[edi], eax
cmp ebx, dword [esi - 0x53]
adc eax, 0x2542cc57
aam 0x7d
fnstcw word [eax]
sbb esi, dword [edx - 0x73]
and al, 0x24
lea esp, [esp]
lea esi, [ecx - 3]
xor edx, esi
xchg edx, ebx
xchg byte [esp], cl
not bp
jmp 0x6e571c
and ebp, ecx
xchg bh, cl
mov ebp, 0xc70a432c
mov ax, 0xd5b1
mov bx, di
setp dh
jmp 0x6e5738
push edx
pop ebx
mov byte [esp], ch
mov ax, 0x1611
mov edi, esi
mov di, bx
jmp 0x6e5761
add esp, 0
neg ecx
lea esi, [esi + 0x85]
mov ah, byte [esp]
rdtsc
inc edx
jmp 0x6e57f7

Function at 0x6e574a
Capabilities:
Execute anti-debugging instructions

Disassembly:
setbe bh
push edx
xchg di, cx
jmp 0x6e57dd
mov byte [esp + 4], dh
xchg dh, al
lea esp, [esp + 7]
lea esp, [esp + 4]
lea ebx, [esi*4]
rdtsc
jmp 0x6e5853
mov ecx, dword [esp + 0x21]
lea esp, [esp + 0x19]
mov bl, 0xf8
mov edi, esi
pop si
mov bx, 0xbb15
jmp 0x6e5776
push word [esp + 3]
xchg ebp, esi
xchg byte [esp + 0xa], bl
cmc
pushal
mov byte [esp + 0x1b], ah
jmp 0x6e5793
rdtsc
push dword [esp + 6]
add esp, 0
neg esi
setle dh
add esp, 2
jmp 0x6e57bc
rdtsc
not si
cpuid
inc si
not bp
xchg ah, bl
jmp 0x6e583b
bswap esi
add esp, 2
mov esi, dword [esp]
mov ecx, ebp
mov ecx, 0x5927a990
lea esp, [esp]
jmp 0x6e580a
mov bp, 0x5ac5
mov cl, 0xb2
xchg byte [esp], bl
call fcn.006e587c
mov word [eax], cs
sahf
stc
or dh, ah
and eax, 0x5a6ec754
pop edx
sub esi, eax
mov eax, ecx
setns ch
mov edi, dword [esp]
cpuid
jmp 0x6e5827
Function at 0x6e58d1
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub eax, eax
rdtsc
xchg cx, ax
jmp 0x6e5935
xor dl, ch
sub esp, 4
inc cx
lea ebp, reloc.RASAPI32.dll_RasDialA
cpuid
sub esp, 0xe
jmp 0x6e5946
push esp
pop bp
bsr cx, cx
lea esp, [esp + 1]
pop ebp
add esp, 3
jmp 0x6e5917
rdtsc
mov dl, dh
add esp, 8
xchg byte [esp + 2], bl
push dword [esp]
jmp 0x6e59cd
xchg di, ax
inc edi
mov word [esp + 2], dx
setge ch
xchg dword [esp], ecx
bswap edi
jmp 0x6e5a05
add esp, 0x15
bswap esi
lea ecx, [ebp - 0x1f]
xchg si, di
inc esi
push edx
jmp 0x6e5973
sub esp, 4
cpuid
mov byte [esp + 0xf], bh
push word [esp + 0xb]
mov edx, dword [esp + 0x15]
setge bh
jmp 0x6e598a
mov byte [esp + 7], dh
mov dx, bx
cpuid
push dword [esp + 0xd]
rdtsc
not si
jmp 0x6e59ac
mov bh, byte [esp + 4]
mov di, dx
bsf dx, ax
mov word [esp + 2], di
ror ch, 5
mov word [esp + 3], bx
jmp 0x6e5bc0
mov si, sp
neg di
lea ebx, [edx*4]
mov dl, 0x84
lea esp, [esp + 1]
jmp 0x6e59e1
mov byte [esp + 0x15], bh
mov word [esp + 0x26], dx
pushal
lea esp, [esp + 0x51]
mov ebp, dword [esp]
jmp 0x6e5a9c
sub esp, 0x18
mov edi, dword [esp + 0x20]
pop dword [esp + 0x1c]
xchg esi, ebx
mov esi, dword [esp]
lea esi, [ebx + esi]
jmp 0x6e5a32
mov si, di
lea ebx, [esi - 0x95]
mov bl, bh
btr ebx, esp
bsr bp, cx
mov dh, byte [esp + 0xc]
jmp 0x6e5a4b
mov edx, dword [esp]
lea ecx, [ebx*4]
mov si, word [esp]
bswap eax
mov cl, 0x32
not ah
jmp 0x6e5ad3
mov cx, sp
mov al, 0x66
mov al, byte [esp]
mov ebx, dword [esp]
mov bl, bh
xchg ch, dl
jmp 0x6e5a7c
lea ebx, [esp + ecx]
xchg dx, ax
bsr cx, bp
mov di, 0x68b3
mov dl, 0x74
mov word [esp + 0xc], bx
jmp 0x6e5a64
xchg bh, cl
lea edi, [esi + edi]
cmc
inc al
pushal
btr ebx, esp
jmp 0x6e5b3f
xchg dword [esp + 0x14], ebp
mov dword [esp], eax
cld
mov di, 0xd325
mov ax, bx
mov edx, ecx
jmp 0x6e5abc
mov ecx, 0x647c1582
mov word [esp + 0x18], dx
setg bh
xchg dword [esp + 9], eax
inc bl
stc
jmp 0x6e5b92
mov di, dx
mov ecx, 0xea604200
push word [esp + 0x14]
xchg byte [esp + 8], al
jmp 0x6e5b04
mov word [esp + 2], dx
add esp, 0xb
xchg edx, esi
mov bl, bh
pop di
sub esp, 0xe
jmp 0x6e5b28
bsf di, si
mov ch, byte [esp + 0x15]
call fcn.006e5ba4
mov byte [0x44b5d23c], al
ret
btr ebx, esp
lea edi, [eax - 0xe9]
inc al
pushal
mov dl, 0x94
bsf cx, ax
jmp 0x6e5b52
xchg edx, ebx
xchg ebx, eax
mov byte [esp + 0xd], ch
mov bp, 0x8019
pushal
lea esp, [esp + 0x43]
jmp 0x6e5b6c
lea esi, reloc.RASAPI32.dll_RasDialA
pop word [esp + 1]
sub esp, 0x18
xchg bh, cl
mov dh, byte [esp + 7]
xchg word [esp + 0xc], dx
jmp 0x6e5af1

Function at 0x6e6a4c
Capabilities:
Access peb ldr_data

Disassembly:
push word [esp + 7]
mov word [esp + 6], dx
mov word [esp + 4], bx
jmp 0x6e6908
Function at 0x40c930
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x48b3db
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.0047ef6d
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40c9b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047c0e7
mov eax, dword [eax]
push 0x89f210
push eax
call fcn.0046e094
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047f1f8
test bl, bl
je 0x40c9b2
push 0x89f210
lea ecx, [esp + 0xc]
call fcn.0047f588
push 0x8a2da0
lea ecx, [esp + 0xc]
call fcn.0047f588
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 0x40c9ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047f1f8
jmp 0x40cab9
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 0x40ca72
lea edx, [esp + 0x7c]
push 0x8a2d9c
push edx
call fcn.0046e094
add esp, 8
test eax, eax
je 0x40ca72
lea eax, [esp + 0x7c]
push 0x8a2d98
push eax
call fcn.0046e094
add esp, 8
test eax, eax
je 0x40ca72
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 0x40ca02
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.0047f1f8
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 0x40d2b0
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 0x40d312
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 0x40d320
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48b45b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x8aa1bc]
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 0x40d458
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40d386
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047f1f8
xor eax, eax
jmp 0x40d4cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047f335
push esi
lea ecx, [esp + 0xc]
call fcn.0047f5c4
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x8a2dd8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40d4ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040d2b0
test eax, eax
jne 0x40d4ad
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.0040d2b0
test eax, eax
jne 0x40d4ad
lea eax, [esp + 0x14]
push 0x8a2db4
push eax
call fcn.0046f0d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d48c
lea ecx, [esp + 0x14]
push 0x8a2db0
push ecx
call fcn.0046f050
mov esi, eax
add esp, 8
test esi, esi
jne 0x40d48c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40d48f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047f2e5
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40d39e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047f1f8
xor eax, eax
jmp 0x40d4cf
mov byte [esi], 0
push 0x8a2dac
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.0047f1f8
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 0x41fab0
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 0x41fb1e
cmp si, 0x69
ja 0x41fb1e
add esi, 0xffd0
cmp si, 0x11
je 0x41faee
push 0x11
call edi
test ax, ax
jge 0x41faee
or esi, 0x2000
cmp si, 0x10
je 0x41fb03
push 0x10
call edi
test ax, ax
jge 0x41fb03
or esi, 0x4000
cmp si, 0x12
je 0x41fb18
push 0x12
call edi
test ax, ax
jge 0x41fb18
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41fb2b
mov esi, 0xbd
jmp 0x41fadf
cmp si, 0x6e
jne 0x41fb38
mov esi, 0xbe
jmp 0x41fadf
cmp si, 0x6f
jne 0x41fad9
mov esi, 0xbf
jmp 0x41fadf

Function at 0x4211d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x8ba960]
xor edx, edx
cmp eax, edx
jne 0x4211f6
xor eax, eax
mov byte [eax + 0x8ba860], al
inc eax
cmp eax, 0x100
jl 0x4211de
mov dword [0x8ba960], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x8ba860
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x421287
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 0x42125a
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 0x421228
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x421300
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 0x421353
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 0x42133a
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