joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c65c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140014cb8], rbx
je 0x14000c6c3
cmp rax, rbx
jne 0x14000c6b6
mov ebx, 1
mov esi, ebx
jmp 0x14000c6c8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000c69b
mov ebx, 1
mov eax, dword [0x140014cc0]
cmp eax, ebx
jne 0x14000c6e0
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000c74c
mov eax, dword [0x140014cc0]
test eax, eax
jne 0x14000c741
mov dword [0x140014cc0], ebx
lea r15, [0x14000eb70]
lea rdi, [0x14000eb58]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000c733
test eax, eax
jne 0x14000c737
cmp qword [rdi], r14
je 0x14000c728
mov rax, qword [rdi]
mov rcx, qword [0x14000eb00]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000c70a
test eax, eax
je 0x14000c747
mov eax, 0xff
jmp 0x14000c8a0
mov dword [0x140014400], ebx
mov edi, 0x1f
mov eax, dword [0x140014cc0]
cmp eax, ebx
jne 0x14000c773
lea rdx, [0x14000eb50]
lea rcx, [0x14000eb18]
call sub.msvcrt.dll__initterm
mov dword [0x140014cc0], 2
test esi, esi
jne 0x14000c781
mov rax, r14
xchg qword [0x140014cb8], rax
cmp qword [0x140014cd8], r14
je 0x14000c7b4
lea rcx, [0x140014cd8]
call fcn.14000cc80
test eax, eax
je 0x14000c7b4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140014cd8]
mov r9, qword [0x14000eb00]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000c7cd
mov eax, 0xff
jmp 0x14000c8a0
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x14000c851
cmp word [rcx], r14w
je 0x14000c7e6
test edx, edx
jne 0x14000c851
movzx eax, word [rcx]
sub ax, bx
cmp ax, di
ja 0x14000c7fc
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c7e6
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400018e8
mov dword [0x1400143fc], eax
cmp dword [0x140014420], r14d
jne 0x14000c83a
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140014400], r14d
jne 0x14000c84f
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400143fc]
jmp 0x14000c8a0
cmp word [rcx], 0x22
jne 0x14000c865
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c7d6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14012a000
add rsp, 0x28
jmp 0x14000c65c
Function at 0x1400021d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004390]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400021f0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400021f8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400021f0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000224d
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 0x140002244
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400021f0
add rax, 0x28
cmp rax, r9
jne 0x140002230
xor eax, eax
ret

Function at 0x140002250
Capabilities:
Parse pe header

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

Function at 0x140002310
Capabilities:
Parse pe header

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

Function at 0x140002670
Capabilities:
Create thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
call fcn.140001500
mov dword [rbp - 0x1c], 0
mov eax, dword [0x1400031a0]
mov eax, eax
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
mov eax, dword [0x1400031a0]
mov edx, eax
mov rax, qword [rbp - 8]
mov r8, rdx
lea rdx, [0x140003080]
mov rcx, rax
call sub.msvcrt.dll_memmove
mov eax, dword [0x1400031a0]
mov ecx, eax
lea rdx, [rbp - 0x1c]
mov rax, qword [rbp - 8]
mov r9, rdx
mov r8d, 0x20
mov rdx, rcx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
call rax
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
je 0x140002746
mov rax, qword [rbp - 8]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8, rax
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov eax, 0
add rsp, 0x50
pop rbp
ret
Function at 0x140002568
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x260
mov rax, qword [0x14004b018]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
lea r12, [0x14004c3f0]
mov ecx, dword [0x14004b034]
cmp ecx, 0x12
jb 0x1400026b8
xor ebx, ebx
lea rdx, [rsp + 0x40]
mov ebp, 0x105
mov dword [0x14004b034], ebx
mov r8d, ebp
xor ecx, ecx
mov esi, ebx
mov r14d, ebx
mov r15d, ebx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop dword [rax + rax]
test eax, eax
je 0x14000267d
cmp eax, ebp
je 0x14000267d
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x40]
lea ecx, [rbx + 2]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeExW]
nop dword [rax + rax]
mov ebp, eax
test eax, eax
je 0x14000267d
mov ecx, ebp
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_malloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000267d
mov r9d, ebp
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea ecx, [rbx + 2]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoExW]
nop dword [rax + rax]
test eax, eax
je 0x14000267d
lea r9, [rsp + 0x30]
mov rcx, rsi
lea r8, [rsp + 0x38]
lea rdx, [0x140038fcc]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
nop dword [rax + rax]
test eax, eax
je 0x14000267d
cmp dword [rsp + 0x30], 0x34
jb 0x14000267d
mov rax, qword [rsp + 0x38]
movzx ebx, word [rax + 0xa]
movzx r14d, word [rax + 8]
movzx r15d, word [rax + 0xe]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
mov r9d, r14d
mov dword [rsp + 0x20], r15d
mov r8d, ebx
lea rdx, [0x140038fd0]
mov rcx, r12
call fcn.1400026f8
mov ecx, dword [0x14004b034]
cmp eax, 0x12
cmovb ecx, eax
mov dword [0x14004b034], ecx
mov qword [rdi], r12
mov rax, rdi
mov qword [rdi + 8], rcx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140033bd0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400027ec
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 0x1400029c3
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 0x1400029b7
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 0x140002850
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 0x14000288b
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 0x1400028d2
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 0x14000290d
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 0x140002957
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 0x14000281c
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 0x140002db4
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 0x140002ddb
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 0x140002e1b
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 0x140002e5e
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 0x140002e9c
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 0x140002ee2
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 0x14000b288
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov r14, rcx
test r8, r8
je 0x14000b2f7
mov r15d, 0x80000000
mov rcx, qword [r14]
cmp rdi, r15
mov ebp, edi
mov rdx, rsi
cmova ebp, r15d
xor r9d, r9d
mov r8d, ebp
call qword [sym.imp.bcrypt.dll_BCryptHashData]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x14000b2e9
mov ecx, ebp
add rsi, rcx
sub rdi, rcx
jne 0x14000b2b6
jmp 0x14000b2f7
mov edx, eax
lea rcx, str.BCryptHashData_failed:_ntstatus___x.
call fcn.14000b758
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x1400199dc
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov r15, rdx
mov rdi, rcx
mov rax, qword [rcx + 0x10]
mov qword [r11 + 8], rax
mov qword [r11 - 0x40], rcx
lea rcx, [r11 + 8]
mov qword [r11 - 0x38], rcx
mov byte [rsp + 0x38], 1
mov r12d, 0xffffffff
mov rsi, qword [rdi + 0x10]
sub rsi, rax
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140019a34
mov rcx, qword [rdi]
lea rdx, [rcx + rax*2]
mov ebp, esi
cmp rsi, r12
cmova ebp, r12d
mov r8d, ebp
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
nop dword [rax + rax]
mov r14d, eax
test eax, eax
jne 0x140019a81
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
je 0x140019a7a
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140019a89
mov ebx, 0x80004005
jmp 0x140019a89
xor ebx, ebx
cmp r14d, ebp
setae bl
mov rcx, r14
test ebx, ebx
je 0x140019ac4
js 0x140019ac9
cmp rcx, rsi
jbe 0x140019abd
mov rdx, qword [rsp + 0x70]
add rdx, rcx
cmp rdx, rcx
jb 0x140019ab6
mov rcx, rdi
call fcn.140010f8c
mov rax, qword [rsp + 0x70]
jmp 0x140019a20
mov ebx, 0x8007000e
jmp 0x140019ac9
mov ebx, 0x8000ffff
jmp 0x140019ac9
add qword [rsp + 0x70], rcx
mov rdx, qword [rsp + 0x70]
mov rcx, rdi
call fcn.140010f8c
nop
mov eax, ebx
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140023c60
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov esi, dword [rcx + 0x18]
mov rbx, rcx
mov edx, esi
call fcn.140010f8c
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x140023c89
mov rdx, qword [rbx]
lea ecx, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop dword [rax + rax]
mov edi, eax
cmp eax, esi
jbe 0x140023cc8
lea esi, [rax - 1]
mov rcx, rbx
mov edx, esi
call fcn.140010f8c
cmp qword [rbx + 0x18], 8
mov rdx, rbx
jb 0x140023cb8
mov rdx, qword [rbx]
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop dword [rax + rax]
mov edi, eax
test edi, edi
je 0x140023d51
cmp edi, esi
ja 0x140023d51
mov edx, edi
mov rcx, rbx
call fcn.140010f8c
cmp qword [rbx + 0x18], 8
mov rdi, rbx
jb 0x140023ceb
mov rdi, qword [rbx]
mov edx, 0x5c
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsrchr]
nop dword [rax + rax]
test rax, rax
je 0x140023d40
sub rax, rdi
lea rcx, [rbx + 0x10]
mov r8, qword [rcx]
add rax, 2
sar rax, 1
cmp r8, rax
cmovb rax, r8
cmp qword [rbx + 0x18], 8
jb 0x140023d26
mov rbx, qword [rbx]
sub r8, rax
lea rdx, [rbx + rax*2]
mov qword [rcx], r8
mov rcx, rbx
lea r8, [r8*2 + 2]
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, eax
lea rcx, str.GetCurrentDirectory_failed:_lasterror__d
call fcn.14000b758
lea rdx, str.GetCurrentDirectory
lea rcx, [rsp + 0x20]
call fcn.1400022bc
lea rdx, [0x140049268]
lea rcx, [rsp + 0x20]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3
Function at 0x140027b14
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbx, rdx
mov r14d, ecx
xor edi, edi
mov dword [rsp + 0x20], edi
mov esi, edi
xor r9d, r9d
xor r8d, r8d
lea edx, [rdi + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
nop dword [rax + rax]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop dword [rax + rax]
nop
mov rdx, rbx
mov ecx, r14d
call fcn.140026734
mov ebx, eax
mov dword [rsp + 0x20], eax
jmp 0x140027b73
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop dword [rax + rax]
test esi, esi
je 0x140027b98
mov ebx, esi
mov edx, esi
lea rcx, str.Fatal_error:_NTSTATUS_x.
call fcn.14000b758
cmp byte [0x14004c421], dil
je 0x140027bf1
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
nop dword [rax + rax]
mov rax, qword [rsp + 0x60]
sub rax, qword [rsp + 0x68]
xorps xmm3, xmm3
cvtsi2sd xmm3, rax
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x28]
divsd xmm3, xmm0
movq r9, xmm3
mov r8, qword [0x14004c5b0]
mov rdx, qword [0x14004bc10]
lea rcx, str.tracewpp:__Iu_file_s__with__Iu_message_s___processed_in__g_seconds_n
call fcn.14000b644
cmp byte [0x14004c41e], 1
cmove ebx, edi
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140031fe4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rsi, r8
mov r14, rdx
mov r15, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x140032019
mov r8, qword [r8]
mov eax, 0x811c9dc5
xor edi, edi
mov edx, edi
add r9, r9
je 0x14003203c
movzx ecx, byte [rdx + r8]
xor ecx, eax
imul eax, ecx, 0x1000193
inc rdx
cmp rdx, r9
jne 0x140032027
imul r13d, eax, 0x1000193
mov r12d, edi
mov ecx, r13d
and ecx, 0xfffff
mov dword [rsp + 0x90], ecx
mov rbp, qword [r15]
mov rbx, rbp
mov rax, qword [rbp + 8]
cmp byte [rax + 0x19], dil
jne 0x140032087
cmp dword [rax + 0x20], ecx
jae 0x140032071
mov rax, qword [rax + 0x10]
jmp 0x140032077
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], dil
je 0x140032066
cmp rbx, rbp
je 0x140032087
cmp ecx, dword [rbx + 0x20]
jae 0x1400320dc
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], rdi
mov ecx, 0x30
call fcn.140033c3c
lea r9, [rax + 0x20]
mov ecx, dword [rsp + 0x90]
mov dword [r9], ecx
mov qword [r9 + 8], rdi
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov word [rax + 0x18], di
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rsp + 0xa0]
mov rcx, r15
call fcn.140032f9c
mov rbx, qword [rsp + 0xa0]
add rbx, 0x28
mov rcx, qword [rbx]
lea rdx, [rsp + 0x90]
call fcn.14001d400
jmp 0x140032162
lea rdx, [rcx + 8]
cmp dword [rdx + 0x20], r13d
jne 0x14003215c
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x140032109
mov rax, qword [rsi]
mov r8, qword [rdx + 0x10]
mov r9, rdx
cmp qword [rdx + 0x18], 8
jb 0x14003211a
mov r9, qword [rdx]
cmp r8, qword [rsi + 0x10]
jne 0x14003215c
test r8, r8
je 0x1400321bb
movzx r10d, word [r9]
movzx r11d, word [rax]
cmp r10w, r11w
jb 0x14003215c
sub r9, rax
cmp r10w, r11w
ja 0x14003215c
cmp r8, 1
je 0x1400321bb
dec r8
add rax, 2
movzx r10d, word [r9 + rax]
movzx r11d, word [rax]
cmp r10w, r11w
jae 0x14003213e
inc r12d
mov rcx, qword [rcx]
test rcx, rcx
jne 0x1400320f2
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
mov ecx, 0x30
call fcn.140033c3c
mov rcx, rax
lea rdx, [rax + 8]
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], 7
mov word [rsi], di
mov dword [rdx + 0x20], r13d
mov dword [rdx + 0x24], r12d
mov rax, qword [rbx]
mov qword [rcx], rax
mov qword [rbx], rcx
mov dil, 1
mov qword [r14], rdx
mov byte [r14 + 8], dil
mov rax, r14
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140f5ddec
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f5ddf6
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f5de1f
pop rbp
sub rbp, 0x33
sub rbp, 0xf5ddec
sub rsp, 0x20
jmp 0x140f5de3e
mov rax, 0xf5ddec
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x22855ba0
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f5de5d
jmp 0x140f5de74
call 0x16a2127a2
pushfq
movabs al, byte [0xa0a1a86121e8a0a0]
movabs al, byte [0xa0a76067e849a1e8]
movabs al, byte [0xa0a0a0886267e8a0]
call 0xe2de20f1
invalid