joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10199fb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102b39ad
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10373f78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov edx, edi
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
cmp dword [edi + 0x14], 8
jb 0x10199ff1
mov edx, dword [edi]
mov ecx, edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1019a010
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.1004f0f0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x2200000
push 3
push 0
push 7
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x34], esi
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0
cmp edx, 8
jb 0x1019a093
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1019a089
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1019a150
push edx
push ecx
call fcn.1026505f
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp esi, 0xffffffff
jne 0x1019a11d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x30], eax
cmp eax, 5
jne 0x1019a10d
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1019a0c4
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1019a0f4
test esi, 0x400
jne 0x1019a10a
push esi
push edi
call fcn.101993a0
and esi, 0x10
mov dword [ebx + 4], eax
or esi, 0x20
add esp, 8
shr esi, 4
mov dword [ebx], esi
jmp 0x1019a132
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x2c]
push edi
push eax
push ebx
call fcn.10199630
add esp, 0x10
jmp 0x1019a132
mov eax, dword [ebp - 0x30]
push dword [ebp - 0x2c]
push edi
push eax
push ebx
call fcn.10199630
add esp, 0x10
jmp 0x1019a132
push dword [ebp - 0x2c]
push edi
push esi
push ebx
call fcn.10199c90
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102649e4
mov esp, ebp
pop ebp
ret
call fcn.10275373
int3
Function at 0x101a5050
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 4
call fcn.102656e0
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 4], eax
test edi, edi
je 0x101a50d0
mov cl, byte [edi]
test cl, cl
je 0x101a50d0
push ebx
push esi
mov ebx, 0x100
nop word [eax + eax]
movd xmm1, dword [esp + 0xc]
lea edi, [edi + 1]
movsx esi, cl
mov edx, 0x20
or esi, ebx
add ebx, 0x100
mov ecx, esi
shr ecx, 2
xor ecx, esi
imul esi, esi
and ecx, 0xf
sub edx, ecx
shl eax, cl
mov cl, byte [edi]
movd xmm0, edx
psrlq xmm1, xmm0
movd edx, xmm1
or eax, edx
xor eax, esi
mov dword [esp + 0xc], eax
test cl, cl
jne 0x101a5080
mov ecx, eax
pop esi
shr ecx, 0x10
pop ebx
xor eax, ecx
pop edi
pop ecx
ret
xor eax, eax
pop edi
pop ecx
ret

Function at 0x101a5170
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.102656e0
push ebx
mov ebx, dword [esp + 0xc]
push esi
xor esi, esi
mov dword [esp + 8], esi
test ebx, ebx
je 0x101a51f3
mov al, byte [ebx]
test al, al
je 0x101a51f3
push ebp
push edi
mov ebp, 0x100
movsx eax, al
push eax
call fcn.101a5230
movd xmm1, dword [esp + 0x14]
lea ebx, [ebx + 1]
mov edi, eax
mov edx, 0x20
or edi, ebp
add esp, 4
mov ecx, edi
add ebp, 0x100
shr ecx, 2
xor ecx, edi
imul edi, edi
and ecx, 0xf
sub edx, ecx
shl esi, cl
movd xmm0, edx
psrlq xmm1, xmm0
movd eax, xmm1
or esi, eax
mov al, byte [ebx]
xor esi, edi
mov dword [esp + 0x10], esi
test al, al
jne 0x101a5197
mov eax, esi
pop edi
shr eax, 0x10
pop ebp
xor eax, esi
pop esi
pop ebx
pop ecx
ret
pop esi
xor eax, eax
pop ebx
pop ecx
ret

Function at 0x1028bd11
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1028bb87

Function at 0x1029129c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10290def
Function at 0x1000a42d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.1000a42d]
mov dword [0x102ef574], 0x1060
mov ecx, dword [0x102ef570]
mov edx, ecx
add edx, 0x1bd4
add ecx, 0xc29
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
jmp 0x1000a483
mov eax, dword [ebp - 0x10]
mov dword [0x102ef574], eax
mov eax, dword [ebp - 0x14]
add esp, 0x14
pop ebp
ret
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x1000a462
jmp 0x1000a496
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
je 0x1000a472
mov eax, dword [ebp - 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], eax
jmp 0x1000a483

Function at 0x1000a4c3
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x102ef570], 0x13a8
mov dword [0x102ef57c], 0
mov byte [0x102ef580], 0
mov edi, dword [0x102ef574]
add edi, 0xffffea5b
mov dword [0x102ef574], edi
mov dword [0x102ef578], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102ef574]
add eax, 0xfffff29d
mov dword [0x102ef570], eax
mov eax, dword [0x102ef578]
add eax, 1
mov dword [0x102ef578], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000a51a
xor eax, eax
mov dword [0x102ef570], 0x119a
mov dword [0x102ef578], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x102ef584], 0
mov dword [0x102ef570], 0x21a0
mov edi, dword [0x102ef57c]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x102ef584], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x102ef57c], edx
mov dword [0x102ef574], 0xd15
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x102ef580], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov dword [0x102ef570], 0x18ab
mov cl, byte [0x102ef580]
mov esi, dword [0x102ef57c]
mov byte [ebx + esi], cl
mov esi, dword [0x102ef578]
add esi, 1
mov dword [0x102ef578], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000a568
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000a6aa
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x102e86af]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x102ef574], 0x780
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1000a61b
mov eax, dword [0x102ef570]
add eax, 0x23bd
mov dword [0x102ef570], eax
call fcn.1000afc9
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1000a172
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x1000a7d0
mov eax, dword [ebp - 0x3c]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x102ef570], 0x1a85
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1000a327
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x102ef574], 0xffffea19
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x3c], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x24], ecx
mov dword [0x102ef570], 0x24ae
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x1000a7d0
mov eax, dword [ebp - 0x44]
add eax, 0x17ef
mov ecx, dword [0x102ef574]
add ecx, 0xffffec01
mov dword [0x102ef574], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x1000a87b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x102ef570], 0xacb
mov dword [ebp - 0x10], eax
call fcn.1000b386
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1000a8c1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x102ef574], 0x6ce
mov esi, dword [edx + eax + 0x24]
mov dword [0x102ef570], 0xfffffca0
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x1000a9f4
jmp 0x1000a95e
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x3c]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x34], eax
jb 0x1000a96e
jmp 0x1000a9f4
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x102ef570], 0x1919
mov dword [ebp - 0x34], edi
jmp 0x1000a9f4
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x102ef570], 0xacb
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x1000a9e4
mov al, byte [ebp - 0x51]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x50]
add edx, 1
mov ah, byte [ebp - 0x52]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x4c], edx
jne 0x1000a992
mov al, byte [ebp - 0x52]
test al, 1
jne 0x1000a936
jmp 0x1000a90d
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000b0ee
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x102ef574], 0x1a0e
mov dword [ebp - 4], 0
mov dword [0x102ef570], 0x7d0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x102ef570]
add edx, 0xfffffa13
mov dword [0x102ef570], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x102ef574], 0x19a
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1000b19c
mov eax, 1
mov dword [0x102ef570], 0x26a1
mov dword [ebp - 0x14], eax
jmp 0x1000b185
mov eax, 0xffffee12
mov dword [0x102ef570], 0x43b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x1c], eax
je 0x1000b274
jmp 0x1000b18d
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [0x102ef574], eax
mov dword [ebp - 0x14], ecx
jmp 0x1000b185
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x1000b207
jmp 0x1000b1f0
mov eax, 0xfffff83a
mov dword [0x102ef570], 0xe63
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x1c], eax
je 0x1000b15e
jmp 0x1000b18d
mov eax, 0x1137
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x1c], eax
je 0x1000b1b4
jmp 0x1000b18d
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
jl 0x1000b19c
mov eax, dword [ebp - 0x24]
mov ecx, 0xffffec88
mov dword [0x102ef570], 0x2b1
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
jne 0x1000b18d
mov eax, 0xffffec88
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x1c], eax
jne 0x1000b18d
mov eax, 0x1137
mov dword [0x102ef570], 0x2760
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x1c], eax
je 0x1000b1d7
jmp 0x1000b18d
mov eax, 0xffffee12
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x1000b14a
jmp 0x1000b18d
Function at 0x1000b4fc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x1541
xor ebx, ebx
mov dword [0x102ef578], 0
mov dword [0x102ef57c], 0
mov dword [0x102ef588], 0
mov dword [0x102ef570], 0x1541
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
je 0x1000b68c
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
mov edi, 0x100
mov ebx, edx
add ebx, 1
add eax, 1
add esi, 0xffffe50f
mov dword [0x102ef570], esi
mov dword [ebp - 0x30], edx
cdq
idiv edi
mov dword [0x102ef578], edx
mov dword [0x102ef574], 0x1c5a
mov esi, dword [ebp - 0x24]
movzx esi, byte [esi + edx]
add esi, ecx
mov eax, esi
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x102ef57c], edx
mov dword [0x102ef570], 0xe53
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102ef580], cl
mov dword [0x102ef574], 0x1303
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x102ef580]
mov edx, dword [0x102ef57c]
mov byte [edi + edx], cl
mov edx, dword [0x102ef570]
mov ecx, edx
add ecx, 0x1414
mov dword [0x102ef570], ecx
mov ecx, dword [0x102ef578]
movzx ecx, byte [edi + ecx]
mov esi, dword [0x102ef57c]
movzx esi, byte [edi + esi]
add esi, ecx
mov ecx, edx
add ecx, 0xfffff366
mov dword [0x102ef570], ecx
and esi, 0xff
mov dword [0x102ef588], esi
mov cl, byte [edi + esi]
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x30]
mov ch, byte [esi + edi]
add edx, 0xffffe34d
mov dword [0x102ef570], edx
xor ch, cl
mov edx, dword [ebp - 0x20]
mov byte [edx + edi], ch
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x1000b68c
mov eax, dword [0x102ef57c]
mov ecx, dword [0x102ef578]
mov edx, dword [0x102ef570]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
jmp 0x1000b567
mov dword [0x102ef574], 0xaeb
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
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.1001019a
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.1001019a
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.1001019a
add esp, 0x10
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x3ec]
push eax
call fcn.1001019a
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.1001019a
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.1001019a
add esp, 0xc
cmp dword [ebp + 0x90c], edi
je 0x1000518b
push str.__settreatas
lea eax, [ebp + 0x7ec]
push esi
push eax
call fcn.1001019a
add esp, 0xc
cmp dword [ebp + 0x910], edi
je 0x100051a8
push str.__regdeploy
lea eax, [ebp + 0x7ec]
push esi
push eax
call fcn.1001019a
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.1001019a
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.1001019a
push 0x10024474
lea eax, [ebp + 0xcc]
push esi
push eax
call fcn.1001019a
push dword [edi]
lea eax, [ebp + 0xcc]
push esi
push eax
call fcn.1001019a
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.1001019a
push 0x10024478
lea eax, [ebp + 0x4cc]
push esi
push eax
call fcn.1001019a
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp + 0x4cc]
push esi
push eax
call fcn.1001019a
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