joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415f1f
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x466208]
jne 0x415f2c
call fcn.00450529
mov eax, dword [0x469498]
mov ecx, dword [eax]
add dword [0x469498], 4
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x415f61
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x466208]
jne 0x415f6f
call fcn.00450529
mov eax, dword [0x469498]
mov eax, dword [eax]
add dword [0x469498], 4
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov ecx, eax
and ecx, 0xff3a58ad
shl ecx, 7
xor eax, ecx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
test ecx, ecx
mov dword [esp], ecx
fild dword [esp]
jge 0x415fb5
fadd qword [0x45c0c0]
fmul qword [0x45c0b8]
pop ecx
ret

Function at 0x415fbd
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
push esi
xor esi, esi
inc esi
mov dword [0x4694a0], eax
push edi
mov edx, esi
mov eax, 0x4694a0
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x469e5c
jl 0x415fd2
pop edi
mov dword [0x466208], esi
mov dword [0x469e60], esi
pop esi
ret

Function at 0x4243c1
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffdf
sahf
cmp eax, 0xb41db2e
cdq
dec edi
mov cl, 0xbe
xchg esp, eax
fpatan
cmp edx, esp
mov ecx, 0x4c108bad
xor eax, 0xfdf47fd7
js 0x4243ab
scasd eax, dword es:[edi]
xchg ecx, eax
test dword [eax + 0x29ec97d0], edi
sub esp, dword [ebx + 0x7a]
cmp dword [edi - 0x29d530c], esi
or al, 0x95
push 0x96d2195b
sub eax, 0xe96dab6f
push edx
das
test al, 0xc3
cmp eax, 0x9897bfb1
rol eax, cl
mov ebx, 0xa6a1159f
mov byte [0x7be78a98], al
jmp 0x9d345370

Function at 0x429ee0
Capabilities:
Encode data using xor

Disassembly:
cmp eax, 0xf7115c4e
pushal
push esi
push ecx
adc eax, 0x5b204a98
scasb al, byte es:[edi]
sbb bl, byte ds:[ebx - 0x55]
cmp byte [eax + ecx - 0x315911e8], 0x31
sub bl, byte [edx - 0x4e9dba68]
mov bl, 0x85
lds esp, cs:[ecx]
or byte [eax], bl
out dx, al
cmpsb byte [esi], byte es:[edi]
into
xor dword [edx], ebp
pushfd
bound ebx, qword [eax - 0x4c4e9dbb]
test dword [esi], ebp
lds esp, [ecx]
jecxz 0x429ef4
xor byte [edx], 0xa1
popfd
ret
Function at 0x42bb92
Capabilities:
Encode data using xor

Disassembly:
bound edi, qword [edx + 0x7953e4bf]
and eax, 0xf3162e0
adc byte [ecx + 0x5a959e53], ch
mov ebp, 0x7ce98bdf
push ss
mov ebp, ecx
jl 0x42bb7a
test byte [esi + 0x7df77565], dh
adc byte [edx - 0x6eb8a69], bh
lea edi, [edi - 0x10887c22]
frstor dword [edx]
xor esp, esp
pop ebx
mov ebp, 0x70fbef01
cld
lahf
idiv esp
psubw mm6, qword [eax - 0x63877d05]
popfd
push esp
dec ebp
mov bl, bl
xor byte [esi + ecx], dl
push cs
push cs
adc al, 0x7b
rcl dword [ebx + 0x44]
sbb esi, edi
sbb al, 0xf6
bound esi, qword [edx - 0x72]
fmul dword [ebx - 0x527dce34]
test dword [esi], eax
mov ah, 0xd0
inc edx
or ebp, dword [edi]
dec esp
jo 0x42bb60
add cl, cl
adc byte [ebx - 0x4b], al
or ah, dl
mov ebp, dword [edx + edx*2]
in al, 0x81
mov edx, 0x14c609ed
jp 0x42bb4d
mov esi, 0xedae37e7
xor dl, byte [ebx - 0x68]
invalid

Function at 0x439511
Capabilities:
Encode data using xor

Disassembly:
mov cl, 0x78
pushfd
popfd
push esp
mov ebp, 0x18309bae
mov ch, 0xd4
wait
test dword [eax - 0x72b8c17f], 0x80e7dbd4
or al, 0xf7
xor eax, 0x3d52d722
js 0x439503
and dl, bh
push edx
cmp eax, 0xe0f06078
add dword [ebp + 0x28], eax
adc byte [ecx], ch
xchg ebp, eax
sbb byte [edx], dh
xor byte [eax], dh
xor byte [eax - 0x6f], dl
pop esp
mov dword [ecx], esp
inc ebx
xchg byte [ebx], bh
je 0x439482
invalid
out 0xaa, al
push ebx
fbld tbyte [ecx + 0x2e57c7df]
mov eax, dword [0xa36ab7bd]
mov dword [0xce7db004], eax
div dword [ebx + 0x6c]
scasd eax, dword es:[edi]
fild word [edx + ebp*8 - 0x29f94e01]
push edx
outsd dx, dword [esi]
lea ecx, [eax + esi*8 + 0x7f]
test eax, 0x7168f1af
adc al, 0x81
dec edi
pop esp
cmp eax, 0x7e0d6cce
adc dword [ebx], ecx
out 0xf3, eax
hlt
ljmp 0x99d4:0x731b463
jg 0x43949d
inc edi
cld
imul esp, dword [0x100ca746], 0xe8d355d7
cmp al, 0x1e
mov esi, 0x8714ea8f
aam 0xaf
jmp 0x439570
Function at 0x43ba5a
Capabilities:
Encode data using xor

Disassembly:
mov dh, 0xe4
ror byte [esi - 0x1b], cl
mov dword [0xd16c23b3], eax
int3
sbb ah, byte [edx]
movsd dword es:[edi], dword [esi]
jo 0x43bac5
outsb dx, byte [esi]
out dx, eax
clc
nop
mov byte [0xb88dc944], al
pop ebx
jbe 0x43ba62
in eax, dx
wait
popfd
jns 0x43baa3
cmpsd dword [esi], dword es:[edi]
psrlq mm0, mm5
jg 0x43ba2d
push ebx
inc edx
in eax, dx
pop ecx
dec esi
pop ecx
xchg esi, eax
clc
mov ebp, 0x5f9bcd67
loope 0x43bade
invalid
inc esi
or eax, 0xc6ba7cab
leave
xchg edx, eax
push ebx
sub al, 0x8d
sub al, 5
sub dword [ecx + 0x24], esi
jb 0x43bb18
push ebp
xor byte fs:[ecx + 0x4db2281e], cl
fadd st(0), st(0)
imul ecx, esp, 0xffffff89
mov eax, 0x190ca248
xor eax, 0xb079b34e
dec edx
mov byte [0x4e35190c], al
mov bl, 0x79
mov al, 0x4a
sbb byte [ebx], al
pop ebp
sbb ah, cl
cdq
pop es
outsb dx, byte [esi]
pushal
or dword fs:[ebx + 0x15f81e12], ebx
int 0xa7
int1
xor dword [edx + edx], edi
adc eax, 0x31f1a7cd
cmp al, 0x12
add ebp, dword [eax]
sbb byte [0x4e29a870], 0x85
out 0x41, al
invalid
jge 0x43bb36
pop ebx
scasb al, byte es:[edi]
inc ebx
inc edx
inc ecx
inc ecx
cmp al, 0x4e
dec ebx
cmp esi, esp
inc edx
shl byte [ebx - 0x3f], 0x51
bound ebx, qword [ebp + eax*2 - 0x213a3314]
add al, 0xbb
mov cl, byte [ebx + 0x78b3d879]
mov dh, 0x10
jb 0x43bb15
js 0x43baee
adc byte [edx - 0x26], dh
ficom dword [eax - 0x4dcec9ed]
pop dword [0x2141473a]
rol byte [ecx + edi*2 - 0x2e], 0x79
cdq
nop
adc esi, dword [esi]
xor dword [edx + 0x473a058f], esi
inc ecx
and eax, eax
inc esp
jns 0x43bb1c
jns 0x43bae5
lea edx, [ebx]
in al, 0x87
mov esi, 0xf2824729
inc edi
cmp byte [ecx - 0x62], al
xlatb
enter 0xffffffffffffc5a7, 0xffffffffffffffcc
das
sbb ah, byte [edi + 0x6a]
cmp eax, 0x5718d588
enter 0x1b53, 0xffffffffffffffde
adc bl, byte [edi - 0x6cc75de5]
xor esp, dword [0x12a45fe8]
mov edi, 0xe7ba092
sub byte [edi + 0x3e], bl
mov al, 0x3e
ficom word [ecx]
outsb dx, byte [esi]
xchg edi, eax
outsb dx, byte [esi]
cmpsb byte [esi], byte es:[edi]
ja 0x43bb3a
or dh, byte [edx + edx - 0x382a1928]
jae 0x43bbdd
in al, 0xe7
sbb byte [ebp - 0x3e], ch
or eax, 0x2402dfc9
or byte [edi], dl
inc ebp
bound esi, qword [esi - 0x4d]
sbb dword [edi], ebp
jmp 0x43bbf7
aas
invalid
mov ah, 0x4e
in al, dx
mov bl, byte [ebp - 0x66]
retf

Function at 0x443c79
Capabilities:
Encode data using xor

Disassembly:
into
sub al, 0x4f
mov ch, 0x9a
leave
mov byte [0x6a08b7a9], al
cmpsb byte [esi], byte es:[edi]
scasb al, byte es:[edi]
cli
sbb dl, byte [esi + 8]
and edx, ecx
xchg esi, eax
cmp al, 0x86
mov ecx, 0xa5edc3e6
in al, 0x76
stosd dword es:[edi], eax
insb byte es:[edi], dx
lahf
push esi
mov bh, 0xe5
imul ecx, esi, 0xd771e7c4
mov bl, 0x6a
daa
fcom st(7)
sub ch, al
sub esi, dword [ecx - 0x74ee277e]
call 0xa07dc1d1
aam 0x4b
stosd dword es:[edi], eax
in al, 0x18
adc al, 0x4c
xor cl, byte [esp + edx + 0x79c2e9de]
pop ds
mov eax, 0x2223b938
and eax, 0xfe0355c3
xor dword [edx + 0x3de99206], ebp
sub eax, dword [ebx + 0x30e39271]
cwde
jp 0x443c44
into
aam 0xbd
sub edx, edi
retf
Function at 0x403050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa1840
call fcn.004049e0
mov eax, dword [0x40f004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xa1820], 0
push eax
push eax
push eax
mov word [ebp - 0xa180c], ax
lea eax, [ebp - 0xa181c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xa1820]
mov dword [ebp - 0xa181c], 0x10001
push eax
mov dword [ebp - 0xa1818], 0x5622
mov dword [ebp - 0xa1814], 0x5622
mov dword [ebp - 0xa1810], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0xa17fc
lea eax, [ebp - 0xa1808]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
mov cl, al
mov edx, eax
xor cl, 0x3f
shr edx, 5
or dl, cl
mov cl, al
shl cl, 2
or dl, cl
mov ecx, eax
shr ecx, 0xb
and dl, cl
movsx ecx, dl
imul ecx, ecx, 0x64
mov byte [ebp + eax - 0xa1808], cl
inc eax
cmp eax, 0xa17fc
jb 0x4030d3
lea eax, [ebp - 0xa1808]
mov dword [ebp - 0xa183c], 0xa17fc
mov dword [ebp - 0xa1840], eax
lea eax, [ebp - 0xa1840]
push 0x20
push eax
push dword [ebp - 0xa1820]
mov dword [ebp - 0xa1838], 0
mov dword [ebp - 0xa1834], 0
mov dword [ebp - 0xa1830], 0
mov dword [ebp - 0xa182c], 0
mov dword [ebp - 0xa1828], 0
mov dword [ebp - 0xa1824], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0xa1840]
push eax
push dword [ebp - 0xa1820]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0xa1840]
push eax
push dword [ebp - 0xa1820]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0xa1820]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403d31
mov esp, ebp
pop ebp
ret
Function at 0x403340
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c4
call fcn.004049e0
mov eax, dword [0x40f004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0x3a9a0], 0
push eax
push eax
push eax
mov word [ebp - 0x3a98c], ax
lea eax, [ebp - 0x3a99c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3a9a0]
mov dword [ebp - 0x3a99c], 0x10001
push eax
mov dword [ebp - 0x3a998], 0x1f40
mov dword [ebp - 0x3a994], 0x1f40
mov dword [ebp - 0x3a990], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x3a980
lea eax, [ebp - 0x3a988]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x3a9a4], edx
nop word [eax + eax]
mov eax, dword [ebp - 0x3a9a4]
mov ebx, edx
shr ebx, 6
mov cl, 1
test dl, 0xf
sete dl
shr eax, 4
lea edx, [edx*4 + 2]
and dl, al
sub cl, dl
mov edx, dword [ebp - 0x3a9a4]
movsx eax, dl
movsx ecx, cl
imul ecx, eax
mov al, bl
xor al, dl
add cl, al
mov eax, edx
shr eax, 0xd
and al, dl
or al, bl
xor cl, al
mov byte [ebp + edx - 0x3a988], cl
inc edx
mov dword [ebp - 0x3a9a4], edx
cmp edx, 0x3a980
jb 0x4033d0
lea eax, [ebp - 0x3a988]
mov dword [ebp - 0x3a9c0], 0x3a980
mov dword [ebp - 0x3a9c4], eax
lea eax, [ebp - 0x3a9c4]
push 0x20
push eax
push dword [ebp - 0x3a9a0]
mov dword [ebp - 0x3a9bc], 0
mov dword [ebp - 0x3a9b8], 0
mov dword [ebp - 0x3a9b4], 0
mov dword [ebp - 0x3a9b0], 0
mov dword [ebp - 0x3a9ac], 0
mov dword [ebp - 0x3a9a8], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x3a9c4]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x3a9c4]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00403d31
mov esp, ebp
pop ebp
ret
Function at 0x404567
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4045a6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4045a6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4045a6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4045a6
cmp dword [ecx + 0x74], 0xe
jbe 0x4045a6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x41d0b4
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x34], esp
lea eax, [ebp - 0x18]
push eax
mov eax, 0x61
call 0x43027f
cmp dword [ebp - 0x34], esp
je 0x41d150
push 6
call 0x430279
add esp, 4
rdtsc
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x34], esp
lea eax, [ebp - 0x20]
push eax
mov eax, 0x62
call 0x43027f
cmp dword [ebp - 0x34], esp
je 0x41d17b
push 6
call 0x430279
add esp, 4
fild qword [ebp - 0x20]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild qword [ebp - 0x18]
fstp qword [ebp - 0x40]
fadd qword [ebp - 0x40]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
call fcn.0040a6d9
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x34], esp
lea eax, [ebp - 0x28]
push eax
mov eax, 0x62
call 0x43027f
cmp dword [ebp - 0x34], esp
je 0x41d1c1
push 6
call 0x430279
add esp, 4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp dword [ebp - 0x24], edx
jg 0x41d1d6
jl 0x41d1d5
cmp dword [ebp - 0x28], eax
jae 0x41d1d6
inc ecx
mov eax, ecx
test eax, eax
jne 0x41d19e
rdtsc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
fild qword [ebp - 0x10]
fstp qword [ebp - 0x38]
fld qword [ebp - 0x38]
fild qword [ebp - 8]
fstp qword [ebp - 0x40]
fsub qword [ebp - 0x40]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x48]
fdiv qword [0x403faa]
fstp qword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
fld qword [ebp - 0x30]
fsub qword [0x403fb2]
fcomp qword [0x4037e9]
fnstsw ax
test ah, 0x41
jne 0x41d2b1
fld qword [ebp - 0x30]
fdiv qword [0x403fb2]
fstp qword [ebp - 0x38]
push 0x80000301
push 0
push 2
push 0x80000601
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 2
mov ebx, 0x68
call 0x430285
add esp, 0x1c
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x168
call 0x430285
add esp, 0x10
mov dword [ebp - 0x44], eax
push 0x403fba
push dword [ebp - 0x44]
mov ecx, 2
call fcn.0040b083
add esp, 8
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x41d2a4
push ebx
call 0x43026d
add esp, 4
mov eax, dword [ebp - 0x48]
jmp 0x41d326
push 0x80000301
push 0
push 2
push 0x80000601
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 2
mov ebx, 0x68
call 0x430285
add esp, 0x1c
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x168
call 0x430285
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x403fbe
push dword [ebp - 0x3c]
mov ecx, 2
call fcn.0040b083
add esp, 8
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x41d31e
push ebx
call 0x43026d
add esp, 4
mov eax, dword [ebp - 0x40]
jmp 0x41d326
mov esp, ebp
pop ebp
ret
Function at 0x407f50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x463cbb
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.00458a3b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407fd2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045698a
mov eax, dword [eax]
push 0x48a1f0
push eax
call fcn.00449654
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00458cc6
test bl, bl
je 0x407fd2
push 0x48a1f0
lea ecx, [esp + 0xc]
call fcn.00459056
push 0x48dd64
lea ecx, [esp + 0xc]
call fcn.00459056
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 0x40800e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00458cc6
jmp 0x4080d9
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 0x408092
lea edx, [esp + 0x7c]
push 0x48dd60
push edx
call fcn.00449654
add esp, 8
test eax, eax
je 0x408092
lea eax, [esp + 0x7c]
push 0x48dd5c
push eax
call fcn.00449654
add esp, 8
test eax, eax
je 0x408092
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 0x408022
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.00458cc6
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 0x4088d0
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 0x408932
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 0x408940
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x463d3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4942a4]
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 0x408a78
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4089a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00458cc6
xor eax, eax
jmp 0x408aef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00458e03
push esi
lea ecx, [esp + 0xc]
call fcn.00459092
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 0x408acd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004088d0
test eax, eax
jne 0x408acd
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.004088d0
test eax, eax
jne 0x408acd
lea eax, [esp + 0x14]
push 0x48dd78
push eax
call fcn.0044a690
mov esi, eax
add esp, 8
test esi, esi
jne 0x408aac
lea ecx, [esp + 0x14]
push 0x48dd74
push ecx
call fcn.0044a610
mov esi, eax
add esp, 8
test esi, esi
jne 0x408aac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x408aaf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00458db3
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4089be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00458cc6
xor eax, eax
jmp 0x408aef
mov byte [esi], 0
push 0x48dd70
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.00458cc6
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 0x419460
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 0x4194ce
cmp si, 0x69
ja 0x4194ce
add esi, 0xffd0
cmp si, 0x11
je 0x41949e
push 0x11
call edi
test ax, ax
jge 0x41949e
or esi, 0x2000
cmp si, 0x10
je 0x4194b3
push 0x10
call edi
test ax, ax
jge 0x4194b3
or esi, 0x4000
cmp si, 0x12
je 0x4194c8
push 0x12
call edi
test ax, ax
jge 0x4194c8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4194db
mov esi, 0xbd
jmp 0x41948f
cmp si, 0x6e
jne 0x4194e8
mov esi, 0xbe
jmp 0x41948f
cmp si, 0x6f
jne 0x419489
mov esi, 0xbf
jmp 0x41948f

Function at 0x41ab80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4a48f0]
xor edx, edx
cmp eax, edx
jne 0x41aba6
xor eax, eax
mov byte [eax + 0x4a47f0], al
inc eax
cmp eax, 0x100
jl 0x41ab8e
mov dword [0x4a48f0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4a47f0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41ac37
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 0x41ac0a
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 0x41abd8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41acb0
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 0x41ad03
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 0x41acea
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