joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a0300
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68e712
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x7994f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x31c], esi
mov dword [ebp - 0x314], 0
push 7
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push str.unknown
mov dword [ebp - 4], 0
mov byte [esi], 0
call fcn.0048bc90
mov ax, word [0x6dd2e8]
push 0x1fe
mov word [ebp - 0x310], ax
lea eax, [ebp - 0x30e]
push 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x314], 1
call fcn.00607c70
add esp, 0xc
mov dword [ebp - 0x318], 0x100
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x310]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x4a041a
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00607c70
add esp, 0xc
lea eax, [ebp - 0x110]
push 0
push 0
push 0x100
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x310]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a0402
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, esi
call fcn.0048bc90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0060565a
mov esp, ebp
pop ebp
ret

Function at 0x4a0570
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68e712
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x7994f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x31c], esi
mov dword [ebp - 0x314], 0
push 7
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push str.unknown
mov dword [ebp - 4], 0
mov byte [esi], 0
call fcn.0048bc90
mov ax, word [0x6dd2e8]
push 0x1fe
mov word [ebp - 0x310], ax
lea eax, [ebp - 0x30e]
push 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x314], 1
call fcn.00607c70
add esp, 0xc
mov dword [ebp - 0x318], 0x100
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x310]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x4a068a
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00607c70
add esp, 0xc
lea eax, [ebp - 0x110]
push 0
push 0
push 0x100
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x310]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a0672
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
mov ecx, esi
call fcn.0048bc90
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0060565a
mov esp, ebp
pop ebp
ret
Function at 0x4a06e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x7994f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0x104
push 0
push eax
call fcn.00607c70
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push 0
push 0
push 0x2e
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4a0741
push 0x104
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0061e86a
add esp, 0xc
lea edx, [ebp - 0x108]
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4a0750
sub edx, ecx
lea eax, [ebp - 0x108]
push edx
push eax
mov ecx, esi
call fcn.0048bb10
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0060565a
mov esp, ebp
pop ebp
ret
Function at 0x4a3760
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x7994f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x4a37d7
test edi, edi
je 0x4a37d7
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a3785
sub ecx, edx
je 0x4a37d7
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.0049e540
add esp, 8
test eax, eax
jne 0x4a37d7
mov eax, dword [ebp - 0x20]
inc eax
push 1
push eax
call fcn.00619f80
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x4a37d7
push 0x6dcab8
push edi
call fcn.0049e280
mov edi, eax
add esp, 8
mov eax, dword [esi]
test edi, edi
jne 0x4a37ea
push eax
call fcn.00619f90
add esp, 4
mov dword [esi], edi
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060565a
mov esp, ebp
pop ebp
ret
push edi
push dword [ebp - 0x20]
push 1
push eax
call fcn.0061abd4
push edi
mov esi, eax
call fcn.0061a7df
mov ecx, dword [ebp - 4]
add esp, 0x14
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.0060565a
mov esp, ebp
pop ebp
ret
Function at 0x4afbc0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x691870
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x7994f4]
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 dword [ebp - 0x12c], ecx
xor bl, bl
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
je 0x4afdb1
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push eax
call fcn.0061d573
add esp, 8
test eax, eax
jne 0x4afc28
mov bl, 1
jmp 0x4afdb1
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp dword [ebp + 0x1c], 8
lea edi, [ebp + 8]
mov esi, dword [ebp + 0x18]
cmovae edi, dword [ebp + 8]
mov byte [ebp - 4], 1
test esi, esi
je 0x4afda9
push 0x100
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.00607c70
add esp, 0xc
mov ecx, 0x6dfb14
mov edx, 0x100
movzx eax, word [ecx]
cmp ax, dx
jae 0x4afcc0
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x128], 1
cmp ecx, 0x6dfb18
jne 0x4afc75
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
lea ecx, [edi + ecx*2]
movzx eax, word [ecx]
cmp ax, dx
jae 0x4afcb3
cmp byte [ebp + eax - 0x128], 0
jne 0x4afcfb
cmp ecx, edi
je 0x4afda9
sub ecx, 2
jmp 0x4afca1
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
lea ecx, [edi + ecx*2]
nop
movzx esi, word [ecx]
mov edx, 2
mov eax, 0x6dfb14
nop dword [eax]
cmp word [eax], si
je 0x4afcfb
add eax, 2
sub edx, 1
jne 0x4afce0
cmp ecx, edi
je 0x4afcf6
sub ecx, 2
jmp 0x4afcd0
or ecx, 0xffffffff
jmp 0x4afcff
sub ecx, edi
sar ecx, 1
cmp ecx, 0xffffffff
je 0x4afda9
push ecx
push 0
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp + 8]
call fcn.00485f40
push eax
lea ecx, [ebp - 0x28]
call fcn.004829f0
lea ecx, [ebp - 0x148]
call fcn.0047abb0
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.0047ac70
mov esi, dword [ebp - 0x12c]
mov ecx, esi
call fcn.004afbc0
cmp al, 1
jne 0x4afda9
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call fcn.0061d76f
add esp, 4
test eax, eax
jne 0x4afd8e
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str.Created__S
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [esi + 4]
call fcn.0049dca0
add esp, 0x18
mov bl, 1
jmp 0x4afda9
push str.Failed_to_Create__S
push 0
push 4
push str.AdobeGCUpdaterCFU
push dword [esi + 4]
call fcn.0049dca0
add esp, 0x14
xor bl, bl
lea ecx, [ebp - 0x28]
call fcn.0047abb0
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x4afde7
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4afddd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4afe07
push edx
push ecx
call fcn.006051f2
add esp, 8
mov al, bl
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.0060565a
mov esp, ebp
pop ebp
ret 0x18
call fcn.00611192
int3
Function at 0x4b3770
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x7994f4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x102
push 0
push 0x6e1288
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4b37ba
cmp eax, 2
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060565a
mov esp, ebp
pop ebp
ret
push esi
push str.newInstall
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
test esi, esi
pop esi
sete al
xor ecx, ebp
call fcn.0060565a
mov esp, ebp
pop ebp
ret
Function at 0x4b3c10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x7994f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x14]
or esi, 0xffffffff
push eax
push 0x101
push 0
push 0x6e1288
push reloc.OLEAUT32.dll_SysReAllocString
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b3c79
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push str.newInstall
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b3c79
mov esi, dword [ebp - 0x10]
mov bl, 1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x4b3c9c
cmp esi, 1
pop esi
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060565a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.0060565a
mov esp, ebp
pop ebp
ret
Function at 0x4b3d10
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x7994f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x224], esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x4b3d60
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4b3d72
cmp eax, 2
jne 0x4b3ece
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0060565a
mov esp, ebp
pop ebp
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [ebx + eax*2 - 2], 0x5c
lea edi, [ebx + eax*2]
mov dword [ebp - 0x220], edi
je 0x4b3da1
mov eax, 0x5c
mov word [edi], ax
add edi, 2
xor eax, eax
mov dword [ebp - 0x220], edi
mov word [edi], ax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x210], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4b3eab
nop dword [eax]
xor eax, eax
mov ecx, 0x208
mov word [edi], ax
mov eax, ebx
nop dword [eax]
cmp word [eax], 0
je 0x4b3dfe
add eax, 2
sub ecx, 1
jne 0x4b3df0
mov eax, 0x208
mov esi, ecx
sub eax, ecx
neg esi
sbb esi, esi
and esi, eax
test ecx, ecx
je 0x4b3e5c
mov edx, 0x208
lea ecx, [ebx + esi*2]
sub edx, esi
je 0x4b3e4f
lea edi, [ebp - 0x20c]
mov eax, SysReAllocString
sub edi, ecx
nop word [eax + eax]
test eax, eax
je 0x4b3e49
movzx esi, word [edi + ecx]
test si, si
je 0x4b3e49
mov word [ecx], si
dec eax
add ecx, 2
sub edx, 1
jne 0x4b3e30
mov edi, dword [ebp - 0x220]
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp - 0x224]
push ebx
push esi
call fcn.004b3d10
add esp, 8
test al, al
je 0x4b3eab
lea eax, [ebp - 0x218]
mov dword [ebp - 0x210], 0x104
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4b3de0
xor eax, eax
mov word [edi - 2], ax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
test eax, eax
je 0x4b3d60
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.0060565a
mov esp, ebp
pop ebp
ret
Function at 0x4bfde0
Capabilities:
Check for time delay via gettickcount
Enumerate services
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x74d2b8
push 0x608640
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x7994f4]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov edi, dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], 0x7530
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
jne 0x4bff76
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4bff40
push dword [ebp - 0x48]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x54], esi
test esi, esi
je 0x4bff40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
push esi
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
test eax, eax
je 0x4bff2d
xor edi, edi
mov dword [ebp - 0x50], edi
cmp edi, dword [ebp - 0x20]
jae 0x4bff6a
lea eax, [edi + edi*8]
movups xmm1, xmmword [esi + eax*4]
movups xmm0, xmmword [esi + eax*4 + 0x10]
movups xmmword [ebp - 0x74], xmm0
mov eax, dword [esi + eax*4 + 0x20]
mov dword [ebp - 0x64], eax
push 0x24
movd eax, xmm1
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x60], esi
test esi, esi
je 0x4bff2d
mov dword [ebp - 4], 1
lea eax, [ebp - 0x44]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4bff2d
cmp dword [ebp - 0x40], 1
je 0x4bff44
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x48]
push eax
push 0x24
lea eax, [ebp - 0x44]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x4bff2d
cmp dword [ebp - 0x40], 1
je 0x4bff44
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x5c]
jbe 0x4bfef3
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x7994f4
call fcn.00608b30
add esp, 0xc
xor eax, eax
jmp 0x4bff7b
mov dword [ebp - 4], 0
call fcn.004bff62
inc edi
mov dword [ebp - 0x50], edi
mov esi, dword [ebp - 0x54]
jmp 0x4bfea2
mov dword [ebp - 4], 0xfffffffe
call fcn.004bff9a
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0060565a
mov esp, ebp
pop ebp
ret
Function at 0x4c1ac0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x53c
mov eax, dword [0x7994f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor edi, edi
push edi
push eax
call fcn.00607c70
add esp, 0xc
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4c1b26
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_CreateToolhelp32Snapshot__Error:__d
push dword [0x76e94c]
push 2
push str.WinSandboxingUtilities
push edi
call fcn.0049dca0
add esp, 0x18
jmp 0x4c1c85
lea eax, [ebp - 0x438]
mov dword [ebp - 0x438], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x4c1b52
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_Process32First__Error:__d
jmp 0x4c1c6a
push 3
lea eax, [ebp - 0x538]
push str.explorer.exe
lea ecx, [ebp - 0x53c]
mov dword [ebp - 0x53c], eax
call fcn.004a0780
push dword [ebp - 0x53c]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0061e0f1
mov eax, dword [ebp - 0x53c]
lea ecx, [ebp - 0x538]
add esp, 0xc
cmp eax, ecx
je 0x4c1bb0
push eax
call fcn.00619f90
add esp, 4
nop dword [eax]
nop word [eax + eax]
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x414]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c1be6
test dx, dx
je 0x4c1be2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c1be6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4c1bc0
xor eax, eax
jmp 0x4c1beb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4c1c02
lea eax, [ebp - 0x438]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4c1bb0
jmp 0x4c1c0d
mov eax, dword [ebp - 0x430]
cmp eax, 0xffffffff
jne 0x4c1c2b
push str.Failed_to_find_explorer_process_id
push dword [0x76e94c]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0049dca0
add esp, 0x14
jmp 0x4c1c81
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x4c1c4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_OpenProcess__Error:__d
jmp 0x4c1c6a
push ebx
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4c1c81
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_OpenProcessToken_of_explorer__Error:__d
push dword [0x76e94c]
push 2
push str.WinSandboxingUtilities
push 0
call fcn.0049dca0
add esp, 0x18
test esi, esi
je 0x4c1c8c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x4c1c97
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0060565a
mov esp, ebp
pop ebp
ret
Function at 0x4ca9b5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 1
push edi
call fcn.004ca94b
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
je 0x4caa3a
push 1
push esi
call fcn.004ca94b
mov edx, dword [ebp + 0x10]
pop ecx
pop ecx
test al, al
je 0x4caa3d
mov ecx, edx
mov eax, ebx
shr ecx, 2
test ecx, ecx
je 0x4caa0f
mov edx, edi
mov dword [ebp - 4], ecx
sub edx, esi
mov edi, esi
mov eax, dword [edx + edi]
xor eax, dword [edi]
lea edi, [edi + 4]
or ebx, eax
sub ecx, 1
jne 0x4ca9f7
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
shl eax, 2
sub edx, eax
jne 0x4caa1f
xor eax, eax
test ebx, ebx
sete al
jmp 0x4caa55
add edi, eax
add esi, eax
mov ecx, ebx
mov eax, ebx
shr eax, 0x10
shr ecx, 0x18
or cl, al
mov eax, ebx
shr eax, 8
or cl, al
or bl, cl
jmp 0x4caa3d
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x4caa50
sub edi, esi
mov al, byte [esi + edi]
xor al, byte [esi]
or bl, al
inc esi
sub edx, 1
jne 0x4caa43
test bl, bl
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4caa5c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
push ebx
call fcn.004ca94b
mov edi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
je 0x4caadf
push 1
push edi
call fcn.004ca94b
mov esi, dword [ebp + 0x10]
pop ecx
pop ecx
test al, al
je 0x4caae2
push 1
push esi
call fcn.004ca94b
pop ecx
pop ecx
mov ecx, dword [ebp + 0x14]
test al, al
je 0x4caae5
mov edx, ecx
xor eax, eax
shr edx, 2
test edx, edx
je 0x4caad0
mov ecx, edi
mov dword [ebp - 8], edx
mov eax, ebx
sub ecx, esi
sub eax, esi
mov ebx, esi
mov edi, eax
mov eax, dword [ecx + ebx]
xor eax, dword [ebx]
mov dword [edi + ebx], eax
lea ebx, [ebx + 4]
sub edx, 1
jne 0x4caab4
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 8]
shl eax, 2
sub ecx, eax
je 0x4caafb
add ebx, eax
add edi, eax
add esi, eax
jmp 0x4caae5
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4caafb
sub edi, esi
sub ebx, esi
mov al, byte [esi + edi]
xor al, byte [esi]
mov byte [esi + ebx], al
inc esi
sub ecx, 1
jne 0x4caaed
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cab02
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 1
push esi
call fcn.004ca94b
mov edi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
je 0x4cab66
push 1
push edi
call fcn.004ca94b
pop ecx
pop ecx
mov ecx, dword [ebp + 0x10]
test al, al
je 0x4cab69
mov edx, ecx
xor eax, eax
shr edx, 2
test edx, edx
je 0x4cab59
mov eax, edi
mov dword [ebp - 8], edx
push ebx
sub eax, esi
mov ebx, esi
mov esi, eax
mov eax, dword [esi + ebx]
xor dword [ebx], eax
lea ebx, [ebx + 4]
sub edx, 1
jne 0x4cab45
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 8]
pop ebx
shl eax, 2
sub ecx, eax
je 0x4cab7a
add esi, eax
add edi, eax
jmp 0x4cab69
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4cab7a
sub edi, esi
mov al, byte [esi + edi]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x4cab6f
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4cc6f7
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
pop ebp
ret

Function at 0x4cc721
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0x20
push 0x6e47e0
push dword [ebp + 8]
call fcn.00607170
add esp, 0xc
pop ebp
ret
Function at 0x4cf910
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x6999f8
call fcn.00606064
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4cfa10
cmp byte [ebx + 0x3d], 0
je 0x4cfa10
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x4cf94a
xor al, al
jmp 0x4cfa12
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.004cfd30
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4cf9a8
sub eax, 1
je 0x4cf9ac
dec eax
sub eax, 1
je 0x4cf9fe
xor bl, bl
jmp 0x4cfa00
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x4cf9e4
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00621c5f
add esp, 0x10
cmp esi, eax
jne 0x4cf9a4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x4cf9fe
test esi, esi
jne 0x4cf96e
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00482ba0
jmp 0x4cf968
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0047aff0
mov al, bl
jmp 0x4cfa12
mov al, 1
call fcn.0060601f
ret