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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x140389910]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rdx
mov r13, rcx
xor r14d, r14d
mov dword [rbp - 0x49], r14d
mov qword [rbp - 0x41], rcx
mov qword [rbp - 0x39], r8
lea rbx, [rcx + 0x1a0]
xor r9d, r9d
lea r8, [rbp - 0x49]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
je 0x140279f77
cmp dword [rbp - 0x49], r14d
je 0x140279dd9
mov qword [rbp - 0x31], rbx
mov dword [rbp - 0x29], 4
lea rcx, [rbp - 0x41]
call fcn.14026ab80
nop
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x140279f77
mov qword [rbp - 0x21], r14
mov rcx, r14
mov qword [rbp - 0x11], rcx
mov edi, 0xf
mov qword [rbp - 9], rdi
mov byte [rbp - 0x21], cl
mov dword [rbp - 0x49], 1
mov r12, qword [rsi + 8]
mov rsi, qword [rsi]
mov rbx, rsi
cmp rsi, r12
je 0x140279ea2
lea rax, [rbp - 1]
mov r15, 0xfffffffffffffff0
sub r15, rax
cmp rbx, rsi
je 0x140279e66
mov rax, rdi
sub rax, rcx
cmp rax, 1
jb 0x140279e46
lea rax, [rcx + 1]
mov qword [rbp - 0x11], rax
lea rax, [rbp - 0x21]
cmp rdi, 0x10
cmovae rax, qword [rbp - 0x21]
mov word [rax + rcx], 0x2c
jmp 0x140279e66
mov qword [rsp + 0x20], 1
lea r9, [0x14031d5a4]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp - 0x21]
call fcn.140003890
lea rax, [rbp + 0xf]
mov qword [rbp - 1], rax
lea rdx, [rbp + 0xf]
mov ecx, dword [rbx]
call fcn.1401e2730
add rax, r15
mov qword [rbp + 7], rax
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x21]
call fcn.1401e3200
add rbx, 4
mov rdi, qword [rbp - 9]
mov rcx, qword [rbp - 0x11]
cmp rbx, r12
jne 0x140279e18
lea r8, [rbp - 0x21]
mov rbx, qword [rbp - 0x21]
cmp rdi, 0x10
cmovae r8, rbx
movabs r9, 0xcbf29ce484222325
mov rdx, r14
test rcx, rcx
je 0x140279ee4
movabs r10, 0x100000001b3
nop
movzx eax, byte [rdx + r8]
xor r9, rax
imul r9, r10
inc rdx
cmp rdx, rcx
jb 0x140279ed0
lea r8, [rbp - 0x21]
lea rdx, [rbp - 0x31]
lea rcx, [r13 + 0x1a8]
call fcn.14025cb00
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140279f0e
cmp rcx, qword [r13 + 0x1b0]
je 0x140279f0e
mov r14, qword [rcx + 0x30]
cmp rdi, 0x10
jb 0x140279f41
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140279f39
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140279f71
mov rcx, rbx
call fcn.140003b50
mov rax, r14
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401ac180
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1401bad9c
int3
call fcn.1401d00d0
int3
Function at 0x140282b90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140389910]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r8, rdx
mov r13, rcx
cmp qword [rcx + 8], 0
jne 0x140282bd0
xor al, al
jmp 0x140282d5e
mov rdx, qword [rdx]
xor ebx, ebx
mov edi, 0xf
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
mov byte [rsp + 0x30], bl
test rdx, rdx
jne 0x140282bf6
mov esi, ebx
jmp 0x140282c0e
mov r8, qword [r8 + 8]
lea rcx, [rsp + 0x30]
call fcn.140003380
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov r8, qword [r13 + 0x20]
lea rcx, [rsp + 0x30]
mov r14, qword [rsp + 0x30]
cmp rdi, 0x10
cmovae rcx, r14
movabs rdx, 0xcbf29ce484222325
test rsi, rsi
je 0x140282c53
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rbx + rcx]
xor rdx, rax
imul rdx, r9
inc rbx
cmp rbx, rsi
jb 0x140282c40
mov rcx, qword [r8 + 0x48]
and rcx, rdx
add rcx, rcx
mov rax, qword [r8 + 0x30]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r8 + 0x20]
je 0x140282cb2
mov r15, qword [rax + rcx*8]
lea rdx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0x10
jb 0x140282c7f
mov rdx, qword [rbx + 0x10]
lea rcx, [rsp + 0x30]
cmp rdi, 0x10
cmovae rcx, r14
cmp rsi, qword [rbx + 0x20]
jne 0x140282c9e
mov r8, rsi
call fcn.1401af2e0
test eax, eax
je 0x140282ca9
cmp rbx, r15
je 0x140282cb2
mov rbx, qword [rbx + 8]
jmp 0x140282c70
test rbx, rbx
je 0x140282cb2
xor bl, bl
jmp 0x140282d28
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.1402b00a0
lea rax, vtable.google::protobuf::FileDescriptorProto.0
mov qword [rsp + 0x50], rax
mov rcx, qword [r13 + 8]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test al, al
je 0x140282cfb
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.140269750
test rax, rax
je 0x140282cfb
mov bl, 1
jmp 0x140282d14
mov rcx, qword [r13 + 0x20]
add rcx, 0x18
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
call fcn.14025e550
xor bl, bl
lea rcx, [rsp + 0x50]
call fcn.1402b0c70
mov rdi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x30]
cmp rdi, 0x10
jb 0x140282d5b
lea rdx, [rdi + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140282d53
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140282d86
mov rcx, r14
call fcn.140003b50
movzx eax, bl
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1401ac180
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.1401bad9c
int3
Function at 0x140287480
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rsi, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
ja 0x1402876cd
lea rax, [rdx - 1]
or rax, rbx
bsr rcx, rax
inc ecx
shl rbx, cl
mov r13, qword [rsi + 8]
lea r15, [rsi + 0x18]
mov qword [rsp + 0xd8], r15
lea rdx, [rbx + rbx]
mov r8, r13
mov rcx, r15
call fcn.140257cf0
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rbx
mov qword [rsp + 0x20], rsi
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
cmp rdi, r13
je 0x1402876b9
mov rbx, rdi
nop
mov rdi, qword [rdi]
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0xe0], rax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xe0]
call fcn.140289410
movsxd rcx, dword [rax + 8]
imul r14, rcx, 0x1000193
imul rax, qword [rax], 0x100011b
xor r14, rax
and r14, qword [rsi + 0x30]
add r14, r14
mov rbp, qword [r15]
cmp qword [rbp + r14*8], r13
jne 0x140287566
mov qword [rbp + r14*8], rbx
mov qword [rbp + r14*8 + 8], rbx
jmp 0x1402876ad
mov rsi, qword [rbp + r14*8 + 8]
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0xe0], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xe0]
call fcn.140289410
mov r15, rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0xe8]
call fcn.140289410
mov rcx, qword [r15]
cmp qword [rax], rcx
jne 0x1402875ee
mov ecx, dword [r15 + 8]
cmp dword [rax + 8], ecx
jne 0x1402875ee
mov r8, qword [rsi]
cmp r8, rbx
je 0x1402875e4
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [rbp + r14*8 + 8], rbx
jmp 0x14028769d
mov r15, rsi
cmp qword [rbp + r14*8], rsi
je 0x140287677
mov rsi, qword [rsi + 8]
mov r15, rsi
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0xe0], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0xe0]
call fcn.140289410
mov r12, rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xe8]
call fcn.140289410
mov rcx, qword [r12]
cmp qword [rax], rcx
jne 0x1402875f1
mov ecx, dword [r12 + 8]
cmp dword [rax + 8], ecx
jne 0x1402875f1
mov r8, qword [rsi]
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x14028769d
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r15
mov rax, qword [r15 + 8]
mov qword [rax], rbx
mov qword [r15 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [rbp + r14*8], rbx
mov rsi, qword [rsp + 0xd0]
mov r15, qword [rsp + 0xd8]
mov rbx, rdi
cmp rdi, r13
jne 0x140287510
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1401ad6c8
int3
Function at 0x141f59058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x141f591df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141f59089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141f5906f
add dl, dl
jne 0x141f59096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141f590f6
xor eax, eax
add dl, dl
jne 0x141f590a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141f591ad
add dl, dl
jne 0x141f590b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f590c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f590d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f590dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141f590ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141f5907e
mov eax, 1
add dl, dl
jne 0x141f59106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141f59113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141f590fb
sub eax, ebx
mov ebx, 1
jne 0x141f5914c
mov ecx, 1
add dl, dl
jne 0x141f5912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141f5913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141f59123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141f5907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141f59168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141f59175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141f5915d
cmp eax, 0x7d00
jae 0x141f5919b
cmp eax, 0x500
jb 0x141f59196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141f5907e
cmp eax, 0x7f
ja 0x141f5919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141f5907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141f591d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x141f5907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14015535b
Capabilities:
Encode data using xor

Disassembly:
pop r8
push 0x2317b30
push 0x1b0ea62a
push 0x42016e35
not edx
call fcn.140140282
sub r11, 2
call fcn.1401658bf
push 0xffffffff983f91a8
lea rsp, [rsp + 0x20]
jmp fcn.140149184
mov qword [rsp], r8
lea r8, [rax + rax*8 - 0x37c7fb43]
lea r8, [0x1401383a0]
push 0x1ca86828
mov eax, 0x1cb84218
movzx eax, byte [rax + rcx - 0x1cb84218]
xor eax, edx
not word [rsp + 3]
and eax, 0xff
mov eax, dword [r8 + rax*4]
shr edx, 8
sar qword [rsp], 0xfd
xor edx, eax
ror qword [rsp], 9
dec qword [rsp]
inc rcx
xor edx, 0xcabf5baa
dec r11
lea rsp, [rsp + 8]
jne 0x14015536e
jmp 0x140150290

Function at 0x14017b259
Capabilities:
Encode data using xor

Disassembly:
lea rdx, [0x1401433d0]
lea rsp, [rsp + 8]
mov esi, 0xcc07553a
sar esi, 1
movzx esi, byte [rbp + riz]
push 0x1b3e150a
shl qword [rsp], 1
xor esi, ebx
and esi, 0xff
mov esi, dword [rdx + rsi*4]
not word [rsp + 6]
shr word [rsp + 2], 0xe
shr ebx, 8
xor ebx, esi
inc rbp
xor ebx, 0xff1a7f2a
dec rcx
lea rsp, [rsp + 8]
jne 0x14017b265
pop rsi
Function at 0x180001040
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x180008040]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
test rax, rax
je 0x1800010ed
lea rdx, str.NtQuerySection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtProtectVirtualMemory
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rdi, rdi
je 0x1800010ed
test rax, rax
je 0x1800010ed
movzx edi, byte [rdi + 4]
lea r9, [rsp + 0x20]
mov edx, 5
mov r8d, 0x40
mov rcx, rax
dec dil
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1800010ed
mov dword [rbx], 0xb8d18b4c
lea r9, [rsp + 0x20]
mov edx, 5
mov byte [rbx + 4], dil
mov r8d, 0x20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1800010ed
mov al, 1
jmp 0x1800010ef
xor al, al
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180003fb0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x180002510
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
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 0x1800025eb
nop dword [rax]
cmp rbx, qword [section..data]
jb 0x18000255e
cmp rbx, qword [0x180008008]
ja 0x18000255e
sub rbx, 0x8000000
jmp 0x1800025e2
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 0x1800025eb
cmp dword [rsp + 0x40], 0x10000
jne 0x1800025c6
cmp qword [rsp + 0x38], 0x10000
jb 0x1800025c6
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x1800025ed
sub rbx, 0x10000
jmp 0x1800025e2
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 0x180002540
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x180002600
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
movzx eax, cx
mov rdi, rdx
mov rbx, rcx
test rax, rax
je 0x180002622
sub rbx, rax
add rbx, 0x10000
cmp rbx, rdi
jae 0x1800026dd
nop dword [rax + rax]
cmp rbx, qword [section..data]
jb 0x18000264e
cmp rbx, qword [0x180008008]
ja 0x18000264e
add rbx, 0x8000000
jmp 0x1800026d4
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 0x1800026dd
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x1800026b9
cmp rcx, 0x10000
jb 0x1800026b9
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x1800026df
add rbx, 0x10000
jmp 0x1800026d4
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x1800026d4
mov eax, 0x10000
sub rax, rcx
add rbx, rax
cmp rbx, rdi
jb 0x180002630
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1800026f0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
lea rdi, [rcx - 0x7ff80000]
mov rbx, rcx
cmp rcx, 0x7ff80000
ja 0x180002712
mov edi, 0x80000
mov qword [rsp + 0x38], rsi
lea rsi, [rcx + 0x7ff80000]
cmp rbx, 0xffffffff80000000
jb 0x18000272e
mov rsi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x180002745
cmp byte [rcx + 1], 0x25
jne 0x180002789
movsxd rcx, dword [rcx + 2]
add rcx, 6
jmp 0x180002751
cmp al, 0xe9
jne 0x180002789
movsxd rcx, dword [rcx + 1]
add rcx, 5
add rcx, rbx
cmp rcx, rbx
jae 0x180002774
cmp rcx, 0xffffffff80000000
jae 0x18000276b
lea rsi, [rcx + 0x7ff80000]
jmp 0x180002789
mov rsi, 0xfffffffffff80000
jmp 0x180002789
lea rdi, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x180002789
mov edi, 0x80000
mov rdx, qword [0x180008168]
mov rax, qword [0x180008160]
mov qword [rsp + 0x30], rbp
test rdx, rdx
jne 0x1800027b0
test rax, rax
je 0x1800027c7
mov rdx, rax
mov qword [0x180008168], rax
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x1800027c7
cmp rcx, rdi
jb 0x1800027c7
cmp rcx, rsi
jbe 0x18000291a
mov qword [0x180008168], rax
mov rdx, rax
test rax, rax
je 0x180002812
mov rcx, rax
nop dword [rax]
test rax, rax
je 0x1800027fc
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x1800027fc
cmp rax, rdi
jb 0x1800027fc
cmp rax, rsi
jbe 0x18000291a
mov rdx, qword [rdx + 8]
mov qword [0x180008168], rdx
mov rcx, rdx
mov rax, rdx
test rdx, rdx
jne 0x1800027e0
movzx eax, bx
sub rbx, rax
cmp rbx, 0x40000000
jbe 0x18000283c
lea rdx, [rbx - 0x40000000]
mov rcx, rdi
call fcn.180002510
mov rdx, rax
test rax, rax
jne 0x1800028c8
movabs rbp, 0xffffffff40000000
cmp rbx, rbp
jae 0x180002862
lea rcx, [rbx + 0x40000000]
mov rdx, rsi
call fcn.180002600
mov rdx, rax
test rax, rax
jne 0x1800028c8
cmp rbx, 0x40000000
jbe 0x180002882
lea rcx, [rbx - 0x40000000]
mov rdx, rbx
call fcn.180002600
mov rdx, rax
test rax, rax
jne 0x1800028c8
cmp rbx, rbp
jae 0x18000289e
lea rdx, [rbx + 0x40000000]
mov rcx, rbx
call fcn.180002510
mov rdx, rax
test rax, rax
jne 0x1800028c8
mov rdx, rbx
mov rcx, rdi
call fcn.180002510
mov rdx, rax
test rax, rax
jne 0x1800028c8
mov rdx, rsi
mov rcx, rbx
call fcn.180002600
mov rdx, rax
test rax, rax
je 0x180002951
mov dword [rdx], 0x52727464
lea rcx, [rdx + 0xffa8]
xor r8d, r8d
mov qword [0x180008168], rdx
mov qword [rdx + 0x10], r8
mov r9d, 0x2a7
mov rax, qword [0x180008160]
mov qword [rdx + 8], rax
lea rax, [rdx + 0xff60]
mov qword [0x180008160], rdx
mov qword [rcx], r8
lea rcx, [rcx - 0x60]
mov r8, rax
sub rax, 0x60
sub r9, 1
jne 0x180002902
mov qword [rdx + 0x10], r8
mov rax, qword [rdx + 0x10]
cmp rax, rdi
jb 0x180002951
cmp rax, rsi
ja 0x180002951
mov rcx, qword [rax + 0x48]
movdqa xmm0, xmmword [0x180006280]
mov qword [rdx + 0x10], rcx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
jmp 0x180002953
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180002ba0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x50
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 0x180002bce
xor al, al
jmp 0x180002c10
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x180002bdf
xor al, al
jmp 0x180002c10
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x180002c06
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x180002c06
mov al, 1
jmp 0x180002c10
xor al, al
add rsp, 0x50
pop rbx
ret
add rsp, 0x50
pop rbx
ret
Function at 0x1800030f0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x28
cmp dword [0x180008178], 0
jne 0x180003197
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x180008178], ecx
jne 0x180003197
mov qword [rsp + 0x38], rbx
mov rbx, qword [0x180008160]
mov qword [rsp + 0x20], rdi
xor edi, edi
mov qword [0x180008190], rdi
mov qword [0x180008188], rdi
mov qword [0x180008180], rdi
test rbx, rbx
je 0x180003180
nop word [rax + rax]
lea r9, [rsp + 0x30]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x180003178
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x180003150
jmp 0x180003180
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rbx, qword [rsp + 0x38]
mov eax, edi
mov dword [0x18000817c], edi
mov rdi, qword [rsp + 0x20]
add rsp, 0x28
ret
mov eax, 0x10dd
add rsp, 0x28
ret
Function at 0x1800037b0
Capabilities:
Suspend thread

Disassembly:
push rdi
sub rsp, 0x20
mov eax, dword [0x18000817c]
mov rdi, rcx
test eax, eax
jne 0x180003855
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
jne 0x1800037da
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov ecx, 0x10
mov qword [rsp + 0x30], rbx
call fcn.180003fd0
mov rbx, rax
test rax, rax
jne 0x1800037f8
mov edi, 8
jmp 0x18000381b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x180003839
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, 0x10
mov rcx, rbx
call fcn.180004384
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [0x18000817c], edi
mov qword [0x180008180], 0
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x180008188]
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rdi
mov qword [0x180008188], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180030b39
Capabilities:
Authenticate hmac

Disassembly:
lea rax, [rcx + rax - 0x1f7748c6]
not r9d
neg r9d
mov qword [rsp + rcx - 0x5ea059bd], r10
xor dword [rsp + rcx - 0x5ea059bd], r9d
mov r10, qword [rsp + rax - 0x3f296abc]
movsx edi, al
inc edi
pop r8
movsxd r9, r9d
movzx r8d, di
lea rbp, [rcx - 0x4a6d0f45]
add r11, r9
inc bpl
mov edx, dword [rbx + rax*2 - 0x7e52d588]
xadd di, ax
jb 0x180057639
mov qword [rsp + rax - 0x3f29ffc5], r8

Function at 0x18003b919
Capabilities:
Authenticate hmac

Disassembly:
push r9
xadd dword [rsp + rbp*4 - 0x1e484], edi
adc r11, rax
xchg byte [rsp + rbp*2 - 0xf23e], cl
mov qword [rsp + rbp - 0x791a], rdx
add dil, byte [rsp + rbp - 0x7915]
mov edi, dword [rbx + rbp*8 - 0x3c90c]
mov r8d, dword [rbx + rbp*4 - 0x1e480]
jae 0x18004a63a
or edi, r8d
sal r9w, 0x62
not edi
movzx r8d, bp
inc dword [rsp + rbp*2 - 0xf23d]
call fcn.18005f513

Function at 0x18005bdf7
Capabilities:
Authenticate hmac

Disassembly:
lea rsi, [r8 + rsi - 0x488b8d16]
movzx edx, r8w
xor ecx, r10d
sub ecx, 0x9a2b03ac
bswap ecx
mov edi, r9d
mov qword [rsp + r8 - 0x488b8d1a], r9
lea ecx, [rcx + r8 + 0x15321589]
ror qword [rsp + r9 - 0x1a], 0x16
sal dl, 0x64
not ecx
inc ecx
not ecx
call fcn.18002c709
Function at 0x140005ae0
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 0x140005b3d
lea rbx, [0x1400dbb50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140005b24
cmp r10, 2
jb 0x140005b24
cmp byte [r9], r8b
jne 0x140005b24
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 0x140005b00
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140005b7f
lea rbx, [0x1400dbb50]
cmp r8b, 0x23
jne 0x140005b63
cmp byte [r9], r8b
jne 0x140005b63
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 0x140005b50
mov rbx, qword [rsp + 8]
not eax
ret