joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10047dc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x100c5041
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x101222d0]
xor eax, esp
mov dword [esp + 0x308], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101222d0]
xor eax, esp
push eax
lea eax, [esp + 0x320]
mov dword fs:[0], eax
mov edi, dword [esp + 0x330]
mov ebx, dword [esp + 0x338]
mov esi, dword [esp + 0x334]
mov ebp, dword [esp + 0x33c]
mov dword [ebx], 0
mov ecx, edi
mov dword [esi], 0xffffffff
call fcn.100340b0
test eax, eax
jne 0x10047e48
test ebp, ebp
je 0x10047e41
mov eax, dword [ebp]
mov edx, dword [eax + 0x14]
push str.GetAttributes:_filename_is_empty
mov ecx, ebp
call edx
xor al, al
jmp 0x10047f75
lea ecx, [esp + 0x14]
call fcn.10031a80
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x32c], 0
call fcn.10035b40
push 0x5c
push 0x2f
lea ecx, [esp + 0x1c]
call fcn.10033ad0
lea ecx, [esp + 0x14]
call fcn.100340b0
lea ecx, [esp + 0x14c]
mov edi, eax
call fcn.10065270
cmp edi, 0x104
mov byte [esp + 0x328], 1
jge 0x10047ece
lea ecx, [esp + 0x14]
call fcn.100325a0
test al, al
jne 0x10047eb7
lea ecx, [esp + 0x14c]
call fcn.100652a0
test al, al
je 0x10047ece
lea ecx, [esp + 0x14]
call fcn.10032830
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [esi], eax
cmp eax, 0xffffffff
jmp 0x10047f3b
test edi, edi
jle 0x10047f26
lea ecx, [esp + 0x1e4]
call fcn.10031a80
lea eax, [esp + 0x1e4]
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x330], 2
call fcn.10045b70
add esp, 8
lea ecx, [esp + 0x1e4]
call fcn.100323b0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 0x1e4]
mov dword [esi], eax
mov byte [esp + 0x328], 1
call fcn.10031b40
jmp 0x10047f38
lea ecx, [esp + 0x14]
call fcn.100323b0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esi], eax
cmp dword [esi], 0xffffffff
jne 0x10047f45
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
cmp dword [esi], 0xffffffff
lea ecx, [esp + 0x14c]
setne bl
mov byte [esp + 0x328], 0
call fcn.10065290
lea ecx, [esp + 0x14]
mov dword [esp + 0x328], 0xffffffff
call fcn.10031b40
mov al, bl
mov ecx, dword [esp + 0x320]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.10091e94
add esp, 0x318
ret
Function at 0x10048180
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x100c50f1
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x101222d0]
xor eax, esp
mov dword [esp + 0x308], eax
push ebx
push esi
mov eax, dword [0x101222d0]
xor eax, esp
push eax
lea eax, [esp + 0x318]
mov dword fs:[0], eax
mov esi, dword [esp + 0x328]
lea ecx, [esp + 0xc]
call fcn.10031a80
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x324], 0
call fcn.10035b40
push 0x5c
push 0x2f
lea ecx, [esp + 0x14]
call fcn.10033ad0
push 0
mov ebx, 1
lea eax, [esp + 0x10]
push ebx
push eax
call fcn.10045eb0
add esp, 0xc
lea ecx, [esp + 0x144]
call fcn.10065270
lea ecx, [esp + 0x144]
mov byte [esp + 0x320], bl
call fcn.100652a0
test al, al
lea ecx, [esp + 0xc]
je 0x10048245
call fcn.10032830
mov ecx, dword [esp + 0x32c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov esi, eax
neg esi
sbb esi, esi
neg esi
jmp 0x100482c3
call fcn.100340b0
test eax, eax
jle 0x100482a9
lea ecx, [esp + 0x1dc]
call fcn.10031a80
lea edx, [esp + 0x1dc]
push edx
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x328], 2
call fcn.10045b70
mov ecx, dword [esp + 0x334]
add esp, 8
push ecx
lea ecx, [esp + 0x1e0]
call fcn.10035340
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x1dc]
mov esi, eax
mov byte [esp + 0x320], bl
call fcn.10031b40
jmp 0x100482c3
mov edx, dword [esp + 0x32c]
push edx
lea ecx, [esp + 0x10]
call fcn.10035340
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, eax
test esi, esi
lea ecx, [esp + 0x144]
setne bl
mov byte [esp + 0x320], 0
call fcn.10065290
lea ecx, [esp + 0xc]
mov dword [esp + 0x320], 0xffffffff
call fcn.10031b40
mov al, bl
mov ecx, dword [esp + 0x318]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x308]
xor ecx, esp
call fcn.10091e94
add esp, 0x318
ret
Function at 0x1004e260
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x14]
test esi, esi
push edi
mov edi, dword [esp + 0x1c]
mov byte [ebp], 0
mov ebx, ecx
mov dword [edi], 0
je 0x1004e33d
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1004e33d
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
je 0x1004e2e0
push 0
push edi
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1004e2ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
je 0x1004e2d3
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1004e351
push eax
call fcn.1004d980
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0x14
cmp dword [edi], 0
jne 0x1004e2d7
mov byte [ebp], 1
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 0x14
mov eax, dword [ebx + 8]
test eax, eax
je 0x1004e320
push eax
push esi
push 1
push ecx
call fcn.10094604
add esp, 0x10
cmp eax, esi
mov dword [edi], eax
je 0x1004e2d7
mov eax, dword [ebx + 8]
push eax
call fcn.10097767
add esp, 4
test eax, eax
je 0x1004e2d3
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1004e351
call fcn.1004d890
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0x14
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1004e351
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.No_file_is_open.
call eax
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0x14
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1004e351
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.NULL_buf_or_bufSize
call eax
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0x14
Function at 0x1004e360
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp dword [ecx + 4], 0xffffffff
mov dword [esp], ecx
jne 0x1004e38a
cmp dword [ecx + 8], 0
jne 0x1004e38a
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1004e384
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.Failed_to_write_because_file_is_not_open.
call edx
xor al, al
pop ecx
ret 0x14
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x1004e3a5
mov dword [edi], 0
mov dword [edi + 4], 0
push ebp
mov ebp, dword [esp + 0x18]
mov eax, ebp
or eax, dword [esp + 0x1c]
push esi
je 0x1004e47d
mov edx, dword [esp + 0x18]
jmp 0x1004e3c0
cmp dword [esp + 0x20], 0
jl 0x1004e3d8
jg 0x1004e3d1
cmp ebp, 0x989680
jbe 0x1004e3d8
mov esi, 0x989680
jmp 0x1004e3da
mov esi, ebp
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x1004e438
push 0
lea ecx, [esp + 0x1c]
push ecx
push esi
push ebx
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1004e406
mov edx, dword [esp + 0x18]
cmp edx, esi
je 0x1004e457
mov esi, dword [esp + 0x28]
test esi, esi
je 0x1004e42e
mov edx, dword [esi]
mov eax, dword [edx + 0x24]
push 1
push str.WriteFileError
mov ecx, esi
call eax
mov ecx, esi
call fcn.1004d890
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
pop esi
pop ebp
pop edi
xor al, al
pop ebx
pop ecx
ret 0x14
mov eax, dword [ecx + 8]
test eax, eax
je 0x1004e45b
push eax
push 1
push esi
push ebx
call fcn.10094cdc
add esp, 0x10
cmp eax, 1
jne 0x1004e487
mov edx, esi
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x10]
add ebx, esi
sub ebp, esi
mov eax, 0
sbb dword [esp + 0x20], eax
cmp edi, eax
je 0x1004e471
add dword [edi], edx
adc dword [edi + 4], eax
mov eax, ebp
or eax, dword [esp + 0x20]
jne 0x1004e3c0
pop esi
pop ebp
pop edi
mov al, 1
pop ebx
pop ecx
ret 0x14
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1004e49b
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push str.fwrite_failed.
call eax
pop esi
pop ebp
pop edi
xor al, al
pop ebx
pop ecx
ret 0x14
Function at 0x10050c90
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x11c
mov eax, dword [0x101222d0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
mov ebx, dword [esp + 0x124]
push ebp
mov ebp, dword [esp + 0x130]
push esi
mov esi, dword [esp + 0x130]
test esi, esi
push edi
mov edi, dword [esp + 0x13c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], edi
je 0x10050e70
test ebx, ebx
je 0x10050e70
lea ecx, [esi + esi*4 + 0xa]
mov eax, 0xaaaaaaab
mul ecx
mov ecx, edx
shr ecx, 1
lea eax, [ecx + ecx]
xor edx, edx
div esi
lea ecx, [ecx + eax + 3]
push ecx
mov ecx, edi
call fcn.100377e0
mov eax, 0xaaaaaaab
mul dword [esp + 0x134]
xor esi, esi
xor ecx, ecx
shr edx, 1
mov dword [esp + 0x10], edx
je 0x10050dd0
mov dword [esp + 0x18], edx
jmp 0x10050d24
mov ebx, dword [esp + 0x14]
movzx eax, byte [ebx + esi]
movzx edi, byte [ebx + esi + 1]
add esi, 1
movzx edx, byte [ebx + esi + 1]
mov ebx, eax
add esi, 1
sar ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + ebp]
mov byte [esp + ecx + 0x20], bl
and eax, 3
mov ebx, edi
shl eax, 4
sar ebx, 4
and ebx, 0xf
or ebx, eax
movzx eax, byte [ebx + ebp]
mov byte [esp + ecx + 0x21], al
add ecx, 1
and edi, 0xf
mov eax, edx
sar eax, 6
add edi, edi
and eax, 3
add edi, edi
or eax, edi
movzx eax, byte [eax + ebp]
mov edi, dword [esp + 0x1c]
add ecx, 1
mov byte [esp + ecx + 0x20], al
and edx, 0x3f
mov dl, byte [edx + ebp]
add ecx, 1
mov byte [esp + ecx + 0x20], dl
add ecx, 1
add esi, 1
cmp ecx, 0x100
jl 0x10050dac
push ecx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.10037cb0
xor ecx, ecx
sub dword [esp + 0x18], 1
jne 0x10050d20
test ecx, ecx
je 0x10050dc8
push ecx
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.10037cb0
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x134]
lea edx, [edx + edx*2]
sub eax, edx
sub eax, 1
je 0x10050e34
sub eax, 1
jne 0x10050e70
movzx eax, byte [ebx + esi]
movzx esi, byte [ebx + esi + 1]
mov dword [esp + 0x10], eax
sar eax, 2
and eax, 0x3f
movzx eax, byte [eax + ebp]
push eax
mov ecx, edi
call fcn.1003c4a0
mov eax, dword [esp + 0x10]
mov ecx, esi
sar ecx, 4
and eax, 3
and ecx, 0xf
shl eax, 4
or ecx, eax
movzx edx, byte [ecx + ebp]
push edx
mov ecx, edi
call fcn.1003c4a0
and esi, 0xf
movzx eax, byte [ebp + esi*4]
push eax
jmp 0x10050e60
movzx esi, byte [ebx + esi]
mov ecx, esi
sar ecx, 2
and ecx, 0x3f
movzx edx, byte [ecx + ebp]
push edx
mov ecx, edi
call fcn.1003c4a0
and esi, 3
shl esi, 4
movzx eax, byte [esi + ebp]
push eax
mov ecx, edi
call fcn.1003c4a0
push 0x3d
mov ecx, edi
call fcn.1003c4a0
push 0x3d
mov ecx, edi
call fcn.1003c4a0
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10091e94
add esp, 0x11c
ret
Function at 0x1005d880
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 4]
fld qword [ecx]
sub esp, 0x24
lea eax, [esp]
push eax
sub esp, 8
fstp qword [esp]
call fcn.1005d650
add esp, 0xc
test al, al
je 0x1005d8f8
push esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.10079070
movzx edx, word [esp + 0x18]
movzx eax, word [esp + 0x14]
movzx ecx, word [esp + 0x1c]
mov word [esi], dx
movzx edx, word [esp + 0x10]
mov word [esi + 2], ax
movzx eax, word [esp + 0xc]
mov word [esi + 4], cx
movzx ecx, word [esp + 8]
mov word [esi + 6], dx
movzx edx, word [esp + 4]
mov word [esi + 8], ax
mov word [esi + 0xa], cx
mov word [esi + 0xc], dx
mov word [esi + 0xe], 0
mov byte [esi + 0x10], 1
pop esi
add esp, 0x24
ret
mov ecx, dword [esp + 0x2c]
add esp, 0x24
jmp fcn.10079a50

Function at 0x10063bf0
Capabilities:
Hash data with md5

Disassembly:
mov eax, ecx
xor ecx, ecx
mov dword [eax], vtable.Md5.0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 4], 0x67452301
mov dword [eax + 8], 0xefcdab89
mov dword [eax + 0xc], 0x98badcfe
mov dword [eax + 0x10], 0x10325476
ret

Function at 0x10063e50
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.10063c50
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.10063d20
pop esi
ret 0xc
Function at 0x100663d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push esi
xor eax, eax
cmp dword [esp + 0x14], eax
push edi
mov esi, ecx
jg 0x100663ef
jl 0x100663e7
cmp dword [esp + 0x14], eax
jae 0x100663ef
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov edi, dword [esi + 0x30]
push ebx
mov ebx, dword [esi + 0x2c]
push ebp
mov ebp, dword [esi + 0x34]
push ebx
mov byte [esp + 0x17], al
mov eax, dword [esi + 0x28]
push eax
push ebp
push edi
call fcn.10066120
mov dword [esp + 0x14], eax
mov al, byte [esi + 0x40]
test al, al
jne 0x1006643b
add edi, dword [esp + 0x1c]
adc ebp, dword [esp + 0x20]
mov dword [esi + 0x30], edi
mov ecx, ebp
cmp ecx, ebx
mov dword [esi + 0x34], ebp
jl 0x1006643b
jg 0x10066432
mov edx, edi
cmp edx, dword [esi + 0x28]
jbe 0x1006643b
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ebx
xor edi, edi
test al, al
jne 0x10066457
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x30]
push ebx
push eax
mov eax, dword [esi + 0x34]
push eax
push ecx
mov ecx, esi
call fcn.10066120
mov edi, eax
mov eax, dword [esi + 0x18]
test eax, eax
pop ebp
pop ebx
je 0x100664e7
cmp byte [esi + 0x40], 0
jne 0x1006649d
cmp edi, dword [esp + 0xc]
jbe 0x1006649d
cmp edi, dword [esi + 0x14]
jbe 0x1006649d
call sub.KERNEL32.dll_GetTickCount
cmp byte [esi + 0x42], 0
mov dword [esi + 0x20], eax
je 0x10066488
cmp edi, 0x64
je 0x100664dc
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0xb]
mov dword [esi + 0x14], edi
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
push edi
call edx
jmp 0x100664dc
test eax, eax
je 0x100664e7
cmp byte [esi + 0x41], 0
jne 0x100664e7
cmp dword [esi + 0x38], 0
je 0x100664e7
call sub.KERNEL32.dll_GetTickCount
mov edx, dword [esi + 0x38]
mov ecx, eax
sub ecx, dword [esi + 0x20]
test edx, edx
jne 0x100664c3
mov edx, 0x12c
cmp ecx, edx
jbe 0x100664e7
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x20], eax
mov eax, dword [ecx]
mov eax, dword [eax + 8]
lea edx, [esp + 0xb]
push edx
call eax
cmp byte [esp + 0xb], 0
je 0x100664e7
mov byte [esi + 0x1c], 1
mov al, byte [esi + 0x1c]
pop edi
pop esi
add esp, 8
ret 8
Function at 0x100716a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
lea eax, [edi + 0x24]
mov esi, 0x10
lea ecx, [ecx]
mov dl, byte [eax + 0x20]
mov cl, byte [eax - 0x10]
xor cl, dl
mov byte [eax], dl
mov byte [eax + 0x10], cl
add eax, 1
sub esi, 1
jne 0x100716b0
xor dl, dl
xor ebx, ebx
lea esi, [edi + 0x15]
lea esp, [esp]
mov eax, esi
mov ecx, 8
jmp 0x100716e0
movzx edx, dl
movzx edx, byte [edx + str._.C]
xor byte [eax - 1], dl
movzx edx, byte [eax - 1]
movzx edx, byte [edx + str._.C]
xor byte [eax], dl
movzx edx, byte [eax]
movzx edx, byte [edx + str._.C]
xor byte [eax + 1], dl
movzx edx, byte [eax + 1]
movzx edx, byte [edx + str._.C]
xor byte [eax + 2], dl
movzx edx, byte [eax + 2]
movzx edx, byte [edx + str._.C]
xor byte [eax + 3], dl
movzx edx, byte [eax + 3]
movzx edx, byte [edx + str._.C]
xor byte [eax + 4], dl
mov dl, byte [eax + 4]
add eax, 6
sub ecx, 1
jne 0x100716e0
add dl, bl
add ebx, 1
cmp ebx, 0x12
jl 0x100716d0
pop edi
pop esi
pop ebx
ret

Function at 0x10071750
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov dl, byte [ecx + 0x13]
push esi
lea eax, [ecx + 4]
mov esi, 4
lea esp, [esp]
movzx ecx, byte [eax + 0x40]
movzx edx, dl
xor ecx, edx
movzx ecx, byte [ecx + str._.C]
xor byte [eax], cl
mov cl, byte [eax]
movzx edx, byte [eax + 0x41]
movzx ecx, cl
xor edx, ecx
movzx edx, byte [edx + str._.C]
xor byte [eax + 1], dl
mov cl, byte [eax + 1]
movzx edx, byte [eax + 0x42]
movzx ecx, cl
xor edx, ecx
movzx edx, byte [edx + str._.C]
xor byte [eax + 2], dl
mov cl, byte [eax + 2]
movzx edx, byte [eax + 0x43]
movzx ecx, cl
xor edx, ecx
movzx edx, byte [edx + str._.C]
xor byte [eax + 3], dl
mov dl, byte [eax + 3]
add eax, 4
sub esi, 1
jne 0x10071760
pop esi
ret
Function at 0x10073a94
Capabilities:
Hash data using ripemd320
Hash data using sha1

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push 0x4e28
mov dword [esi + 0x54], 0x67452301
mov dword [esi + 0x58], 0xefcdab89
mov dword [esi + 0x5c], 0x98badcfe
mov dword [esi + 0x60], 0x10325476
mov dword [esi + 0x64], 0xc3d2e1f0
mov dword [esi + 0x68], 0x76543210
mov dword [esi + 0x6c], 0xfedcba98
mov dword [esi + 0x70], 0x89abcdef
mov dword [esi + 0x74], 0x1234567
mov dword [esi + 0x78], 0x3c2d1e0f
mov dword [esi + 0x50], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.100319f0
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x10073b07
pop edi
pop esi
xor al, al
pop ebx
add esp, 8
ret 0x14
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
mov byte [esp + 0xf], 1
call fcn.10089f50
test al, al
jne 0x10073ba7
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x20]
lea ebx, [ebx]
mov ecx, dword [esp + 0x1c]
push ebx
push ebp
lea eax, [esp + 0x1c]
push eax
push 0x4e20
push edi
call fcn.1008a760
test al, al
je 0x10073ba6
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10073b84
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10073b65
push eax
push edi
call fcn.1001ff20
mov eax, dword [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.100735e0
test ebp, ebp
je 0x10073b84
mov ecx, dword [esp + 0x14]
push 0
push ecx
mov ecx, ebp
call fcn.100663d0
test al, al
jne 0x10073b93
mov ecx, dword [esp + 0x1c]
call fcn.10089f50
test al, al
je 0x10073b30
jmp 0x10073ba6
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
push str.RIPEMD128_aborted_by_application
mov ecx, ebx
call eax
mov byte [esp + 0x13], 0
pop ebp
push edi
call fcn.10094655
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
mov ecx, esi
call fcn.10073690
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
add esp, 8
ret 0x14
Function at 0x10074ed4
Capabilities:
Hash data using ripemd256
Hash data with md5

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push 0x4e28
mov dword [esi + 0x54], 0x67452301
mov dword [esi + 0x58], 0xefcdab89
mov dword [esi + 0x5c], 0x98badcfe
mov dword [esi + 0x60], 0x10325476
mov dword [esi + 0x64], 0x76543210
mov dword [esi + 0x68], 0xfedcba98
mov dword [esi + 0x6c], 0x89abcdef
mov dword [esi + 0x70], 0x1234567
mov dword [esi + 0x50], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.100319f0
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x10074f39
pop edi
pop esi
xor al, al
pop ebx
add esp, 8
ret 0x14
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
mov byte [esp + 0xf], 1
call fcn.10089f50
test al, al
jne 0x10074fd7
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x20]
lea esp, [esp]
mov ecx, dword [esp + 0x1c]
push ebx
push ebp
lea eax, [esp + 0x1c]
push eax
push 0x4e20
push edi
call fcn.1008a760
test al, al
je 0x10074fd6
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10074fb4
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10074f95
push eax
push edi
call fcn.1001ff20
mov eax, dword [esp + 0x14]
push eax
push edi
mov ecx, esi
call fcn.10074a90
test ebp, ebp
je 0x10074fb4
mov ecx, dword [esp + 0x14]
push 0
push ecx
mov ecx, ebp
call fcn.100663d0
test al, al
jne 0x10074fc3
mov ecx, dword [esp + 0x1c]
call fcn.10089f50
test al, al
je 0x10074f60
jmp 0x10074fd6
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
push str.RIPEMD128_aborted_by_application
mov ecx, ebx
call eax
mov byte [esp + 0x13], 0
pop ebp
push edi
call fcn.10094655
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
mov ecx, esi
call fcn.10074b40
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
add esp, 8
ret 0x14
Function at 0x10083ed0
Capabilities:
Encode data using xor

Disassembly:
mov dl, byte [eax + 0x34]
push ebx
push esi
xor esi, esi
cmp dword [eax + 0x38], esi
mov ebx, 1
jle 0x10083f16
push ebp
push edi
movzx edi, dl
jmp 0x10083ef0
mov ecx, dword [eax + 0x260]
mov ebp, ecx
shr ebp, 0x18
xor ebp, edi
shl ecx, 8
xor ecx, dword [ebp*4 + 0x10121898]
add esi, ebx
mov dword [eax + 0x260], ecx
cmp esi, dword [eax + 0x38]
jl 0x10083ef0
pop edi
pop ebp
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], bl
mov esi, dword [eax + 0x38]
mov ecx, esi
sub ecx, ebx
je 0x10083f9e
sub ecx, ebx
je 0x10083f83
sub ecx, ebx
je 0x10083f77
mov byte [esi + eax + 0x54], bl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
ret
Function at 0x1008e6a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100c89d3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x101222d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.FileDataSource.0
cmp byte [esi + 0x28], 0
mov dword [esp + 0x14], 1
je 0x1008e6eb
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x1008e6eb
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], 0
mov byte [esp + 0x14], 0
call fcn.10037f60
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.1008a050
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x1008f4a0
Capabilities:
Hash data using crc32b

Disassembly:
cmp byte [0x10129160], 0
jne 0x1008f602
cmp byte [0x10129161], 0
jne 0x1008f5fa
cmp dword [0x10129164], 0
jne 0x1008f602
push ebp
push esi
push edi
push 0x400
mov byte [0x10129161], 1
call fcn.100956b7
add esp, 4
mov edi, eax
xor esi, esi
push 8
push esi
call fcn.1008f080
shl eax, 0x18
mov ecx, eax
and ecx, 0x80000000
add esp, 8
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
lea edx, [eax + eax]
and ecx, 0x4c11db7
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
lea edx, [eax + eax]
and ecx, 0x4c11db7
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov dword [edi + esi*4], eax
xor edx, edx
mov ecx, 0x1f
test al, 1
je 0x1008f5b2
mov ebp, 1
shl ebp, cl
or edx, ebp
sub ecx, 1
shr eax, 1
cmp ecx, 0xffffffff
jg 0x1008f5a5
mov dword [edi + esi*4], edx
add esi, 1
cmp esi, 0xff
jbe 0x1008f4e2
cmp dword [0x10129164], 0
jne 0x1008f5df
mov dword [0x10129164], edi
jmp 0x1008f5e8
push edi
call fcn.10094655
add esp, 4
pop edi
pop esi
mov byte [0x10129160], 1
mov byte [0x10129161], 0
pop ebp
ret
push 1
call fcn.1004fe10
pop ecx
ret

Function at 0x10091e94
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101222d0]
jne 0x10091e9e
repz ret
jmp fcn.10099c90