joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401112
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push edi
jmp 0x401124
xor eax, eax
lea edi, [ebp - 0x2b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
and dword [ebp - 4], 0
mov byte [ebp - 0x2c], 0x52
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x67
mov byte [ebp - 0x29], 0x51
mov byte [ebp - 0x28], 0x75
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x72
mov byte [ebp - 0x25], 0x79
mov byte [ebp - 0x24], 0x56
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x75
mov byte [ebp - 0x20], 0x65
mov byte [ebp - 0x1f], 0x45
mov byte [ebp - 0x1e], 0x78
mov byte [ebp - 0x1d], 0x41
mov byte [ebp - 0x18], 0x41
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], 0x76
mov byte [ebp - 0x15], 0x61
mov byte [ebp - 0x14], 0x70
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x33
mov byte [ebp - 0x11], 0x32
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0xf], 0x64
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x6c
jmp 0x4011c0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 8], eax
jmp 0x4011ec
test eax, eax
je 0x401230
jmp 0x401204
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x401230
jmp 0x401244
mov eax, dword [ebp - 4]
pop edi
leave
ret
Function at 0x4015dc
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
jmp 0x4015fc
movzx eax, word [ebp + 0x10]
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
jmp 0x40162f
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp + 0x10], eax
jmp 0x401650
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp + 0x14], eax
jmp 0x40167c
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
jmp 0x40168e
xor ebx, ebx
cmp esi, ebx
je 0x4016f6
jmp 0x4016a4
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
cmp edi, ebx
je 0x4016f6
jmp 0x4016dc
lea eax, [ebp - 4]
push ebx
push eax
push esi
push dword [ebp + 0x14]
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 1
pop ebx
jmp 0x4016fe
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x438d2d
Capabilities:
Authenticate hmac

Disassembly:
je 0x438d90
outsd dx, dword [esi]
push 0x3030484a
xor byte [ecx], dh
jne 0x438d7b
inc ecx
push 0x38786b38
xor eax, 0x30303074
xor dword [eax + 0x7a], ebp
pop esp
das
push eax
pop ecx
inc edx
outsb dx, byte [esi]
and edi, dword [ecx + 0x79]
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh
jo 0x438dad
push 0x3030304d
xor byte [ecx], dh
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh

Function at 0x438d6d
Capabilities:
Authenticate hmac

Disassembly:
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh
xor byte [ebx + 0x44], dl
aaa
xor byte [eax], dh
push ebx
inc esp
aaa
xor byte [eax], dh
cmp dword [ecx], edi
popal
xor al, 0x47
inc esp
inc esi
insd dword es:[edi], dx
inc edi
je 0x438de9
dec esi
inc esi
dec edx
and eax, 0x392e6e68
jbe 0x438dbf
xor dh, byte [eax]
inc esi
aaa
push 0x4a
insd dword es:[edi], dx
jge 0x438e19
insd dword es:[edi], dx
pop esp
das
sub al, byte [edx + 0x63]
inc esi
bound ebx, qword [ebp + 0x53]
push ebx
dec ecx
cmp al, 0x5d
inc ebx
inc ebx
pop edx
jne 0x438ded
jp 0x438ddf
push ecx
aaa
arpl word [ebp + 0x25], di
xor eax, 0x77462574
imul esp, dword ds:[0x75497a4c], 0x4a
and eax, 0x46257435
ja 0x438e04
imul esp, dword [0x75497a4c], 0x4a
jo 0x438e05
bound edi, qword [ecx]
inc eax
jnp 0x438e30
das
xor dword ds:[eax + 0x4f], edx
dec edx
xor eax, 0x3d216f31
cmp dword [eax], esi
bound ecx, qword [ebp + 0x4e]
pop esi
jp 0x438e19
cmp dl, byte [ebp + 0x72]
jb 0x438e1b
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax + 0x53], dh
xor byte [eax], dh
xor dword [ebp + 0x42], esi

Function at 0x438db0
Capabilities:
Authenticate hmac

Disassembly:
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh
xor byte [ebx + 0x44], dl
aaa
xor byte [eax], dh
push ebx
inc esp
aaa
xor byte [eax], dh
cmp dword [ecx], edi
popal
xor al, 0x47
inc esp
inc esi
insd dword es:[edi], dx
inc edi
je 0x438de9
dec esi
inc esi
dec edx
and eax, 0x392e6e68
jbe 0x438dbf
xor dh, byte [eax]
inc esi
aaa
push 0x4a
insd dword es:[edi], dx
jge 0x438e19
insd dword es:[edi], dx
pop esp
das
sub al, byte [edx + 0x63]
inc esi
bound ebx, qword [ebp + 0x53]
push ebx
dec ecx
cmp al, 0x5d
inc ebx
inc ebx
pop edx
jne 0x438ded
jp 0x438ddf
push ecx
aaa
arpl word [ebp + 0x25], di
xor eax, 0x77462574
imul esp, dword ds:[0x75497a4c], 0x4a
and eax, 0x46257435
ja 0x438e04
imul esp, dword [0x75497a4c], 0x4a
jo 0x438e05
bound edi, qword [ecx]
inc eax
jnp 0x438e30
das
xor dword ds:[eax + 0x4f], edx
dec edx
xor eax, 0x3d216f31
cmp dword [eax], esi
bound ecx, qword [ebp + 0x4e]
pop esi
jp 0x438e19
cmp dl, byte [ebp + 0x72]
jb 0x438e1b
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax + 0x53], dh
xor byte [eax], dh
xor dword [ebp + 0x42], esi
Function at 0x438dea
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax], dh
xor byte [ebx + 0x44], dl
aaa
xor byte [eax], dh
push ebx
inc esp
aaa
xor byte [eax], dh
cmp dword [ecx], edi
popal
xor al, 0x47
inc esp
inc esi
insd dword es:[edi], dx
inc edi
je 0x438de9
dec esi
inc esi
dec edx
and eax, 0x392e6e68
jbe 0x438dbf
xor dh, byte [eax]
inc esi
aaa
push 0x4a
insd dword es:[edi], dx
jge 0x438e19
insd dword es:[edi], dx
pop esp
das
sub al, byte [edx + 0x63]
inc esi
bound ebx, qword [ebp + 0x53]
push ebx
dec ecx
cmp al, 0x5d
inc ebx
inc ebx
pop edx
jne 0x438ded
jp 0x438ddf
push ecx
aaa
arpl word [ebp + 0x25], di
xor eax, 0x77462574
imul esp, dword ds:[0x75497a4c], 0x4a
and eax, 0x46257435
ja 0x438e04
imul esp, dword [0x75497a4c], 0x4a
jo 0x438e05
bound edi, qword [ecx]
inc eax
jnp 0x438e30
das
xor dword ds:[eax + 0x4f], edx
dec edx
xor eax, 0x3d216f31
cmp dword [eax], esi
bound ecx, qword [ebp + 0x4e]
pop esi
jp 0x438e19
cmp dl, byte [ebp + 0x72]
jb 0x438e1b
xor byte [eax], dh
xor byte [eax], dh
xor byte [eax + 0x53], dh
xor byte [eax], dh
xor dword [ebp + 0x42], esi
Function at 0x402feb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ecx + 0x10]
cmp esi, 0x40
jae 0x402ffb
xor eax, eax
jmp 0x403050
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x402ff7
mov edx, dword [ecx + 0x3c]
lea eax, [edx + 0xf8]
cmp esi, eax
jb 0x402ff7
cmp dword [edx + ecx], 0x4550
jne 0x402ff7
movzx eax, word [edx + ecx + 4]
push edi
mov edi, 0x14c
cmp ax, di
je 0x403038
mov edi, 0x8664
cmp ax, di
je 0x40304d
lea eax, [ecx + 0x98]
add eax, edx
mov ecx, dword [eax]
test ecx, ecx
je 0x40304d
add ecx, 0xc
cmp esi, ecx
jae 0x40304f
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x10001e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x10001e83
xor edx, edx
cmp dword [esi + 0x3cc], edx
jle 0x10001e83
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
nop
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
inc edx
cmp edx, dword [esi + 0x3cc]
jl 0x10001e70
pop edi
pop esi
pop ebp
ret 8
Function at 0x10005580
Capabilities:
Hash data with md5

Disassembly:
mov byte [ecx + 0x68], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x10005e10
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10005e20
sub esi, ecx
mov edx, 2
sar esi, 1
xor ecx, ecx
lea edi, [esi + 1]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10018496
lea ecx, [esi*2 + 2]
mov ebx, eax
push ecx
push 0
push ebx
call fcn.1002f800
push dword [ebp + 8]
push edi
push ebx
call fcn.10033d78
add esp, 0x1c
mov byte [ebp - 1], 1
xor edi, edi
test esi, esi
js 0x10005ebc
cmp word [ebx + edi*2], 0x5c
jne 0x10005ea0
xor eax, eax
push ebx
mov word [ebx + edi*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10005e97
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x10005eb8
mov eax, 0x5c
mov word [ebx + edi*2], ax
inc edi
cmp edi, esi
jle 0x10005e73
push ebx
call fcn.1001849f
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 1], 0
push ebx
call fcn.1001849f
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005ed0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004a820
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100691d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
test eax, eax
je 0x1000600a
movzx eax, word [eax]
mov word [ebp - 0x40], ax
xor eax, eax
push eax
push eax
mov dword [ebp - 0x30], 1
mov word [ebp - 0x3e], ax
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x1000600a
inc eax
xor ecx, ecx
mov dword [ebp - 0x50], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10018496
mov ecx, dword [ebp - 0x50]
add esp, 4
mov esi, eax
mov dword [ebp - 0x48], esi
test ecx, ecx
je 0x10005f97
xor eax, eax
mov edi, esi
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x54]
push esi
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x10005fa8
push esi
jmp 0x10006002
xor eax, eax
mov word [ebp - 0x42], ax
mov eax, esi
movzx eax, word [eax]
cmp dword [ebp - 0x2c], 8
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 2
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10037e40
add esp, 0xc
test eax, eax
je 0x10005fea
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x10005fd5
movzx eax, word [esi]
test ax, ax
je 0x10005fff
jmp 0x10005fb3
mov ax, word [ebp - 0x44]
mov word [ebp - 0x28], ax
xor eax, eax
mov dword [ebp - 0x18], 1
mov word [ebp - 0x26], ax
push dword [ebp - 0x48]
call fcn.1001849f
add esp, 4
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x40]
mov dword [edi + 0x14], 0
xor eax, eax
movups xmmword [edi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
movq qword [edi + 0x10], xmm0
call fcn.10003730
lea ecx, [ebp - 0x28]
call fcn.10003730
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100184a4
mov esp, ebp
pop ebp
ret
Function at 0x10006070
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100691d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.1002f800
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
add esp, 0xc
or ecx, 0x8000
cmp byte [ebp + 0x10], 0
cmove ecx, dword [ebp + 0xc]
push eax
push 0
push 0
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
test eax, eax
je 0x100060f8
xor eax, eax
xor ecx, ecx
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100060e4
sub ecx, edx
sar ecx, 1
push ecx
push 0
jmp 0x1000611d
xor eax, eax
lea ecx, [ebp - 0x20c]
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006106
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100039c0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100184a4
mov esp, ebp
pop ebp
ret

Function at 0x100061f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100691d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0x14]
push 0x208
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x20c]
push 0
push eax
mov dword [ebp - 0x21c], esi
call fcn.1002f800
add esp, 0xc
mov edi, 0x20019
lea eax, [ebp - 0x210]
push eax
push edi
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x100062b9
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
push esi
push esi
push esi
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x100062ad
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 2
jne 0x100062de
cmp ebx, reloc.OLEAUT32.dll_SysReAllocString
jne 0x100062de
cmp edi, 0x20019
jne 0x100062de
mov esi, dword [ebp - 0x21c]
mov edi, 0x20119
jmp 0x10006245
mov ebx, dword [ebp - 0x220]
lea ecx, [ebp - 0x20c]
xor eax, eax
lea edx, [ecx + 2]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006300
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.100039c0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100184a4
mov esp, ebp
pop ebp
ret
Function at 0x100063e0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push str.kernel32.dll
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x10006468
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10051148
push eax
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
test eax, eax
je 0x10006468
push str.Wow64RevertWow64FsRedirection
push eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, 1
pop edi
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x100075f0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1214
call fcn.10018cb0
mov eax, dword [0x100691d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1210]
push 0x1000
push 0
push eax
call fcn.1002f800
add esp, 0xc
mov dword [ebp - 0x1214], 0
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x1214]
push eax
push 0x1000
lea eax, [ebp - 0x1210]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x100076e9
push esi
push edi
mov edi, dword [ebp - 0x1214]
xor esi, esi
shr edi, 2
test edi, edi
je 0x100076be
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1002f800
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [ebp + esi*4 - 0x1210]
call fcn.10007700
add esp, 0x18
test eax, eax
je 0x100076b9
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.10038c01
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.10030a1a
add esp, 0x10
test eax, eax
jne 0x100076d1
inc esi
cmp esi, edi
jb 0x10007662
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100184a4
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + esi*4 - 0x1210]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100184a4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.100184a4
mov esp, ebp
pop ebp
ret

Function at 0x10007700
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test esi, esi
je 0x1000772d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
pop ebp
ret
Function at 0x10007890
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004aa28
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100691d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], ecx
test eax, eax
jne 0x100078dc
xor al, al
jmp 0x10007a70
cmp dword [edi + 0x14], 0
ja 0x1000792c
lea eax, [ebp - 0x40]
push eax
call fcn.100073f0
mov esi, eax
add edi, 4
add esp, 4
cmp edi, esi
je 0x10007921
mov ecx, edi
call fcn.10003730
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x40]
call fcn.10003730
mov edi, dword [ebp - 0x44]
mov eax, dword [edi + 0x14]
add edi, 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x44], eax
cmp dword [edi + 0x14], 8
jb 0x1000794b
mov edi, dword [edi]
cmp eax, 8
jae 0x10007960
movups xmm0, xmmword [edi]
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x10007999
mov esi, eax
lea ecx, [ebp - 0x28]
mov eax, SysReAllocString
or esi, 7
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.100037d0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
lea ecx, [ecx*2 + 2]
push ecx
push edi
push eax
call fcn.1002f280
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
push 0xa
push str.Software_
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10003840
mov edx, dword [ebp - 0x48]
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100079c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10003840
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x10007a0d
push 1
push 0x10050f04
lea ecx, [ebp - 0x28]
call fcn.10003840
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100079f4
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10003840
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x10007a49
push 1
push 0x10050f04
lea ecx, [ebp - 0x28]
call fcn.10003840
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007a30
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.10003840
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push VariantInit
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x28]
call fcn.10003730
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100184a4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10007da0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x100691d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x14]
cmp dword [edi + 0x14], 0
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
ja 0x10007e39
lea eax, [ebp - 0x1c]
push eax
call fcn.100073f0
mov esi, eax
lea ebx, [edi + 4]
add esp, 4
cmp ebx, esi
je 0x10007e2e
mov ecx, ebx
call fcn.10003730
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebx], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebx + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x1c]
call fcn.10003730
mov ebx, dword [ebp - 0x30]
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
jb 0x10007e44
mov eax, dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x20]
push ecx
push 0xf013f
push 0
push eax
push VariantInit
call esi
test eax, eax
jne 0x10007e83
lea eax, [ebp - 0x24]
push eax
push 0xf013f
push 0
push str.SoftWare
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x10007e98
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100184a4
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x28]
push 0
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push ebx
push dword [ebp - 0x24]
call esi
test eax, eax
je 0x10007ee0
push dword [ebp - 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x20]
call esi
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100184a4
mov esp, ebp
pop ebp
ret 0x10
push 0
lea eax, [ebp - 0x2c]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x28]
call esi
test eax, eax
je 0x10007f29
push dword [ebp - 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x20]
call esi
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100184a4
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp - 0x38]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007f31
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x20]
call esi
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100184a4
mov esp, ebp
pop ebp
ret 0x10