joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400020b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x1400021ab
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x1400021b3
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x1400021ea
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x1400021c0
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x140002215
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x14000223b
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x140002220
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a350
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x14002e008]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
lea rbx, [rsp + 0x30]
mov rbp, rdx
mov word [rsp + 0x30], ax
movzx edx, byte [rcx]
mov rsi, rcx
lea edi, [rax + 0x28]
test dl, dl
je 0x14000a3f5
nop dword [rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14000a3ad
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14000a3a0
cmp rcx, 1
jb 0x14000a426
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14000a3c3
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.14000fb7c
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x14000a390
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000b760
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
call fcn.14000f840
int3
Function at 0x14000a4b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14002e008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a4f5
xor al, al
jmp 0x14000a542
cmp word [rbx], 0
je 0x14000a50d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a500
cmp word [rsp + 0x30], 0
je 0x14000a53b
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a563
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a520
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b760
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000f840
int3
Function at 0x14000acf0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001f840
sub rsp, rax
mov rax, qword [0x14002e008]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002fd74]
lea rsi, [0x140034db0]
mov rdi, rcx
test r11d, r11d
jne 0x14000ad69
mov r8d, 0x1000
lea rdx, str.HOME
lea rcx, [rsp + 0x20]
call fcn.14000a570
test al, al
je 0x14000ae4f
lea rcx, [rsp + 0x20]
call fcn.140013e8c
movsxd r11, dword [0x14002fd74]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002fd74], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000ada4
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000ad94
add rax, 2
test ecx, ecx
jne 0x14000ad80
test edx, edx
je 0x14000adc7
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ad74
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000adb0
cmp rax, 2
jne 0x14000adcb
cmp word [rdi + 2], 0x3a
jne 0x14000adcb
mov al, 1
jmp 0x14000ae2e
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000adf8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000adf8
mov bl, 1
jmp 0x14000adfc
test bl, bl
je 0x14000ae23
cmp dword [0x14002fd74], 0x400
jge 0x14000ae23
mov rcx, rdi
call fcn.140013e8c
movsxd rdx, dword [0x14002fd74]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002fd74], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000b760
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str.HOME
call fcn.14000ab90
int3
Function at 0x14000af70
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fd78]
test rcx, rcx
je 0x14000afab
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000af9e
mov rcx, qword [0x14002fd78]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002fd78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140038db2], 0
je 0x14000b09e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140029868]
mov qword [rsp + 0x80], rsi
lea rsi, [0x1400325b0]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b07f
test al, 0x10
je 0x14000b07f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b025
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000c034
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c07e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c07e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c07e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c07e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c07e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000c080
xor al, al
add rsp, 0x28
ret

Function at 0x14000f834
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000f693
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f693
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f693
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f693
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f693
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f693
cmp dword [rcx + 0xf8], 0
je 0x14000f693
mov ecx, ebx
call fcn.14000f750
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000f520
nop
cmp dword [rbp + 0x20], 0
je 0x14000f6e1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f6ec
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f624
Function at 0x140018ce0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140018d67
mov rsi, rbx
cmp word [rax], bp
je 0x140018d26
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140018d10
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140018d0c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016520
mov rdi, rax
test rax, rax
je 0x140018d54
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000d600
mov rbp, rdi
xor ecx, ecx
call fcn.140015564
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001f750
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001f778
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001f778
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140074b20
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process filename

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
movabs rax, 0x79310232512228d9
mov rsi, rcx
mov qword [rsp + 0x20], rax
movabs rcx, 0x4e4c4b89e73a133a
mov qword [rsp + 0x38], rcx
movabs rax, 0x23fe5f6312d9a054
mov qword [rsp + 0x28], rax
movabs rax, 0xf2413078d16c4175
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0x795d0256515628b7
movdqa xmm1, xmmword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0x23925f0712f7a038
mov qword [rsp + 0x48], rax
movabs rax, 0xf2413078d16c4119
pxor xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movdqa xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x58], rcx
pxor xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x30], xmm1
mov rdi, qword gs:[0x60]
mov rax, qword [rdi + 0x18]
mov rbx, qword [rax + 0x10]
add rax, 0x20
cmp rbx, rax
je 0x140074c02
nop
mov rdx, qword [rbx + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400e7b40
test eax, eax
je 0x140074c1f
mov rax, qword [rdi + 0x18]
mov rbx, qword [rbx]
add rax, 0x20
cmp rbx, rax
jne 0x140074be0
xor ecx, ecx
mov rdx, rsi
call fcn.140075fb0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov eax, dword [rax + 4]
add rsp, 0x60
pop rdi
ret
mov rcx, qword [rbx + 0x30]
jmp 0x140074c04
Function at 0x140075fb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
movsxd rax, dword [rcx + 0x3c]
xor r9d, r9d
mov rdi, rdx
mov r11, rcx
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov esi, dword [r8 + 0x1c]
mov ebp, dword [r8 + 0x24]
add rsi, rcx
mov r10d, dword [r8 + 0x20]
add rbp, rcx
mov ebx, dword [r8 + 0x18]
add r10, rcx
test ebx, ebx
je 0x140076033
nop dword [rax]
mov eax, dword [r10]
mov r8, rdi
add rax, r11
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140076023
inc rax
test ecx, ecx
jne 0x140076010
test edx, edx
je 0x14007604a
inc r9d
add r10, 4
cmp r9d, ebx
jb 0x140076000
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movzx ecx, word [rbp + r9*2]
mov eax, dword [rsi + rcx*4]
add rax, r11
jmp 0x140076035
Function at 0x1400766e0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm0
call fcn.140076800
test al, al
jne 0x14007672d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x20]
xor edi, edi
movabs rsi, 0x1ee7c0dec0ffee
lea rbx, [rdi - 1]
test rcx, rcx
je 0x140076768
mov rdx, rbx
nop word [rax + rax]
inc rdx
cmp byte [rcx + rdx], dil
jne 0x140076750
mov rax, qword [0x1402ab810]
mov r8, rsi
call rax
mov rdi, rax
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14007678d
mov rdx, rbx
inc rdx
cmp byte [rcx + rdx], 0
jne 0x140076775
mov rax, qword [0x1402ab810]
mov r8, rsi
call rax
xor rdi, rax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400767b8
mov rdx, rbx
nop word [rax + rax]
inc rdx
cmp byte [rcx + rdx], 0
jne 0x1400767a0
mov rax, qword [0x1402ab810]
mov r8, rsi
call rax
xor rdi, rax
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400767dd
inc rbx
cmp byte [rcx + rbx], 0
jne 0x1400767c2
mov rax, qword [0x1402ab810]
mov r8, rsi
mov rdx, rbx
call rax
xor rdi, rax
mov rcx, qword [rsp + 0x40]
call fcn.1400e0320
mov rbx, qword [rsp + 0x60]
mov rax, rdi
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140076800
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov rax, qword [0x1402ab7e8]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rdx
test rdx, rdx
je 0x140076a39
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
movabs rcx, 0x2849d120bdb7a3f8
xor ebx, ebx
movups xmmword [rdx + 0x10], xmm0
mov qword [rdx + 0x20], rax
xor r9d, r9d
mov qword [rbp - 0x31], rcx
movabs rax, 0xec2614ef88d20325
mov qword [rbp - 0x49], rax
lea r8d, [rbx + 3]
mov qword [rbp + 0x2f], rcx
movabs rax, 0x8be696dacb1d2fbf
mov qword [rbp - 0x41], rax
lea rcx, [rbp - 0x49]
movdqa xmm0, xmmword [rbp - 0x49]
movabs rax, 0x1843aae1bc0d087e
mov qword [rbp - 0x39], rax
xor edx, edx
movdqa xmm1, xmmword [rbp - 0x39]
movabs rax, 0x9f5f7cbfd4fc5f79
mov qword [rbp + 0x17], rax
movabs rax, 0xfd8fe49ea77c4cd6
mov qword [rbp + 0x1f], rax
movabs rax, 0x1843aae1bc0d381b
pxor xmm0, xmmword [rbp + 0x17]
mov qword [rbp + 0x27], rax
pxor xmm1, xmmword [rbp + 0x27]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
movdqa xmmword [rbp - 0x39], xmm1
movdqa xmmword [rbp - 0x49], xmm0
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140076a39
xor eax, eax
mov qword [rsp + 0x38], rbx
mov qword [rbp - 9], rax
lea r9d, [rbx + 0xc]
xorps xmm0, xmm0
mov qword [rbp + 0xb], rbx
lea rax, [rbp - 1]
mov dword [rbp + 7], ebx
mov qword [rsp + 0x30], rax
lea r8, [rbp + 7]
lea rax, [rbp - 0x29]
mov dword [rsp + 0x28], 0x28
mov edx, 0x2d1400
mov qword [rsp + 0x20], rax
mov rcx, r14
mov dword [rbp - 1], ebx
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140076a39
mov ecx, dword [rbp - 0x25]
mov qword [rsp + 0xf0], rdi
call fcn.1400e0364
mov ecx, dword [rbp - 0x25]
lea r9d, [rbx + 0xc]
mov rdi, rax
mov qword [rsp + 0x38], rbx
lea rax, [rbp - 1]
mov edx, 0x2d1400
mov qword [rsp + 0x30], rax
lea r8, [rbp + 7]
mov dword [rsp + 0x28], ecx
mov rcx, r14
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400769c7
mov rcx, rdi
call fcn.1400e0320
xor al, al
mov rdi, qword [rsp + 0xf0]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400e0300
mov rbx, qword [rsp + 0x100]
add rsp, 0xd0
pop r14
pop rsi
pop rbp
ret
mov eax, dword [rdi + 0xc]
mov edx, dword [rdi + 0x10]
mov r9d, dword [rdi + 0x14]
mov r8d, dword [rdi + 0x18]
mov ecx, dword [rbp - 0x25]
test eax, eax
je 0x1400769e5
cmp eax, ecx
jae 0x1400769e5
add rax, rdi
jmp 0x1400769e8
mov rax, rbx
mov qword [rsi], rax
test edx, edx
je 0x1400769f7
lea rax, [rdi + rdx]
cmp edx, ecx
jb 0x1400769fa
mov rax, rbx
mov qword [rsi + 8], rax
test r9d, r9d
je 0x140076a0c
lea rax, [rdi + r9]
cmp r9d, ecx
jb 0x140076a0f
mov rax, rbx
mov qword [rsi + 0x10], rax
test r8d, r8d
je 0x140076a21
cmp r8d, ecx
jae 0x140076a21
lea rbx, [rdi + r8]
mov rcx, r14
mov qword [rsi + 0x18], rbx
mov qword [rsi + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14007699f
xor al, al
jmp 0x1400769a7
Function at 0x1400791f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140079251
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140079210
mov ecx, dword [r10]
jmp 0x14007933a
cmp ecx, 0x4e0
jb 0x14007933a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140079270
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1400792c0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14007dd40
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push r13
push r14
mov eax, 0x1078
call fcn.1400e0ef0
sub rsp, rax
mov rax, qword [0x1402ab7e8]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov r14, rdx
mov qword [rsp + 0x38], r9
mov rdx, qword [rsp + 0x10c0]
xor ebp, ebp
mov qword [rsp + 0x30], rdx
mov r13, r8
mov qword [rsp + 0x40], rcx
test r8, r8
jne 0x14007dd92
mov rdx, rbp
jmp 0x14007de5b
mov r9d, 0x1000
lea rdx, [rsp + 0x50]
call fcn.14007c250
test al, al
je 0x14007dd8a
mov qword [rsp + 0x10a8], rsi
mov qword [rsp + 0x1070], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1068], r12
mov qword [rsp + 0x1060], r15
nop dword [rax]
inc rdi
cmp byte [r14 + rdi], bpl
jne 0x14007ddd0
movsxd rax, dword [rsp + 0x8c]
lea rcx, [rsp + 0x50]
add rcx, rax
mov esi, ebp
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
movzx r15d, word [rcx + 6]
add r12, rax
test r15d, r15d
je 0x14007de38
mov eax, esi
mov r8, rdi
mov rdx, r14
lea rcx, [rax + rax*4]
lea rbx, [r12 + rcx*8]
mov rcx, rbx
call fcn.1400e3340
test eax, eax
jne 0x14007de31
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], bpl
jne 0x14007de23
cmp rdi, rax
je 0x14007de95
inc esi
cmp esi, r15d
jb 0x14007de00
mov rdx, rbp
mov r12, qword [rsp + 0x1068]
mov rdi, qword [rsp + 0x1070]
mov rsi, qword [rsp + 0x10a8]
mov r15, qword [rsp + 0x1060]
mov rax, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov r8d, ebp
mov qword [rsp + 0x20], rax
call fcn.14007dc30
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1400e0300
add rsp, 0x1078
pop r14
pop r13
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x14007de38
mov ecx, dword [rbx + 8]
lea rdx, [rsp + 0x50]
add rdx, rax
je 0x14007de38
test ecx, ecx
je 0x14007de38
lea rax, [rsp + 0x50]
mov ebp, ecx
sub rdx, rax
add rdx, r13
jmp 0x14007de3b
Function at 0x14007ef00
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14007ef22
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14007ef9c
mov rdi, r14
mov rcx, rbx
call fcn.1400805b0
test rax, rax
jle 0x14007ef74
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1400e3440
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14007ef8c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14007ef94
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14007ef36
sub r14, rdi
jmp 0x14007f07f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14007efb3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14007efb5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14007efe7
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1400e3440
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14007f07c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14007f022
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14007f05d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1400eed10
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14007f07c
cmp rbp, rax
ja 0x14007f030
test rbp, rbp
je 0x14007f07c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1400eed10
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret