joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54ec80
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x7969c0]
test esi, esi
jle 0x54ed90
mov edi, dword [0x7969c4]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x54ecb4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x54ed35
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x54eca0
mov dword [esp], eax
mov ebx, eax
call fcn.0054f570
test eax, eax
mov edi, eax
je 0x54edb7
mov eax, dword [0x7969c4]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.0054f670
add eax, dword [edi + 0xc]
mov edx, dword [0x7969c4]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x54ed97
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x54ed2e
sub eax, 4
and eax, 0xfffffffb
jne 0x54ed40
add dword [0x7969c0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x7969c4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x54ed2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00668bf0
lea esi, [esi]
xor esi, esi
jmp 0x54ecbe
mov eax, dword [0x7969c4]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00668bf0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00668bf0
mov esi, esi
lea edi, [edi]

Function at 0x54f1f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x7969d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x7969d0]
sub esp, 4
test ebx, ebx
je 0x54f245
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x54f23e
test esi, esi
je 0x54f23e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x54f220
mov dword [esp], 0x7969d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x54f7d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [esp + 0x3c]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
sub esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x54f95c
mov eax, dword [esp + 0x3c]
add eax, 1
lea edx, [eax*4]
cmp eax, 0x20000000
mov eax, 0xffffffff
cmovb eax, edx
mov dword [esp], eax
call fcn.00642b90
mov edx, dword [esp + 0x3c]
mov edi, eax
test edx, edx
je 0x54f8ec
xor ebx, ebx
nop
lea esi, [esi]
mov eax, dword [esp + 0x2c]
mov ebp, dword [eax + ebx*4]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebp
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
sub esp, 0x20
mov dword [esp], eax
mov dword [esp + 0x28], eax
call fcn.00642b90
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x1c], 0
mov esi, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ebp
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [edi + ebx*4], esi
add ebx, 1
sub esp, 0x20
cmp dword [esp + 0x3c], ebx
jne 0x54f840
lea eax, [edi + ebx*4]
mov dword [eax], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
sub esp, 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.004df980
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x54f948
mov eax, dword [edi]
test eax, eax
je 0x54f948
xor ebx, ebx
jmp 0x54f937
mov eax, dword [edi + ebx*4]
test eax, eax
je 0x54f948
mov dword [esp], eax
add ebx, 1
call fcn.00642b60
cmp dword [esp + 0x3c], ebx
jne 0x54f930
mov dword [esp], edi
call fcn.00642b60
add esp, 0x4c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov esi, 0xffffffff
jmp 0x54f950
Function at 0x5860e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ecx + 8]
push esi
push ebx
mov ebx, ecx
lea esi, [ebx + 0x2c]
sub esp, 0x2c
mov dword [ecx], method.0RIPEMD_128E.virtual_0
mov dword [ecx + 4], 0x70a5b4
mov ecx, edi
mov dword [esp], 0x40
call fcn.00588d10
mov eax, 0x100
mov dword [ebx + 0x28], 8
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov word [ebx + 0x24], ax
mov dword [ebx], 0x7088d0
mov dword [ebx + 4], 0x708908
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], 0
mov dword [esp], 1
call fcn.0047cd10
mov dword [ebx + 0x38], eax
mov ecx, esi
mov dword [esp], 0x10
call fcn.00588350
sub esp, 4
mov dword [ebx + 0x3c], 0
lea eax, [ebx + 0x3c]
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x40], 0
mov dword [esp], 1
mov dword [ebp - 0x1c], eax
call fcn.0047cd10
mov dword [ebx + 0x48], eax
lea ecx, [ebx + 0x3c]
mov dword [esp], 4
call fcn.00588350
mov eax, dword [ebx + 0xc]
sub esp, 4
test eax, eax
jne 0x586210
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
test eax, eax
jne 0x586230
mov eax, dword [ebx + 0x3c]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x5861c7
mov edx, dword [ebx + 0x2c]
shl eax, 2
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x5861e3
Function at 0x5863e0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ecx + 8]
push esi
push ebx
mov ebx, ecx
lea esi, [ebx + 0x2c]
sub esp, 0x2c
mov dword [ecx], method.0RIPEMD_128E.virtual_0
mov dword [ecx + 4], 0x70a5b4
mov ecx, edi
mov dword [esp], 0x40
call fcn.00588d10
mov eax, 0x100
mov dword [ebx + 0x28], 8
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov word [ebx + 0x24], ax
mov dword [ebx], 0x708920
mov dword [ebx + 4], 0x708958
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], 0
mov dword [esp], 1
call fcn.0047cd10
mov dword [ebx + 0x38], eax
mov ecx, esi
mov dword [esp], 0x10
call fcn.00588350
sub esp, 4
mov dword [ebx + 0x3c], 0
lea eax, [ebx + 0x3c]
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x40], 0
mov dword [esp], 1
mov dword [ebp - 0x1c], eax
call fcn.0047cd10
mov dword [ebx + 0x48], eax
lea ecx, [ebx + 0x3c]
mov dword [esp], 5
call fcn.00588350
mov eax, dword [ebx + 0xc]
sub esp, 4
test eax, eax
jne 0x586510
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
test eax, eax
jne 0x586530
mov eax, dword [ebx + 0x3c]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x5864c7
mov edx, dword [ebx + 0x2c]
shl eax, 2
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x5864e3
Function at 0x592dd0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ecx + 8]
push esi
push ebx
mov ebx, ecx
lea esi, [ebx + 0x2c]
sub esp, 0x2c
mov dword [ecx], method.0RIPEMD_128E.virtual_0
mov dword [ecx + 4], 0x70a5b4
mov ecx, edi
mov dword [esp], 0x40
call fcn.00588d10
mov eax, 0x100
mov dword [ebx + 0x28], 8
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov word [ebx + 0x24], ax
mov dword [ebx], 0x70b3d0
mov dword [ebx + 4], 0x70b408
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], 0
mov dword [esp], 1
call fcn.0047cd10
mov dword [ebx + 0x38], eax
mov ecx, esi
mov dword [esp], 0x10
call fcn.00588350
sub esp, 4
mov dword [ebx + 0x3c], 0
lea eax, [ebx + 0x3c]
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x40], 0
mov dword [esp], 1
mov dword [ebp - 0x1c], eax
call fcn.0047cd10
mov dword [ebx + 0x48], eax
lea ecx, [ebx + 0x3c]
mov dword [esp], 4
call fcn.00588350
mov eax, dword [ebx + 0xc]
sub esp, 4
test eax, eax
jne 0x592f00
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
test eax, eax
jne 0x592f20
mov eax, dword [ebx + 0x3c]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x592eb7
mov edx, dword [ebx + 0x2c]
shl eax, 2
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x592ed3
Function at 0x5930d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ecx + 8]
push esi
push ebx
mov ebx, ecx
lea esi, [ebx + 0x2c]
sub esp, 0x2c
mov dword [ecx], method.0RIPEMD_128E.virtual_0
mov dword [ecx + 4], 0x70a5b4
mov ecx, edi
mov dword [esp], 0x40
call fcn.00588d10
mov eax, 0x100
mov dword [ebx + 0x28], 8
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov word [ebx + 0x24], ax
mov dword [ebx], 0x70b420
mov dword [ebx + 4], 0x70b458
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], 0
mov dword [esp], 1
call fcn.0047cd10
mov dword [ebx + 0x38], eax
mov ecx, esi
mov dword [esp], 0x10
call fcn.00588350
sub esp, 4
mov dword [ebx + 0x3c], 0
lea eax, [ebx + 0x3c]
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x40], 0
mov dword [esp], 1
mov dword [ebp - 0x1c], eax
call fcn.0047cd10
mov dword [ebx + 0x48], eax
lea ecx, [ebx + 0x3c]
mov dword [esp], 4
call fcn.00588350
mov eax, dword [ebx + 0xc]
sub esp, 4
test eax, eax
jne 0x593200
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
test eax, eax
jne 0x593220
mov eax, dword [ebx + 0x3c]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x5931b7
mov edx, dword [ebx + 0x2c]
shl eax, 2
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x5931d3
Function at 0x595d50
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ecx + 8]
push esi
push ebx
mov ebx, ecx
lea esi, [ebx + 0x2c]
sub esp, 0x2c
mov dword [ecx], method.0RIPEMD_128E.virtual_0
mov dword [ecx + 4], 0x70a5b4
mov ecx, edi
mov dword [esp], 0x40
call fcn.00588d10
mov eax, 0x100
mov dword [ebx + 0x28], 8
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov word [ebx + 0x24], ax
mov dword [ebx], 0x70bd54
mov dword [ebx + 4], 0x70bd8c
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], 0
mov dword [esp], 1
call fcn.0047cd10
mov dword [ebx + 0x38], eax
mov ecx, esi
mov dword [esp], 0x14
call fcn.00588350
sub esp, 4
mov dword [ebx + 0x3c], 0
lea eax, [ebx + 0x3c]
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x40], 0
mov dword [esp], 1
mov dword [ebp - 0x1c], eax
call fcn.0047cd10
mov dword [ebx + 0x48], eax
lea ecx, [ebx + 0x3c]
mov dword [esp], 5
call fcn.00588350
mov eax, dword [ebx + 0xc]
sub esp, 4
test eax, eax
jne 0x595e80
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
test eax, eax
jne 0x595ea0
mov eax, dword [ebx + 0x3c]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x595e37
mov edx, dword [ebx + 0x2c]
shl eax, 2
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x595e53
Function at 0x596200
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ecx + 8]
push esi
push ebx
mov ebx, ecx
lea esi, [ebx + 0x2c]
sub esp, 0x2c
mov dword [ecx], method.0RIPEMD_128E.virtual_0
mov dword [ecx + 4], 0x70a5b4
mov ecx, edi
mov dword [esp], 0x40
call fcn.00588d10
mov eax, 0x101
mov dword [ebx + 0x28], 8
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov word [ebx + 0x24], ax
mov dword [ebx], 0x70bdd8
mov dword [ebx + 4], 0x70be10
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], 0
mov dword [esp], 1
call fcn.0047cd10
mov dword [ebx + 0x38], eax
mov ecx, esi
mov dword [esp], 5
call fcn.00588350
sub esp, 4
mov dword [ebx + 0x3c], 0
lea eax, [ebx + 0x3c]
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x40], 0
mov dword [esp], 1
mov dword [ebp - 0x1c], eax
call fcn.0047cd10
mov dword [ebx + 0x48], eax
lea ecx, [ebx + 0x3c]
mov dword [esp], 0x50
call fcn.00588350
mov eax, dword [ebx + 0xc]
sub esp, 4
test eax, eax
jne 0x596330
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
test eax, eax
jne 0x596350
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x5962e7
mov edx, dword [ebx + 0x3c]
shl eax, 2
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x596303

Function at 0x596610
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ecx + 8]
push ebx
mov ebx, ecx
lea edi, [ebx + 0x2c]
sub esp, 0x2c
mov dword [ecx], method.0RIPEMD_128E.virtual_0
mov dword [ecx + 4], 0x70a5b4
mov ecx, esi
mov dword [esp], 0x40
call fcn.00588d10
mov eax, 0x101
mov dword [ebx + 0x28], 8
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov word [ebx + 0x24], ax
mov dword [ebx], 0x70be78
mov dword [ebx + 4], 0x70beb0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], 0
mov dword [esp], 1
call fcn.0047cd10
mov dword [ebx + 0x38], eax
mov ecx, edi
mov dword [esp], 8
call fcn.00588350
mov eax, dword [ebx + 0xc]
sub esp, 4
test eax, eax
jne 0x596710
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x5966b4
Function at 0x596870
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ecx + 8]
push ebx
mov ebx, ecx
sub esp, 0x2c
mov dword [ecx], method.0RIPEMD_128E.virtual_0
mov dword [ecx + 4], 0x70a5b4
mov ecx, esi
mov dword [esp], pe_nt_image_headers32
call fcn.00588d10
mov eax, 0x101
mov dword [ebx + 0x28], 0x10
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov word [ebx + 0x24], ax
mov dword [ebx], 0x70bec8
mov dword [ebx + 4], 0x70bf00
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], 0
mov dword [esp], 1
call fcn.0047cd10
mov edx, dword [ebx + 0x34]
mov dword [ebx + 0x38], eax
cmp edx, 7
jbe 0x5969c0
cmp dword [ebx + 0x30], 8
mov eax, 8
cmovbe eax, dword [ebx + 0x30]
sub edx, eax
jne 0x596a50
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x30], 8
test eax, eax
jne 0x596a34
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [eax]
mov ecx, eax
mov dword [esp], 0x40
call dword [edx]
mov edi, eax
mov eax, dword [ebx + 0x30]
sub esp, 4
mov dword [esp], edi
shl eax, 3
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 4], eax
call sub.msvcrt.dll_memmove
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x596a18
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x596a18
test eax, eax
je 0x596a18
shl eax, 3
mov edx, dword [ecx]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [edx + 4]
sub esp, 8
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x30], 8
mov dword [ebx + 0x34], 8
test eax, eax
je 0x59692c
mov edx, dword [ebx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x59692c
mov ecx, dword [ebx + 0x2c]
shl edx, 3
mov dword [esp + 4], 0
mov dword [esp + 8], edx
lea eax, [ecx + eax*8]
mov dword [esp], eax
call sub.msvcrt.dll_memset
jmp 0x59691a
Function at 0x596bb0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ecx + 8]
push ebx
mov ebx, ecx
sub esp, 0x2c
mov dword [ecx], method.0RIPEMD_128E.virtual_0
mov dword [ecx + 4], 0x70a5b4
mov ecx, esi
mov dword [esp], pe_nt_image_headers32
call fcn.00588d10
mov eax, 0x101
mov dword [ebx + 0x28], 0x10
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov word [ebx + 0x24], ax
mov dword [ebx], 0x70bf18
mov dword [ebx + 4], 0x70bf50
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], 0
mov dword [esp], 1
call fcn.0047cd10
mov edx, dword [ebx + 0x34]
mov dword [ebx + 0x38], eax
cmp edx, 7
jbe 0x596d00
cmp dword [ebx + 0x30], 8
mov eax, 8
cmovbe eax, dword [ebx + 0x30]
sub edx, eax
jne 0x596d90
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x30], 8
test eax, eax
jne 0x596d74
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [eax]
mov ecx, eax
mov dword [esp], 0x40
call dword [edx]
mov edi, eax
mov eax, dword [ebx + 0x30]
sub esp, 4
mov dword [esp], edi
shl eax, 3
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 4], eax
call sub.msvcrt.dll_memmove
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x596d58
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x596d58
test eax, eax
je 0x596d58
shl eax, 3
mov edx, dword [ecx]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [edx + 4]
sub esp, 8
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x30], 8
mov dword [ebx + 0x34], 8
test eax, eax
je 0x596c6c
mov edx, dword [ebx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x596c6c
mov ecx, dword [ebx + 0x2c]
shl edx, 3
mov dword [esp + 4], 0
mov dword [esp + 8], edx
lea eax, [ecx + eax*8]
mov dword [esp], eax
call sub.msvcrt.dll_memset
jmp 0x596c5a
Function at 0x597300
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xc
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], edx
cmp edx, 7
jbe 0x59735d
lea esi, [edx - 8]
shr esi, 3
lea ebp, [esi*8 + 8]
xor esi, esi
nop
lea esi, [esi]
mov ebx, dword [esp + 0x28]
mov edi, dword [ecx + esi]
xor edi, dword [ebx + esi]
mov dword [eax + esi], edi
mov edi, dword [ecx + esi + 4]
xor edi, dword [ebx + esi + 4]
mov dword [eax + esi + 4], edi
add esi, 8
cmp esi, ebp
jne 0x597330
add dword [esp + 0x28], esi
add eax, esi
add ecx, esi
and dword [esp + 4], 7
mov edx, dword [esp + 4]
test edx, edx
je 0x5973f8
lea esi, [ecx + 4]
lea ebp, [eax + 4]
cmp eax, esi
setae bl
cmp ecx, ebp
mov edi, ebx
setae bl
mov esi, ebx
mov ebx, dword [esp + 0x28]
or esi, edi
lea edi, [ebx + 4]
cmp eax, edi
setae bl
cmp dword [esp + 0x28], ebp
mov edi, ebx
setae bl
mov ebp, ebx
or edi, ebp
mov ebp, dword [esp + 4]
and esi, edi
lea edi, [ebp - 1]
cmp edi, 3
seta bl
mov edi, ebx
mov ebx, esi
mov edx, edi
test bl, dl
je 0x597400
mov esi, dword [esp + 0x28]
or esi, ecx
or esi, eax
and esi, 3
jne 0x597400
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov esi, dword [ebx]
xor esi, dword [ecx]
mov dword [eax], esi
movzx ebx, byte [ecx + 4]
xor bl, byte [edx + 4]
mov byte [eax + 4], bl
cmp ebp, 5
je 0x5973f8
mov ebx, dword [esp + 0x28]
movzx edx, byte [ecx + 5]
xor dl, byte [ebx + 5]
mov byte [eax + 5], dl
cmp ebp, 6
je 0x5973f8
movzx ecx, byte [ecx + 6]
xor cl, byte [ebx + 6]
mov byte [eax + 6], cl
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esp + 0x28]
movzx edx, byte [ecx]
xor dl, byte [ebx]
mov ebx, dword [esp + 4]
mov byte [eax], dl
cmp ebx, 1
je 0x5973f8
mov edi, dword [esp + 0x28]
movzx edx, byte [ecx + 1]
xor dl, byte [edi + 1]
mov byte [eax + 1], dl
cmp ebx, 2
je 0x5973f8
movzx edx, byte [ecx + 2]
xor dl, byte [edi + 2]
mov byte [eax + 2], dl
cmp ebx, 3
je 0x5973f8
movzx edx, byte [ecx + 3]
xor dl, byte [edi + 3]
mov byte [eax + 3], dl
cmp ebx, 4
je 0x5973f8
movzx edx, byte [ecx + 4]
xor dl, byte [edi + 4]
mov byte [eax + 4], dl
cmp ebx, 5
je 0x5973f8
movzx edx, byte [ecx + 5]
xor dl, byte [edi + 5]
mov byte [eax + 5], dl
cmp ebx, 6
je 0x5973f8
movzx ecx, byte [ecx + 6]
xor cl, byte [edi + 6]
mov byte [eax + 6], cl
jmp 0x5973f8