joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bc12c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x40
lea eax, [ebp - 0x50]
mov dword [ebp - 0x54], 0x44
push 0
push eax
mov esi, edx
mov ebx, ecx
call fcn.005713c0
xor eax, eax
mov dword [ebp - 0x28], 0x80
lea edi, [ebp - 0x10]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
xor edi, edi
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x4bc1aa
test esi, esi
je 0x4bc195
or eax, 0xffffffff
cmp dword [ebp + 8], edi
cmove eax, dword [ebp + 8]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
inc eax
jmp 0x4bc1c5
push ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push edi
push 4
pop edx
push 0x6f
pop ecx
call fcn.004faa90
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4bc559
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.005713c0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x4bc5b4
cmp dword [ebp - 0x110], 2
jne 0x4bc5b4
cmp dword [ebp - 0x11c], 6
jb 0x4bc5b4
xor eax, eax
inc eax
jmp 0x4bc5b6
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d855
leave
ret

Function at 0x4bca1d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
inc ebx
xor esi, esi
cmp byte [0x641d08], 0
push edi
mov edi, ecx
jne 0x4bca50
push esi
mov byte [0x641d08], bl
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.005713c0
add esp, 0xc
push str.ntdll.dll
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push 0x103
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.wdc.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4bcae3
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
test eax, eax
je 0x4bcae3
push str.WdcRunTaskAsInteractiveUser
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x4bcae3
push esi
push 0x605890
push edi
call eax
test eax, eax
cmove esi, ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056d855
leave
ret
Function at 0x4be8ce
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
xor edx, edx
mov esi, edx
test edi, edi
jle 0x4be8c6
movzx ecx, byte [esi + ebx]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x6015b0]
inc esi
cmp esi, edi
jl 0x4be8ae
pop edi
not edx
pop esi
mov eax, edx
pop ebx
ret
mov edx, ecx
push esi
lea esi, [edx + 2]
movzx eax, word [edx]
add edx, 2
test ax, ax
jne 0x4be8d4
sub edx, esi
sar edx, 1
add edx, edx
pop esi
jmp 0x4be89f

Function at 0x4c215d
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
test eax, eax
je 0x4c22e3
push ebx
push esi
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, 0xffffffff
jne 0x4c21a1
inc byte [edi + 0x19]
jmp 0x4c21d5
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push 0x2000
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], esi
call fcn.005a1c68
mov dword [ebp - 0x10], eax
pop ecx
test eax, eax
jne 0x4c21dc
inc byte [edi + 0x19]
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [0x63c410], 9
xor eax, eax
jmp 0x4c22e1
push 0x2000
push esi
push eax
call fcn.005713c0
add esp, 0xc
push 2
push esi
push 0xffffe000
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push esi
lea eax, [ebp - 0x14]
push eax
push 0x2000
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x4c221f
inc byte [edi + 0x19]
mov dword [0x63c410], 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], 0x636e6554
mov word [ebp - 8], 0x6e65
mov byte [ebp - 6], 0x74
cmp eax, 7
jl 0x4c228d
jne 0x4c2255
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push 7
push eax
push edi
call fcn.0056ea21
xor esi, esi
add esp, 0xc
test eax, eax
cmove esi, edi
jmp 0x4c2290
add eax, 0xfffffff9
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], eax
test eax, eax
jle 0x4c228d
mov edi, dword [ebp - 0x10]
mov ebx, edi
push 7
lea eax, [ebp - 0xc]
push eax
push ebx
call fcn.0056ea21
add esp, 0xc
test eax, eax
je 0x4c2289
mov eax, dword [ebp - 0x18]
inc eax
inc ebx
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x1c]
jl 0x4c2267
jmp 0x4c2290
mov esi, ebx
jmp 0x4c2290
mov edi, dword [ebp - 0x10]
xor ebx, ebx
test esi, esi
mov esi, dword [ebp + 0xc]
sete bl
cmp dword [ebp - 0x20], 0x300000
jbe 0x4c22b0
test esi, esi
jne 0x4c22b0
mov al, byte [0x63c623]
add al, 2
jmp 0x4c22b5
mov al, byte [0x63c623]
push dword [ebp - 0x24]
add al, 3
mov byte [0x63c623], al
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edi
call fcn.0057becd
pop ecx
test esi, esi
je 0x4c22d8
inc byte [0x63c620]
jmp 0x4c22de
inc byte [0x63c621]
lea eax, [ebx + 1]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0056d855
leave
ret 8
Function at 0x4c451c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov dword [ebp - 0x10], edx
movzx ebx, byte [ecx]
lea esi, [ecx + 1]
mov edx, esi
shl ebx, 0x18
push edi
mov edi, dword [eax]
xor eax, eax
mov dword [ebp - 0x18], eax
movzx eax, byte [edx]
shl eax, 0x10
or ebx, eax
mov dword [ebp - 0x2c], ecx
movzx eax, byte [edx + 1]
movzx ecx, byte [edx + 3]
shl eax, 8
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 2]
or ebx, eax
mov dword [ebp - 0x28], esi
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [ebp - 0x20], ebx
movzx eax, byte [edx + 6]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [ebp - 8]
shl ecx, 8
or ecx, eax
mov byte [ebp - 9], bl
mov eax, ebx
or edx, ecx
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
cmp dword [ebp + 8], 0
mov dword [ebp - 0x1c], edx
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
je 0x4c4696
mov ecx, dword [ebp - 0x14]
sub dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x10]
dec eax
mov dword [ebp + 8], eax
test edi, edi
jne 0x4c463f
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
call fcn.004c5482
mov ebx, dword [ebp - 0x20]
mov eax, ebx
mov edx, dword [ebp - 0x1c]
shr eax, 0x18
mov byte [ebp - 0xc], al
mov eax, ebx
mov ecx, dword [ebp - 0x14]
shr eax, 0x10
mov byte [ebp - 0xb], al
mov eax, ebx
shr eax, 8
mov byte [ebp - 0xa], al
mov eax, edx
shr eax, 0x18
mov byte [ebp - 8], al
mov eax, edx
shr eax, 0x10
mov byte [ebp - 7], al
mov eax, edx
shr eax, 8
inc dword [ebp - 0x18]
mov byte [ebp - 9], bl
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
mov al, byte [ebp + edi - 0xc]
xor al, byte [ecx]
mov byte [esi + ecx], al
inc ecx
mov eax, dword [ebp + 8]
inc edi
and edi, 7
mov dword [ebp - 0x14], ecx
test eax, eax
jne 0x4c45ea
mov esi, dword [ebp - 0x28]
cmp dword [ebp - 0x18], eax
je 0x4c4696
mov ecx, dword [ebp - 0x2c]
mov eax, ebx
shr eax, 0x18
mov byte [esi + 2], bl
mov byte [esi + 6], dl
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
mov eax, ebx
shr eax, 8
mov byte [esi + 1], al
mov eax, edx
shr eax, 0x18
mov byte [esi + 3], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 4], al
mov eax, edx
shr eax, 8
mov byte [esi + 5], al
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [eax], edi
pop edi
pop esi
pop ebx
call fcn.0056d855
leave
ret
Function at 0x4c46aa
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x1048
mov edi, ecx
push 0x601a48
push edi
call fcn.00570780
mov ebx, dword [ebp + 8]
add esp, 0xc
mov edx, ebx
xor esi, esi
lea eax, [ebx + 8]
movzx ecx, byte [edx]
inc edx
cmp edx, eax
cmovae edx, ebx
shl ecx, 8
movzx eax, byte [edx]
or ecx, eax
inc edx
lea eax, [ebx + 8]
cmp edx, eax
cmovae edx, ebx
shl ecx, 8
movzx eax, byte [edx]
or ecx, eax
inc edx
lea eax, [ebx + 8]
cmp edx, eax
cmovae edx, ebx
shl ecx, 8
movzx eax, byte [edx]
or ecx, eax
inc edx
lea eax, [ebx + 8]
cmp edx, eax
cmovae edx, ebx
xor dword [edi + esi*4], ecx
inc esi
cmp esi, 0x12
jl 0x4c46d1
xor esi, esi
mov dword [ebp - 8], esi
mov ebx, esi
mov dword [ebp - 4], esi
mov edx, edi
lea ecx, [ebp - 8]
call fcn.004c5482
mov eax, dword [ebp - 8]
mov dword [edi + ebx*4], eax
mov eax, dword [ebp - 4]
mov dword [edi + ebx*4 + 4], eax
add ebx, 2
cmp ebx, 0x12
jl 0x4c4720
mov edx, edi
lea ecx, [ebp - 8]
call fcn.004c5482
mov eax, dword [ebp - 8]
mov dword [edi + esi*4 + 0x48], eax
mov eax, dword [ebp - 4]
mov dword [edi + esi*4 + 0x4c], eax
add esi, 2
cmp esi, 0x400
jl 0x4c473f
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4c6080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
mov dword [esi], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4c609a
mov eax, dword [eax]
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], edi
push ecx
push dword [ebp + 0x1c]
push 0
push eax
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c60eb
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
cmp dword [eax + 0x14], 8
jb 0x4c60c2
mov eax, dword [eax]
lea ecx, [ebp + 0x14]
mov dword [ebp + 0x14], 4
push ecx
push esi
lea ecx, [ebp + 8]
push ecx
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c60eb
cmp dword [ebp + 8], 4
jne 0x4c60eb
lea esi, [eax + 1]
jmp 0x4c60ed
xor esi, esi
test edi, edi
je 0x4c60f8
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x4c6620
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5bdd
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x634254]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4c665e
mov eax, dword [eax]
mov esi, dword [ebp + 0x18]
lea ecx, [ebp + 8]
push ecx
push esi
push 0
push eax
push dword [ebp + 0x14]
mov dword [ebp + 8], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c66fb
mov edi, dword [ebp + 0xc]
and esi, 0x300
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x1c], ebx
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x18], esi
jb 0x4c669c
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp + 8]
push ecx
push 0
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c66fb
cmp dword [ebp + 8], 3
jne 0x4c66fb
mov esi, dword [ebp + 0x10]
mov ecx, esi
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push eax
mov eax, dword [ebp - 0x10]
inc eax
push eax
call fcn.004c9970
cmp dword [edi + 0x14], 8
jb 0x4c66d8
mov edi, dword [edi]
lea eax, [ebp - 0x10]
push eax
push dword [esi]
lea eax, [ebp + 8]
push eax
push 0
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4c66fb
cmp dword [ebp + 8], 3
jne 0x4c66fb
lea esi, [eax + 1]
jmp 0x4c66fd
xor esi, esi
test ebx, ebx
je 0x4c6708
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c6720
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push esi
xor esi, esi
cmp dword [eax + 0x14], 8
push edi
jb 0x4c6735
mov eax, dword [eax]
lea ecx, [ebp - 8]
mov dword [ebp + 8], esi
push ecx
lea ecx, [ebp + 8]
push ecx
push 0
push dword [ebp + 0x18]
push 0
push 0
push 0
push eax
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4c6788
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp dword [ecx + 0x14], 8
jb 0x4c6767
mov ecx, dword [ecx]
mov eax, dword [ebp + 0x10]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 4
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4c6788
lea edi, [eax + 1]
jmp 0x4c678a
xor edi, edi
test esi, esi
je 0x4c6795
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c67a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
mov ecx, dword [ebp + 0x28]
push esi
xor esi, esi
cmp dword [eax + 0x14], 8
push edi
mov edi, dword [ebp + 0xc]
jb 0x4c67bb
mov eax, dword [eax]
lea edx, [ebp - 8]
mov dword [ebp - 4], esi
push edx
lea edx, [ebp - 4]
push edx
push 0
push dword [ebp + 0x2c]
push 0
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4c682e
cmp dword [ebp + 0x24], 8
lea edx, [ebp + 0x10]
mov esi, dword [ebp - 4]
cmovae edx, dword [ebp + 0x10]
cmp dword [edi + 0x14], 8
jb 0x4c67f3
mov edi, dword [edi]
test edx, edx
je 0x4c682e
mov ecx, edx
push ebx
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c6800
sub ecx, ebx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop ebx
test eax, eax
jne 0x4c682e
lea edi, [eax + 1]
jmp 0x4c6830
xor edi, edi
test esi, esi
je 0x4c683b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x24]
cmp edx, 8
jb 0x4c6871
mov ecx, dword [ebp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c6867
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c6879
push edx
push ecx
call fcn.0056d0c8
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0057b201
int3

Function at 0x4c6880
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp dword [eax + 0x14], 8
jb 0x4c6893
mov eax, dword [eax]
lea ecx, [ebp - 4]
mov dword [ebp + 8], edi
push ecx
lea ecx, [ebp + 8]
push ecx
push 0
push dword [ebp + 0x18]
push 0
push 0
push 0
push eax
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4c68e6
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 0xc]
sub ecx, edx
cmp dword [eax + 0x14], 8
jb 0x4c68cf
mov eax, dword [eax]
push ecx
push edx
push 3
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4c68e6
lea esi, [eax + 1]
jmp 0x4c68e8
xor esi, esi
test edi, edi
je 0x4c68f3
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c6900
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
xor esi, esi
push edi
cmp dword [eax + 0x14], 8
jb 0x4c6912
mov eax, dword [eax]
lea ecx, [ebp + 8]
mov dword [ebp + 8], esi
push ecx
push dword [ebp + 0x14]
push 0
push eax
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c694b
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4c693a
mov eax, dword [eax]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x4c694b
lea edi, [eax + 1]
jmp 0x4c694d
xor edi, edi
test esi, esi
je 0x4c6958
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x4e0220
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x4e0235
push eax
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
mov eax, dword [esi + 0x78]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
je 0x4e0245
push eax
call edi
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4e024f
push eax
call edi
lea eax, [esi + 0x5c]
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
cmp dword [eax + 0x14], 8
jb 0x4e026f
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi + 0x74], eax
cmp eax, 0xffffffff
jne 0x4e029f
mov dword [esi + 0x74], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
mov edi, dword [ebp + 8]
push 0
push edi
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
mov dword [esi + 0x78], eax
test eax, eax
je 0x4e0297
push edi
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
pop edi
mov dword [esi + 0x7c], eax
pop esi
pop ebp
ret 4
Function at 0x4e9250
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4e928b
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d855
mov esp, ebp
pop ebp
ret
push ebx
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.005713c0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
je 0x4e92f3
mov ebx, dword [sym.imp.KERNEL32.DLL_Process32NextW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4e92ce
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x20c]
push ecx
push eax
call fcn.005a1fe8
add esp, 0xc
test eax, eax
je 0x4e930d
lea eax, [ebp - 0x230]
push eax
push edi
call ebx
test eax, eax
jne 0x4e92c4
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d855
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x228]
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.0056d855
mov esp, ebp
pop ebp
ret
Function at 0x4ea1e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
push 2
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x238], eax
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4ea218
xor edx, edx
jmp 0x4ea276
push ebx
push edi
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.005713c0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
je 0x4ea26b
mov edi, dword [ebp + 0xc]
mov ebx, dword [sym.imp.KERNEL32.DLL_Process32NextW]
cmp edi, dword [ebp - 0x228]
je 0x4ea296
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x4ea255
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor edx, edx
pop edi
pop ebx
mov ecx, dword [ebp - 0x234]
call fcn.004e9e70
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
xor ecx, ebp
pop esi
call fcn.0056d855
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [ebp - 0x218]
jmp 0x4ea274
Function at 0x4ea700
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7a8d
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x634254]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0
push 2
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov dword [ebp - 0x258], eax
cmp eax, 0xffffffff
je 0x4ea87c
mov ecx, edi
call fcn.004d7800
push 0x228
lea eax, [ebp - 0x250]
push 0
push eax
call fcn.005713c0
add esp, 0xc
mov dword [ebp - 0x254], 0x22c
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
test eax, eax
je 0x4ea870
nop
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4ea79a
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x230]
push ecx
push eax
call fcn.005a1fe8
add esp, 0xc
test eax, eax
jne 0x4ea855
mov edx, dword [ebp - 0x24c]
lea ecx, [ebp - 0x28]
call fcn.004ea2b0
mov dword [ebp - 4], 0
mov ecx, dword [edi + 4]
cmp ecx, dword [edi + 8]
je 0x4ea80f
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
add dword [edi + 4], 0x18
jmp 0x4ea818
push eax
push ecx
mov ecx, edi
call fcn.00444644
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4ea855
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4ea84b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ea897
push edx
push ecx
call fcn.0056d0c8
add esp, 8
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
test eax, eax
jne 0x4ea790
push dword [ebp - 0x258]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
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.0056d855
mov esp, ebp
pop ebp
ret
call fcn.0057b201
int3