joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c074
Capabilities:
Parse pe header

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

Function at 0x14000f860
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 0x14000f6cb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f6cb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f6cb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f6cb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f6cb
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f6cb
cmp dword [rcx + 0xf8], 0
je 0x14000f6cb
mov ecx, ebx
call fcn.14000f77c
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.14000f558
nop
cmp dword [rbp + 0x20], 0
je 0x14000f719
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f724
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f65c
Function at 0x140018e54
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 0x140018edb
mov rsi, rbx
cmp word [rax], bp
je 0x140018e9a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140018e84
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140018e80
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016684
mov rdi, rax
test rax, rax
je 0x140018ec8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000d640
mov rbp, rdi
xor ecx, ecx
call fcn.1400156a8
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 0x14000f880
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14000f903
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
add rax, 1
cmp rax, 2
jb 0x14000f8ce
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsi]
mov rdx, rsi
mov r9, rax
call fcn.1400146c0
mov rcx, qword [rsi]
call fcn.140014650
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x14000f8fc
mov qword [rsi], rdi
call fcn.140014640
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.140014680
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
invalid
std
invalid
out dx, al
invalid

Function at 0x140010e90
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x230
mov r14, rcx
mov rax, qword [0x140065020]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov word [rdi], 0
xor ebx, ebx
lea r15, str.PROGRAMFILES
mov rsi, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, qword [rbx + r15]
mov word [rsp + 0x20], 0
mov r8d, 0x104
mov rdx, rdi
call rsi
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140010eff
mov edx, eax
mov rcx, rdi
mov r8, r14
call fcn.140010e20
test al, al
jne 0x140010f0d
add rbx, 8
cmp rbx, 0x18
jne 0x140010ecd
xor esi, esi
jmp 0x140010f10
mov sil, 1
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14002a340
mov eax, esi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140001540
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
pxor xmm6, xmm0
lea rcx, [rcx + rax + 0x20]
neg rax
aesenc xmm2, xmm1
pxor xmm7, xmm0
pxor xmm8, xmm0
aesenc xmm3, xmm1
pxor xmm9, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x14000159a

Function at 0x1400015ba
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
aesenc xmm8, xmm0
aesenc xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x140001590
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenc xmm8, xmm1
aesenc xmm9, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
aesenclast xmm8, xmm0
aesenclast xmm9, xmm0
repz ret

Function at 0x140001650
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
pxor xmm6, xmm0
lea rcx, [rcx + rax + 0x20]
neg rax
aesdec xmm2, xmm1
pxor xmm7, xmm0
pxor xmm8, xmm0
aesdec xmm3, xmm1
pxor xmm9, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x1400016aa
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdec xmm8, xmm1
aesdec xmm9, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
aesdec xmm8, xmm0
aesdec xmm9, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x1400016a0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdec xmm8, xmm1
aesdec xmm9, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
aesdeclast xmm8, xmm0
aesdeclast xmm9, xmm0
repz ret

Function at 0x1400021ca
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
lea r11, [rsp + 0x60]
mov r8, qword [rax + 0x30]
mov r9d, dword [r8 + 0xc4dcb]
mov r10d, dword [r8 + 0xc4dcf]
test r9d, r9d
je 0x140002227
mov rdx, r11
add r9d, 2
mov eax, 2
mov ecx, eax
add eax, 1
add rdx, 4
mov ebx, dword [r8 + rcx*4 + 0xc4dcb]
add ebx, r10d
mov dword [rdx - 4], ebx
cmp r9d, eax
jne 0x14000220b
mov eax, dword [rsp + 0x120]
mov qword [rsp + 0x50], r11
lea rcx, [rsp + 0x20]
add r8, rax
call r8
nop
add rsp, 0x250
pop rbx
ret
Function at 0x140007c7c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x20], rcx
mov dword [rbp + 0x28], edx
mov dword [rbp + 0x30], r8d
mov eax, dword [rbp + 0x30]
shr eax, 0x18
lea rdx, [rbp]
mov byte [rdx], al
mov eax, dword [rbp + 0x30]
shr eax, 0x10
lea rdx, [rbp]
inc rdx
mov byte [rdx], al
mov eax, dword [rbp + 0x30]
shr eax, 8
lea rdx, [rbp]
add rdx, 2
mov byte [rdx], al
mov eax, dword [rbp + 0x30]
lea rdx, [rbp]
add rdx, 3
mov byte [rdx], al
mov dword [rbp + 4], 0
mov dword [rbp + 8], 0
mov eax, dword [rbp + 4]
mov edx, dword [rbp + 0x28]
cmp eax, edx
jb 0x140007cf0
jmp 0x140007d34
mov eax, 1
add eax, dword [rbp + 4]
mov dword [rbp + 4], eax
jmp 0x140007cd7
mov eax, dword [rbp + 4]
add rax, qword [rbp + 0x20]
movzx eax, byte [rax]
movzx eax, al
lea rdx, [rbp]
mov ecx, dword [rbp + 8]
add rdx, rcx
movzx edx, byte [rdx]
movzx edx, dl
xor eax, edx
mov edx, dword [rbp + 4]
add rdx, qword [rbp + 0x20]
mov byte [rdx], al
mov eax, 1
add eax, dword [rbp + 8]
mov dword [rbp + 8], eax
mov eax, dword [rbp + 8]
cmp eax, 4
jne 0x140007ce3
mov dword [rbp + 8], 0
jmp 0x140007ce3
lea rsp, [rbp + 0x10]
pop rbp
ret
Function at 0x14000d910
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_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140016c60], rbx
je 0x14000d977
cmp rax, rbx
jne 0x14000d96a
mov ebx, 1
mov esi, ebx
jmp 0x14000d97c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000d94f
mov ebx, 1
mov eax, dword [0x140016c68]
cmp eax, ebx
jne 0x14000d994
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000da00
mov eax, dword [0x140016c68]
test eax, eax
jne 0x14000d9f5
mov dword [0x140016c68], ebx
lea r15, [0x140010bb8]
lea rdi, [0x140010ba0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000d9e7
test eax, eax
jne 0x14000d9eb
cmp qword [rdi], r14
je 0x14000d9dc
mov rax, qword [rdi]
mov rcx, qword [0x140010b58]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000d9be
test eax, eax
je 0x14000d9fb
mov eax, 0xff
jmp 0x14000db56
mov dword [0x1400163e4], ebx
mov edi, 0x1f
mov eax, dword [0x140016c68]
cmp eax, ebx
jne 0x14000da27
lea rdx, [0x140010b98]
lea rcx, [0x140010b60]
call sub.msvcrt.dll__initterm
mov dword [0x140016c68], 2
test esi, esi
jne 0x14000da35
mov rax, r14
xchg qword [0x140016c60], rax
cmp qword [0x140016c80], r14
je 0x14000da68
lea rcx, [0x140016c80]
call fcn.14000dfd0
test eax, eax
je 0x14000da68
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140016c80]
mov r9, qword [0x140010b58]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000da81
mov eax, 0xff
jmp 0x14000db56
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000db07
test ax, ax
je 0x14000da9c
test edx, edx
jne 0x14000db07
sub ax, bx
cmp ax, di
ja 0x14000dab2
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000da9c
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.1400019fc
mov dword [0x1400163e0], eax
cmp dword [0x140016400], r14d
jne 0x14000daf0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400163e4], r14d
jne 0x14000db05
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400163e0]
jmp 0x14000db56
cmp ax, 0x22
jne 0x14000db1b
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 0x14000da8a
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.140164000
add rsp, 0x28
jmp 0x14000d910
Function at 0x14006e1a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x1412393e0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x141238a93], 0
je 0x14006e1d6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x141239760]
aesenc xmm0, xmmword [0x141239770]
aesenc xmm0, xmmword [0x141239780]
movq rax, xmm0
ret
jmp 0x14000b3c0
Function at 0x1400990a0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400992ec
add rsp, 0xffffffffffffff80
mov qword [rsp + 0x78], rbp
lea rbp, [rsp + 0x78]
mov ebx, dword [rax + 0x2c]
nop dword [rax + rax]
test ebx, ebx
jne 0x14009914c
mov qword [rsp + 0x88], rax
lea rbx, [0x1409d6e60]
mov rcx, rax
lea rax, [0x1411e1460]
call fcn.1400894c0
test cl, cl
jne 0x140099131
mov rax, qword [rsp + 0x88]
call fcn.140095dc0
mov ecx, 1
mov rdi, rax
mov rsi, rbx
lea rax, [rsp + 0x30]
lea rbx, [0x140b369d0]
call fcn.1400539a0
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x28], rbx
nop dword [rax]
call fcn.14009a6a0
mov rcx, qword [rsp + 0x88]
xor edx, edx
jmp 0x14009916e
lea rdx, [0x1409d7120]
cmp rax, rdx
jne 0x14009915c
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
nop
call fcn.140068de0
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rbx, rdx
lea rcx, [0x1408d9bc0]
call fcn.14000bf00
inc rdx
cmp rbx, rdx
jle 0x1400991b8
mov rsi, qword [rax + rdx*8]
cmp qword [rsi + 0x30], rcx
jne 0x14009916b
lea rax, [0x1411e1460]
lea rbx, [0x1409d6e60]
lea rdi, [0x1409d7120]
call fcn.1400898e0
lea rdx, [0x1409d7120]
nop
cmp rax, rdx
jne 0x1400992dc
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
lea rcx, [0x1408945c0]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x50], rcx
lea rax, [0x14093a0a0]
nop
call fcn.14000ece0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x50]
test byte [rcx], al
cmp dword [0x1412390d0], 0
jne 0x14009921a
mov rdx, qword [rcx]
mov qword [rax], rdx
movups xmm0, xmmword [rcx + 8]
movups xmmword [rax + 8], xmm0
movups xmm0, xmmword [rcx + 0x18]
movups xmmword [rax + 0x18], xmm0
movups xmm0, xmmword [rcx + 0x28]
movups xmmword [rax + 0x28], xmm0
jmp 0x140099229
mov rbx, rax
lea rax, [0x14093a0a0]
call fcn.1400153a0
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x28]
xor ecx, ecx
xor edi, edi
xor esi, esi
mov r8d, esi
nop dword [rax]
call fcn.140095860
nop
call fcn.140068ee0
mov rsi, qword [rsp + 0x60]
mov dword [rsi + 0x28], eax
mov dword [rsi + 0x2c], 0
mov rcx, qword [rsp + 0x88]
mov edx, dword [rcx + 0x10]
xor eax, eax
jmp 0x140099277
imul edx, edx, 0x1000193
xor edx, 0x2a
mov eax, 1
cmp rax, 1
jl 0x140099269
mov dword [rsi + 0x10], edx
cmp dword [0x1412390d0], 0
jne 0x14009928f
mov qword [rsi + 0x30], rcx
jmp 0x140099298
lea rdi, [rsi + 0x30]
call fcn.14006e380
lea rax, [0x1411e1460]
lea rbx, [0x1409d6e60]
lea rdi, [0x1409d7120]
call fcn.1400898e0
lea rdx, [0x1409d7120]
cmp rax, rdx
jne 0x1400992cd
test byte [rbx], al
mov rax, rbx
mov rbp, qword [rsp + 0x78]
sub rsp, 0xffffffffffffff80
ret
mov rbx, rdx
lea rcx, [0x1408d9bc0]
call fcn.14000bf00
mov rbx, rdx
lea rcx, [0x1408d9bc0]
call fcn.14000bf00
nop
mov qword [rsp + 8], rax
call fcn.14006c0a0
mov rax, qword [rsp + 8]
nop dword [rax + rax]
jmp fcn.1400990a0
Function at 0x1407b4dc0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1411d8d00]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1407b4de0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1407b4de8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1407b4de0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x1407b4e35
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1407b4e2c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1407b4de0
add rax, 0x28
cmp rax, r9
jne 0x1407b4e18
xor eax, eax
ret

Function at 0x1407b4e40
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1411d8d00]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1407b4e60
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1407b4e68
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x1407b4e60
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x1407b4ef0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1411d8d00]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x1407b4f10
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x1407b4f18
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x140011f90
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400e9088]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
cmp qword [rcx + 0x68], 0
je 0x140012119
cmp byte [rcx + 0x72], 0
je 0x140012119
mov rax, qword [rcx]
mov ebx, 0xffff
mov edx, ebx
call qword [rax + SafeArrayPutElement]
cmp bx, ax
jne 0x140011fed
xor al, al
jmp 0x14001211b
xor r14d, r14d
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x18], SafeArrayLock
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x30], r14b
xor r8d, r8d
lea edx, [r14 + 8]
lea rcx, [rbp - 0x30]
call fcn.140011a10
nop
mov r10, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp - 0x30]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp - 0x30]
cmovae r8, r10
mov rcx, qword [rdi + 0x68]
mov r10, qword [rcx]
mov r9, qword [rbp - 0x20]
add r9, rdx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x74]
call qword [r10 + 0x40]
test eax, eax
je 0x14001206e
sub eax, 1
jne 0x1400120df
jmp 0x140012072
mov byte [rdi + 0x72], 0
lea rax, [rbp - 0x30]
mov r10, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
cmp r9, 0x10
cmovae rax, r10
mov rbx, qword [rbp - 0x38]
sub rbx, rax
je 0x1400120bc
lea rcx, [rbp - 0x30]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
call fcn.1400812f8
cmp rbx, rax
jne 0x1400120e4
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x30]
cmp byte [rdi + 0x72], 0
je 0x1400120e8
test rbx, rbx
jne 0x140012030
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.140011b10
jmp 0x140012019
sub eax, 2
je 0x1400120e8
xor bl, bl
jmp 0x1400120ea
mov bl, 1
mov r8, qword [rbp - 0x18]
cmp r8, 0x10
jb 0x140012104
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.140003c00
mov qword [rbp - 0x18], SafeArrayLock
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x30], 0
movzx eax, bl
jmp 0x14001211b
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140056080
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14001c6d0
Capabilities:
Create directory

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400e9088]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
mov qword [rbp + 0x1f], rcx
mov rdx, rcx
lea rcx, [rbp + 0x2f]
call fcn.14001e630
nop
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rcx, qword [rbp + 0x2f]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
xor edi, edi
test eax, eax
jne 0x14001c82c
lea rdx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rdx, qword [rbp + 0x2f]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [rbp + 0x27], edi
mov word [rbp + 0x2b], 0x100
mov qword [rbp - 0x19], rdi
lea rax, [rbp - 0x19]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x27]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14001c82c
xor eax, eax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov qword [rbp + 0xf], rax
mov dword [rbp - 0xd], 2
mov dword [rbp - 0x11], 0x1fffff
mov dword [rbp - 9], 1
mov qword [rbp + 7], rdi
mov qword [rbp - 1], rdi
mov rax, qword [rbp - 0x19]
mov qword [rbp + 0x17], rax
mov dword [rbp + 0xf], 5
mov qword [rbp - 0x21], rdi
lea r9, [rbp - 0x21]
xor r8d, r8d
lea rdx, [rbp - 0x11]
lea ecx, [rdi + 1]
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x14001c821
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 8
cmovae rcx, qword [rbp + 0x2f]
mov qword [rsp + 0x30], rdi
mov rax, qword [rbp - 0x21]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea edx, [rdi + 1]
lea r8d, [rdi + 4]
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
nop
mov r8, qword [rbp + 0x47]
cmp r8, 8
jb 0x14001c846
inc r8
mov rdx, qword [rbp + 0x2f]
lea rcx, [rbp + 0x2f]
call fcn.140012760
mov qword [rbp + 0x47], 7
mov qword [rbp + 0x3f], rdi
mov word [rbp + 0x2f], di
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x14001c86e
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.140012760
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
mov word [rbx], di
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140056080
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14001f830
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov rax, qword [0x1400e9088]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], rbx
mov word [rcx], bx
lea r8d, [rbx + 7]
lea rdx, [0x1400becb8]
call fcn.140011700
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x5a]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movsxd rsi, eax
test eax, eax
jle 0x14001f915
xor eax, eax
mov qword [rsp + 0x38], rax
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140021f90
nop
mov rax, qword [rsp + 0x38]
mov word [rax], bx
mov r9d, esi
mov r8, qword [rsp + 0x38]
lea edx, [rbx + 0x5a]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14001f906
mov rdx, qword [rsp + 0x38]
cmp word [rdx], bx
je 0x14001f8fa
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x14001f8f0
mov r8, rbx
mov rcx, rdi
call fcn.140011700
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001f915
call fcn.1400560a4
mov rax, rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140056080
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x140022400
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1400e9088]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov r9, qword [r8 + 0x20]
mov rdi, r8
add r8, 0x10
mov rsi, rdx
mov r10, rcx
cmp qword [r8 + 0x18], 8
jb 0x140022436
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
add r9, r9
je 0x140022465
movabs r11, 0x100000001b3
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r9
jb 0x140022451
mov r8, qword [r10 + 0x30]
mov rcx, qword [r10 + 0x18]
and r8, rdx
shl r8, 4
add rcx, r8
cmp qword [rcx + 8], rdi
jne 0x1400224a2
cmp qword [rcx], rdi
jne 0x140022498
mov rax, qword [r10 + 8]
mov qword [rcx], rax
mov rcx, qword [r10 + 0x18]
mov rax, qword [r10 + 8]
mov qword [r8 + rcx + 8], rax
jmp 0x1400224ad
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
jmp 0x1400224ad
cmp qword [rcx], rdi
jne 0x1400224b2
mov rax, qword [rdi]
mov qword [rcx], rax
mov rdi, qword [rsp + 0x60]
mov rdx, qword [rdi + 8]
lea rcx, [rdi + 0x10]
mov rbx, qword [rdi]
mov qword [rdx], rbx
mov r8, qword [rdi]
mov rdx, qword [rdi + 8]
mov qword [r8 + 8], rdx
dec qword [r10 + 0x10]
call fcn.14001f6f0
mov rcx, rdi
call fcn.1400560e8
mov rax, rsi
mov qword [rsi], rbx
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.140056080
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret