joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140c4690f
Capabilities:
Authenticate hmac

Disassembly:
xor r9d, ecx
and r9d, 0xff
mov qword [rsp], 0x28a0093c
mov r9d, dword [rbx + r9*4]
shr ecx, 8
xor ecx, r9d
inc rdi
rol dword [rsp + 2], 0xf5
jb 0x140c51039
xor ecx, 0x4e9fd53c
dec r10
jmp 0x140c88848
mov r9d, 0x8039f42a
and r9b, r9b
shl r9, 0x5c
movzx r9d, byte [rdi]
call fcn.140c4690f
push 0xffffffffacba3f23
lea rsp, [rsp + 0x10]
jne 0x140c5507e
mov r9d, 0x8188b12f
not r9d
pop r9
push 0x3eae4c17
not ecx
not dword [rsp + 3]
mov dword [rsi], ecx
mov qword [rsp], 0x3a802488
not dword [rsp]
push 0xffffffffee89b536
lea rsp, [rsp + 0x10]
jmp 0x140c4f265

Function at 0x140c47817
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp], r9
push r9
lea r9, [0x140c7f408]
lea rsp, [rsp + 0x10]
push 0xffffffffcb9ba929
mov edi, 0x619c4fae
movzx edi, byte [rbp + rdi - 0x619c4fae]
rol qword [rsp], 0x41
xor edi, edx
and edi, 0xff
mov edi, dword [r9 + rdi*4]
ror word [rsp + 4], 0x41
shr edx, 8
inc word [rsp + 3]
xor edx, edi
ror dword [rsp + 3], 0x4c
setae byte [rsp + 7]
inc rbp
xor edx, 0xd710de27
dec rsi
push 0xffffffff84054010
lea rsp, [rsp + 0x10]
jne 0x140c47829
mov edi, 0xc09ee69f
push rdi
mov rdi, qword [rsp + 8]
mov r9d, 0xd19ee006
mov r9, qword [rsp + 0x10]
lea rsp, [rsp + 0x18]
jmp 0x140c70575
not edx
mov dword [rdi], edx
call fcn.140c85176
rol dl, 1
jmp 0x140c631e8
Function at 0x100411cb0
Capabilities:
Encode data using xor

Disassembly:
invalid
movabs al, byte [0x7afb2cf6f69223e7]
imul byte [rbx + rdi*8]
jp 0x100411c6e
mov ah, 0x45
cmpsb byte [rsi], byte [rdi]
cmpsb byte [rsi], byte [rdi]
adc al, 0xb6
xor dword [rsi + rsi*8 - 0xf4eedd6], ecx
mov byte [rsi - 0x38], r8b
jb 0x100411cb5
xchg ecx, eax
and eax, 0xceaea23
or al, 0xa2
sbb ah, byte [rax]
out dx, al
xor al, byte [rax - 8]
push rcx
cmpsb byte [rsi], byte [rdi]
mov ecx, 0x8a5a5d01
invalid
Function at 0x140001e58
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ea2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ea2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], reloc.KERNEL32.dll_QueryPerformanceCounter
jne 0x140001ea2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ea2
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ea2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ea4
xor al, al
add rsp, 0x28
ret
Function at 0x180011210
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x180011308
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 0x180011377
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180011377
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180011377
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180011377
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180011377
cmp dword [rcx + 0x84], 0xe
jbe 0x180011377
cmp dword [rcx + 0xf8], 0
je 0x180011377
mov ecx, ebx
call fcn.180011240
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.18001149c
nop
cmp dword [rbp + 0x20], 0
je 0x1800113c5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800112d4
int3

Function at 0x180011308
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x180011308
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 0x180011377
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180011377
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180011377
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180011377
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180011377
cmp dword [rcx + 0x84], 0xe
jbe 0x180011377
cmp dword [rcx + 0xf8], 0
je 0x180011377
mov ecx, ebx
call fcn.180011240
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.18001149c
nop
cmp dword [rbp + 0x20], 0
je 0x1800113c5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1800112d4
int3

Function at 0x180012050
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180012078
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180012078
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180017cdc
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x180017d0c
xor eax, eax
jmp 0x180017dcf
mov rbp, rbx
cmp word [rax], si
je 0x180017d31
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x180017d18
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x180017d14
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180017bfc
movsxd r14, eax
test eax, eax
jne 0x180017d6f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x180017d05
mov rcx, r14
call fcn.180015078
mov rdi, rax
test rax, rax
jne 0x180017d88
xor ecx, ecx
call fcn.1800140d8
jmp 0x180017d64
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180017bfc
test eax, eax
jne 0x180017db9
mov rcx, rdi
call fcn.1800140d8
jmp 0x180017dc3
xor ecx, ecx
call fcn.1800140d8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x18001c114
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18001c12a
mov al, 1
jmp 0x18001c18a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18001c13b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18001c188
mov ecx, dword [rcx + 0x18]
nop
call fcn.180018adc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18001c188
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18001c188
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18001c188
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18001c18a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x18001eac0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.180013584
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x18001eb4a
cmp byte [rbp - 0x21], r15b
je 0x18001eb45
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x18001eb80
call fcn.18001254c
test eax, eax
jne 0x18001eb6c
cmp byte [rbp - 0x21], r15b
je 0x18001eb64
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x18001eb80
cmp byte [rbp - 0x21], r15b
je 0x18001eb7d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.18001701c
test eax, eax
jne 0x18001ec20
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.180013584
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x18001ebbf
cmp byte [rbp - 0x21], r15b
je 0x18001ebf4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x18001ebf4
call fcn.18001254c
test eax, eax
jne 0x18001ebe0
cmp byte [rbp - 0x21], r15b
je 0x18001ebd9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x18001ebf4
cmp byte [rbp - 0x21], r15b
je 0x18001ebf1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.18001701c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x18001ec20
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x18001ec23
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x18001ec31
mov rcx, rdi
call fcn.1800140d8
cmp byte [rbp + 0x3f], r15b
je 0x18001ec40
mov rcx, qword [rbp + 0x27]
call fcn.1800140d8
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x180001730
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x18006b3c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x28]
cmp word [rcx], ax
je 0x18000176d
xor al, al
jmp 0x1800017bc
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x18000177e
xor al, al
jmp 0x1800017bc
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x1800017a5
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x1800017a5
mov al, 1
jmp 0x1800017bc
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800546f0
add rsp, 0x60
pop rbx
ret
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800546f0
add rsp, 0x60
pop rbx
ret

Function at 0x180001a30
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x18006b3c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
movzx eax, cx
mov rdi, rdx
mov rbx, rcx
test rax, rax
je 0x180001a61
sub rbx, rax
add rbx, 0x10000
cmp rbx, rdi
jae 0x180001b1a
nop word [rax + rax]
lea rax, [rbx - 0x70000000]
cmp rax, 0x10000000
ja 0x180001a8b
add rbx, 0x8000000
jmp 0x180001b11
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180001b1a
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x180001af6
cmp rcx, 0x10000
jb 0x180001af6
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x180001b1c
add rbx, 0x10000
jmp 0x180001b11
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x180001b11
mov eax, 0x10000
sub rax, rcx
add rbx, rax
cmp rbx, rdi
jb 0x180001a70
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800546f0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x180001b40
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x18006b3c0]
xor rax, rsp
mov qword [rsp + 0x50], rax
add rdx, 0xffffffffffff0000
mov rdi, rcx
movzx eax, dx
mov rbx, rdx
sub rbx, rax
test rax, rax
cmove rbx, rdx
cmp rbx, rcx
jbe 0x180001c28
nop dword [rax]
lea rax, [rbx - 0x70000000]
cmp rax, 0x10000000
ja 0x180001b9b
sub rbx, 0x8000000
jmp 0x180001c1f
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180001c28
cmp dword [rsp + 0x40], 0x10000
jne 0x180001c03
cmp qword [rsp + 0x38], 0x10000
jb 0x180001c03
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x180001c2a
sub rbx, 0x10000
jmp 0x180001c1f
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffff0000
movzx eax, cx
mov rbx, rcx
sub rbx, rax
test rax, rax
cmove rbx, rcx
cmp rbx, rdi
ja 0x180001b80
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800546f0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x180001d30
Capabilities:
Hook routines via microsoft detours

Disassembly:
push rbx
sub rsp, 0x20
lea rbx, [rcx - 0x7ff80000]
mov r9, rcx
cmp rcx, 0x7ff80000
ja 0x180001d4e
mov ebx, 0x80000
mov qword [rsp + 0x30], rdi
lea rdi, [rcx + 0x7ff80000]
cmp r9, 0xffffffff80000000
jb 0x180001d6a
mov rdi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x180001d81
cmp byte [rcx + 1], 0x25
jne 0x180001dc5
movsxd rcx, dword [rcx + 2]
add rcx, 6
jmp 0x180001d8d
cmp al, 0xe9
jne 0x180001dc5
movsxd rcx, dword [rcx + 1]
add rcx, 5
add rcx, r9
cmp rcx, r9
jae 0x180001db0
cmp rcx, 0xffffffff80000000
jae 0x180001da7
lea rdi, [rcx + 0x7ff80000]
jmp 0x180001dc5
mov rdi, 0xfffffffffff80000
jmp 0x180001dc5
lea rbx, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x180001dc5
mov ebx, 0x80000
mov rax, qword [0x18006c428]
mov rcx, qword [0x18006c438]
test rax, rax
jne 0x180001de7
test rcx, rcx
je 0x180001dfe
mov rax, rcx
mov qword [0x18006c428], rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x180001dfe
cmp rdx, rbx
jb 0x180001dfe
cmp rdx, rdi
jbe 0x180001eb8
mov qword [0x18006c428], rcx
mov rax, rcx
test rcx, rcx
je 0x180001e42
mov rdx, rcx
test rcx, rcx
je 0x180001e2c
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x180001e2c
cmp rcx, rbx
jb 0x180001e2c
cmp rcx, rdi
jbe 0x180001eb8
mov rax, qword [rax + 8]
mov qword [0x18006c428], rax
mov rdx, rax
mov rcx, rax
test rax, rax
jne 0x180001e10
movzx eax, r9w
mov r8, rdi
sub r9, rax
mov rdx, rbx
mov rcx, r9
call fcn.180001c50
test rax, rax
je 0x180001efb
mov dword [rax], 0x52727464
lea rdx, [rax + 0xffa8]
xor r8d, r8d
mov qword [0x18006c428], rax
mov qword [rax + 0x10], r8
mov r9d, 0x2a7
mov rcx, qword [0x18006c438]
mov qword [rax + 8], rcx
lea rcx, [rax + 0xff60]
mov qword [0x18006c438], rax
nop word [rax + rax]
mov qword [rdx], r8
lea rdx, [rdx - 0x60]
mov r8, rcx
sub rcx, 0x60
sub r9, 1
jne 0x180001ea0
mov qword [rax + 0x10], r8
mov rdx, qword [rax + 0x10]
cmp rdx, rbx
jb 0x180001efb
cmp rdx, rdi
ja 0x180001efb
mov rcx, qword [rdx + 0x48]
movdqa xmm0, xmmword [0x180061e80]
mov qword [rax + 0x10], rcx
mov rax, rdx
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x50], xmm0
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x180001fc0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x18006b3c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp dword [0x18006c420], 0
jne 0x180002084
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x18006c420], ecx
jne 0x180002084
mov qword [rsp + 0x40], rbx
mov rbx, qword [0x18006c438]
mov qword [rsp + 0x30], rdi
xor edi, edi
mov qword [0x18006c448], rdi
mov qword [0x18006c440], rdi
mov qword [0x18006c430], rdi
test rbx, rbx
je 0x180002060
nop word [rax + rax]
lea r9, [rsp + 0x20]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180002058
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x180002030
jmp 0x180002060
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov dword [0x18006c3dc], edi
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800546f0
add rsp, 0x38
ret
mov eax, 0x10dd
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800546f0
add rsp, 0x38
ret
Function at 0x180002630
Capabilities:
Suspend thread

Disassembly:
push rbx
sub rsp, 0x20
mov eax, dword [0x18006c3dc]
mov rbx, rcx
test eax, eax
jne 0x1800026c9
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rbx, rax
jne 0x18000265a
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov ecx, 0x10
mov qword [rsp + 0x30], rdi
call fcn.180054710
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1800026ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov edx, 0x10
mov rcx, rdi
call fcn.18005474c
mov rdi, qword [rsp + 0x30]
mov eax, ebx
mov dword [0x18006c3dc], ebx
mov qword [0x18006c430], 0
add rsp, 0x20
pop rbx
ret
mov rax, qword [0x18006c440]
mov qword [rdi], rax
xor eax, eax
mov qword [rdi + 8], rbx
mov qword [0x18006c440], rdi
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
Function at 0x180002a80
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rsi
sub rsp, 0x38
mov rax, qword [0x18006b3c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbp, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x18006c420], eax
je 0x180002ab4
mov eax, 0x10dd
jmp 0x180002bc9
mov eax, dword [0x18006c3dc]
test eax, eax
jne 0x180002bc9
test rbp, rbp
jne 0x180002ad1
mov eax, 0x57
jmp 0x180002bc9
test rsi, rsi
je 0x180002aed
cmp qword [rsi], 0
jne 0x180002af7
mov dword [0x18006c3dc], 6
mov qword [0x18006c430], rsi
mov eax, 6
jmp 0x180002bc9
mov qword [rsp + 0x60], rbx
mov ecx, 0x30
mov qword [rsp + 0x30], rdi
call fcn.180054710
mov rcx, qword [rsi]
mov rbx, rax
call fcn.180001f10
mov rcx, rbp
mov rdi, rax
call fcn.180001f10
movzx edx, byte [rdi + 0x3e]
mov rbp, qword [rdi + 0x48]
sub rbp, rdx
test dl, dl
je 0x180002b95
cmp rdx, 0x1e
ja 0x180002b95
cmp qword [rdi + 0x50], rax
jne 0x180002b95
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov r8d, 0x40
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180002b66
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x180002ba3
mov dword [rbx + 8], 1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x20], rdi
mov qword [rbx + 0x18], rbp
mov eax, dword [rsp + 0x20]
mov dword [rbx + 0x28], eax
mov rax, qword [0x18006c448]
mov qword [rbx], rax
xor eax, eax
mov qword [0x18006c448], rbx
jmp 0x180002bbf
cmp dword [0x18006be30], 0
mov edi, 9
jne 0x180002ba9
mov dword [0x18006c3dc], edi
mov edx, 0x30
mov rcx, rbx
call fcn.18005474c
mov eax, edi
mov qword [0x18006c430], rsi
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800546f0
add rsp, 0x38
pop rsi
pop rbp
ret
Function at 0x180009780
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1800097dd
lea rbx, [0x180059dc0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800097c4
cmp r10, 2
jb 0x1800097c4
cmp byte [r9], r8b
jne 0x1800097c4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1800097a0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000981f
lea rbx, [0x180059dc0]
cmp r8b, 0x23
jne 0x180009803
cmp byte [r9], r8b
jne 0x180009803
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1800097f0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180009960
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18000997a
mov qword [r8], 0
lea rdx, [0x18005ff84]
call fcn.180009830
mov rbx, rax
test rax, rax
jne 0x18000999a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180009a73
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180009a73
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180009a73
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180009a73
cmp rdi, 0xffffffffffffffff
je 0x180009a73
mov rax, qword [0x18006c078]
test rax, rax
je 0x180009a10
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180009a73
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x180009a60
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18006c078]
test rax, rax
je 0x180009a55
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180009a7c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180009a6e
mov qword [r14], rdi
mov rax, rsi
jmp 0x180009a7e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x18000bf90
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0xd8]
lea r8, [0x180059dc0]
movsxd rcx, dword [rcx + 0xd0]
mov r11d, edx
shr r11d, 0x18
mov r9d, edx
shr r9d, 8
mov r10d, edx
shr r10d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r10b
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, r11
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x18006c078]
not ebx
cmp dword [rcx + 0x3f0c], ebx
jne 0x18000c025
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.18001dd40
mov eax, ebx
add rsp, 0x20
pop rbx
ret