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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x14000d0a4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x1400022c0
mov rax, qword [0x14000d0a8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000215c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x1400021e7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x140002140
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
je 0x14000231d
mov rax, qword [0x14000d0a8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x14000d0a8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002302
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400021e0
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002270
add dword [0x14000d0a4], 1
cmp ebx, 8
jae 0x140002218
test bl, 4
jne 0x1400022d0
test ebx, ebx
je 0x140002209
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x1400022f0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x140002209
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x14000224a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x14000d0a8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400021e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
xor edi, edi
jmp 0x140002167
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x140002209
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x140002209
mov rax, qword [0x14000d0a8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop dword [rax]
Function at 0x140002830
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x14000d100]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000d0e0]
test rbx, rbx
je 0x140002884
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14000287b
test r12, r12
je 0x14000287b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002860
lea rcx, [0x14000d100]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140002ab0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x140002ac0
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x140002ad0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140002b15
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x140002b0c
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x140002b17
add rax, 0x28
cmp rax, r9
jne 0x140002af8
xor eax, eax
ret

Function at 0x140002bc0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x14000a8e0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x140002c39
mov rcx, r10
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140002c39
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x140002c36
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x140002c2d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x140002c39
add r8, 0x28
cmp r8, r9
jne 0x140002c18
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x140002d20
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x14000a8e0]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x140002d8f
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140002d8f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x140002d8d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002d84
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002d98
add rax, 0x28
cmp rax, r9
jne 0x140002d70
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x140002db0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x14000a8e0]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x140002e28
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x140002e28
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x140002e28
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x140002e28
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop dword [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x140002e1c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x140002e30
add rdx, 0x28
cmp rdx, r10
jne 0x140002e08
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x140002e40
sub r8d, 1
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x140002e4e
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140002e25
test r8d, r8d
jg 0x140002e38
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x1400036e8
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14001a0e8]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp ecx, 1
mov eax, 0xffff
cmovbe ecx, eax
cmp ecx, eax
je 0x14000371b
cmp ecx, 2
je 0x14000371b
bt edx, 0x19
jae 0x14000374a
xor r9d, r9d
mov eax, ecx
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 1
mov qword [rsp + 0x28], rax
lea r8d, [r9 + 0x30]
lea ecx, [r9 + 0x1f]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop dword [rax + rax]
test eax, eax
jns 0x140003751
xor al, al
jmp 0x1400037d5
lea rcx, str.Enabled_tracing:
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
lea rbx, [0x140019010]
mov edi, 0x56
mov eax, dword [rbx - 0x10]
shr rax, 0x1d
mov ecx, dword [rsp + rax*4 + 0x30]
and ecx, dword [rbx - 0x10]
test ecx, 0x1fffffff
je 0x1400037b6
mov rcx, qword [rbx]
lea rdx, [0x14000c4f0]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x1400037b6
mov rdx, qword [rbx]
lea rcx, [0x14000f750]
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
add rbx, 0x18
sub rdi, 1
jne 0x140003770
lea rcx, [0x14000f488]
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov al, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000ae40
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x1400039c8
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov dword [rsp + 0x40], 0x18
cmp ecx, 1
mov esi, ecx
mov eax, 0xffff
mov edi, ebx
cmovbe esi, eax
test rdi, rdi
je 0x140003a04
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140003abd
mov dword [rax], 4
lea r9, [rsp + 0x40]
mov eax, esi
mov rdx, rdi
mov qword [rdi + 8], rax
mov ecx, 0x1f
mov dword [rdi + 4], 4
mov r8d, dword [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop dword [rax + rax]
cmp eax, 0xc0000023
je 0x1400039f0
test eax, eax
js 0x140003aae
mov edx, 1
mov qword [rsp + 0x20], rbx
lea rcx, [rdi + 0x10]
lea r9, [rsp + 0x48]
lea r8d, [rdx + 0xe]
call qword [sym.imp.ADVAPI32.dll_ConvertSecurityDescriptorToStringSecurityDescriptorW]
nop dword [rax + rax]
mov bl, al
cmp al, 1
jne 0x140003aae
mov rdx, qword [rsp + 0x48]
lea rcx, str.Session_Security:________ls_n
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rsi, qword [rsp + 0x58]
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140003ad8
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov dword [rsp + 0x50], 0x18
mov edi, ecx
mov eax, 0xffff
lea esi, [rbx + 1]
cmp ecx, esi
cmovbe edi, eax
test rbx, rbx
je 0x140003b1b
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140003c30
mov dword [rax], 6
lea r9, [rsp + 0x50]
mov eax, edi
mov rdx, rbx
mov qword [rbx + 8], rax
mov ecx, 0x1f
mov r8d, dword [rsp + 0x50]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
nop dword [rax + rax]
cmp eax, 0xc0000023
je 0x140003b07
test eax, eax
jns 0x140003b74
xor sil, sil
jmp 0x140003c1f
mov edi, dword [rsp + 0x50]
sub rdi, 0x10
shr rdi, 2
test edi, edi
je 0x140003b6c
lea rcx, str.Stack_Tracing:
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
test edi, edi
je 0x140003c0c
lea r14, [rbx + 0x10]
mov ebp, edi
lea r13, [0x140019810]
mov r15d, dword [r14]
xor edi, edi
mov rcx, r13
movzx eax, word [rcx]
cmp r15d, eax
je 0x140003bc8
add edi, esi
add rcx, 0x10
cmp edi, 0x8a
jb 0x140003bb0
jmp 0x140003be5
mov edx, edi
lea rcx, [0x14000f750]
add rdx, rdx
mov rdx, qword [r13 + rdx*8 + 8]
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
cmp edi, 0x8a
jne 0x140003c03
mov edx, r15d
lea rcx, str.0x_04x
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
add r14, 4
sub rbp, rsi
jne 0x140003ba8
lea rcx, [0x14000f488]
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
jmp 0x140003c33
xor sil, sil
mov rbx, qword [rsp + 0x58]
mov al, sil
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x1400046dc
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xb70]
sub rsp, 0xc70
mov rax, qword [0x14001a0e8]
xor rax, rsp
mov qword [rbp + 0xb60], rax
and qword [rsp + 0x48], 0
lea rdx, [rbp + 0x360]
and qword [rsp + 0x40], 0
mov r8d, 0x400
and qword [rsp + 0x50], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop dword [rax + rax]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x14000491d
lea r8, [rsp + 0x30]
xor ecx, ecx
lea rdx, [rbp + 0x360]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
nop dword [rax + rax]
mov edi, eax
mov dword [rsp + 0x30], edi
test eax, eax
je 0x14000491d
mov ecx, edi
call qword [sym.imp.msvcrt.dll_malloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14000491d
mov r9d, edi
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x360]
xor ecx, ecx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
nop dword [rax + rax]
test eax, eax
je 0x14000490e
and qword [rsp + 0x38], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rcx, rbx
lea rdx, str.VarFileInfoTranslation
call qword [sym.imp.VERSION.dll_VerQueryValueW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400048dd
movzx eax, word [rcx + 2]
lea r8, str.StringFileInfo_04x_04x_ls
movzx r9d, word [rcx]
mov edi, 0x200
lea rcx, [0x140010630]
mov edx, edi
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x20], eax
call qword [sym.imp.msvcrt.dll_swprintf_s]
nop dword [rax + rax]
lea r9, [rsp + 0x30]
mov rcx, rbx
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
nop dword [rax + rax]
mov rax, qword [rsp + 0x38]
lea r8, str.StringFileInfo_04x_04x_ls
mov edx, edi
movzx ecx, word [rax + 2]
movzx r9d, word [rax]
lea rax, [0x140010690]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x60]
call qword [sym.imp.msvcrt.dll_swprintf_s]
nop dword [rax + rax]
lea r9, [rsp + 0x30]
mov rcx, rbx
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
nop dword [rax + rax]
mov rax, qword [rsp + 0x38]
lea r8, str.StringFileInfo_04x_04x_ls
mov edx, edi
movzx ecx, word [rax + 2]
movzx r9d, word [rax]
lea rax, [0x1400106b8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x60]
call qword [sym.imp.msvcrt.dll_swprintf_s]
nop dword [rax + rax]
lea r9, [rsp + 0x30]
mov rcx, rbx
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14000490e
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x14000490e
mov r9, qword [rsp + 0x50]
test r9, r9
je 0x14000490e
lea rcx, str._nMicrosoft__R___ls___ls__n_ls_n_n
call qword [sym.imp.msvcrt.dll_wprintf]
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
nop dword [rax + rax]
mov rcx, qword [rbp + 0xb60]
xor rcx, rsp
call fcn.14000ae40
lea r11, [rsp + 0xc70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x140009d50
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
mov edi, r8d
xor r10d, r10d
mov r8, rdx
mov r9, rcx
test edi, edi
je 0x140009f27
mov edx, dword [r9 + 8]
movzx ecx, byte [r10 + r8]
shr rdx, 2
mov eax, dword [r9 + rdx*4 + 0x20]
shl eax, 8
or ecx, eax
mov dword [r9 + rdx*4 + 0x20], ecx
inc dword [r9 + 8]
cmp dword [r9 + 8], 0x40
jne 0x140009f1b
lea rcx, [r9 + 0x28]
mov edx, 0x40
mov eax, dword [rcx + 0x2c]
xor eax, dword [rcx + 0x18]
xor eax, dword [rcx - 8]
xor eax, dword [rcx]
lea rcx, [rcx + 4]
rol eax, 1
mov dword [rcx + 0x34], eax
sub rdx, 1
jne 0x140009db4
mov r12d, dword [r9 + 0xc]
lea r14, [r9 + 0x20]
mov r13d, dword [r9 + 0x10]
lea ebp, [rdx + 0x14]
mov r8d, dword [r9 + 0x14]
mov esi, r12d
mov ebx, dword [r9 + 0x18]
mov r11d, r13d
mov r15d, dword [r9 + 0x1c]
mov eax, r8d
mov edx, r11d
and eax, r11d
not edx
and edx, ebx
mov ecx, esi
rol ecx, 5
or edx, eax
add ecx, r15d
mov r15d, ebx
add ecx, edx
mov ebx, r8d
add ecx, dword [r14]
mov r8d, r11d
ror r8d, 2
lea r14, [r14 + 4]
mov r11d, esi
lea esi, [rcx + 0x5a827999]
sub rbp, 1
jne 0x140009def
lea r14d, [rbp + 0x14]
mov ebp, r14d
lea rdx, [r9 + 0x70]
mov eax, ebx
mov ecx, esi
xor eax, r8d
rol ecx, 5
xor eax, r11d
add eax, ecx
add eax, dword [rdx]
lea rdx, [rdx + 4]
add eax, r15d
mov r15d, ebx
mov ebx, r8d
mov r8d, r11d
ror r8d, 2
mov r11d, esi
lea esi, [rax + 0x6ed9eba1]
sub rbp, 1
jne 0x140009e36
lea rbp, [r9 + 0xc0]
mov edx, esi
mov ecx, r8d
or ecx, r11d
rol edx, 5
and ecx, ebx
mov eax, r8d
and eax, r11d
or ecx, eax
add ecx, dword [rbp]
lea eax, [r15 + rdx]
add eax, 0x8f1bbcdc
lea rbp, [rbp + 4]
add eax, ecx
mov r15d, ebx
mov ebx, r8d
mov r8d, r11d
ror r8d, 2
mov r11d, esi
mov esi, eax
sub r14, 1
jne 0x140009e71
lea rdx, [r9 + 0x110]
lea ebp, [r14 + 0x14]
mov eax, ebx
mov ecx, esi
xor eax, r8d
rol ecx, 5
xor eax, r11d
add ecx, r15d
add eax, 0xca62c1d6
mov r15d, ebx
add eax, dword [rdx]
mov ebx, r8d
mov r8d, r11d
lea rdx, [rdx + 4]
add eax, ecx
ror r8d, 2
mov r11d, esi
mov esi, eax
sub rbp, 1
jne 0x140009ebb
add dword [r9 + 0x14], r8d
add eax, r12d
add dword [r9 + 0x18], ebx
add dword [r9 + 0x1c], r15d
add qword [r9], 0x200
and dword [r9 + 8], ebp
mov r8, qword [rsp + 0x38]
mov dword [r9 + 0xc], eax
lea eax, [r11 + r13]
mov dword [r9 + 0x10], eax
inc r10d
cmp r10d, edi
jne 0x140009d80
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000a318
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
push r15
mov r8, rcx
mov edx, 0x40
add rcx, 0x28
mov eax, dword [rcx + 0x2c]
xor eax, dword [rcx + 0x18]
xor eax, dword [rcx - 8]
xor eax, dword [rcx]
lea rcx, [rcx + 4]
rol eax, 1
mov dword [rcx + 0x34], eax
sub rdx, 1
jne 0x14000a33f
mov r15d, dword [r8 + 0xc]
lea ebx, [rdx + 0x14]
mov r12d, dword [r8 + 0x10]
lea r14, [r8 + 0x20]
mov r13d, dword [r8 + 0x14]
mov ebp, ebx
mov r11d, dword [r8 + 0x18]
mov edi, r15d
mov esi, dword [r8 + 0x1c]
mov r10d, r12d
mov r9d, r13d
mov eax, r9d
mov edx, r10d
and eax, r10d
not edx
and edx, r11d
mov ecx, edi
rol ecx, 5
or edx, eax
add ecx, esi
mov esi, r11d
add ecx, edx
mov r11d, r9d
add ecx, dword [r14]
mov r9d, r10d
ror r9d, 2
lea r14, [r14 + 4]
mov r10d, edi
lea edi, [rcx + 0x5a827999]
sub rbp, 1
jne 0x14000a37f
lea rdx, [r8 + 0x70]
mov rbp, rbx
mov eax, r11d
mov ecx, edi
xor eax, r9d
rol ecx, 5
xor eax, r10d
add eax, ecx
add eax, dword [rdx]
lea rdx, [rdx + 4]
add eax, esi
mov esi, r11d
mov r11d, r9d
mov r9d, r10d
ror r9d, 2
mov r10d, edi
lea edi, [rax + 0x6ed9eba1]
sub rbp, 1
jne 0x14000a3c2
lea rbp, [r8 + 0xc0]
mov r14, rbx
mov edx, edi
mov ecx, r9d
or ecx, r10d
rol edx, 5
and ecx, r11d
mov eax, r9d
and eax, r10d
or ecx, eax
add ecx, dword [rbp]
lea eax, [rsi + rdx]
add eax, 0x8f1bbcdc
lea rbp, [rbp + 4]
add eax, ecx
mov esi, r11d
mov r11d, r9d
mov r9d, r10d
ror r9d, 2
mov r10d, edi
mov edi, eax
sub r14, 1
jne 0x14000a400
lea rdx, [r8 + 0x110]
mov eax, r11d
mov ecx, edi
xor eax, r9d
rol ecx, 5
xor eax, r10d
add ecx, esi
add eax, 0xca62c1d6
mov esi, r11d
add eax, dword [rdx]
mov r11d, r9d
mov r9d, r10d
lea rdx, [rdx + 4]
add eax, ecx
ror r9d, 2
mov r10d, edi
mov edi, eax
sub rbx, 1
jne 0x14000a446
add dword [r8 + 0x1c], esi
add eax, r15d
add dword [r8 + 0x18], r11d
add qword [r8], 0x200
and dword [r8 + 8], ebx
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov dword [r8 + 0xc], eax
lea eax, [r12 + r10]
mov dword [r8 + 0x10], eax
lea eax, [r9 + r13]
mov dword [r8 + 0x14], eax
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x14000a920
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14001b170], rbx
je 0x14000a96c
cmp rax, rbx
jne 0x14000a95f
mov ebx, 1
mov esi, ebx
jmp 0x14000a971
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000a944
mov ebx, 1
mov eax, dword [0x14001b178]
cmp eax, ebx
jne 0x14000a987
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14000a9ec
mov eax, dword [0x14001b178]
test eax, eax
jne 0x14000a9e6
mov dword [0x14001b178], ebx
lea r15, [0x14000c4b8]
lea rdi, [0x14000c4a0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x14000a9d8
test eax, eax
jne 0x14000a9dc
cmp qword [rdi], 0
je 0x14000a9cd
mov rax, qword [rdi]
mov rcx, qword [0x14000c480]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14000a9ae
test eax, eax
je 0x14000a9ec
mov eax, 0xff
jmp 0x14000aac8
mov dword [0x14001a104], ebx
mov eax, dword [0x14001b178]
cmp eax, ebx
jne 0x14000aa13
lea rdx, [0x14000c498]
lea rcx, [0x14000c488]
call sub.msvcrt.dll__initterm
mov dword [0x14001b178], 2
test esi, esi
jne 0x14000aa20
xor eax, eax
xchg qword [0x14001b170], rax
cmp qword [0x14001b180], 0
je 0x14000aa54
lea rcx, [0x14001b180]
call fcn.14000ac90
test eax, eax
je 0x14000aa54
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14001b180]
mov r9, qword [0x14000c480]
call r9
mov r8, qword [0x14001a118]
mov rdx, qword [0x14001a110]
mov ecx, dword [0x14001a108]
call fcn.140005fbc
mov dword [0x14001a100], eax
cmp dword [0x14001a120], 0
jne 0x14000aa84
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14001a104], 0
jne 0x14000aa99
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14001a100]
jmp 0x14000aac8
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1400ab000
add rsp, 0x28
jmp 0x14000a920

Function at 0x14000ab7c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000abc8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000abc0
cmp dword [rcx + 0x3c], edx
jl 0x14000abc0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000abc0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000abc8
mov rax, rdx
add rsp, 0x18
ret