joyce8/EMBER2024-capa huggingface dataset:
Function at 0x539710
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov edi, dword [ebp + 8]
mov dword [esp + 8], 0xf003f
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
sub esp, 0xc
test eax, eax
je 0x539872
mov dword [esp + 4], 0
mov ebx, eax
mov eax, dword [edi]
lea esi, [ebp - 0x28]
xor edx, edx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], esi
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x28], dx
mov dword [esp], eax
call fcn.0061a660
mov eax, dword [edi]
sub esp, 8
mov edx, dword [ebp - 0x30]
mov edi, dword [eax + 4]
test edi, edi
je 0x5397b1
add eax, dword [eax + 0xc]
je 0x539798
lea ecx, [edi + edi]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp], edx
call sub.msvcrt.dll_memcpy
mov dword [esp + 4], 0
lea ecx, [ebp - 0x30]
mov dword [esp], edi
call fcn.0061a660
mov edx, dword [ebp - 0x30]
sub esp, 8
mov dword [esp + 8], 0xf003f
mov dword [esp + 4], edx
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
mov eax, dword [ebp - 0x30]
sub esp, 0xc
cmp eax, esi
je 0x5397da
mov dword [esp], eax
call fcn.00640890
test edi, edi
je 0x539885
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x2c], 0xea60
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0xea60
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0xea60
mov dword [ebp - 0x44], 0x15180
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 3
mov dword [esp], edi
mov dword [esp + 8], eax
mov dword [esp + 4], 2
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
sub esp, 0xc
mov dword [ebp - 0x4c], eax
mov dword [esp], edi
call esi
sub esp, 4
mov dword [esp], ebx
call esi
mov eax, dword [ebp - 0x4c]
sub esp, 4
test eax, eax
setne al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
setne al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
sub esp, 4
test esi, esi
setne al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x539fe0
Capabilities:
Get file version info

Disassembly:
push edi
xor eax, eax
push esi
mov esi, ecx
mov ecx, 0x200
push ebx
sub esp, 0x820
lea ebx, [esp + 0x20]
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x830]
mov eax, dword [eax]
mov edx, eax
add edx, dword [eax + 0xc]
je 0x53a01f
mov eax, dword [eax + 4]
mov dword [esp + 4], edx
mov dword [esp], ebx
add eax, eax
mov dword [esp + 8], eax
call sub.msvcrt.dll_memcpy
lea eax, [esp + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
sub esp, 8
xor eax, eax
test edi, edi
jne 0x53a050
add esp, 0x820
pop ebx
pop esi
pop edi
ret 4
mov dword [esp], edi
call fcn.006408b0
mov dword [esp + 8], edi
mov dword [esi], eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.VERSION.dll_GetFileVersionInfoW
sub esp, 0x10
test eax, eax
je 0x53a0c0
lea eax, [esp + 0x18]
mov dword [esp + 4], str.VarFileInfoTranslation
mov dword [esp + 0xc], eax
lea eax, [esp + 0x1c]
mov dword [esp + 8], eax
mov eax, dword [esi]
mov dword [esp], eax
call sub.VERSION.dll_VerQueryValueW
sub esp, 0x10
test eax, eax
je 0x53a0c0
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
rol eax, 0x10
mov dword [esi + 4], eax
add esp, 0x820
mov eax, 1
pop ebx
pop esi
pop edi
ret 4
mov eax, dword [esi]
test eax, eax
je 0x53a0ce
mov dword [esp], eax
call fcn.00640880
mov dword [esi], 0
xor eax, eax
mov dword [esi + 4], 0
add esp, 0x820
pop ebx
pop esi
pop edi
ret 4

Function at 0x53ae60
Capabilities:
Check os version

Disassembly:
sub esp, 0x13c
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x114
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
sub esp, 4
cmp dword [esp + 0x20], 5
seta al
add esp, 0x13c
ret
Function at 0x53e860
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x220]
push ebx
sub esp, 0x24c
mov eax, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x230], 0x104
mov dword [esp + 4], 0x104
mov dword [esp], esi
mov dword [ebp - 0x23c], eax
call eax
sub esp, 8
mov ebx, eax
mov edi, dword [ebp - 0x228]
cmp eax, 0x104
jbe 0x53e96b
cmp dword [ebp - 0x22c], eax
cmovle eax, dword [ebp - 0x22c]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x230], ebx
jge 0x53e94d
cmp ebx, 0x104
jg 0x53e9a0
mov dword [ebp - 0x228], esi
lea esi, [ebp - 0x220]
mov dword [ebp - 0x230], 0x104
mov edx, esi
mov dword [ebp - 0x244], esi
mov eax, dword [ebp - 0x240]
mov dword [esp + 4], edi
mov dword [esp], edx
mov dword [ebp - 0x22c], 0
add eax, eax
mov dword [esp + 8], eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x240]
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x22c], ecx
cmp edi, esi
je 0x53e9d0
cmp edi, eax
je 0x53e94d
mov dword [esp], edi
call fcn.00564320
mov edi, dword [ebp - 0x228]
mov dword [ebp - 0x22c], ebx
mov eax, dword [ebp - 0x23c]
mov dword [esp + 4], ebx
mov dword [esp], edi
call eax
mov edi, dword [ebp - 0x228]
sub esp, 8
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [method.QString.fromUtf16_unsigned_short_const__int_]
mov eax, dword [ebp - 0x228]
cmp eax, esi
je 0x53e991
mov dword [esp], eax
call fcn.00564320
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebx + ebx]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x244], eax
test eax, eax
je 0x663cd4
mov dword [ebp - 0x228], eax
mov edx, eax
mov dword [ebp - 0x230], ebx
jmp 0x53e8ff
mov edi, eax
jmp 0x53e94d
call dword [sym.imp.Qt5Core.dll_qBadAlloc__]
mov eax, dword [ebp - 0x244]
jmp 0x53e9b9
Function at 0x54e7a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x7939c0]
test esi, esi
jle 0x54e8b0
mov edi, dword [0x7939c4]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x54e7d4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x54e855
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x54e7c0
mov dword [esp], eax
mov ebx, eax
call fcn.0054f090
test eax, eax
mov edi, eax
je 0x54e8d7
mov eax, dword [0x7939c4]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.0054f190
add eax, dword [edi + 0xc]
mov edx, dword [0x7939c4]
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 0x54e8b7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x54e84e
sub eax, 4
and eax, 0xfffffffb
jne 0x54e860
add dword [0x7939c0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0x7939c4]
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 0x54e84e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00665cc0
lea esi, [esi]
xor esi, esi
jmp 0x54e7de
mov eax, dword [0x7939c4]
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.00665cc0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00665cc0
mov esi, esi
lea edi, [edi]

Function at 0x54ed10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x7939d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x7939d0]
sub esp, 4
test ebx, ebx
je 0x54ed65
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 0x54ed5e
test esi, esi
je 0x54ed5e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x54ed40
mov dword [esp], 0x7939d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x54f2f0
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 0x54f47c
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.006408b0
mov edx, dword [esp + 0x3c]
mov edi, eax
test edx, edx
je 0x54f40c
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.006408b0
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 0x54f360
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.004df630
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x54f468
mov eax, dword [edi]
test eax, eax
je 0x54f468
xor ebx, ebx
jmp 0x54f457
mov eax, dword [edi + ebx*4]
test eax, eax
je 0x54f468
mov dword [esp], eax
add ebx, 1
call fcn.00640880
cmp dword [esp + 0x3c], ebx
jne 0x54f450
mov dword [esp], edi
call fcn.00640880
add esp, 0x4c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov esi, 0xffffffff
jmp 0x54f470
Function at 0x584c00
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], 0x7075d4
mov ecx, edi
mov dword [esp], 0x40
call fcn.00587720
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], 0x7058f0
mov dword [ebx + 4], 0x705928
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.0047c9e0
mov dword [ebx + 0x38], eax
mov ecx, esi
mov dword [esp], 0x10
call fcn.00586d90
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.0047c9e0
mov dword [ebx + 0x48], eax
lea ecx, [ebx + 0x3c]
mov dword [esp], 4
call fcn.00586d90
mov eax, dword [ebx + 0xc]
sub esp, 4
test eax, eax
jne 0x584d30
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
test eax, eax
jne 0x584d50
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 0x584ce7
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 0x584d03
Function at 0x584f00
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], 0x7075d4
mov ecx, edi
mov dword [esp], 0x40
call fcn.00587720
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], 0x705940
mov dword [ebx + 4], 0x705978
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.0047c9e0
mov dword [ebx + 0x38], eax
mov ecx, esi
mov dword [esp], 0x10
call fcn.00586d90
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.0047c9e0
mov dword [ebx + 0x48], eax
lea ecx, [ebx + 0x3c]
mov dword [esp], 5
call fcn.00586d90
mov eax, dword [ebx + 0xc]
sub esp, 4
test eax, eax
jne 0x585030
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
test eax, eax
jne 0x585050
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 0x584fe7
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 0x585003
Function at 0x591340
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], 0x7075d4
mov ecx, edi
mov dword [esp], 0x40
call fcn.00587720
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], 0x7083f0
mov dword [ebx + 4], 0x708428
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.0047c9e0
mov dword [ebx + 0x38], eax
mov ecx, esi
mov dword [esp], 0x10
call fcn.00586d90
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.0047c9e0
mov dword [ebx + 0x48], eax
lea ecx, [ebx + 0x3c]
mov dword [esp], 4
call fcn.00586d90
mov eax, dword [ebx + 0xc]
sub esp, 4
test eax, eax
jne 0x591470
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
test eax, eax
jne 0x591490
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 0x591427
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 0x591443
Function at 0x591640
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], 0x7075d4
mov ecx, edi
mov dword [esp], 0x40
call fcn.00587720
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], 0x708440
mov dword [ebx + 4], 0x708478
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.0047c9e0
mov dword [ebx + 0x38], eax
mov ecx, esi
mov dword [esp], 0x10
call fcn.00586d90
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.0047c9e0
mov dword [ebx + 0x48], eax
lea ecx, [ebx + 0x3c]
mov dword [esp], 4
call fcn.00586d90
mov eax, dword [ebx + 0xc]
sub esp, 4
test eax, eax
jne 0x591770
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
test eax, eax
jne 0x591790
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 0x591727
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 0x591743
Function at 0x5941f0
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], 0x7075d4
mov ecx, edi
mov dword [esp], 0x40
call fcn.00587720
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], 0x708d74
mov dword [ebx + 4], 0x708dac
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.0047c9e0
mov dword [ebx + 0x38], eax
mov ecx, esi
mov dword [esp], 0x14
call fcn.00586d90
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.0047c9e0
mov dword [ebx + 0x48], eax
lea ecx, [ebx + 0x3c]
mov dword [esp], 5
call fcn.00586d90
mov eax, dword [ebx + 0xc]
sub esp, 4
test eax, eax
jne 0x594320
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
test eax, eax
jne 0x594340
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 0x5942d7
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 0x5942f3
Function at 0x594690
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], 0x7075d4
mov ecx, edi
mov dword [esp], 0x40
call fcn.00587720
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], 0x708df8
mov dword [ebx + 4], 0x708e30
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.0047c9e0
mov dword [ebx + 0x38], eax
mov ecx, esi
mov dword [esp], 5
call fcn.00586d90
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.0047c9e0
mov dword [ebx + 0x48], eax
lea ecx, [ebx + 0x3c]
mov dword [esp], 0x50
call fcn.00586d90
mov eax, dword [ebx + 0xc]
sub esp, 4
test eax, eax
jne 0x5947c0
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
test eax, eax
jne 0x5947e0
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 0x594777
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 0x594793

Function at 0x594a90
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], 0x7075d4
mov ecx, esi
mov dword [esp], 0x40
call fcn.00587720
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], 0x708e98
mov dword [ebx + 4], 0x708ed0
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.0047c9e0
mov dword [ebx + 0x38], eax
mov ecx, edi
mov dword [esp], 8
call fcn.00586d90
mov eax, dword [ebx + 0xc]
sub esp, 4
test eax, eax
jne 0x594b90
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 0x594b34