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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x401c66
pop dword [ebp - 0x18]
mov eax, 0xfecf5fe6
add eax, 0x170bc80
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0xd8110eff
sub dword [ebp - 0x28], 0x89bec9b4
mov dword [ebp - 0x24], 0x965e3539
add dword [ebp - 0x24], 0x9bd5170c
mov dword [ebp - 0x20], 0xb80d00a0
add dword [ebp - 0x20], 0x943f438e
mov dword [ebp - 0x1c], 0x15d723c
add dword [ebp - 0x1c], 0xfea28dc4
lea eax, [ebp - 0x28]
push eax
mov eax, 0xc3b37958
sub eax, 0xc3734904
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x20f8055
add dword [ebp - 0x28], 0x7262e901
mov dword [ebp - 0x24], 0xd4b29b72
add dword [ebp - 0x24], 0x6cb9c603
mov dword [ebp - 0x20], 0x52b8be8c
add dword [ebp - 0x20], 0x10b6ade0
mov dword [ebp - 0x1c], 0xfd713e69
sub dword [ebp - 0x1c], 0xfd713e69
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xcd245b08
add eax, 0x331bd524
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x38e9e
push 0
call eax
mov ecx, 0xbbb0be8a
add ecx, 0x444f9331
mov edi, eax
mov ebx, 0x407000
add ebx, dword [ebp - 0x18]
mov esi, 0x948684cd
sub esi, 0xe340c794
xor dword [ebp - 0x10], edi
mov edx, dword [ebx]
sub edx, esi
mov dword [ebp - 0xc], 0x1485500b
mov dword [edi], edx
xor dword [ebp - 4], 0xe68acbab
add edi, 0x14cf0479
add edi, 0xeb30fb8b
add ebx, 0xa0928296
add ebx, 0x5f6d7d6e
loop 0x401d82
add eax, 0x139bf
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

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

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x40672b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x40673a
pop dword [ebp - 0x48]
mov eax, 0xdc1702cb
sub eax, 0xdbd69b91
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x7ffbabe6
add dword [ebp - 0x58], 0xce569965
mov dword [ebp - 0x54], 0x36034d0d
sub dword [ebp - 0x54], 0x3d000c8
mov dword [ebp - 0x50], 0xd6748232
add dword [ebp - 0x50], 0x75d7c1fc
mov dword [ebp - 0x4c], 0x7d323117
add dword [ebp - 0x4c], 0x82cdcee9
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x9cc56449
add dword [ebp - 0x58], 0xd7ad050d
mov dword [ebp - 0x54], 0xd78e972d
add dword [ebp - 0x54], 0x69ddca48
mov dword [ebp - 0x50], 0x546abd2f
add dword [ebp - 0x50], 0xf04af3d
mov dword [ebp - 0x4c], 0x7e58ada
sub dword [ebp - 0x4c], 0x7e58ada
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x3a731016
add eax, 0xc5cd70ea
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x36f19
push 0
call eax
mov ecx, 0x39f96e9
sub ecx, 0x39f5133
xor esi, esi
add esi, eax
mov edx, 0x46e400
add edx, dword [ebp - 0x48]
mov ebx, 0xe343f20d
sub ebx, 0xad7c8b20
add dword [ebp - 0x34], ecx
mov edi, dword [edx]
xor dword [ebp - 0x18], 0x6f9dfeda
sub edi, ebx
sub dword [ebp - 0x14], eax
mov dword [esi], edi
xor dword [ebp - 0x28], 0x9e917217
add esi, 0x8e47743d
sub esi, 0x8e477439
add edx, 0x98a63360
add edx, 0x6759cca4
loop 0x406853
add eax, 0x109ab
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x71536fa2
sub ecx, 0x71136fa2
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x4d25f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4d261d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4d261d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4c5638
Capabilities:
Encode data using xor

Disassembly:
je 0x4c5624
mov ah, byte [ecx - 0x1d]
add byte [ecx], bh
in eax, 0x46
invalid
wait
jecxz 0x4c5692
or ebx, esp
jnp 0x4c5603
inc ebp
rcr dword [ebx - 0x531805ca], 0xe1
loope 0x4c5626
invalid
xchg esi, eax
dec eax
push esp
pop es
insb byte es:[edi], dx
jmp 0x28bfa410
mov eax, 0xce5af8af
in al, dx
dec ebx
stosb byte es:[edi], al
pop ebx
push esi
inc esi
cdq
inc ebp
cmp byte [edi + ebp*2], dh
pop ss
call 0xc48bb127
salc
mov edx, 0x9f667a9e
adc ebp, dword [ebx - 0x3d]
cmp al, 0x53
and al, byte [ebx + 0x4a]
stosd dword es:[edi], eax
and byte [edx - 0x16], cl
inc esi
mov al, byte [0xe9991a71]
jbe 0x4c5713
sub dword [ebp + 0x27], 0xee2ae75d
cli
sub cl, byte [edx - 0x14082ba9]
inc edi
cli
arpl word [edx - 0x59], ax
sal byte [edi + 0x36], 1
xchg esi, eax
xor dh, byte [ebp - 0x6a]
scasd eax, dword es:[edi]
sbb edx, dword [edi + 0x69]
or eax, 0x242a310b
out dx, eax
sub esi, ebp
mov al, 0xc5
fisttp qword [edx - 0x55]
xchg ebx, eax
and ecx, esp
idiv bh
push ebx
invalid
cmpsb byte [esi], byte es:[edi]
push cs
sbb esi, dword [0x2576]
pop edx
or eax, 0x742a4760
sal byte [edi - 0x59159e4d], cl
mov word [ebx - 0x7706d18], ss
mov esp, 0x3893cb97
invalid

Function at 0x4c9e11
Capabilities:
Encode data using xor

Disassembly:
dec ebx
scasd eax, dword es:[edi]
dec edx
cmp dword [esi], eax
lcall 0x1206, 0xdd4dc488
rcr byte [edx], 0xf5
inc ebx
jbe 0x4c9e4b
xlatb
fdiv qword [ebp + 0x75]
bound eax, qword [edx + 0x12]
cmp bl, bh
aaa
adc bh, byte [edx]
fbstp tbyte [edi]
adc al, 0x94
sub dword [edx - 0x69], 0x56c016a3
lea ebp, [eax - 0x24c7b2cb]
dec edi
mov es, word [eax]
mul dword [ebx]
sbb edi, edi
xor byte [ebx + 0x26], dh
das
setne byte [edi]
loop 0x4c9ddb
or al, bh
sti
idiv byte [edx]
int1
push 0xeadb4feb
mov eax, dword [0xc1c3a74]
je 0x4c9e4d
sbb al, 0xc
je 0x4c9e4d
sbb al, 0xc
xor al, 0x84
clc
loopne 0x4c9e31
dec edx
jnp 0x4c9e39
mov dword [0xdbea23f5], eax
inc ebp
les edi, [edi]
invalid
ljmp 0x7516:0xd76bc6ba
push cs
or esi, dword [ebx - 0x3f]
ja 0x4c9dc9
sub dword [edi], esi
add eax, dword [bp + di + 0x6212]
dec ebp
invalid
xchg edi, eax
dec edi
loop 0x4c9de1
aaa
movsb byte es:[edi], byte [esi]
adc bh, byte [edx + 0x13]
retf

Function at 0x509617
Capabilities:
Encode data using xor

Disassembly:
xlatb
mov al, byte [0xf6c7d5f2]
pop ds
nop
pop ss
enter 0xffffffffffff9179, 2
shl edx, 4
scasd eax, dword es:[edi]
mov dh, 0xc1
invalid
Function at 0x55c99a
Capabilities:
Encode data using xor

Disassembly:
push 0x12
xchg byte [eax + 0x52], dl
out dx, al
outsd dx, dword [esi]
push cs
push eax
sub eax, 0xfaaf258e
out 0x45, eax
adc byte [eax + 0x5b], al
cmpsb byte [esi], byte es:[edi]
or ebp, dword [esi + 0x2b]
nop
nop
mov dh, 0xd7
cdq
mov edx, 0xf0dbd339
cmc
insd dword es:[edi], dx
pop ebp
and ecx, 0xcdab05f1
scasd eax, dword es:[edi]
out dx, al
pop ecx
je 0x55c9fa
inc ebx
xchg ebp, eax
push esp
mov ah, byte [esi]
push edi
and cl, byte [edx - 0x448b1233]
in eax, dx
je 0x55c990
jle 0x55ca56
xchg dword [ebp - 0x6a], esp
fadd st(4), st(0)
in eax, dx
hlt
aam 0x53
sub dword [eax - 0x58], eax
test byte [ecx - 0x30f2f1ab], 0x75
jbe 0x55ca7c
or ah, byte [ebp - 0x4de7afe9]
jns 0x55ca15
or dword [ecx + 0x1ebe9e89], 0x5b
push ds
pop ebx
pop ebx
adc al, 0x99
loope 0x55c9dd
aas
shl dh, 1
in al, 0x6d
xor eax, 0xc43c564c
sbb eax, 0xbc7cb40a
inc ebp
jne 0x55ca1c
pop cx
push esp
sbb eax, 0x2762ecad
sbb byte [eax + 0x2986166f], 0xfc
inc ecx
outsd dx, dword [esi]
dec esi
and ebx, dword [ebp + 0x347e713f]
mov al, 0x2a
lahf
add dword [ebx], 0x6a884e74
add eax, 0x1c99c65f
and ch, ah
cmp eax, 0x8db378c5
hlt
mov al, 0xf7
dec ebx
mov bh, 0xc4
popfd
aas
xor byte [0x6b8aca8e], dl
mov gs, word [edi + 0x444af333]
js 0x55cae9
cld
sub al, 0xb
mov bh, 0x48
inc eax
movsb byte es:[edi], byte [esi]
imul eax, dword [ecx + eax], 0x7fc9690a
cmp al, 0x38
or esi, dword [edi + 0x69a44048]
add al, 1
or ch, byte [ecx - 0x37]
jg 0x55cab7
cmp al, 0x38
pop esp
in eax, 0x62
add esp, dword [ebp - 0x780c13fe]
mov esi, 0x9e482c15
xchg dword [esi - 0x61b7d3eb], edi
dec ebp
push cs
fimul dword [edi + edx + 0x18]
and ax, word [esi + 0x50]
insb byte es:[edi], dx
mov eax, 0x97c03e24
push edx
insd dword es:[edi], dx
sub al, 0x3c
pop ebp
mov ch, 0x98
dec esi
salc
mov ah, 0xcf
add ch, byte [ebp + 0x3c52ce8b]
or eax, 0xc5a82924
mov ecx, esi
push edx
cmp al, 0xd
and al, 0x29
test al, 0xc5
xlatb
sahf
push ebp
and eax, 0x88e23363
jp 0x55cafd
pop es
outsb dx, byte [esi]
xor eax, 0x9589360b
loope 0x55ca93
push 0x7807d4fc
nop
wait
fcos
or al, 0x81
ja 0x55ca65
adc al, 0xde
inc esi
fnstenv [edi]
imul edx, eax, 0x17
jmp 0x55cb65
push 0xffffffffffffffda
wait
push ecx
cmc
inc esp
aad 0x39
push esi
sbb ah, al
iretd

Function at 0x5a4761
Capabilities:
Encode data using xor

Disassembly:
or edi, dword [edi + 0x33]
or dword [esi + 0x61], 0xfffffffe
aad 0x21
rol dword [edx + 0x76], cl
pop es
test al, 0x27
and ebp, dword [edi + 0xd47a1c7]
push edx
invalid
Function at 0x63c771
Capabilities:
Encode data using xor

Disassembly:
fistp word [esp + ebp*2 + 0x7d4235e1]
movsb byte es:[edi], byte [esi]
imul eax, dword [edi], 0x9cd87913
or esp, ebx
jo 0x63c758
jecxz 0x63c7ca
std
or esi, eax
add dl, dh
in al, 0x37
aaa
pop esi
enter 0x642, 0x69
or eax, 0x6d329e64
add ebp, dword [esi + 0x2c]
scasd eax, dword es:[edi]
mov dword ds:[0x96168733], eax
xor eax, dword [edi + 0x3bb9616]
mov esp, 0x3f4b7fe4
xor eax, dword [edi + 0x3bb9616]
mov esp, 0x3f4b7fe4
xabort 0xffffffffffffffa5
js 0x63c7a9
invalid
mov bh, 0x9f
pop ss
lodsb al, byte [esi]
jge 0x63c7d1
and esp, dword [ecx - 6]
sbb byte [ecx], dh
push ebx
push esp
sub bh, dh
push esi
xor esi, dword [0x9a51166e]
mov edx, edi
loop 0x63c838
cli
jecxz 0x63c749
inc esi
xor byte [edi + 0x1d], 0x77
push edx
ja 0x63c81e
cmpsd dword [esi], dword es:[edi]
dec esi
je 0x63c760
pushal
inc ebx
scasd eax, dword es:[edi]
cli
adc eax, 0x57078852
push edx
mov byte [edi], al
push edi
add al, 0xc
inc ecx
out 0x46, al
rol byte [ebx + 0x7ecbb09], 0x81
popfd
xlatb
jnp 0x63c7ce
in eax, 0xa5
movsd dword es:[edi], dword [esi]
aam 0x6e
xor esi, dword [eax]
sbb dword [edx + 0x72fe655b], edi
mov ah, 0x20
or byte [esi], ch
xchg ebx, eax
dec ebp
fsub qword [edi - 0x55]
imul esp, ebx, 0xf1c27039
push ss
jecxz 0x63c843
ficom dword [edi - 0x7d]
jecxz 0x63c7e8
mov bh, 0x45
std
mov edx, 0x419bb88e
jp 0x63c7af
jnp 0x63c7d5
pop ss
push ebx
pop ss
xchg edx, eax
out 0xc9, eax
sbb byte [edx + ebx + 0x5fd233bb], dh
inc edi
das
mov esi, 0x739f4b21
or dword [eax], edi
inc ebx
adc al, 0xc2
rcl byte [eax + 0x4e], cl
stc
inc ebx
pop ds
aam 0x47
inc edi
and dh, byte [edx + 0x2f62d5f7]
or eax, 0xb0b7a4cf
or dword [edx + 0x5b], eax
mov al, 9
inc edx
pop ebx
loop 0x63c85b
invalid
xchg ebx, eax
pop eax
aas
invalid
Function at 0x402b18
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x402b27
pop dword [ebp - 0x38]
mov eax, 0x341e4a4c
add eax, 0xcc21e0db
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x523a725
add dword [ebp - 0x48], 0x492e9e26
mov dword [ebp - 0x44], 0xf939e854
sub dword [ebp - 0x44], 0xc7069c0f
mov dword [ebp - 0x40], 0x8698408f
sub dword [ebp - 0x40], 0x3a4bfc61
mov dword [ebp - 0x3c], 0x6210b35f
sub dword [ebp - 0x3c], 0x6210b35f
lea eax, [ebp - 0x48]
push eax
mov eax, 0xee55c5e5
add eax, 0x11ec6a8f
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x9eaecf54
add dword [ebp - 0x48], 0xd5c39a02
mov dword [ebp - 0x44], 0x3c7c00d7
add dword [ebp - 0x44], 0x4f0609e
mov dword [ebp - 0x40], 0xa46e74d0
sub dword [ebp - 0x40], 0x40ff0864
mov dword [ebp - 0x3c], 0xc66d3f0c
add dword [ebp - 0x3c], 0x3992c0f4
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xef5daae2
add eax, 0x10e48642
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3cd14
push 0
call eax
mov ecx, 0xed41bc8f
sub ecx, 0xed41781d
mov esi, eax
mov edi, 0xf913f595
add edi, 0x72f4e6b
add edi, dword [ebp - 0x38]
mov ebx, 0x4b1fea43
add ebx, 0x88257fb2
xor dword [ebp - 0x20], eax
mov edx, dword [edi]
add dword [ebp - 8], ebx
sub edx, ebx
mov dword [ebp - 0x10], 0xc4a40a04
mov dword [esi], edx
add dword [ebp - 0x2c], eax
add esi, 0xd7bfc717
sub esi, 0xd7bfc713
add edi, 0xe6fbaa1
add edi, 0xf1904563
loop 0x402c49
add eax, 0x9fa1e16f
add eax, 0x605f232c
mov ebx, eax
add eax, 0xbb5fe889
sub eax, 0xbb5fe884
mov ecx, 0xe12be53f
sub ecx, 0xe0ebe53f
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x40a220
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
or ebp, 0xffffffff
jmp 0x40a242
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40a249
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40a238
mov eax, 1
add ebx, ebx
jne 0x40a25b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40a250
jne 0x40a26c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a250
xor ecx, ecx
sub eax, 3
jb 0x40a280
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40a2f2
mov ebp, eax
add ebx, ebx
jne 0x40a28b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40a298
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40a2bc
inc ecx
add ebx, ebx
jne 0x40a2a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40a29d
jne 0x40a2b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a29d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40a2dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40a2cd
jmp 0x40a23e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40a2dc
add edi, ecx
jmp 0x40a23e
pop esi
mov edi, esi
mov ecx, 0xd2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40a2fa
cmp byte [edi], 1
jne 0x40a2fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
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 0x40a2ff
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40a36e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa1e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa304]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40a32c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa30c]
or eax, eax
je 0x40a368
mov dword [ebx], eax
add ebx, 4
jmp 0x40a349
call dword [esi + 0xa308]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40a39f
cmp al, 0xef
ja 0x40a392
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x40a374
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40a381
mov ebp, dword [esi + 0xa310]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0xa3fa]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40a3eb
sub esp, 0xffffff80
jmp 0x4021bc
Function at 0x1000269d
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x100026eb
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x100026fc
push 0xd
pop eax
jmp 0x10002726
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x100026ff
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x10002cb1
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.100150de
mov ebx, eax
cmp ebx, esi
je 0x10002d24
lea ecx, [ebp - 0x74]
call fcn.1000133f
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c2c7
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x10002d3c
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.10002cb1
cmp eax, esi
jne 0x10002d6e
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x10002d2c
lea ecx, [ebp - 0x74]
call fcn.1000133f
push dword [ebp - 0x78]
mov ecx, edi
call fcn.100025c6
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.1000133f
mov eax, esi
jmp 0x10002d0a
Function at 0x10005086
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8f4]
sub esp, 0x974
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x8f0], eax
push ebx
mov ebx, dword [ebp + 0x914]
push esi
mov esi, dword [ebp + 0x8fc]
push edi
mov edi, 0x400
test ebx, ebx
jne 0x100050d8
push edi
lea eax, [ebp - 0x14]
push eax
push 1
push esi
call fcn.100150de
add esp, 0x10
test eax, eax
je 0x100050d8
lea eax, [ebp - 0x14]
push eax
push str._s_ssvagent.exe
jmp 0x100050ee
test esi, esi
jne 0x10005226
test ebx, ebx
je 0x10005226
push ebx
push str._s_bin_ssvagent.exe
lea eax, [ebp + 0x3ec]
push edi
push eax
call fcn.100150de
add esp, 0x10
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x3ec]
push eax
call fcn.100150de
pop ecx
pop ecx
test eax, eax
jne 0x10005226
xor edi, edi
mov byte [ebp + 0x7ec], al
mov esi, 0x104
lea eax, [ebp + 0x7ec]
cmp dword [ebp + 0x900], edi
je 0x1000513a
push str.__new
jmp 0x1000513f
push str.__old
push esi
push eax
call fcn.100150de
add esp, 0xc
cmp dword [ebp + 0x904], edi
jne 0x10005159
cmp dword [ebp + 0x910], edi
je 0x1000516e
push str.__high
lea eax, [ebp + 0x7ec]
push esi
push eax
call fcn.100150de
add esp, 0xc
cmp dword [ebp + 0x90c], edi
je 0x1000518b
push str.__settreatas
lea eax, [ebp + 0x7ec]
push esi
push eax
call fcn.100150de
add esp, 0xc
cmp dword [ebp + 0x910], edi
je 0x100051a8
push str.__regdeploy
lea eax, [ebp + 0x7ec]
push esi
push eax
call fcn.100150de
add esp, 0xc
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.1000c3a0
add esp, 0xc
lea eax, [ebp + 0x7ec]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x6c], eax
cmp dword [ebp + 0x904], edi
je 0x100051dd
call fcn.100150de
test eax, eax
je 0x100051dd
mov dword [ebp - 0x74], str.runas
cmp dword [ebp + 0x908], edi
je 0x100051ec
mov dword [ebp - 0x7c], 0x40
lea eax, [ebp + 0x3ec]
mov dword [ebp - 0x70], eax
xor esi, esi
lea eax, [ebp - 0x80]
inc esi
push eax
mov dword [ebp - 0x64], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x10005226
cmp dword [ebp - 0x48], edi
je 0x10005222
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, esi
jmp 0x10005228
xor eax, eax
mov ecx, dword [ebp + 0x8f0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c2c7
add ebp, 0x8f4
leave
ret
Function at 0x1000533d
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8d0]
sub esp, 0x950
mov eax, dword [0x1002b19c]
xor eax, ebp
mov dword [ebp + 0x8cc], eax
mov eax, dword [ebp + 0x8d8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x3ff
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x4cd]
push ebx
push eax
mov byte [ebp + 0x4cc], bl
call fcn.1000c3a0
add esp, 0xc
mov dword [ebp - 0x78], ebx
mov edi, 0x1002b10c
mov esi, 0x400
cmp dword [ebp - 0x78], ebx
jne 0x1000545f
push dword [ebp - 0x80]
lea eax, [ebp + 0xcc]
push esi
push eax
mov byte [ebp + 0xcc], bl
call fcn.100150de
push 0x10024474
lea eax, [ebp + 0xcc]
push esi
push eax
call fcn.100150de
push dword [edi]
lea eax, [ebp + 0xcc]
push esi
push eax
call fcn.100150de
add esp, 0x24
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0xcc]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
je 0x10005450
push dword [ebp - 0x80]
lea eax, [ebp + 0x4cc]
push esi
push eax
mov byte [ebp + 0x4cc], bl
call fcn.100150de
push 0x10024478
lea eax, [ebp + 0x4cc]
push esi
push eax
call fcn.100150de
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp + 0x4cc]
push esi
push eax
call fcn.100150de
lea eax, [ebp + 0x4cc]
push eax
call fcn.100083c7
add esp, 0x28
test eax, eax
je 0x10005449
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x100053ea
jmp 0x10005450
mov dword [ebp - 0x78], 1
add edi, 4
cmp edi, 0x1002b118
jl 0x1000538e
push dword [ebp - 0x7c]
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [ebp + 0x8cc]
mov eax, dword [ebp - 0x78]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c2c7
add ebp, 0x8d0
leave
ret
Function at 0x10005483
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x944]
sub esp, 0x944
push 0xfffffffffffffffe
push 0x10028328
push 0x1000c6d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1002b19c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x940], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x94c]
mov dword [ebp - 0x1c], eax
xor edi, edi
mov dword [ebp - 0x20], edi
mov byte [ebp + 0x540], 0
push 0x3ff
push edi
lea eax, [ebp + 0x541]
push eax
call fcn.1000c3a0
add esp, 0xc
mov dword [ebp - 4], edi
mov dword [ebp - 0x24], edi
mov esi, 0x400
cmp dword [ebp - 0x24], 3
jge 0x10005633
mov byte [ebp + 0x140], 0
push dword [ebp - 0x1c]
push esi
lea eax, [ebp + 0x140]
push eax
call fcn.100150de
push 0x1002447c
push esi
lea eax, [ebp + 0x140]
push eax
call fcn.100150de
mov eax, dword [ebp - 0x24]
push dword [eax*4 + 0x1002b10c]
push esi
lea eax, [ebp + 0x140]
push eax
call fcn.100150de
add esp, 0x24
lea eax, [ebp]
push eax
lea eax, [ebp + 0x140]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x1000560c
mov byte [ebp + 0x540], 0
push dword [ebp - 0x1c]
push esi
lea eax, [ebp + 0x540]
push eax
call fcn.100150de
push 0x10024480
push esi
lea eax, [ebp + 0x540]
push eax
call fcn.100150de
lea eax, [ebp + 0x2c]
push eax
push esi
lea eax, [ebp + 0x540]
push eax
call fcn.100150de
lea eax, [ebp + 0x540]
push eax
call fcn.100083c7
add esp, 0x28
test eax, eax
jne 0x100055f7
push 0x404
call fcn.100150de
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x100055d8
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x1002b19c
call fcn.1000cdb0
add esp, 0xc
xor eax, eax
jmp 0x10005642
mov byte [ebx], 0
lea eax, [ebp + 0x540]
push eax
push esi
push ebx
call fcn.100150de
add esp, 0xc
mov dword [ebx + 0x400], edi
mov edi, ebx
mov dword [ebp - 0x20], edi
lea eax, [ebp]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x10005563
test edi, edi
je 0x1000562b
push edi
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ebx, dword [edi + 0x400]
push edi
call fcn.100150de
pop ecx
mov edi, ebx
mov dword [ebp - 0x20], edi
jmp 0x1000560c
inc dword [ebp - 0x24]
jmp 0x100054f9
mov dword [ebp - 4], 0xfffffffe
call fcn.10005668
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x940]
xor ecx, ebp
call fcn.1000c2c7
add ebp, 0x944
leave
ret