joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002fcf8
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
sub rsp, 0xe0
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov r14, rcx
xor r12d, r12d
call fcn.14002ef0c
mov r15, rax
mov qword [rbp + 0x28], rax
xor eax, eax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14002e738
mov rax, qword [rbp + 0x40]
mov qword [rbp], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 8], rax
lea rax, [rbp]
mov qword [rbp + 0x20], rax
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x30]
call fcn.140031470
nop
lea rcx, [rbp]
call fcn.14002f360
mov rdx, r14
lea rcx, [rbp]
call fcn.14002f5bc
mov rdi, rax
mov ebx, dword [r14 + 0x14]
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rcx]
mov rcx, qword [rdx + 0x30]
mov qword [rbp + 0x10], r12
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x10]
mov edx, 0x6bba5a27
call fcn.1400046bc
mov r8, qword [rbp + 0x10]
test eax, eax
cmovs r8, r12
mov rdx, qword [0x140097b18]
mov eax, dword [0x140092084]
mov dword gs:[0x68], eax
lea r9, [rdi + rbx]
mov qword [rsp + 0x20], r12
mov rbx, qword [rbp + 8]
mov rcx, rbx
call fcn.14005fa20
test eax, eax
js 0x14002fed1
lea rcx, [rbp + 8]
call fcn.140003940
mov byte [rbp + 0x38], 1
mov eax, dword [0x1400920e4]
mov dword gs:[0x68], eax
xor edx, edx
or rcx, 0xffffffffffffffff
call fcn.14005fa20
nop
cmp byte [rbp + 0x38], r12b
jne 0x14002fe6d
mov rcx, qword [rbp + 0x30]
mov eax, dword [0x1400920e4]
mov dword gs:[0x68], eax
xor edx, edx
mov rcx, qword [rcx]
call fcn.14005fa20
nop
cmp rbx, 0xfffffffffffffffe
cmove rbx, r12
mov qword [rbp + 8], rbx
test rbx, rbx
je 0x14002fe8b
mov rcx, rbx
call qword [0x140068658]
mov qword [rbp + 8], r12
mov rcx, qword [rbp]
test rcx, rcx
je 0x14002fe9e
call qword [0x140068658]
mov qword [rbp], r12
test r15, r15
je 0x14002feb0
mov rcx, r15
call qword [0x140068658]
mov qword [rbp + 0x28], r12
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rcx, vtable.std::exception.0
mov qword [rbp + 0x60], rcx
xor ecx, ecx
mov qword [rbp + 0x68], rcx
mov qword [rbp + 0x70], rcx
lea rcx, method.std::bad_alloc.virtual_0
mov qword [rbp + 0x60], rcx
mov dword [rbp + 0x78], 0xd000160c
mov dword [rbp + 0x7c], eax
lea rdx, [0x14008f0d0]
lea rcx, [rbp + 0x60]
call fcn.1400606c0
int3
Function at 0x1400319c0
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rbx, r8
mov rsi, rcx
mov rax, rcx
mov rdx, qword [rcx + 0x18]
cmp rdx, 8
jb 0x140031a00
mov rax, qword [rcx]
mov rcx, qword [rcx + 0x10]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x60], rax
mov r9d, 0x5c
cmp word [rax - 2], r9w
je 0x140031a41
cmp rcx, rdx
jae 0x140031a39
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 8
jb 0x140031a33
mov rax, qword [rsi]
mov dword [rax + rcx*2], r9d
jmp 0x140031a41
mov rcx, rsi
call fcn.14000df60
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 0x18]
jae 0x140031a69
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp qword [rsi + 0x18], 8
jb 0x140031a60
mov rax, qword [rsi]
mov dword [rax + rcx*2], 0x2a
jmp 0x140031a77
mov r9d, 0x2a
mov rcx, rsi
call fcn.14000df60
mov dword [rsp + 0x20], 0x65002e
mov dword [rsp + 0x24], 0x650078
xor eax, eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14000de4c
nop
lea rdi, [rsp + 0x20]
xor eax, eax
lea ecx, [rax + 0xc]
rep stosb byte [rdi], al
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140031ab8
mov rcx, qword [rsi]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
je 0x140031b61
test dword [rsp + 0x70], 0x4c14
jne 0x140031b20
cmp word [rbp - 0x64], 0x2e
je 0x140031b20
lea rax, [rbp - 0x64]
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbx + 8]
cmp qword [rbx + 0x10], rax
je 0x140031b0e
lea rdx, [rbp - 0x64]
mov rcx, rax
call fcn.14000d47c
add qword [rbx + 8], 0x20
jmp 0x140031b20
lea r8, [rbp + 0x1f8]
mov rdx, rax
mov rcx, rbx
call fcn.1400316a8
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140031ad5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
or qword [rsp + 0x30], 0xffffffffffffffff
mov rcx, rsi
call fcn.140002adc
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov eax, dword gs:[0x68]
lea rcx, vtable.std::exception.0
mov qword [rsp + 0x38], rcx
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rcx
lea rcx, method.std::bad_alloc.virtual_0
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x50], 0xd0001d10
mov dword [rsp + 0x54], eax
lea rdx, [0x14008f0d0]
lea rcx, [rsp + 0x38]
call fcn.1400606c0
int3

Function at 0x140031fc4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rdx, rcx
test rcx, rcx
je 0x14003200c
movzx r8d, word [rcx]
test r8w, r8w
je 0x14003200c
mov r9d, 0x811c9dc5
lea eax, [r8 - 0x41]
cmp ax, 0x19
lea ecx, [r8 + 0x20]
lea rdx, [rdx + 2]
cmova cx, r8w
movzx r8d, word [rdx]
movzx eax, cx
xor eax, r9d
imul r9d, eax, 0x1000193
test r8w, r8w
jne 0x140031fdc
mov eax, r9d
ret
xor eax, eax
ret
Function at 0x140032010
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov qword [rax - 0x48], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov r13, rcx
mov qword [rsp + 0x48], rdx
xor r15d, r15d
mov dword [rsp + 0x34], r15d
xor ebx, ebx
mov qword [rax - 0x58], rbx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
test rbx, rbx
je 0x140032071
test r12d, r12d
je 0x140032071
mov r8d, r12d
xor edx, edx
mov rcx, rbx
call fcn.140060530
nop
and dword [rsp + 0xb8], 0
mov eax, dword [0x140092168]
mov dword gs:[0x68], eax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, rbx
xor r8d, r8d
mov edx, r15d
mov rcx, qword [r13]
call fcn.14005fa20
nop
mov dword [r14], eax
cmp eax, 0xc0000023
je 0x1400320c1
cmp eax, 0x80000005
jne 0x14003216f
mov eax, dword [rsp + 0xb8]
test eax, eax
je 0x1400321ed
add eax, 2
mov dword [rsp + 0xb8], eax
mov r8d, eax
mov rax, qword gs:[0x60]
mov edx, 8
mov rcx, qword [rax + 0x30]
test rbx, rbx
je 0x140032105
mov r9d, r8d
mov r8, qword [rsp + 0x40]
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
nop
jmp 0x14003210c
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop
mov qword [rsp + 0x40], rax
mov rbx, rax
test rax, rax
jne 0x140032125
mov dword [r14], 0xc000009a
jmp 0x1400321fa
mov r12d, dword [rsp + 0xb8]
mov dword [rsp + 0x30], r12d
mov eax, dword [0x140092168]
mov dword gs:[0x68], eax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, rbx
xor r8d, r8d
mov edx, r15d
mov rcx, qword [r13]
call fcn.14005fa20
nop
mov dword [r14], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
test eax, eax
js 0x1400321db
cmp dword [rbx + 0xc], 0
jbe 0x1400321db
lea rcx, [rbx + 0x10]
call fcn.140031fc4
nop
xor eax, 0x2f13d2e9
mov dword [rsp + 0x38], eax
mov rdx, qword [rdi + 8]
cmp qword [rdi + 0x10], rdx
je 0x1400321a4
mov qword [rsp + 0x58], rdx
mov dword [rdx], eax
add qword [rdi + 8], 4
jmp 0x1400321b2
lea r8, [rsp + 0x38]
mov rcx, rdi
call fcn.1400314a0
nop
jmp 0x1400321db
inc r15d
mov dword [rsp + 0x34], r15d
cmp dword [r14], 0
jge 0x140032059
cmp dword [r14], 0x8000001a
jne 0x1400321fa
and dword [r14], 0
test rbx, rbx
je 0x140032220
mov rcx, qword gs:[0x60]
mov r8, qword [rsp + 0x40]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop
and qword [rsp + 0x40], 0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret
Function at 0x1400395cc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x30
mov qword [rax - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rbx, r8
mov r14, rdx
mov r10, rcx
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
lea rsi, [rbx + 0x10]
movzx eax, byte [rsi + r9]
xor r8, rax
movabs rcx, 0x100000001b3
imul r8, rcx
inc r9
cmp r9, 8
jb 0x140039603
mov rdx, qword [r10 + 0x30]
and rdx, r8
add rdx, rdx
mov rcx, qword [r10 + 0x18]
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x14003965a
cmp qword [rcx + rdx*8], rbx
jne 0x14003964f
mov rax, qword [r10 + 8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r10 + 8]
mov rcx, qword [r10 + 0x18]
jmp 0x140039653
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140039667
cmp qword [rcx + rdx*8], rbx
jne 0x140039667
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rdi, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r10 + 0x10]
mov qword [rsp + 0x40], rsi
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140039694
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rsi + 8], 0
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [r14], rdi
mov rax, r14
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14003e660
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov byte [rax + 0x18], r8b
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r15, r9
mov r14, rdx
mov r13, rcx
lea rdi, [rdx + 0xd0]
mov qword [rbp + 0x48], rdi
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
nop
mov r10, qword [r14 + 0x100]
mov rbx, qword [r14 + 0xf8]
jmp 0x14003e6d6
lea rcx, [rbx + 0x30]
cmp qword [rbx + 0x48], 8
jb 0x14003e6c1
mov rcx, qword [rcx]
call fcn.140031fc4
xor eax, 0x2f13d2e9
cmp eax, 0x36d13a15
je 0x14003e6db
add rbx, 0x58
cmp rbx, r10
jne 0x14003e6b3
xor r12d, r12d
cmp rbx, r10
jne 0x14003e6ef
mov dword [r15], 0xd0001413
jmp 0x14003e891
mov rsi, qword [r13 + 0x140]
test rsi, rsi
jne 0x14003e800
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.14000f180
nop
mov ecx, 0x5a4d
mov rax, qword [rbp - 0x10]
cmp word [rax], cx
jne 0x14003e865
movsxd rsi, dword [rax + 0x3c]
add rsi, rax
cmp dword [rsi], 0x4550
jne 0x14003e865
mov dword [rbp - 0x28], 0x7865742e
mov dword [rbp - 0x24], 0x74
xor eax, eax
mov dword [rbp - 0x20], eax
mov eax, dword [rbp - 0x28]
lea rdx, [0x140096a70]
cmp qword [0x140096a88], 0x10
cmovae rdx, qword [0x140096a70]
lea r9, [rbp - 0x28]
mov r8, qword [0x140096a80]
mov rcx, qword [rbp - 0x10]
call fcn.14000b73c
mov rdx, rax
lea rdi, [rbp - 0x28]
xor eax, eax
lea ecx, [rax + 0xc]
rep stosb byte [rdi], al
test rdx, rdx
jne 0x14003e7b8
cmp qword [rbp - 0x10], r12
je 0x14003e7af
mov eax, dword [str._w3_t_t]
mov dword gs:[0x68], eax
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
call fcn.14005fa20
mov rdi, qword [rbp + 0x48]
jmp 0x14003e886
mov rdi, qword [rbp + 0x48]
jmp 0x14003e88a
movsxd rax, dword [0x140096a90]
mov eax, dword [rdx + rax]
sub eax, dword [rsi + 0x34]
mov esi, eax
mov qword [r13 + 0x140], rsi
cmp qword [rbp - 0x10], r12
je 0x14003e7f3
mov eax, dword [str._w3_t_t]
mov dword gs:[0x68], eax
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
call fcn.14005fa20
mov qword [rbp - 0x10], r12
mov rdi, qword [rbp + 0x48]
test rsi, rsi
je 0x14003e88a
mov rdx, qword [rbx]
add rdx, rsi
mov eax, dword [0x1400921ec]
mov dword gs:[0x68], eax
lea r8, [r13 + 0x148]
mov qword [rsp + 0x20], r12
mov r12d, 1
mov r9d, r12d
mov rcx, qword [r14]
call fcn.14005fa20
mov dword [r15], eax
mov rdx, qword [rbx]
add rdx, rsi
mov eax, dword [0x1400921e0]
mov dword gs:[0x68], eax
and qword [rsp + 0x20], 0
mov r9d, r12d
lea r8, [rbp + 0x50]
mov rcx, qword [r14]
call fcn.14005fa20
xor r12d, r12d
mov dword [r15], r12d
jmp 0x14003e891
cmp qword [rbp - 0x10], r12
je 0x14003e88a
mov eax, dword [str._w3_t_t]
mov dword gs:[0x68], eax
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x18]
call fcn.14005fa20
mov qword [rbp - 0x10], r12
mov dword [r15], 0xc0000001
test rdi, rdi
je 0x14003e8a3
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
mov qword [rbp + 0x48], r12
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140048cb0
Capabilities:
Delete registry key

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x178]
sub rsp, 0x278
mov qword [rsp + 0x48], 0xfffffffffffffffe
lea rcx, [0x140070f30]
call fcn.1405eb60f
nop
mov rbx, rax
mov qword [rsp + 0x50], rax
lea r9, [rbp + 0x1a0]
lea r8, [rbp + 0x1b0]
mov edx, 0x2001f
mov rcx, rax
call fcn.14000c240
nop
mov rcx, rbx
call fcn.1405eb646
nop
xor esi, esi
cmp dword [rbp + 0x1a0], esi
jl 0x140048dbf
mov rbx, qword [rbp + 0x1b0]
mov qword [rbp + 0x1b8], rbx
mov dword [rbp + 0x1a8], 1
lea rcx, [0x140070fb0]
call fcn.1405eb60f
nop
mov rdi, rax
mov qword [rsp + 0x58], rax
or rax, 0xffffffffffffffff
inc rax
cmp word [rdi + rax*2], si
jne 0x140048d46
add ax, ax
mov word [rsp + 0x38], ax
add ax, 2
mov word [rsp + 0x3a], ax
mov qword [rsp + 0x40], rdi
mov eax, dword [0x1400920e8]
mov dword gs:[0x68], eax
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rbp + 0x1a8]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14005fa20
mov dword [rbp + 0x1a0], eax
mov rcx, rdi
call fcn.1405eb646
nop
nop
test rbx, rbx
je 0x140048dbf
mov rcx, rbx
call qword [0x140068658]
mov qword [rbp + 0x1b8], rsi
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x70]
call fcn.140060530
lea rcx, [0x140070fd0]
call fcn.1405eb60f
nop
mov rbx, rax
mov qword [rsp + 0x60], rax
lea r8, [0x140097f30]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14004a5dc
mov edi, eax
mov rcx, rbx
call fcn.1405eb646
nop
test edi, edi
jle 0x140048e5d
lea r9, [rbp + 0x1a0]
lea r8, [rbp + 0x1b0]
mov edx, 0x3001f
lea rcx, [rsp + 0x70]
call fcn.14000c240
cmp dword [rbp + 0x1a0], esi
jl 0x140048e5d
mov rbx, qword [rbp + 0x1b0]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
nop
test rbx, rbx
je 0x140048e5d
mov rcx, rbx
call qword [0x140068658]
mov qword [rsp + 0x30], rsi
add rsp, 0x278
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140049968
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r13, rcx
lea rcx, [rbp - 0x59]
call fcn.140009114
nop
lea r8, [rbp - 0x59]
cmp qword [rbp - 0x41], 0x10
cmovae r8, qword [rbp - 0x59]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
mov r15, qword [rbp - 0x49]
test r15, r15
je 0x1400499e5
movzx eax, byte [rdx + r8]
xor rcx, rax
movabs r9, 0x100000001b3
imul rcx, r9
inc rdx
cmp rdx, r15
jb 0x1400499c7
mov rsi, qword [r13 + 0x80]
and rsi, rcx
add rsi, rsi
mov rax, qword [r13 + 0x68]
mov rbx, qword [rax + rsi*8]
mov r14, qword [r13 + 0x58]
cmp qword [rax + rsi*8], r14
jne 0x140049a09
mov rax, r14
jmp 0x140049a11
mov rax, qword [rax + rsi*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x140049a7f
lea rdi, [rbx + 0x10]
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0x10
cmovae rdx, qword [rbp - 0x59]
mov r12, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140049a39
mov rcx, qword [rdi]
cmp r12, r15
jne 0x140049a4a
mov r8, r12
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x140049a53
mov rbx, qword [rbx]
mov rax, qword [r13 + 0x68]
jmp 0x1400499fe
cmp qword [rdi + 0x18], 0x10
jb 0x140049a5d
mov rdi, qword [rdi]
lea rcx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0x10
cmovae rcx, qword [rbp - 0x59]
cmp r15, r12
jne 0x140049a7f
mov r8, r15
mov rdx, rdi
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x140049a82
mov rbx, r14
lea rcx, [rbp - 0x59]
call fcn.140002bac
cmp rbx, qword [r13 + 0x58]
jne 0x140049b6b
mov rdx, qword [rbp + 0x6f]
lea rcx, [rbp - 0x29]
call fcn.1400496bc
nop
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
lea rcx, [rbp - 0x39]
call fcn.140001bc0
mov rbx, rax
mov rdx, qword [rbp + 0x6f]
lea rcx, [rbp + 0xf]
call fcn.140009114
nop
mov rcx, qword [r13 + 0x58]
mov rsi, qword [rcx]
mov r14, qword [rsi + 8]
mov qword [rsp + 0x20], rbx
mov r9, rax
mov r8, r14
mov rdx, rsi
call fcn.14004ab2c
mov rdx, rax
mov rax, qword [r13 + 0x60]
movabs rcx, 0x3fffffffffffffe
sub rcx, rax
cmp rcx, 1
jb 0x140049b90
inc rax
mov qword [r13 + 0x60], rax
mov qword [rsi + 8], rdx
mov qword [r14], rdx
mov r9, qword [r13 + 0x58]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 1]
lea rcx, [r13 + 0x50]
call fcn.14004a790
mov rbx, qword [rbp - 1]
lea rcx, [rbp + 0xf]
call fcn.140002bac
nop
cmp qword [rbp - 0x31], 0
je 0x140049b62
mov eax, dword [str._w3_t_t]
mov dword gs:[0x68], eax
mov rdx, qword [rbp - 0x31]
mov rcx, qword [rbp - 0x39]
call fcn.14005fa20
and qword [rbp - 0x31], 0
lea rcx, [rbp - 0x29]
call fcn.140002adc
lea rax, [rbx + 0x30]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.14005fe5c
int3
Function at 0x14004aba8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea r9, [r8 + 0x10]
mov rdi, rdx
cmp qword [r9 + 0x18], 0x10
mov r11, rcx
mov rbx, qword [r9 + 0x10]
jb 0x14004abca
mov r9, qword [r9]
xor r10d, r10d
movabs rcx, 0xcbf29ce484222325
test rbx, rbx
je 0x14004abfa
movzx eax, byte [r10 + r9]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, rbx
jb 0x14004abdc
mov rdx, qword [r11 + 0x30]
and rdx, rcx
mov rcx, qword [r11 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x14004ac32
cmp qword [rcx + rdx*8], r8
jne 0x14004ac27
mov rax, qword [r11 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 8]
jmp 0x14004ac2b
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x14004ac3f
cmp qword [rcx + rdx*8], r8
jne 0x14004ac3f
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
lea rcx, [r11 + 8]
mov rdx, rdi
call fcn.14004aa94
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x140050504
Capabilities:
Parse pe header
Read file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x78]
sub rsp, 0x160
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov esi, edx
lea r8, [rbp + 0x98]
mov rdx, rcx
lea rcx, [rsp + 0x30]
call fcn.14000d504
cmp dword [rbp + 0x98], 0
jge 0x140050548
xor al, al
jmp 0x1400506a9
mov rbx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rbx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
or edi, 0xffffffff
cmp eax, edi
je 0x140050682
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x90]
mov r8d, 0x40
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140050682
cmp dword [rbp + 0x90], 0x40
jne 0x140050682
mov eax, 0x5a4d
cmp word [rsp + 0x50], ax
jne 0x140050682
mov edx, dword [rbp - 0x74]
test edx, edx
je 0x140050682
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, edi
je 0x140050682
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x90]
mov edi, 0x108
mov r8d, edi
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140050682
cmp dword [rbp + 0x90], edi
jne 0x140050682
cmp dword [rsp + 0x50], 0x4550
jne 0x140050682
mov eax, 0x8664
cmp word [rsp + 0x54], ax
jne 0x140050682
movzx eax, word [rsp + 0x66]
mov ecx, 0x2022
and ax, cx
cmp ax, cx
jne 0x140050682
mov eax, 0x20b
cmp word [rsp + 0x68], ax
jne 0x140050682
movzx eax, word [rbp - 0x54]
sub ax, 2
mov di, 1
cmp ax, di
ja 0x140050682
test byte [rbp - 0x52], 0x40
je 0x140050682
cmp dword [rsp + 0x78], 0
je 0x140050682
cmp dword [rbp - 0x2c], 0x10
jb 0x140050682
cmp dword [rbp + 0x48], 0
jne 0x140050682
cmp dword [rbp + 0x4c], 0
jne 0x140050682
cmp dword [rbp - 0x10], 0
je 0x140050682
cmp dword [rbp - 0xc], 0
je 0x140050682
cmp dword [rbp - 0x60], esi
jae 0x140050685
xor dil, dil
test rbx, rbx
je 0x1400506a0
mov ecx, dword [0x1400921fc]
mov dword gs:[0x68], ecx
mov rcx, rbx
call fcn.14005fa20
and qword [rsp + 0x38], 0
mov al, dil
mov rbx, qword [rsp + 0x180]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
Function at 0x140051408
Capabilities:
Access pe header

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
mov r14, rdx
mov rbp, rcx
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
xor r15d, r15d
mov rdi, rax
test rax, rax
jne 0x14005143e
mov eax, 0xc000007b
jmp 0x1400514a2
mov r8d, dword [rax + 0x50]
xor edx, edx
mov rcx, r14
call fcn.140060530
mov r8d, dword [rdi + 0x54]
mov rdx, rbp
mov rcx, r14
call fcn.1400600c0
movzx ebx, word [rdi + 0x14]
movzx esi, r15w
add rbx, 0x28
cmp r15w, word [rdi + 6]
jae 0x1400514a0
add rbx, rdi
test dword [rbx + 0x14], 0xe0000000
je 0x140051493
cmp dword [rbx], r15d
je 0x140051493
mov edx, dword [rbx + 4]
mov ecx, dword [rbx - 4]
add rdx, rbp
mov r8d, dword [rbx]
add rcx, r14
call fcn.1400600c0
inc si
add rbx, 0x28
cmp si, word [rdi + 6]
jb 0x140051471
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x14005154c
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rcx, qword [0x1400987c0]
test rcx, rcx
jne 0x140051631
mov rax, qword gs:[0x60]
xor edi, edi
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rcx, qword [rax]
mov rax, qword gs:[0x60]
mov rbp, qword [rcx + 0x30]
mov rsi, qword [rax + 0x18]
test rsi, rsi
je 0x1400515c4
add rsi, 0x10
mov rbx, qword [rsi]
call qword [sym.imp.ntdll.dll_RtlAcquirePebLock]
jmp 0x1400515b4
cmp qword [rbx + 0x30], rbp
je 0x1400515bb
mov rbx, qword [rbx]
cmp rbx, rsi
jne 0x1400515ab
jmp 0x1400515be
mov rdi, rbx
call qword [sym.imp.ntdll.dll_RtlReleasePebLock]
mov rbx, qword [rdi + 0x30]
lea rcx, [rdi + 0x58]
mov eax, dword [rdi + 0x40]
lea rsi, [rbx - 1]
add rsi, rax
test rcx, rcx
je 0x1400515e7
lea rdx, [rsp + 0x30]
call fcn.1400514bc
jmp 0x1400515ec
mov eax, 0xc000000d
test eax, eax
jns 0x1400515f4
xor eax, eax
jmp 0x140051634
mov eax, dword [rsp + 0x30]
and eax, 0x1f
add rdi, 0x70
mov dword [rsp + 0x30], eax
mov rcx, qword [rdi]
cmp rcx, rdi
je 0x14005162a
cmp rcx, rbx
jb 0x140051615
cmp rcx, rsi
jb 0x14005161a
mov rcx, qword [rcx]
jmp 0x140051606
shl rax, 4
sub rcx, rax
mov qword [0x1400987c0], rcx
jmp 0x140051631
mov rcx, qword [0x1400987c0]
mov rax, rcx
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret