joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001fa0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140007ef0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140007ef0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140002010
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000e0a4]
mov rbx, rcx
test esi, esi
jle 0x140002140
mov rax, qword [0x14000e0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000205b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400020e5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002040
mov rcx, rbx
call fcn.140002a60
mov rdi, rax
test rax, rax
je 0x140002162
mov rax, qword [0x14000e0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002ba0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000e0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002147
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400020de
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400020f0
add dword [0x14000e0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000e0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400020de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001fa0
nop dword [rax]
xor esi, esi
jmp 0x140002068
mov rax, qword [0x14000e0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001fa0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001fa0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400026d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000e100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000e0e0]
test rbx, rbx
je 0x14000272c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140002723
test rsi, rsi
je 0x140002723
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002708
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002a60
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14000ac00]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002a80
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002a88
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002a80
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140002add
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002ad4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002a80
add rax, 0x28
cmp rax, r9
jne 0x140002ac0
xor eax, eax
ret

Function at 0x140002ae0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000ac00]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140002aff
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002b08
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140002aff
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002ba0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14000ac00]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140002bbf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002bc8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400073e0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1400073f0]
mov dword [rax], 1
mov rax, qword [0x140007400]
mov dword [rax], 1
mov rax, qword [0x140007390]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1400073d0]
mov dword [0x14000a00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1400074a0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x140007480]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x140007340]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x140001450
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
call dbg.__main
mov dword [rbp - 0x1c], 0
mov dword [rbp - 0xc], 0
mov eax, dword [0x140006914]
mov eax, eax
add rax, 4
mov r9d, 4
mov r8d, 0x3000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400014a9
mov eax, 1
jmp 0x140001560
mov eax, dword [0x140006914]
mov edx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x18], rax
mov eax, dword [0x140006914]
mov edx, eax
mov rax, qword [rbp - 8]
mov r8, rdx
lea rdx, section..data
mov rcx, rax
call sym.memcpy
mov rax, qword [rbp - 0x18]
mov dword [rax], 0
mov eax, dword [0x140006914]
mov eax, eax
lea rdx, [rax + 4]
lea rcx, [rbp - 0x1c]
mov rax, qword [rbp - 8]
mov r9, rcx
mov r8d, 0x40
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
test eax, eax
jne 0x140001533
mov rax, qword [rbp - 8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov eax, 1
jmp 0x140001560
mov rdx, qword [rbp - 8]
mov rax, qword [rbp - 0x18]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov r8d, 0x8000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualFree]
call rax
mov eax, 0
add rsp, 0x40
pop rbp
ret
Function at 0x140001830
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]

Function at 0x1400018a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000a0a4]
mov rbx, rcx
test esi, esi
jle 0x1400019d0
mov rax, qword [0x14000a0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400018eb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001975
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400018d0
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x1400019f2
mov rax, qword [0x14000a0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000a0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400019d7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000196e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140001980
add dword [0x14000a0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000a0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000196e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x1400018f8
mov rax, qword [0x14000a0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001f60
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000a100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000a0e0]
test rbx, rbx
je 0x140001fbc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140001fb3
test rsi, rsi
je 0x140001fb3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001f98
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400021d0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x1400021e8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x1400021f0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140002200
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x14000224d
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140002244
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14000224f
add rax, 0x28
cmp rax, r9
jne 0x140002230
xor eax, eax
ret

Function at 0x140002250
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x1400022e0
mov rdx, qword [0x140007390]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x1400022ce
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x1400022ce
cmp word [rax + 0x18], 0x20b
jne 0x1400022ce
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x1400022e0
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1400022b9
add rbx, 0x28
cmp rbx, rdi
je 0x1400022e0
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x1400022b0
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x1400022f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140007390]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002310
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002318
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002310
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000236d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002364
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002310
add rax, 0x28
cmp rax, r9
jne 0x140002350
xor eax, eax
ret

Function at 0x140002370
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140007390]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000238f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002398
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000238f
movzx ecx, word [rax + 6]
mov eax, ecx
ret
Function at 0x1400023b0
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140007390]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x1400023d0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x1400023d8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x1400023d0
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140002420
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140002417
test rcx, rcx
je 0x1400023d0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x140002408
xor eax, eax
ret

