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

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1801bd2a0]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x1801bd2c8]
js 0x1800c7634
cvtsi2ss xmm0, rcx
jmp 0x1800c7649
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1801bd290]
call fcn.180121538
movss xmm1, dword [0x1801a8e38]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1800c767b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1800c767b
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x1800c76ad
cmp rbx, 0x200
jae 0x1800c76aa
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x1800c76ad
mov rbx, rcx
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x1800c7700
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1800c78ae
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1801bd298]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1801bd2a8]
lea rdx, [rdi + rdi]
call fcn.1800a8e60
mov rax, qword [0x1801bd298]
lea r9, [rdi - 1]
mov qword [0x1801bd2c0], r9
mov qword [0x1801bd2c8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800c78a3
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1801bd2a8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800c77ef
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800c7864
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1800c782c
mov r10, qword [rdx]
cmp r10, rax
je 0x1800c7826
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1800c7864
cmp r9, rdx
je 0x1800c7840
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1800c7878
cmp r9, rdx
jne 0x1800c7831
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1800c789e
mov r9, qword [0x1801bd2c0]
jmp 0x1800c77a0
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800c7864
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1800fb148
int3
Function at 0x1800c7700
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x1801bd2a0]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x1801bd2c8]
js 0x1800c7634
cvtsi2ss xmm0, rcx
jmp 0x1800c7649
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1801bd290]
call fcn.180121538
movss xmm1, dword [0x1801a8e38]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1800c767b
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1800c767b
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x1800c76ad
cmp rbx, 0x200
jae 0x1800c76aa
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x1800c76ad
mov rbx, rcx
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x1800c7700
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1800c78ae
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1801bd298]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1801bd2a8]
lea rdx, [rdi + rdi]
call fcn.1800a8e60
mov rax, qword [0x1801bd298]
lea r9, [rdi - 1]
mov qword [0x1801bd2c0], r9
mov qword [0x1801bd2c8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800c78a3
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1801bd2a8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800c77ef
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800c7864
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1800c782c
mov r10, qword [rdx]
cmp r10, rax
je 0x1800c7826
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1800c7864
cmp r9, rdx
je 0x1800c7840
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1800c7878
cmp r9, rdx
jne 0x1800c7831
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1800c789e
mov r9, qword [0x1801bd2c0]
jmp 0x1800c77a0
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800c7864
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1800fb148
int3
Function at 0x1800ca4c0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x1800ca69d
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1801cbf28]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1801cbf38]
lea rdx, [rdi + rdi]
call fcn.1800a8e60
mov rax, qword [0x1801cbf28]
lea r9, [rdi - 1]
mov qword [0x1801cbf50], r9
mov qword [0x1801cbf58], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800ca692
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1801cbf38]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800ca5db
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800ca653
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1800ca618
mov r10, qword [rdx]
cmp r10, rax
je 0x1800ca612
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1800ca653
cmp r9, rdx
je 0x1800ca62f
nop dword [rax]
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1800ca667
cmp r9, rdx
jne 0x1800ca620
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1800ca68d
mov r9, qword [0x1801cbf50]
jmp 0x1800ca560
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800ca653
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.1800fb148
int3
Function at 0x1800f1e10
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
movzx r15d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r15, rax
movabs rcx, 0x100000001b3
imul r15, rcx
movzx eax, byte [r8 + 1]
xor r15, rax
imul r15, rcx
movzx eax, byte [r8 + 2]
xor r15, rax
imul r15, rcx
movzx eax, byte [r8 + 3]
xor r15, rax
imul r15, rcx
mov rcx, qword [0x1801c7ae0]
and rcx, r15
add rcx, rcx
mov rax, qword [0x1801c7ac8]
mov rbx, qword [rax + rcx*8 + 8]
mov r14, qword [0x1801c7ab8]
cmp rbx, r14
jne 0x1800f1ea4
mov rbx, r14
mov rbp, r14
jmp 0x1800f1eed
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8]
cmp eax, dword [rbx + 0x10]
je 0x1800f1ebe
cmp rbx, rcx
je 0x1800f1ee7
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x1800f1eb0
mov qword [rdx], rbx
mov byte [rdx + 8], 0
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, 0x30
pop r15
pop r14
pop r12
ret
mov r14, rbx
mov rbp, rbx
movabs rax, 0x7ffffffffffffff
cmp qword [0x1801c7ac0], rax
je 0x1800f2081
lea rax, [0x1801c7ab8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
mov ecx, 0x20
call fcn.1800fc95c
mov rdi, rax
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [r12]
movups xmmword [rax + 0x10], xmm0
mov rdx, qword [0x1801c7ac0]
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1800f1f4e
cvtsi2ss xmm0, rcx
jmp 0x1800f1f63
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x1801c7ae8]
xorps xmm1, xmm1
test rcx, rcx
js 0x1800f1f79
cvtsi2ss xmm1, rcx
jmp 0x1800f1f8e
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x1801c7ab0]
jbe 0x1800f200b
lea rcx, [0x1801c7ab0]
call fcn.1800be440
mov rcx, qword [0x1801c7ae0]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x1801c7ac8]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x1801c7ab8]
cmp rax, rbx
jne 0x1800f1fd7
mov qword [rsp + 0x28], 0
jmp 0x1800f1ff7
mov rdx, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x1800f1ff4
mov rbx, rax
cmp rax, rdx
je 0x1800f204e
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x1800f1fe3
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov rdx, qword [0x1801c7ac0]
mov r8, qword [rbx + 8]
inc rdx
mov qword [0x1801c7ac0], rdx
mov qword [rdi], r14
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [0x1801c7ac8]
mov rax, qword [0x1801c7ae0]
and rax, r15
add rax, rax
mov rdx, qword [rcx + rax*8]
cmp rdx, qword [0x1801c7ab8]
jne 0x1800f205e
mov qword [rcx + rax*8], rdi
jmp 0x1800f2070
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x1800f1ffc
cmp rdx, rbp
jne 0x1800f2069
mov qword [rcx + rax*8], rdi
jmp 0x1800f2075
cmp qword [rcx + rax*8 + 8], r8
jne 0x1800f2075
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x1800f1ec5
lea rcx, str.unordered_map_set_too_long
call fcn.1800fb148
int3
Function at 0x1800f2660
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
sub rsp, 0x40
mov r9, qword [rdx]
mov rsi, rcx
mov r10, qword [rdx + 8]
movabs r8, 0xcbf29ce484222325
add r10, r9
cmp r9, r10
je 0x1800f26a3
movabs rcx, 0x100000001b3
nop dword [rax]
movsx rax, byte [r9]
inc r9
imul r8, rcx
xor r8, rax
cmp r9, r10
jne 0x1800f2690
movups xmm0, xmmword [rdx]
mov qword [rsi + 0x40], r8
lea rcx, [rsp + 0x20]
lea r8, [rsi + 0x20]
mov rdx, rsi
movaps xmmword [rsp + 0x20], xmm0
call fcn.1800f24c0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp qword [rsi + 0x68], rax
jne 0x1800f283a
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x38], rdi
call fcn.1800f2430
mov rbx, qword [rax]
mov rdi, rbx
mov rax, qword [rbx + 8]
mov rcx, rax
cmp byte [rax + 0x19], 0
jne 0x1800f2728
mov r8, qword [rsi + 0x40]
nop dword [rax + rax]
mov rdx, qword [rcx + 0x20]
cmp rdx, r8
jae 0x1800f270f
mov rcx, qword [rcx + 0x10]
jmp 0x1800f2722
cmp byte [rdi + 0x19], 0
je 0x1800f271c
cmp r8, rdx
cmovb rdi, rcx
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x1800f2700
cmp byte [rdi + 0x19], 0
jne 0x1800f2731
mov rax, qword [rdi]
cmp byte [rax + 0x19], 0
jne 0x1800f2758
mov rcx, qword [rsi + 0x40]
nop dword [rax + rax]
cmp rcx, qword [rax + 0x20]
jae 0x1800f274e
mov rdi, rax
mov rax, qword [rax]
jmp 0x1800f2752
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x1800f2740
cmp rbx, rdi
je 0x1800f2830
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x30], r14
movabs r14, 0xfffffffec0000000
nop word [rax + rax]
mov rcx, qword [rbx + 0x28]
lea rax, [rcx + r14]
cmp rax, 0x6000000
ja 0x1800f2797
add rcx, qword [0x1801c1020]
mov rdx, qword [rsi + 0x50]
mov qword [rsp + 0x50], rcx
cmp rdx, qword [rsi + 0x58]
je 0x1800f27b0
mov qword [rdx], rcx
add qword [rsi + 0x50], 8
jmp 0x1800f27be
lea r8, [rsp + 0x50]
lea rcx, [rsi + 0x48]
call fcn.1800d8650
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1800f27ea
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1800f27e5
cmp rbx, qword [rax + 0x10]
jne 0x1800f27e5
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1800f27d2
mov rbx, rax
jmp 0x1800f280f
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x1800f280f
nop word [rax + rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1800f2800
cmp rbx, rdi
jne 0x1800f2780
mov rax, qword [rsi + 0x50]
mov r14, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x60]
cmp qword [rsi + 0x48], rax
je 0x1800f2830
mov byte [rsi + 0x60], 1
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x38]
add rsp, 0x40
pop rsi
ret
Function at 0x1800f63b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov rax, qword gs:[0x58]
lea rbp, [0x1801cc4e0]
mov esi, ecx
mov ebx, edx
mov ecx, dword [0x1801be9a4]
mov edx, 0x10
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x1801cc4d8], eax
jle 0x1800f645a
lea rcx, [0x1801cc4d8]
call fcn.1800fce80
cmp dword [0x1801cc4d8], 0xffffffff
jne 0x1800f645a
mov r8d, 0x13371231
mov dword [0x1801cd864], 0xffffffff
mov dword [0x1801cc4e4], r8d
mov edx, 1
nop
mov eax, r8d
shr eax, 0x1e
xor eax, r8d
imul r8d, eax, 0x6c078965
add r8d, edx
mov dword [rbp + rdx*4 + 4], r8d
inc rdx
cmp rdx, 0x270
jb 0x1800f6420
lea rcx, [0x1801cc4d8]
mov dword [0x1801cc4e0], 0x270
call fcn.1800fce14
btc esi, 0x1f
btc ebx, 0x1f
sub ebx, esi
mov rcx, rbp
cmp ebx, 0xffffffff
jne 0x1800f6475
call fcn.1800f69d0
mov ecx, eax
jmp 0x1800f64bb
mov qword [rsp + 0x30], rdi
inc ebx
call fcn.1800f69d0
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x1800f64b2
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x1800f64b2
nop dword [rax + rax]
mov rcx, rbp
call fcn.1800f69d0
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x1800f64a0
mov rdi, qword [rsp + 0x30]
shr rcx, 0x20
mov rbx, qword [rsp + 0x38]
lea eax, [rsi + rcx]
mov rbp, qword [rsp + 0x40]
xor eax, 0x80000000
add rsp, 0x20
pop rsi
ret

Function at 0x1800f68f0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1801bc0c0]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov eax, dword [0x1801bd154]
cmp eax, 0xffffffff
jne 0x1800f6998
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, 0x200
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test eax, eax
je 0x1800f6992
mov ecx, edi
call fcn.1800fd0b4
mov r9, rax
lea rcx, [rsp + 0x30]
mov r8d, edi
xor edx, edx
mov rbx, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
mov rcx, rbx
test eax, eax
je 0x1800f698d
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x20]
lea rdx, [0x1801a8cc8]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x1800f69b9
mov rcx, qword [rsp + 0x20]
call fcn.1800fc920
mov eax, dword [0x1801bd154]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1800fc900
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x16]
mov dword [0x1801bd154], eax
jmp 0x1800f6998
Function at 0x1800f69d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x1800f6a31
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1800f69f0
mov ecx, dword [r9]
jmp 0x1800f6b1b
cmp ecx, 0x4e0
jb 0x1800f6b1b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1800f6a50
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1800f6aa0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1800f9000
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1801bc0c0]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r15d, r15d
mov r14d, edx
mov qword [rcx], r15
mov rbx, rcx
mov qword [rcx + 8], r15
xor edx, edx
mov ecx, 4
mov ebp, r8d
mov edi, r15d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1800f91ba
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1800f9148
mov edi, 1
cmp dword [rsp + 0x20], 0x10
jb 0x1800f9102
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800f9102
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800f9102
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1800f90c4
mov rcx, qword [0x1801c1030]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x1800f912b
jmp 0x1800f90f5
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1800f90f5
mov rcx, qword [0x1801c1030]
add eax, eax
mov r9d, eax
mov r8, rdx
shl r9, 2
xor edx, edx
mov dword [rbx + 8], eax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1800f912b
mov qword [rbx], rax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1800f9072
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1800f9148
mov r8, qword [rbx]
mov edi, r15d
test r8, r8
je 0x1800f9148
mov rcx, qword [0x1801c1030]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1800f91ba
cmp qword [rbx], r15
je 0x1800f91b5
mov edi, r15d
cmp dword [rbx + 0xc], r15d
jbe 0x1800f91b5
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, edi
mov ecx, 0x5a
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800f91ae
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.1800f8e50
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800f9170
mov eax, r15d
jmp 0x1800f91bf
mov eax, 9
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800fc900
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800f91e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x38]
imul rbx, rax, 0x38
mov r8d, 0x40
add rbx, qword [0x1801cd8a0]
mov rdx, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [rdx - 5]
cmove rdi, rdx
lea rsi, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800f924c
mov eax, 0xa
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1800f9268
mov rax, qword [rbx]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x38]
lea r9, [rsp + 0x38]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rbx + 0x20], 6
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1800f92b0
Capabilities:
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
mov edx, dword [0x1801cd8ac]
xor ebx, ebx
test edx, edx
je 0x1800f92df
mov rcx, qword [0x1801cd8a0]
add rcx, 0x20
nop dword [rax]
test byte [rcx], 2
je 0x1800f92e7
inc ebx
add rcx, 0x38
cmp ebx, edx
jb 0x1800f92d0
xor eax, eax
add rsp, 0x30
pop rbx
ret
cmp ebx, 0xffffffff
je 0x1800f92df
mov edx, 0xffffffff
mov qword [rsp + 0x50], rdi
mov r8d, 1
lea rcx, [rsp + 0x20]
call fcn.1800f9000
mov edi, eax
test eax, eax
jne 0x1800f93c4
mov eax, dword [0x1801cd8ac]
cmp ebx, eax
jae 0x1800f934d
nop word [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x1801cd8a0]
test byte [rdx + rcx + 0x20], 2
jne 0x1800f9347
mov ecx, ebx
call fcn.1800f91e0
mov edi, eax
test eax, eax
jne 0x1800f934d
mov eax, dword [0x1801cd8ac]
inc ebx
cmp ebx, eax
jb 0x1800f9320
cmp qword [rsp + 0x20], 0
je 0x1800f93c2
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800f93ae
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
mov qword [rsp + 0x48], rsi
nop
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800f939a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x1800f9370
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1801c1030]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbx
ret