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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800f2210]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov r8, qword [rcx + 0x10]
mov rdx, rcx
mov rdi, qword [rcx + 0x18]
cmp rdi, 0x10
jb 0x180006c15
mov rdx, qword [rcx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x180006c43
movabs r10, 0x100000001b3
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x180006c30
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.18004db00
cmp qword [rax + 8], 0
je 0x180006cae
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.180049360
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
movzx edi, byte [rax + 0xa0]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180006ca8
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180006ca3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180006d0e
mov rcx, r8
call fcn.180098550
movzx eax, dil
jmp 0x180006ce3
cmp rdi, 0x10
jb 0x180006ce1
lea rdx, [rdi + 1]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180006cdc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180006d0e
mov rcx, r8
call fcn.180098550
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], 0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180098530
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
call fcn.1800a41bc
int3

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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800f2210]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov r8, qword [rcx + 0x10]
mov rdx, rcx
mov rdi, qword [rcx + 0x18]
cmp rdi, 0x10
jb 0x180006d55
mov rdx, qword [rcx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x180006d83
movabs r10, 0x100000001b3
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x180006d70
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.18004dbe0
cmp qword [rax + 8], 0
je 0x180006ded
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.180048bb0
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov rdi, qword [rax + 0xa8]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180006de8
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180006de3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180006e4d
mov rcx, r8
call fcn.180098550
mov rax, rdi
jmp 0x180006e22
cmp rdi, 0x10
jb 0x180006e20
lea rdx, [rdi + 1]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180006e1b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180006e4d
mov rcx, r8
call fcn.180098550
xor eax, eax
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], 0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180098530
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
call fcn.1800a41bc
int3
Function at 0x180006e60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1800f2210]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov r8, qword [rcx + 0x10]
mov rdx, rcx
mov rdi, qword [rcx + 0x18]
cmp rdi, 0x10
jb 0x180006e9a
mov rdx, qword [rcx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x180006ed3
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x180006ec0
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.18004dcc0
cmp qword [rax + 8], 0
je 0x180006f3e
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.180048e40
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
movss xmm6, dword [rax + 0xa0]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180006f39
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180006f34
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180006fa4
mov rcx, r8
call fcn.180098550
movaps xmm0, xmm6
jmp 0x180006f74
cmp rdi, 0x10
jb 0x180006f71
lea rdx, [rdi + 1]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180006f6c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180006fa4
mov rcx, r8
call fcn.180098550
xorps xmm0, xmm0
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], 0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180098530
mov rbx, qword [rsp + 0x68]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rdi
ret
call fcn.1800a41bc
int3

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1800f2210]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x38], rdx
xor esi, esi
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180006fee
mov rdx, qword [rdx]
movabs r9, 0xcbf29ce484222325
mov rcx, rsi
test r8, r8
je 0x180007023
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x180007010
mov r8, rbx
lea rdx, [rsp + 0x28]
call fcn.18004dda0
cmp qword [rax + 8], 0
je 0x1800070c4
mov r8, rbx
lea rdx, [rsp + 0x28]
call fcn.1800480e0
mov rdx, qword [rax]
mov rdx, qword [rdx + 0x30]
add rdx, 0xa8
mov rcx, rdi
call fcn.180041690
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180007095
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180007090
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800070e9
mov rcx, r8
call fcn.180098550
mov rax, rdi
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rsi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180098530
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
xor r8d, r8d
lea rdx, [0x1800d9b56]
mov rcx, rdi
call fcn.18004a340
jmp 0x18000705f
call fcn.1800a41bc
int3
Function at 0x1800070f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800f2210]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rdx
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180007122
mov rdx, qword [rdx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x180007153
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x180007140
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.18004de80
cmp qword [rax + 8], 0
je 0x180007230
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.180048920
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov ecx, dword [rax + 0xa0]
mov eax, ecx
shr eax, 0x18
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mov eax, ecx
shr eax, 0x10
movzx eax, al
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mov eax, ecx
shr eax, 8
movzx eax, al
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movzx eax, cl
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi], xmm0
movss dword [rdi + 4], xmm1
movss dword [rdi + 8], xmm2
movss dword [rdi + 0xc], xmm3
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180007202
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1800071fd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180007250
mov rcx, r8
call fcn.180098550
mov rax, rdi
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], 0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180098530
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0x437f0000
mov dword [rdi + 4], 0x437f0000
mov dword [rdi + 8], 0x437f0000
mov dword [rdi + 0xc], 0x437f0000
jmp 0x1800071cc
call fcn.1800a41bc
int3
Function at 0x180007260
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800f2210]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov r8, qword [rcx + 0x10]
mov rdx, rcx
mov rdi, qword [rcx + 0x18]
cmp rdi, 0x10
jb 0x180007295
mov rdx, qword [rcx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x1800072c3
movabs r10, 0x100000001b3
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1800072b0
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.18004df60
cmp qword [rax + 8], 0
je 0x18000732b
mov r8, rbx
lea rdx, [rsp + 0x20]
call fcn.1800483e0
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov edi, dword [rax + 0xa0]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180007327
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180007322
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000738b
mov rcx, r8
call fcn.180098550
mov eax, edi
jmp 0x180007360
cmp rdi, 0x10
jb 0x18000735e
lea rdx, [rdi + 1]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180007359
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000738b
mov rcx, r8
call fcn.180098550
xor eax, eax
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], 0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180098530
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
call fcn.1800a41bc
int3
Function at 0x18001d1e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test rcx, rcx
je 0x18001d240
mov r8, qword [rcx]
test r8, r8
je 0x18001d240
mov r8, qword [r8 + 0x10]
mov eax, 0xffffffff
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x18001d200
test ecx, ecx
je 0x18001d23d
mov r9d, ecx
lea r10, [0x1800da4b0]
nop dword [rax + rax]
movsx edx, byte [r8]
lea r8, [r8 + 1]
mov ecx, eax
shr eax, 8
xor rdx, rcx
movzx ecx, dl
xor eax, dword [r10 + rcx*4]
sub r9, 1
jne 0x18001d220
not eax
ret
xor eax, eax
ret
Function at 0x18001dc70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x18001dc8f
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [0x1800f58d0]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1800f7128], ecx
jle 0x18001dce7
lea rcx, [0x1800f7128]
call fcn.180098600
cmp dword [0x1800f7128], 0xffffffff
jne 0x18001dce7
mov ecx, 0x668c7be0
call fcn.1800194b0
mov rdx, qword [rax]
mov qword [0x1800f6ee8], rdx
lea rcx, [0x1800f7128]
call fcn.180098594
mov rax, qword [0x1800f6ee8]
mov rcx, rdi
call rax
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2 + 0x14], 0
jne 0x18001dd00
mov rax, qword [0x1800f6ee8]
mov rcx, rdi
call rax
lea r8, [rax + 0x14]
mov eax, 0xffffffff
test ebx, ebx
je 0x18001dd4d
mov r9d, ebx
lea r10, [0x1800da4b0]
nop
movzx edx, word [r8]
mov ecx, eax
xor rdx, rcx
movzx ecx, dl
shr eax, 8
xor eax, dword [r10 + rcx*4]
lea r8, [r8 + 2]
sub r9, 1
jne 0x18001dd30
not eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800243e0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], rcx
lea rcx, [0x1800f6638]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rcx, qword [0x1800f6638]
mov edx, dword [0x1800f663c]
test ax, ax
je 0x180024490
movss xmm3, dword [0x1800f2eb8]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x180024490
movss xmm4, dword [0x1800f2ebc]
movd xmm2, edx
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm4
jbe 0x180024490
movss xmm0, dword [rsp + 0x20]
addss xmm0, xmm3
comiss xmm0, xmm1
jbe 0x180024490
movss xmm0, dword [rsp + 0x24]
addss xmm0, xmm4
comiss xmm0, xmm2
jbe 0x180024490
cmp byte [0x1800f6625], 0
mov byte [0x1800f6624], 1
jne 0x180024499
subss xmm1, xmm3
mov byte [0x1800f6625], 1
subss xmm2, xmm4
cvttss2si eax, xmm1
cvttss2si r8d, xmm2
mov dword [0x1800f6630], eax
mov dword [0x1800f6634], r8d
jmp 0x1800244a6
cmp byte [0x1800f6624], 0
je 0x1800244c9
mov r8d, dword [0x1800f6634]
mov eax, dword [0x1800f6630]
sub ecx, eax
sub edx, r8d
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [0x1800f2eb8], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [0x1800f2ebc], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800244e5
mov byte [0x1800f6624], al
mov byte [0x1800f6625], al
add rsp, 0x38
ret
Function at 0x18003f960
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18003f996
xor eax, eax
lea r8, [0x18003f0d0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18003f996
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret
Function at 0x180044130
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rcx + 4], edx
lea r9, [rcx + 8]
mov eax, 1
nop dword [rax]
mov r8d, edx
lea r9, [r9 + 4]
shr r8d, 0x1e
xor r8d, edx
imul edx, r8d, 0x6c078965
add edx, eax
inc rax
mov dword [r9 - 4], edx
cmp rax, 0x270
jb 0x180044140
mov dword [rcx], 0x270
ret
Function at 0x180059550
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x180059572
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1800595ec
mov rdi, r14
mov rcx, rbx
call fcn.18005b640
test rax, rax
jle 0x1800595c4
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov rax, qword [rbx + 0x38]
mov r8, rbp
mov rdx, qword [rax]
call fcn.18009a850
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1800595dc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1800595e4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x180059586
sub r14, rdi
jmp 0x1800596cf
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x180059603
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180059605
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180059637
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.18009a850
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1800596cc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180059672
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x1800596ad
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.1800a9dc0
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1800596cc
cmp rbp, rax
ja 0x180059680
test rbp, rbp
je 0x1800596cc
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.1800a9dc0
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x18006e200
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.18006e420
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18006e307
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18006e264
mov rax, qword [0x1800f2008]
cmp qword [rsp + 0x20], rax
ja 0x18006e264
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18006e226
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18009aef0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18006e293
jmp 0x18006e307
cmp dword [rsp + 0x50], 0x10000
jne 0x18006e2ea
cmp qword [rsp + 0x48], 0x10000
jb 0x18006e2ea
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18006e2d8
mov rax, qword [rsp + 0x28]
jmp 0x18006e309
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18006e302
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.18006e420
mov qword [rsp + 0x20], rax
jmp 0x18006e226
xor eax, eax
add rsp, 0x68
ret

Function at 0x18006e310
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.18006e460
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18006e413
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18006e36b
mov rax, qword [0x1800f2008]
cmp qword [rsp + 0x20], rax
ja 0x18006e36b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18006e32d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18009aef0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18006e39a
jmp 0x18006e413
cmp dword [rsp + 0x50], 0x10000
jne 0x18006e3f1
cmp qword [rsp + 0x48], 0x10000
jb 0x18006e3f1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18006e3df
mov rax, qword [rsp + 0x28]
jmp 0x18006e415
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18006e40e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18006e460
mov qword [rsp + 0x20], rax
jmp 0x18006e32d
xor eax, eax
add rsp, 0x68
ret
Function at 0x18006e4b0
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18006ea40
mov qword [rsp + 0x28], 0
cmp qword [0x1800f4cd8], 0
jne 0x18006e4f8
cmp qword [0x1800f4cd0], 0
je 0x18006e4f8
mov rax, qword [0x1800f4cd0]
mov qword [0x1800f4cd8], rax
cmp qword [0x1800f4cd8], 0
je 0x18006e59e
mov rax, qword [0x1800f4cd8]
cmp qword [rax + 0x10], 0
je 0x18006e59e
mov rax, qword [0x1800f4cd8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18006e59e
mov rax, qword [0x1800f4cd8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18006e59e
mov rax, qword [0x1800f4cd8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x18006e564
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18006e56b
xor eax, eax
jmp 0x18006e719
mov rax, qword [0x1800f4cd8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.18009aef0
mov rax, qword [rsp + 0x28]
jmp 0x18006e719
mov rax, qword [0x1800f4cd0]
mov qword [0x1800f4cd8], rax
jmp 0x18006e5c0
mov rax, qword [0x1800f4cd8]
mov rax, qword [rax + 8]
mov qword [0x1800f4cd8], rax
cmp qword [0x1800f4cd8], 0
je 0x18006e60d
cmp qword [0x1800f4cd8], 0
je 0x18006e60b
mov rax, qword [0x1800f4cd8]
cmp qword [rax + 0x10], 0
je 0x18006e60b
mov rax, qword [0x1800f4cd8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18006e60b
mov rax, qword [0x1800f4cd8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18006e60b
jmp 0x18006e53c
jmp 0x18006e5ae
mov rcx, qword [rsp + 0x60]
call fcn.1800708c0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.18006e720
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18006e717
mov rax, qword [rsp + 0x48]
mov qword [0x1800f4cd8], rax
mov rax, qword [0x1800f4cd8]
mov dword [rax], 0x52727464
mov rax, qword [0x1800f4cd8]
mov qword [rax + 0x10], 0
mov rax, qword [0x1800f4cd8]
mov rcx, qword [0x1800f4cd0]
mov qword [rax + 8], rcx
mov rax, qword [0x1800f4cd8]
mov qword [0x1800f4cd0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1800f4cd8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x18006e6c8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18006e702
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18006e6be
mov rax, qword [0x1800f4cd8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18006e53c
xor eax, eax
add rsp, 0x58
ret
Function at 0x180071e58
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180071edc
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.d2d1.dll_Ordinal_1
cmp byte [rcx + rax], 0
je 0x180071edc
dec r8
sub rdx, 1
jne 0x180071ec2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

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

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x18007907a
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x18007905d
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x180079048

Function at 0x1800b466c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800b4682
mov al, 1
jmp 0x1800b46e2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1800b4693
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800b46e0
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800bb830
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800b46e0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800b46e0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800b46e0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800b46e2
xor al, al
add rsp, 0x20
pop rbx
ret