joyce8/EMBER2024-capa huggingface dataset:
Function at 0x573182
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.005a6672
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x5732a5
push ecx
lea ecx, [esi + 0x18]
call fcn.005929a2
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x5732bc
push ecx
lea ecx, [esi + 0x24]
call fcn.005928b2
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x578853
Capabilities:
Encode data using xor

Disassembly:
and dword [esi], esi
fstp xword [eax + 0x26c9845b]
arpl word [eax - 0x5893c8f4], bp
sub byte [ebp + esi + 0x302096e2], ch
sbb ebp, esp
xchg edx, eax
fsubr dword [eax - 0x628414a5]
mov word [ebx + 0x37], ss
test eax, 0x3c47dc0c
cmpsd dword es:[esi], dword es:[edi]
arpl word [eax], bx
imul esp, dword fs:[0x61ee7627], 0x86555a79
in eax, dx
add eax, 0x27dc98fc
ffree st(7)
stosd dword es:[edi], eax
xchg edx, eax
xlatb
scasb al, byte es:[edi]
adc byte [edx + edx*4], 0x48
insd dword es:[edi], dx
adc al, 0x27
push ebx
pop ebp
pushal
dec esi
xchg dword [esi + eax*2 - 0x29b7a99d], ebp
cmp bh, ch
fbstp tbyte [ecx + 0x75c52209]
popfd
lds esi, [ebp - 0x63]
mov dl, 0xad
sar edi, 1
loope 0x5787cb
sub bh, byte [edi - 1]
js 0x578864
adc byte [edx], bh
in al, dx
xor dh, byte [ebp - 0x4e5f617d]
salc
in eax, dx
xchg esp, edi
mov al, byte [0x87edd6b1]
cld
cmc
insd dword es:[edi], dx
movsb byte es:[edi], byte [esi]
fst st(2)
pop ebx
mov dh, 0xa2
dec ebx
push ebp
jns 0x578825
mov byte [0xd779554b], al
movsd dword es:[edi], dword [esi]
xor eax, 0x53c6fdee
push ebx
push ebx
dec edi
jge 0x57880c
pop ebp
jne 0x578807
ljmp 0x991d:0x340b2e44
xchg ecx, eax
sal byte [eax + 0x33af4dd8], 0xac
jecxz 0x578812
bswap edi
lodsd eax, dword [esi]
loop 0x578849
push ebp
imul ebx, dword [edi + esi + 0x55], 0xd5550d55
pop esp
aaa
push ebp
push ebp
or eax, 0x9ff7d555
loopne 0x5788ac
neg dword [edi - 0x1c57d320]
test al, 0xe3
aaa
aaa
popal
and al, 0x28
int 0x1b
daa
dec ebp
out dx, al
movsb byte es:[edi], byte [esi]
jns 0x578875
fnstcw word [0xd277e781]
call 0xc5ca3dce
int1
and al, 0x17
in eax, 0x83
je 0x5788c7
insb byte es:[edi], dx
pop ebp
jae 0x57887c
cmpsd dword [esi], dword es:[edi]
jae 0x57883c
push ecx
loop 0x578854
inc esp
in eax, 0x61
je 0x57891d
inc edi
adc dword [edx - 0xb], ebx
cmpsb byte [esi], byte es:[edi]
mov byte [0x770a73ab], al
sub eax, 0xbea5302
mov byte [0x78f98b8c], al
lodsb al, byte [esi]
xchg ecx, eax
push esi
inc eax
mov ss, edi
iretd

Function at 0x591c67
Capabilities:
Encode data using xor

Disassembly:
clc
adc al, ch
mov eax, 0x5b8a0c21
push ss
insb byte es:[edi], dx
mov dh, 0x61
invalid
Function at 0x5bca12
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.005eff02
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x5bcb35
push ecx
lea ecx, [esi + 0x18]
call fcn.005dc232
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x5bcb4c
push ecx
lea ecx, [esi + 0x24]
call fcn.005dc142
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5dad72
Capabilities:
Encode data using xor

Disassembly:
leave
mov al, byte [0x3e1ab5d7]
nop
inc eax
xor eax, 0xd5bb0de2
and ecx, ebp
cli
iretd
mov bh, 0x7c
dec esi
jl 0x5dade9
inc ebp
adc al, byte [ecx + 0x7a]
inc edx
pop esi
jo 0x5dad23
jp 0x5dadb3
xchg ecx, eax
sysret
and dword [edi + esi*2 - 1], edx
movsd dword es:[edi], dword [esi]
invalid
mov edx, 0x448c9380
xchg esi, eax
lahf
mov bh, 0x5e
outsb dx, byte [esi]
loop 0x5dae32
jg 0x5dadb3
mov byte es:[edx + 0x26f3bd66], cl
bound eax, qword [0xff2241d9]
push ss
adc eax, 0x52dc17fc
imul edx, dword [ecx - 0x4f], 0x51
push ds
out 0xaa, eax
xchg ebx, eax
mov dword [0x4976b2c4], eax
inc ecx
inc esi
and dl, byte [edx]
xor dword [eax], eax
pop ebx
push es
add eax, 0x91ae0866
push es
wait
push ebx
dec esp
mov dl, 0xa5
inc edi
movsb byte es:[edi], byte [esi]
jo 0x5dae94
les edx, [ebx + 8]
mov cl, 0x74
in eax, 0x63
aad 0xc4
leave
lcall 0x43cb, 0x81e4ef0b
pop es
loop 0x5dae54
and eax, 0xca451de4
mov eax, dword [edi - 4]
loope 0x5daddb
push ebp
xchg ecx, eax
xchg ebp, eax
xchg ecx, eax
xchg esi, eax
imul dword [esi + esi + 0x62d7dfbd]
wait
mov esp, 0x157e472
xor eax, 0xac933852
xchg ebx, eax
lodsb al, byte [esi]
mov esi, 0x42177230
push edx
xchg ebx, eax
xor byte [esi + 0x7e], dh
cmp cl, byte [0x22a89ff3]
sbb bh, bh
ja 0x5daea5
fld st(7)
cli
dec edi
jbe 0x5dae54
cmp byte [ecx - 0x3e57e54e], dl
aam 0x57
imul ecx, esi, 0x10
adc eax, 0xf780ac69
adc byte [ecx + 0x30], dh
mov dword [esi + 0x46e6de4f], eax
inc ebp
push ebx
pop edx
call dword [edi]
jg 0x5dae40
add cl, bh
xchg edi, eax
nop
retf 0x50dd
iretd
Function at 0x5dce32
Capabilities:
Encode data using xor

Disassembly:
invalid
xchg edx, eax
nop
bound esi, qword [esi + esi*4]
and eax, 0xc5321eb0
lcall 0xb2d0, 0x3058c85b
mov ch, 0x54
cmc
div esp
add eax, 0xe224c6d5
loope 0x5dce0b
hlt
scasb al, byte es:[edi]
add al, 0xb4
pand mm5, qword [eax + 0x120a3034]
push edx
mov dword [0xa207ac0c], eax
xor eax, 0x44c2c5b7
pop esi
jno 0x5dce49
test al, 0xe
xor eax, 0x1f4b2756
jecxz 0x5dceed
mov al, byte [ebp + 0x2e]
sal dword [ecx], cl
xor eax, 0x56ad40f8
or al, 0xd5
pop edx
inc ebx
lds ebx, [ebp - 2]
xchg ecx, eax
xor byte [esp + ecx + 0x5dffcb5d], 0x4b
popal
fsubrp st(2)
test dword [eax + 0x2120b23d], esp
adc dword [ecx + edx*2], ebx
mov ch, 0xab
push edx
or byte [edx - 0x12], al
jo 0x5dcf04
stosd dword es:[edi], eax
out dx, eax
sal byte [edi], cl
stosb byte es:[edi], al
dec ebp
pop ebx
push ebp
shr byte [ebx - 0x10], 0x77
invalid
nop
mov ch, 0x50
test ebp, ecx
loope 0x5dcf28
mov al, byte [0x8335f6fb]
mov al, byte [0xd2ab01d8]
adc byte [ecx - 0x3b299b97], ah
mov al, byte [0x10a024de]
jmp 0x5dcf5c
stosb byte es:[edi], al
rcr dword [eax], 0xd0
int 0x52
fist dword [ecx + 0x34141471]
push esi
adc dl, byte [ebx + ebx]
add eax, 0xe5a43416
push esp
xchg ebx, eax
rol byte [edi + 0x3990556d], cl
ljmp 0x26a5
jno 0x5dcfb0
invalid
mov bl, 0x75
cdq
xchg edi, eax
sbb dl, byte [ebx + eax*8]
xchg edx, eax
xchg esp, eax
mov eax, dword [0xc8fbe3a]
aaa
shl dword [eax - 0x5dada681], cl
jbe 0x5dd021
push ebp
sal byte [ecx], 0x34
push 0xffffffffffffff87
in al, dx
salc
daa
or edi, edx
adc byte [edx], dh
add eax, 0xd87f533e
xchg ecx, eax
fadd qword [edi]
outsd dx, dword [esi]
jnp 0x5dcfb4
iretd
iretd
Function at 0x6060a2
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00639592
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x6061c5
push ecx
lea ecx, [esi + 0x18]
call fcn.006258c2
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x6061dc
push ecx
lea ecx, [esi + 0x24]
call fcn.006257d2
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x60bb38
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
rol dword [eax - 0x73197f8b], 1
mov al, byte [0x43b542a9]
invalid
Function at 0x401007
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4365a8]
and dword [ebp - 8], 0
mov dword [ebp - 0x28], eax
mov eax, dword [0x4365ac]
push esi
mov esi, dword [ebx + 4]
push edi
mov edi, dword [ebx]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x30], 0x9e3779b9
call fcn.00401000
mov eax, dword [0x4365b0]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x20], eax
mov eax, dword [0x4365b4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, edi
shl eax, 4
cmp dword [0x4458ec], 0xc
mov dword [ebp - 4], eax
jne 0x401081
xor eax, eax
push eax
lea ecx, [ebp - 0x34]
push ecx
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [0x4458ec]
cmp eax, 0xfa9
jne 0x40109d
mov dword [0x4458e8], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010bf
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
and dword [0x445840], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
and dword [ebp - 0x14], 0
mov edx, edi
add eax, edi
shr edx, cl
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [0x4458e4], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor eax, edx
sub esi, eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov edx, esi
shr edx, cl
add eax, esi
mov dword [ebp - 0x18], eax
add edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
xor dword [ebp - 4], edx
sub edi, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
sub dword [ebp - 8], eax
dec dword [ebp - 0x1c]
jne 0x401055
mov dword [ebx], edi
pop edi
mov dword [ebx + 4], esi
pop esi
leave
ret
Function at 0x40467d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x435670]
jne 0x404687
repz ret
jmp fcn.0040918e

Function at 0x40c154
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402fd2
and dword [ebp - 4], 0
cmp dword [0x43ac14], 0
mov ebx, eax
jne 0x40c205
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c2b6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40c2b6
push eax
call fcn.00402f60
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43ac14], eax
call esi
push eax
call fcn.00402f60
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43ac18], eax
call esi
push eax
call fcn.00402f60
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43ac1c], eax
call esi
push eax
call fcn.00402f60
pop ecx
mov dword [0x43ac24], eax
test eax, eax
je 0x40c205
push 0x432858
push edi
call esi
push eax
call fcn.00402f60
pop ecx
mov dword [0x43ac20], eax
mov eax, dword [0x43ac20]
cmp eax, ebx
je 0x40c25d
cmp dword [0x43ac24], ebx
je 0x40c25d
push eax
call fcn.00402fdb
push dword [0x43ac24]
mov esi, eax
call fcn.00402fdb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c25d
test edi, edi
je 0x40c25d
call esi
test eax, eax
je 0x40c254
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c254
test byte [ebp - 0xc], 1
jne 0x40c25d
or dword [ebp + 0x10], 0x200000
jmp 0x40c296
mov eax, dword [0x43ac18]
cmp eax, ebx
je 0x40c296
push eax
call fcn.00402fdb
pop ecx
test eax, eax
je 0x40c296
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c296
mov eax, dword [0x43ac1c]
cmp eax, ebx
je 0x40c296
push eax
call fcn.00402fdb
pop ecx
test eax, eax
je 0x40c296
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43ac14]
call fcn.00402fdb
pop ecx
test eax, eax
je 0x40c2b6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c2b8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40c1a4
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4122e4], 0
jne 0x40c225
cmp dword [0x412304], 0
jne 0x40c1d4
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x412304], eax
test eax, eax
jne 0x40c1d4
push str.GetEnvironmentStrings_failed
call fcn.0040b214
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x412304]
jmp 0x40c1e8
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.0040512c
pop ecx
mov edi, eax
test eax, eax
jne 0x40c1e0
lea edi, [ebp + 1]
push edi
call fcn.00404260
pop ecx
mov ebx, eax
mov dword [0x4122e8], ebx
test ebx, ebx
jne 0x40c212
xor eax, eax
jmp 0x40c2e8
push edi
mov edx, dword [0x412304]
push edx
push ebx
call fcn.00404fdc
add esp, 0xc
jmp 0x40c245
xor esi, esi
mov ebx, dword [0x4122e4]
jmp 0x40c23f
push eax
call fcn.0040512c
pop ecx
test eax, eax
jne 0x40c23b
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40c22f
lea ebx, [esi + 4]
push 4
mov dword [0x4122ec], ebx
inc ebx
push ebx
call fcn.00404060
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40c268
xor eax, eax
jmp 0x40c2e8
cmp dword [0x4122e4], 0
jne 0x40c299
xor esi, esi
mov ebx, dword [0x4122e8]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40c28a
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.0040512c
pop ecx
mov edi, eax
test eax, eax
jne 0x40c280
jmp 0x40c2ca
xor esi, esi
mov ebx, dword [0x4122e4]
mov eax, dword [esp]
mov edi, eax
jmp 0x40c2c4
push eax
call fcn.0040512c
pop ecx
test eax, eax
je 0x40c2b9
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40c2bd
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40c2a8
mov eax, dword [0x4122e4]
test eax, eax
je 0x40c2da
push eax
call fcn.00404270
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4122e4], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x413220
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4809fb
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.00470f60
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4132a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046e987
mov eax, dword [eax]
push 0x5871f0
push eax
call fcn.00460d34
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004711eb
test bl, bl
je 0x4132a2
push 0x5871f0
lea ecx, [esp + 0xc]
call fcn.004715c7
push 0x58ad58
lea ecx, [esp + 0xc]
call fcn.004715c7
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 0x4132de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004711eb
jmp 0x4133a9
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 0x413362
lea edx, [esp + 0x7c]
push 0x58ad54
push edx
call fcn.00460d34
add esp, 8
test eax, eax
je 0x413362
lea eax, [esp + 0x7c]
push 0x58ad50
push eax
call fcn.00460d34
add esp, 8
test eax, eax
je 0x413362
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 0x4132f2
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.004711eb
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 0x413ba0
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 0x413c02
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 0x413c10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x480a7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x59162c]
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 0x413d48
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x413c76
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004711eb
xor eax, eax
jmp 0x413dbf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00471374
push esi
lea ecx, [esp + 0xc]
call fcn.00471603
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 0x413d9d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00413ba0
test eax, eax
jne 0x413d9d
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 SysReAllocString
mov ecx, edi
call fcn.00413ba0
test eax, eax
jne 0x413d9d
lea eax, [esp + 0x14]
push 0x58ad6c
push eax
call fcn.00461ee0
mov esi, eax
add esp, 8
test esi, esi
jne 0x413d7c
lea ecx, [esp + 0x14]
push 0x58ad68
push ecx
call fcn.00461e60
mov esi, eax
add esp, 8
test esi, esi
jne 0x413d7c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x413d7f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00471324
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x413c8e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004711eb
xor eax, eax
jmp 0x413dbf
mov byte [esi], 0
push 0x58ad64
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.004711eb
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