Function at 0x140002430
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140007390]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000244f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002458
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x140002470
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140007390]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002490
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002498
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002490
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140002490
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x1400024e4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400024f0
add rdx, 0x28
cmp r9, rdx
jne 0x1400024d0
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x140002500
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140007390]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140002522
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140002530
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002522
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140002522
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140002522
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140002585
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140002598
add rdx, 0x28
cmp rdx, r10
jne 0x140002570
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x1400025a7
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x1400025b7
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000258e
test ecx, ecx
jg 0x1400025a0
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0xffa058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00ffa1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0xffa089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xffa06f
add dl, dl
jne 0xffa096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xffa0f6
xor eax, eax
add dl, dl
jne 0xffa0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0xffa1ad
add dl, dl
jne 0xffa0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xffa0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xffa0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xffa0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0xffa0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0xffa07e
mov eax, 1
add dl, dl
jne 0xffa106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xffa113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xffa0fb
sub eax, ebx
mov ebx, 1
jne 0xffa14c
mov ecx, 1
add dl, dl
jne 0xffa12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xffa13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xffa123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xffa07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xffa168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xffa175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0xffa15d
cmp eax, 0x7d00
jae 0xffa19b
cmp eax, 0x500
jb 0xffa196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xffa07e
cmp eax, 0x7f
ja 0xffa19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0xffa07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0xffa1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0xffa07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400080c0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [rcx + 0xc], 0x67452301
mov dword [rcx + 0x10], 0xefcdab89
mov dword [rcx + 0x20], eax
mov dword [rcx + 0x1c], eax
mov dword [rcx + 8], eax
lea rax, [0x1400078a0]
mov dword [rcx + 0x14], 0x98badcfe
mov dword [rcx + 0x18], 0x10325476
mov qword [rcx], rax
ret

Function at 0x140008100
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, 0x70
call fcn.140039e40
sub rsp, rax
mov eax, dword [rcx + 0x1c]
mov rsi, rdx
mov rbx, rcx
shr eax, 3
mov edi, 0x38
and eax, 0x3f
cmp eax, 0x38
jb 0x140008136
mov edi, 0x78
sub edi, eax
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, edi
call fcn.14002fe50
mov byte [rsp + 0x20], 0x80
lea rcx, [rsp + rdi + 0x21]
lea rdx, [rbx + 0x1e]
mov r8d, 2
nop
nop
movzx eax, byte [rdx - 2]
add rcx, 4
add rdx, 4
sub r8, 1
mov byte [rcx - 5], al
movzx eax, byte [rdx - 5]
mov byte [rcx - 4], al
movzx eax, byte [rdx - 4]
mov byte [rcx - 3], al
movzx eax, byte [rdx - 3]
mov byte [rcx - 2], al
jne 0x140008160
lea r8d, [rdi + 8]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140007760
lea rcx, [rsi + 1]
lea rdx, [rbx + 0xe]
mov r8d, 4
nop
nop
movzx eax, byte [rdx - 2]
add rcx, 4
add rdx, 4
sub r8, 1
mov byte [rcx - 5], al
movzx eax, byte [rdx - 5]
mov byte [rcx - 4], al
movzx eax, byte [rdx - 4]
mov byte [rcx - 3], al
movzx eax, byte [rdx - 3]
mov byte [rcx - 2], al
jne 0x1400081b0
xor eax, eax
xor edx, edx
lea rcx, [rbx + 0x64]
mov dword [rbx + 0x20], eax
mov dword [rbx + 0x1c], eax
mov dword [rbx + 8], eax
lea rax, [0x1400078a0]
lea r8d, [rdx + 0x40]
mov dword [rbx + 0xc], 0x67452301
mov dword [rbx + 0x10], 0xefcdab89
mov dword [rbx + 0x14], 0x98badcfe
mov dword [rbx + 0x18], 0x10325476
mov qword [rbx], rax
call fcn.14002fe50
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14000d210
Capabilities:
Hash data using sha1

Disassembly:
mov eax, 0x28
call fcn.140039e40
sub rsp, rax
add rsp, 0x28
jmp 0x140018d70
lea rax, [0x140018d40]
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov qword [rcx + 0x60], rax
xor eax, eax
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
mov dword [rcx + 0x18], eax
mov dword [rcx + 0x14], eax
ret
Function at 0x14000d250
Capabilities:
Enumerate pe sections
Hash data using sha1

Disassembly:
mov eax, 0x28
call fcn.140039e40
sub rsp, rax
mov r8, qword [rcx + 0x60]
add rsp, 0x28
jmp 0x140018db0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x70
call fcn.140039e40
sub rsp, rax
mov eax, 8
lea r9, [rsp + 0x20]
mov rsi, rdx
and r9d, 7
xor edx, edx
mov rbp, r8
sub eax, r9d
mov rbx, rcx
lea r8d, [rdx + 0x48]
lea rdi, [rsp + rax + 0x20]
mov rcx, rdi
call fcn.14002fe50
mov r9d, dword [rbx + 0x18]
mov r8d, 0x40
mov eax, r9d
and eax, 0x3f
sub r8d, eax
cmp r8d, 8
ja 0x140018e17
add r8d, 0x40
mov eax, dword [rbx + 0x14]
mov byte [rdi], 0x80
mov ecx, r9d
shl eax, 3
shl r9d, 3
shr ecx, 0x1d
or ecx, eax
mov dword [rsp + 0x84], r9d
mov rdx, rdi
mov eax, ecx
mov dword [rsp + 0x80], ecx
shr eax, 0x18
mov byte [r8 + rdi - 8], al
mov eax, ecx
shr ecx, 8
shr eax, 0x10
mov byte [r8 + rdi - 6], cl
mov rcx, rbx
mov byte [r8 + rdi - 7], al
movzx eax, byte [rsp + 0x80]
mov byte [r8 + rdi - 5], al
mov eax, r9d
shr eax, 0x18
mov byte [r8 + rdi - 4], al
mov eax, r9d
shr r9d, 8
shr eax, 0x10
mov byte [r8 + rdi - 2], r9b
mov r9, rbp
mov byte [r8 + rdi - 3], al
movzx eax, byte [rsp + 0x84]
mov byte [r8 + rdi - 1], al
call fcn.140018c20
movzx r11d, byte [rbx + 3]
mov byte [rsi], r11b
movzx eax, byte [rbx + 2]
mov byte [rsi + 1], al
mov eax, dword [rbx]
shr eax, 8
mov byte [rsi + 2], al
movzx eax, byte [rbx]
mov byte [rsi + 3], al
movzx eax, byte [rbx + 7]
mov byte [rsi + 4], al
movzx eax, byte [rbx + 6]
mov byte [rsi + 5], al
mov eax, dword [rbx + 4]
shr eax, 8
mov byte [rsi + 6], al
movzx eax, byte [rbx + 4]
mov byte [rsi + 7], al
movzx eax, byte [rbx + 0xb]
mov byte [rsi + 8], al
movzx eax, byte [rbx + 0xa]
mov byte [rsi + 9], al
mov eax, dword [rbx + 8]
shr eax, 8
mov byte [rsi + 0xa], al
movzx eax, byte [rbx + 8]
mov byte [rsi + 0xb], al
movzx eax, byte [rbx + 0xf]
mov byte [rsi + 0xc], al
movzx eax, byte [rbx + 0xe]
mov byte [rsi + 0xd], al
mov eax, dword [rbx + 0xc]
shr eax, 8
mov byte [rsi + 0xe], al
movzx eax, byte [rbx + 0xc]
mov byte [rsi + 0xf], al
movzx eax, byte [rbx + 0x13]
mov byte [rsi + 0x10], al
movzx eax, byte [rbx + 0x12]
mov byte [rsi + 0x11], al
mov eax, dword [rbx + 0x10]
shr eax, 8
mov byte [rsi + 0x12], al
movzx eax, byte [rbx + 0x10]
mov byte [rsi + 0x13], al
lea rax, [0x140018d40]
mov qword [rbx + 0x60], rax
xor eax, eax
lea r11, [rsp + 0x70]
mov dword [rbx + 0x18], eax
mov dword [rbx + 0x14], eax
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov dword [rbx + 0x10], 0xc3d2e1f0
mov rbx, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret