joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14030ef98
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1402e11f8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14030f022
cmp byte [rbp - 0x21], r15b
je 0x14030f01d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14030f058
call fcn.1402fefac
test eax, eax
jne 0x14030f044
cmp byte [rbp - 0x21], r15b
je 0x14030f03c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14030f058
cmp byte [rbp - 0x21], r15b
je 0x14030f055
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1402f4e2c
test eax, eax
jne 0x14030f0f8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1402e11f8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14030f097
cmp byte [rbp - 0x21], r15b
je 0x14030f0cc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14030f0cc
call fcn.1402fefac
test eax, eax
jne 0x14030f0b8
cmp byte [rbp - 0x21], r15b
je 0x14030f0b1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14030f0cc
cmp byte [rbp - 0x21], r15b
je 0x14030f0c9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1402f4e2c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14030f0f8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14030f0fb
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14030f109
mov rcx, rdi
call fcn.1402ffe9c
cmp byte [rbp + 0x3f], r15b
je 0x14030f118
mov rcx, qword [rbp + 0x27]
call fcn.1402ffe9c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14030fe10
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14030fe38
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14030fe38
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x6aec9b20
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
call fcn.6aed68a0
test rax, rax
je 0x6aec9b87
mov r9, qword [rax]
test r9, r9
jle 0x6aec9b87
mov r8, rax
add r9, rbx
sub r8, rbx
nop dword [rax]
nop word cs:[rax + rax]
mov rcx, rbx
mov rdx, rbx
sar rcx, 8
sar rdx, 0x10
xor ecx, ebx
and edx, 0xffffffee
and ecx, 0xffffffee
xor cl, byte [r8 + rbx + 0x10]
xor ecx, edx
mov rdx, rbx
sar rdx, 0x18
and edx, 0xffffffee
xor ecx, edx
mov byte [r8 + rbx + 0x10], cl
add rbx, 1
cmp rbx, r9
jne 0x6aec9b50
add rsp, 0x20
pop rbx
ret
Function at 0x6aecacd0
Capabilities:
Parse credit card information

Disassembly:
cmp cx, 0x16
je 0x6aecaf70
jbe 0x6aecad30
cmp cx, 0x25
je 0x6aecb160
jbe 0x6aecae70
cmp cx, 0x44
je 0x6aecb150
ja 0x6aecae40
cmp cx, 0x41
je 0x6aecb140
jbe 0x6aecad80
cmp cx, 0x42
je 0x6aecb130
cmp cx, 0x43
jne 0x6aecb120
lea rcx, [0x6aede820]
jmp fcn.6aed68a0
cmp cx, 0xa
je 0x6aecb110
ja 0x6aecae00
cmp cx, 4
je 0x6aecb100
jbe 0x6aecadc0
cmp cx, 7
je 0x6aecb0f0
jbe 0x6aecada0
cmp cx, 8
je 0x6aecb0e0
cmp cx, 9
jne 0x6aecb120
lea rcx, [0x6aedeba0]
jmp fcn.6aed68a0
cmp cx, 0x26
je 0x6aecb0d0
cmp cx, 0x40
jne 0x6aecb120
lea rcx, [0x6aede880]
jmp fcn.6aed68a0
cmp cx, 5
je 0x6aecb0c0
cmp cx, 6
jne 0x6aecb120
lea rcx, [0x6aedec00]
jmp fcn.6aed68a0
cmp cx, 1
je 0x6aecb0b0
test cx, cx
je 0x6aecb0a0
cmp cx, 2
je 0x6aecb090
cmp cx, 3
jne 0x6aecb120
lea rcx, [0x6aedec60]
jmp fcn.6aed68a0
cmp cx, 0x10
je 0x6aecb080
jbe 0x6aecaf40
cmp cx, 0x13
je 0x6aecb070
jbe 0x6aecaf20
cmp cx, 0x14
je 0x6aecb060
cmp cx, 0x15
jne 0x6aecb120
lea rcx, [0x6aedea40]
jmp fcn.6aed68a0
cmp cx, 0x47
je 0x6aecb050
jbe 0x6aecaeb0
cmp cx, 0x48
je 0x6aecb040
cmp cx, 0xfff
jne 0x6aecb120
lea rcx, [0x6aede720]
jmp fcn.6aed68a0
cmp cx, 0x1b
je 0x6aecb030
jbe 0x6aecaef0
cmp cx, 0x1e
je 0x6aecb020
jbe 0x6aecaed0
cmp cx, 0x1f
je 0x6aecb010
cmp cx, 0x24
jne 0x6aecb120
lea rcx, [0x6aede8e0]
jmp fcn.6aed68a0
cmp cx, 0x45
je 0x6aecb000
cmp cx, 0x46
jne 0x6aecb120
lea rcx, [0x6aede780]
jmp fcn.6aed68a0
cmp cx, 0x1c
je 0x6aecaff0
cmp cx, 0x1d
jne 0x6aecb120
lea rcx, [0x6aede940]
jmp fcn.6aed68a0
cmp cx, 0x18
je 0x6aecafe0
jb 0x6aecafd0
cmp cx, 0x19
je 0x6aecafc0
cmp cx, 0x1a
jne 0x6aecb120
lea rcx, [0x6aede9a0]
jmp fcn.6aed68a0
cmp cx, 0x11
je 0x6aecafb0
cmp cx, 0x12
jne 0x6aecb120
lea rcx, [0x6aedeaa0]
jmp fcn.6aed68a0
cmp cx, 0xc
je 0x6aecafa0
jb 0x6aecaf90
cmp cx, 0xd
je 0x6aecaf80
cmp cx, 0xe
jne 0x6aecb120
lea rcx, [0x6aedeb00]
jmp fcn.6aed68a0
lea rcx, [0x6aedea20]
jmp fcn.6aed68a0
lea rcx, [0x6aedeb20]
jmp fcn.6aed68a0
lea rcx, [0x6aedeb60]
jmp fcn.6aed68a0
lea rcx, [0x6aedeb40]
jmp fcn.6aed68a0
lea rcx, [0x6aedeac0]
jmp fcn.6aed68a0
lea rcx, [0x6aede9c0]
jmp fcn.6aed68a0
lea rcx, [0x6aedea00]
jmp fcn.6aed68a0
lea rcx, [0x6aede9e0]
jmp fcn.6aed68a0
lea rcx, [0x6aede960]
jmp fcn.6aed68a0
lea rcx, [0x6aede7a0]
jmp fcn.6aed68a0
lea rcx, [0x6aede900]
jmp fcn.6aed68a0
lea rcx, [0x6aede920]
jmp fcn.6aed68a0
lea rcx, [0x6aede980]
jmp fcn.6aed68a0
lea rcx, [0x6aede740]
jmp fcn.6aed68a0
lea rcx, [0x6aede760]
jmp fcn.6aed68a0
lea rcx, [0x6aedea60]
jmp fcn.6aed68a0
lea rcx, [0x6aedea80]
jmp fcn.6aed68a0
lea rcx, [0x6aedeae0]
jmp fcn.6aed68a0
lea rcx, [0x6aedec80]
jmp fcn.6aed68a0
lea rcx, [0x6aedecc0]
jmp fcn.6aed68a0
lea rcx, [0x6aedeca0]
jmp fcn.6aed68a0
lea rcx, [0x6aedec20]
jmp fcn.6aed68a0
lea rcx, [0x6aede8a0]
jmp fcn.6aed68a0
lea rcx, [0x6aedebc0]
jmp fcn.6aed68a0
lea rcx, [0x6aedebe0]
jmp fcn.6aed68a0
lea rcx, [0x6aedec40]
jmp fcn.6aed68a0
lea rcx, [0x6aedeb80]
jmp fcn.6aed68a0
lea rcx, [0x6aeded80]
jmp fcn.6aed68a0
lea rcx, [0x6aede840]
jmp fcn.6aed68a0
lea rcx, [0x6aede860]
jmp fcn.6aed68a0
lea rcx, [0x6aede7e0]
jmp fcn.6aed68a0
lea rcx, [0x6aede8c0]
jmp fcn.6aed68a0
Function at 0x6aed0220
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x6aed023f
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp sub.msvcrt.dll_fflush

Function at 0x6aed10c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.6aedc110]
mov r8d, 0x3f
mov edx, 1
lea rcx, str._GC__cannot_register_global_variable__too_many_global_variables
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop

Function at 0x6aed1100
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 2
call qword [fcn.6aedc110]
mov r8d, 0x4b
mov edx, 1
lea rcx, str._GC__cannot_register_thread_local_variable__too_many_thread_local_variables
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop

Function at 0x6aeda010
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [0x6b115200]
mov rcx, qword [rax]
test rcx, rcx
je 0x6aeda030
add rsp, 0x38
pop rbx
pop rsi
jmp 0x6aed9550
lea rcx, [0x6b12e9d0]
mov edx, 0x30
call fcn.6aed6c20
lea rcx, [0x6b114900]
mov rbx, rax
mov rsi, qword [rbx + 0x18]
lea rax, [0x6b12ea30]
mov qword [rbx], rax
lea rax, str.ReraiseDefect
mov qword [rbx + 0x10], rax
call fcn.6aed6610
test rsi, rsi
mov qword [rbx + 0x18], rax
je 0x6aeda098
mov rax, qword [rsi - 0x10]
lea rdx, [rsi - 0x10]
sub rax, 8
cmp rax, 7
mov qword [rsi - 0x10], rax
ja 0x6aeda098
mov rcx, qword [0x6b115220]
add rcx, 0x18
call fcn.6aed5720
mov qword [rsp + 0x20], 0x35
lea r9, str.fatal.nim
mov rcx, rbx
lea r8, str.sysFatal
lea rdx, str.ReraiseDefect
call fcn.6aed9670
nop
nop
Function at 0x6aeda0c0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
mov rbp, rsp
sub rsp, 0x150
cmp qword [0x6b12ea20], 0
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov byte [rbp - 0x111], 1
je 0x6aeda1bd
mov rax, qword [0x6b115210]
lea rcx, [rbp - 0x110]
mov rdx, qword [rax]
mov qword [rax], rcx
add rcx, 0x10
mov qword [rbp - 0x110], rdx
mov rdx, rbp
call sub.msvcrt.dll__setjmp
cdqe
test rax, rax
mov qword [rbp - 0x108], rax
jne 0x6aeda1e0
xor ebx, ebx
cmp qword [rbp + 0x20], 0
je 0x6aeda18f
mov rcx, qword [rbp + 0x20]
call sub.msvcrt.dll_strlen
mov edx, 0x18
mov qword [rbp - 0x128], 7
cmp rax, 6
mov rsi, rax
jbe 0x6aeda159
lea rdx, [rax + 0x11]
mov qword [rbp - 0x128], rax
mov r8, qword [0x6b115220]
mov rcx, qword [0x6b115280]
call fcn.6aed66a0
mov rdx, qword [rbp + 0x20]
movq xmm0, rsi
lea rcx, [rax + 0x10]
movhps xmm0, qword [rbp - 0x128]
mov rbx, rax
movups xmmword [rax], xmm0
lea r8, [rsi + 1]
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call qword [0x6b12ea20]
mov rax, qword [0x6b115210]
mov byte [rbp - 0x111], 0
cmp qword [rbp - 0x108], 0
mov rdx, qword [rax]
mov rdx, qword [rdx]
mov qword [rax], rdx
jne 0x6aeda259
movzx eax, byte [rbp - 0x111]
test al, al
jne 0x6aeda270
add rsp, 0x150
pop rbx
pop rsi
pop rbp
ret
mov rax, qword [0x6b115210]
mov rdx, qword [rax]
mov rdx, qword [rdx]
mov qword [rbp - 0x108], 0
mov qword [rax], rdx
mov rdx, qword [0x6b115200]
mov rax, qword [rdx]
mov rbx, qword [rax + 0x28]
test rbx, rbx
je 0x6aeda21b
add qword [rbx - 0x10], 8
mov rax, qword [rdx]
test rax, rax
je 0x6aeda241
mov rsi, qword [rax - 0x10]
lea rdx, [rax - 0x10]
lea rcx, [rsi - 8]
cmp rcx, 7
mov qword [rax - 0x10], rcx
ja 0x6aeda241
mov rcx, qword [0x6b115220]
add rcx, 0x18
call fcn.6aed5720
mov rax, qword [0x6b115200]
cmp qword [rbp - 0x108], 0
mov qword [rax], rbx
je 0x6aeda1bd
call fcn.6aeda010
jmp 0x6aeda1bd
mov ecx, 2
call qword [fcn.6aedc110]
mov rcx, qword [rbp + 0x20]
mov edx, 1
mov r8, qword [rbp + 0x28]
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
call sub.msvcrt.dll_fflush
jmp 0x6aeda1cc
Function at 0x6aedaf50
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6b11bba4]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6aedb0d8
mov rax, qword [0x6b11bba8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6aedaf9c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6aedb025
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6aedaf80
mov rcx, rbx
call fcn.6aedbbf0
test rax, rax
mov r12, rax
je 0x6aedb10d
mov rax, qword [0x6b11bba8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.6aedbd20
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6b11bba8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6aedb0f0
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6aedb01e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6aedb080
add dword [0x6b11bba4], 1
cmp edi, 8
jae 0x6aedb053
test dil, 4
jne 0x6aedb0c4
test edi, edi
je 0x6aedb048
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6aedb0df
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6aedb048
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6aedb06c
jmp 0x6aedb048
add rsi, qword [0x6b11bba8]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6aedb01e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.6aedc270
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6aedb048
xor esi, esi
jmp 0x6aedafa7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6aedb048
mov rax, qword [0x6b11bba8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.6aedc270
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.6aedc270
nop
nop dword [rax]

Function at 0x6aedb860
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6b11be80]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6b11be60]
test rbx, rbx
je 0x6aedb8b4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6aedb8ab
test rsi, rsi
je 0x6aedb8ab
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6aedb890
lea rcx, [0x6b11be80]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x6aedbbf0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6b115180]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6aedbc5d
mov rcx, r8
call fcn.6aedbad0
test eax, eax
je 0x6aedbc5d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6aedbc5d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6aedbc54
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6aedbc5f
add rax, 0x28
cmp rax, r9
jne 0x6aedbc40
xor eax, eax
add rsp, 0x28
ret

Function at 0x6aedc270
Capabilities:
Write file on windows

Disassembly:
lea rcx, [0x6aec13a0]
jmp 0x6aec1380
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
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.6aedc110
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.6aedc110
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
jmp 0x6aec1390
Function at 0x140b9b1b8
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140b9b33f
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140b9b1e9
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b9b1cf
add dl, dl
jne 0x140b9b1f6
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b9b256
xor eax, eax
add dl, dl
jne 0x140b9b205
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140b9b30d
add dl, dl
jne 0x140b9b216
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b9b223
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b9b230
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b9b23d
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140b9b24a
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140b9b1de
mov eax, 1
add dl, dl
jne 0x140b9b266
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140b9b273
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b9b25b
sub eax, ebx
mov ebx, 1
jne 0x140b9b2ac
mov ecx, 1
add dl, dl
jne 0x140b9b28e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b9b29b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b9b283
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b9b1de
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140b9b2c8
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140b9b2d5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140b9b2bd
cmp eax, 0x7d00
jae 0x140b9b2fb
cmp eax, 0x500
jb 0x140b9b2f6
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b9b1de
cmp eax, 0x7f
ja 0x140b9b2fe
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140b9b1de
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140b9b332
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 0x140b9b1de
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140011258
Capabilities:
Terminate process

Disassembly:
jmp 0x140013db0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112f8
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015100
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015120
xor al, al
jmp 0x1400151a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015133
xor al, al
jmp 0x1400151a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001515d
xor al, al
jmp 0x1400151a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015171
xor al, al
jmp 0x1400151a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015183
xor al, al
jmp 0x1400151a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001519f
xor al, al
jmp 0x1400151a1
mov al, 1
add rsp, 0x38
ret
Function at 0x140003db0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140003e0d
lea rbx, [0x1400672f0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003df4
cmp r10, 2
jb 0x140003df4
cmp byte [r9], r8b
jne 0x140003df4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140003dd0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003e4f
lea rbx, [0x1400672f0]
cmp r8b, 0x23
jne 0x140003e33
cmp byte [r9], r8b
jne 0x140003e33
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003e20
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003f90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140003faa
mov qword [r8], 0
lea rdx, [0x140066d48]
call fcn.140003e60
mov rbx, rax
test rax, rax
jne 0x140003fca
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x1400040b5
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400040b5
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1400040b5
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400040b5
cmp rdi, 0xffffffffffffffff
je 0x1400040b5
mov rax, qword [0x140080be0]
test rax, rax
je 0x140004046
inc dword [rax + 0x3b0]
mov rdx, qword [0x140080bd0]
mov rcx, rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rsi, rax
test rax, rax
je 0x1400040b5
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x1400040a2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140080be0]
test rax, rax
je 0x140004091
dec dword [rax + 0x3b0]
mov rdx, qword [0x140080bd0]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x1400040be
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1400040b0
mov qword [r14], rdi
mov rax, rsi
jmp 0x1400040c0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400122e0
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [0x140080be0]
mov r8, rcx
mov rbx, qword [rax + 0x1b98]
add rbx, 0x108
movzx eax, r8b
lea r8, [0x1400672f0]
movsxd rdx, dword [rbx]
mov r9, qword [rbx + 8]
mov edi, dword [r9 + rdx*4 - 4]
not edi
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 9]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xa]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xb]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xc]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xd]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xe]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [r11 + 0xf]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not edi
cmp edx, r8d
jne 0x1400123ee
lea ecx, [rdx + 1]
test r8d, r8d
je 0x1400123d4
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400123d9
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.1400235a0
mov edx, dword [rbx]
mov r9, qword [rbx + 8]
movsxd rax, edx
mov dword [r9 + rax*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140012410
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x140080be0]
mov r8d, ecx
mov rbx, qword [rax + 0x1b98]
add rbx, 0x108
movzx eax, r8b
lea r8, [0x1400672f0]
movsxd rdx, dword [rbx]
mov r9, qword [rbx + 8]
mov edi, dword [r9 + rdx*4 - 4]
not edi
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not edi
cmp edx, r8d
jne 0x1400124d0
lea ecx, [rdx + 1]
test r8d, r8d
je 0x1400124b6
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x1400124bb
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.1400235a0
mov edx, dword [rbx]
mov r9, qword [rbx + 8]
movsxd rax, edx
mov dword [r9 + rax*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret