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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x5116b1
dec al
je 0x5116ec
dec al
je 0x511731
dec al
je 0x51179a
jmp 0x511824
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x511824
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5116c1
jmp 0x511824
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x511824
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5116fc
jmp 0x511824
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x511824
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x511760
xor ebp, ebp
jmp 0x511770
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x511779
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x511741
jmp 0x511824
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x511824
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x5117f3
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0050e6f4
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5117ae
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x51769c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
mov byte [ebp - 2], cl
mov byte [ebp - 1], dl
mov esi, eax
mov eax, dword [ebp + 8]
call fcn.00406ba0
xor eax, eax
push ebp
push 0x51779b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004047b4
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x10
call fcn.004047b4
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
cmp byte [ebp - 2], 0
je 0x5176fe
mov word [ebp - 0x18], 1
jmp 0x517704
mov word [ebp - 0x18], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x517721
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x517721
lea eax, [ebp + 8]
mov edx, dword [ebp + 8]
call fcn.0040640c
test eax, eax
je 0x51772a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x517739
mov eax, dword [ebp + 8]
call fcn.00406c44
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
push 0
push 0
mov eax, esi
call fcn.00406c44
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x517785
cmp byte [ebp - 1], 0
je 0x517771
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5177a2
lea eax, [ebp + 8]
call fcn.00406ba8
ret

Function at 0x5186b0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x518733
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e]
xor ecx, ecx
mov edx, 0x1e
call fcn.004047b4
mov dword [ebp - 0x1a], 2
lea eax, [ebp - 0x24]
mov ecx, 0x518750
mov edx, ebx
call fcn.0040708c
mov eax, dword [ebp - 0x24]
call fcn.00406c44
mov dword [ebp - 0x16], eax
mov eax, esi
call fcn.00406c44
mov dword [ebp - 0x12], eax
mov word [ebp - 0xe], 0x214
lea eax, [ebp - 0x1e]
push eax
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51873a
lea eax, [ebp - 0x24]
call fcn.00406ba8
ret
Function at 0x518754
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406ba0
xor eax, eax
push ebp
push 0x5187dc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.004047b4
mov dword [ebp - 0x1e], 3
lea eax, [ebp - 0x28]
mov ecx, 0x5187f8
mov edx, dword [ebp - 4]
call fcn.0040708c
mov eax, dword [ebp - 0x28]
call fcn.00406c44
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x12], 0x14
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5187e3
lea eax, [ebp - 0x28]
call fcn.00406ba8
lea eax, [ebp - 4]
call fcn.00406ba8
ret
Function at 0x51aa54
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x51aa5d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x51ae10
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x51ae2c
push ebx
push 0x51ae50
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x58
mov edx, 3
call fcn.00407170
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
lea edx, [eax + 0x54]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0051b6d0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0xd], 0
jne 0x51adda
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x6c
mov cl, 2
mov edx, 0x51ae68
call fcn.005185b8
lea eax, [ebp - 0x18]
mov ecx, ebx
mov edx, 0x51aea0
call fcn.0040708c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x6c
mov cl, 3
call fcn.005185b8
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406c0c
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0051b73c
test al, al
jne 0x51ab2e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x6c
mov cl, 2
mov edx, 0x51aec0
call fcn.005185b8
jmp 0x51adda
lea edx, [ebp - 8]
mov eax, edi
call fcn.0041a768
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, 0x51aef0
call fcn.0040708c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x6c
mov cl, 3
call fcn.005185b8
push 0x51af10
push dword [ebp - 8]
push ebx
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00407170
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x6c
mov cl, 3
call fcn.005185b8
push 0xffffffffffffffff
lea eax, [ebp - 0x24]
mov ecx, ebx
mov edx, dword [ebp - 8]
call fcn.0040708c
mov eax, dword [ebp - 0x24]
call fcn.00406c44
push eax
mov eax, dword [ebp - 4]
call fcn.00406c44
push eax
call sub.kernel32.dll_CopyFileW
push esi
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x5165a8]
call fcn.00516a70
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x51ac00
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
add eax, 8
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x60]
call fcn.00406bb8
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.00517094
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51ac07
mov eax, dword [ebp - 0x14]
call fcn.00404f80
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51ae17
lea eax, [ebp - 0x38]
mov edx, 9
call fcn.00406bb0
lea eax, [ebp - 0x10]
mov edx, dword [0x516574]
call fcn.00408678
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406bb0
ret
Function at 0x51ba08
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 2], cl
mov byte [ebp - 1], dl
mov esi, eax
mov eax, dword [ebp + 8]
call fcn.00406ba0
xor eax, eax
push ebp
push 0x51bb3a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.004047b4
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x10
call fcn.004047b4
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
cmp byte [ebp - 2], 0
je 0x51ba6f
mov word [ebp - 0x18], 1
jmp 0x51ba75
mov word [ebp - 0x18], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x51ba92
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x51ba92
lea eax, [ebp + 8]
mov edx, dword [ebp + 8]
call fcn.0040640c
test eax, eax
je 0x51ba9b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x51baaa
mov eax, dword [ebp + 8]
call fcn.00406c44
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
push 0
push 0
mov eax, esi
call fcn.00406c44
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x51baf8
cmp byte [ebp - 1], 0
je 0x51bae2
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
mov bl, 1
jmp 0x51bb1c
push 0x10
push 0x51bb4c
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x5c]
call fcn.0041811c
mov eax, dword [ebp - 0x5c]
call fcn.00406c44
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51bb41
lea eax, [ebp - 0x5c]
call fcn.00406ba8
lea eax, [ebp + 8]
call fcn.00406ba8
ret
Function at 0x51d0dc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x228], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x51d233
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x51d206
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406c0c
mov eax, dword [ebp - 4]
test eax, eax
je 0x51d138
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x51d138
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.0040640c
mov ebx, eax
test ebx, ebx
je 0x51d143
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x228]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004072f8
mov eax, dword [ebp - 0x228]
mov edx, 0x51d250
call fcn.00407290
jne 0x51d1a4
mov eax, dword [ebp - 4]
test eax, eax
je 0x51d188
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x51d188
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.0040640c
mov ebx, eax
test ebx, ebx
je 0x51d193
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
mov ecx, ebx
dec ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004072f8
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.004047b4
lea eax, [ebp - 0x222]
xor ecx, ecx
mov edx, 0x200
call fcn.004047b4
lea eax, [ebp - 0x222]
mov edx, dword [ebp - 4]
call fcn.004149fc
xor eax, eax
mov dword [ebp - 0x22], eax
lea eax, [ebp - 0x222]
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x1e], 3
mov word [ebp - 0x12], 0x14
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x51d212
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51d23a
lea eax, [ebp - 0x228]
call fcn.00406ba8
lea eax, [ebp - 4]
call fcn.00406ba8
ret
Function at 0x51d8f4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x51d9fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
xor esi, esi
push 0x100000
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x40dcb0]
call fcn.00408558
add esp, 4
push 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x42dcd0]
call fcn.00439764
mov dword [ebp - 0x10], eax
xor ecx, ecx
push ebp
push 0x51d9d7
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 8]
lea edx, [eax + 0x10]
mov eax, dword [ebp - 8]
call fcn.0051d5a0
test al, al
jne 0x51d975
mov eax, dword [ebp - 8]
call fcn.0051d740
jmp 0x51d9c1
mov eax, dword [ebp - 4]
call fcn.00408390
mov ecx, eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov esi, eax
test esi, esi
jbe 0x51d9bd
mov eax, esi
dec eax
test eax, eax
jb 0x51d9bd
inc eax
xor edx, edx
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx + edx]
xor cl, byte [ebp - 0xc]
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x553644]
mov ebx, dword [ebp - 0xc]
shr ebx, 8
xor ecx, ebx
mov dword [ebp - 0xc], ecx
inc edx
dec eax
jne 0x51d99a
test esi, esi
jne 0x51d959
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51d9de
mov eax, dword [ebp - 0x10]
call fcn.00404f80
ret

Function at 0x52a148
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
dec ecx
js 0x52a199
lea eax, [ebp - 0x30]
cmp word [eax + 0x20], 3
je 0x52a180
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x52a170
jmp 0x52a199
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x52a181
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53cc20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x53cc9b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x104
call fcn.004041e8
mov ebx, eax
lea eax, [ebp - 4]
push eax
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov eax, dword [ebp - 4]
call fcn.0040c804
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00406d64
mov eax, dword [ebp - 8]
mov edx, edi
call fcn.0041a768
mov eax, ebx
call fcn.00404204
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53cca2
lea eax, [ebp - 8]
call fcn.00406ba8
ret

Function at 0x53e0d0
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov byte [esp], 0
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
mov ebx, eax
test ebx, ebx
jne 0x53e114
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3f0
jne 0x53e114
lea eax, [esp + 4]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov ebx, eax
test ebx, ebx
je 0x53e1ab
mov eax, 0x400
call fcn.004041e8
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x400
push esi
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_GetTokenInformation
mov ebx, eax
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
test ebx, ebx
je 0x53e1a4
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x553bb0
call sub.advapi32.dll_AllocateAndInitializeSid
mov ebx, dword [esi]
dec ebx
test ebx, ebx
jl 0x53e19a
inc ebx
xor edi, edi
mov eax, dword [esi + edi*8 + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x53e196
mov byte [esp], 1
jmp 0x53e19a
inc edi
dec ebx
jne 0x53e17d
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_FreeSid
mov eax, esi
call fcn.00404204
movzx eax, byte [esp]
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x53e1b8
Capabilities:
Get session integrity level

Disassembly:
mov eax, dword [0x554290]
cmp dword [eax], 2
je 0x53e1c5
mov al, 1
ret
mov eax, dword [0x553dd4]
cmp dword [eax], 6
jge 0x53e1d5
call fcn.0053e0d0
ret
call sub.shell32.dll_IsUserAnAdmin
cmp eax, 1
sbb eax, eax
inc eax
ret
Function at 0x53e1e4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406ba0
mov eax, dword [ebp - 8]
call fcn.00406ba0
xor eax, eax
push ebp
push 0x53e28f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x554290]
mov eax, dword [eax]
sub eax, 2
jne 0x53e231
lea eax, [ebp - 0xc]
mov edx, 0x53e2ac
call fcn.00406c0c
jmp 0x53e23e
lea eax, [ebp - 0xc]
mov edx, 0x53e2c4
call fcn.00406c0c
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00406c44
push eax
mov eax, dword [ebp - 4]
call fcn.00406c44
push eax
mov eax, ebx
call fcn.00406c44
push eax
mov eax, dword [ebp - 0xc]
call fcn.00406c44
push eax
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53e296
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406bb0
ret

Function at 0x53f6d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x228], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x53f827
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x53f7fa
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406c0c
mov eax, dword [ebp - 4]
test eax, eax
je 0x53f72c
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x53f72c
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.0040640c
mov ebx, eax
test ebx, ebx
je 0x53f737
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x228]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004072f8
mov eax, dword [ebp - 0x228]
mov edx, 0x53f844
call fcn.00407290
jne 0x53f798
mov eax, dword [ebp - 4]
test eax, eax
je 0x53f77c
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x53f77c
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.0040640c
mov ebx, eax
test ebx, ebx
je 0x53f787
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
mov ecx, ebx
dec ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004072f8
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.004047b4
lea eax, [ebp - 0x222]
xor ecx, ecx
mov edx, 0x200
call fcn.004047b4
lea eax, [ebp - 0x222]
mov edx, dword [ebp - 4]
call fcn.004149fc
xor eax, eax
mov dword [ebp - 0x22], eax
lea eax, [ebp - 0x222]
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x1e], 3
mov word [ebp - 0x12], 0x14
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53f806
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53f82e
lea eax, [ebp - 0x228]
call fcn.00406ba8
lea eax, [ebp - 4]
call fcn.00406ba8
ret
Function at 0x401020
Capabilities:
Create process on windows

Disassembly:
push 0
push 0x408030
call dword [sym.imp.KERNEL32.dll_WinExec]
mov eax, 1
ret
Function at 0xdd26c3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push 0xde02c8
mov dword [ebp - 0xc], esi
call dword [0xde00e8]
cmp eax, esi
je 0xdd276b
push ebx
push 0xde02e8
push eax
call dword [0xde0130]
mov ebx, eax
cmp ebx, esi
je 0xdd276a
push edi
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push esi
jmp 0xdd271c
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.00ddf7ed
pop ecx
pop ecx
cmp eax, esi
je 0xdd2729
lea ecx, [ebp - 8]
push ecx
mov dword [ebp - 4], eax
push eax
push esi
push esi
push 2
call ebx
mov edi, eax
cmp edi, 0x6f
je 0xdd2703
cmp edi, esi
jne 0xdd275b
mov eax, dword [ebp - 4]
cmp eax, esi
je 0xdd2769
mov edi, dword [eax + 0x34]
xor edx, edx
cmp edi, esi
jbe 0xdd2754
movzx ebx, byte [eax + edx + 0x2c]
mov ecx, edx
and ecx, 3
shl ecx, 3
shl ebx, cl
xor dword [ebp - 0xc], ebx
inc edx
cmp edx, edi
jb 0xdd273d
mov eax, dword [eax + 8]
cmp eax, esi
jne 0xdd2734
cmp dword [ebp - 4], esi
je 0xdd2769
push dword [ebp - 4]
call fcn.00ddf82e
pop ecx
pop edi
pop ebx
mov eax, dword [ebp - 0xc]
pop esi
leave
ret

Function at 0xdd27df
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x18], bl
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor esi, esi
mov dword [ebp - 8], ebx
stosb byte es:[edi], al
mov dword [ebp - 4], 0xf
call fcn.00dd26c3
cmp eax, ebx
jne 0xdd285a
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [0xde008c]
test eax, eax
je 0xdd2845
xor eax, eax
cmp dword [ebp - 4], ebx
jbe 0xdd2845
movsx edx, byte [ebp + eax - 0x18]
mov ecx, eax
and ecx, 3
shl ecx, 3
shl edx, cl
xor esi, edx
inc eax
cmp eax, dword [ebp - 4]
jb 0xdd2826
cmp esi, ebx
je 0xdd2845
mov eax, esi
jmp 0xdd285a
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
push 4
push ebx
push ebx
call dword [0xde0088]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0xdd30c2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
xor ecx, ecx
not eax
cmp dword [ebp + 0xc], ecx
jne 0xdd30d5
xor eax, eax
pop ebp
ret
jbe 0xdd3104
mov edx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
xor eax, edx
mov edx, eax
and edx, 0xf
shr eax, 4
xor eax, dword [edx*4 + 0xde03b0]
mov edx, eax
and edx, 0xf
shr eax, 4
xor eax, dword [edx*4 + 0xde03b0]
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0xdd30d7
not eax
pop ebp
ret

Function at 0xdd3108
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
mov esi, dword [ebp + 0x10]
inc ecx
test esi, esi
je 0xdd313e
mov edx, dword [ebp + 0xc]
sub edx, eax
push edi
mov di, word [edx + eax]
xor di, word [ebp + 0x14]
mov word [eax], di
mov edi, dword [ebp + 0x18]
add edi, ecx
add dword [ebp + 0x14], edi
neg ecx
add eax, 2
dec esi
movzx ecx, cx
jne 0xdd311f
pop edi
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret