joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003fa0
Capabilities:
Suspend thread

Disassembly:
push rdi
sub rsp, 0x20
mov eax, dword [0x18000816c]
mov rdi, rcx
test eax, eax
jne 0x180004043
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp rdi, rax
jne 0x180003fca
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov ecx, 0x10
mov qword [rsp + 0x30], rbx
call fcn.1800047c0
mov rbx, rax
test rax, rax
jne 0x180003fe6
lea edi, [rax + 8]
jmp 0x180004009
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x180004027
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, 0x10
mov rcx, rbx
call fcn.180004b74
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [0x18000816c], edi
mov qword [0x180008170], 0
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x180008178]
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rdi
mov qword [0x180008178], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180039eff
Capabilities:
Encode data using base64

Disassembly:
xor ebp, 0xbb1da81a
call fcn.180042cae

Function at 0x18004d5ea
Capabilities:
Authenticate hmac

Disassembly:
mov rsi, qword [rsp + rax*2 + 8]
mov rdx, qword [rsp + rax*2 + 0x10]
dec bx
neg bl
mov qword [rsp + rax*2 + 0x10], rcx
mov r14, qword [rsp + rax*2 + 0x18]
push qword [rsp + 0x20]
popfq
pop r15
push rcx
pop r15
mov rax, qword [rsp + rax + 0x20]
mov r15, qword [rsp + rbx - 0xfed9]
call fcn.18004d746

Function at 0x180058e2d
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + rdi - 0x279964a2], rax
mov rdi, qword [rcx + rdi*2 - 0x4f32c944]
add sil, byte [rsp + 4]
sar word [rsp + 5], 0x2a
xor esi, ebp
lea rbx, [rsi + rbx - 0x3bd13303]
and sil, r11b
mov qword [rbx + rsi*2 - 0x77a26400], rdi
inc edx
jae 0x18006855d
mov ebp, dword [r9]
call fcn.180030fb2
Function at 0x180001000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 8], rax
movdqa xmm0, xmmword [str.SystemFunction03_]
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x30]
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x50], r8d
mov dword [rbp - 0x4c], r8d
mov dword [rbp - 0x40], r9d
mov dword [rbp - 0x3c], r9d
mov qword [rbp - 0x38], rdx
mov dword [rbp - 0x30], 0x61766441
mov dword [rbp - 0x2c], 0x32336970
mov dword [rbp - 0x28], 0x6c6c642e
mov byte [rbp - 0x24], 0
mov word [rbp - 0x10], 0x32
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x40]
call rax
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1800b2140
add rsp, 0x70
pop rbp
ret
Function at 0x1800b20f0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800b2118
xor eax, eax
lea r8, [0x1800b20d0]
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]
mov eax, 1
add rsp, 0x38
ret

Function at 0x1800b5ad0
Capabilities:
Get thread local storage value

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1800b55b0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800b5b0f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1800f02a8]
jmp 0x1800b5b19
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x1800b9480
Capabilities:
Terminate process

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x28
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x1800b94a8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [rsp + 0x30]
call fcn.1800b95c0
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1800d4480
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1800b3eb0
lea rcx, [rsp + 0x40]
call fcn.1800d4440
movzx eax, al
test eax, eax
jne 0x1800d44c8
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.1800d4370
mov rax, qword [rsp + 0x70]
jmp 0x1800d4699
lea rcx, [rsp + 0x40]
call fcn.1800b3f30
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.1800d43f0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.1800b3f30
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.1800d4240
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1800d456e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.1800d4370
mov rax, qword [rsp + 0x80]
jmp 0x1800d4699
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.1800bd020
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1800b3eb0
lea rcx, [rsp + 0x48]
call fcn.1800b3ef0
movzx eax, al
test eax, eax
jne 0x1800d45d5
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.1800b3ed0
lea rcx, [rsp + 0x40]
call fcn.1800d4370
mov rax, qword [rsp + 0x88]
jmp 0x1800d4699
lea rcx, [rsp + 0x48]
call fcn.1800b3f30
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.1800b3f30
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.1800d4240
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1800d466b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.1800b3ed0
lea rcx, [rsp + 0x40]
call fcn.1800d4370
mov rax, qword [rsp + 0xa0]
jmp 0x1800d4699
lea rcx, [rsp + 0x48]
call fcn.1800b4630
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.1800b3ed0
lea rcx, [rsp + 0x40]
call fcn.1800d4370
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x1800dc9a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret

Function at 0x1800e7cb0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x1800e7cd9
jmp 0x1800e7d5e
mov rcx, qword [rbp + 0x30]
call fcn.1800ef4a0
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x1800e7cf2
jmp 0x1800e7d5e
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1800e7d0f
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1800ee420
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], 0
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.1800e6700
test eax, eax
jne 0x1800e7d5e
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1800b2140
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x1800e9340
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1800ee420
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x180105790]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1800e953a
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x1800e9486
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x1800e9486
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x1800e946b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x1800e9408
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1800e94fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1800e9559
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x40], eax
jae 0x1800e9535
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1800e9559
jmp 0x1800e93de
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1800b2140
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x1800e9580
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.1800ee420
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x180105790]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1800e9795
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x1800e96d9
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x1800e96d9
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x1800e96b9
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, 0xd
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x1800e9648
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x48]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1800e9755
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1800e97b4
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x44], eax
jae 0x1800e9790
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x1800e97b4
jmp 0x1800e961e
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1800b2140
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x6aac1442
Capabilities:
Write file on windows

Disassembly:
push rdi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rbx, rcx
mov r10, rdx
je 0x6aac146b
mov rdi, rdx
or rcx, 0xffffffffffffffff
xor eax, eax
repne scasb al, byte [rdi]
mov rdx, rcx
not rdx
lea r8, [rdx - 1]
mov rcx, r10
mov r9, rbx
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rdi
jmp fcn.6ab05910

Function at 0x6aac1593
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rbp, rcx
mov rbx, rdx
mov ecx, 4
cqo
idiv rcx
mov rcx, qword [0x6ab2b7d0]
lea rdi, [rax*4]
call fcn.6ab05c90
xor ecx, ecx
xor r10d, r10d
mov r9b, byte [rax]
cmp rdi, rcx
jg 0x6aac15e5
mov rax, rbx
mov r8d, 4
add rbp, rcx
cqo
idiv r8
xor r8d, r8d
jmp 0x6aac1622
mov edx, dword [rbp + rcx]
add rcx, 4
imul edx, edx, 0xcc9e2d51
rol edx, 0xf
test r9b, r9b
jne 0x6aac1670
imul edx, edx, 0x1b873593
xor edx, r10d
rol edx, 0xd
lea edx, [rdx + rdx*4]
lea r10d, [rdx - 0x19ab949c]
jmp 0x6aac15ca
dec rdx
shl r8d, 8
movzx eax, byte [rbp + rdx]
or r8d, eax
test rdx, rdx
jg 0x6aac1613
imul r8d, r8d, 0xcc9e2d51
rol r8d, 0xf
test r9b, r9b
jne 0x6aac1670
imul r8d, r8d, 0x1b873593
mov edx, r10d
xor edx, ebx
xor r8d, edx
mov esi, r8d
shr esi, 0x10
xor r8d, esi
imul esi, r8d, 0x85ebca6b
mov r8d, esi
shr r8d, 0xd
xor r8d, esi
imul r8d, r8d, 0xc2b2ae35
mov esi, r8d
shr esi, 0x10
xor esi, r8d
mov rax, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rax, qword [rcx + 8]
mov rdx, qword [rcx]
xor ecx, ecx
test rax, rax
je 0x6aac168e
lea rcx, [rax + 8]
jmp 0x6aac1593

Function at 0x6aac167c
Capabilities:
Hash data using murmur3

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rbp, rcx
mov rbx, rdx
mov ecx, 4
cqo
idiv rcx
mov rcx, qword [0x6ab2b7d0]
lea rdi, [rax*4]
call fcn.6ab05c90
xor ecx, ecx
xor r10d, r10d
mov r9b, byte [rax]
cmp rdi, rcx
jg 0x6aac15e5
mov rax, rbx
mov r8d, 4
add rbp, rcx
cqo
idiv r8
xor r8d, r8d
jmp 0x6aac1622
mov edx, dword [rbp + rcx]
add rcx, 4
imul edx, edx, 0xcc9e2d51
rol edx, 0xf
test r9b, r9b
jne 0x6aac1670
imul edx, edx, 0x1b873593
xor edx, r10d
rol edx, 0xd
lea edx, [rdx + rdx*4]
lea r10d, [rdx - 0x19ab949c]
jmp 0x6aac15ca
dec rdx
shl r8d, 8
movzx eax, byte [rbp + rdx]
or r8d, eax
test rdx, rdx
jg 0x6aac1613
imul r8d, r8d, 0xcc9e2d51
rol r8d, 0xf
test r9b, r9b
jne 0x6aac1670
imul r8d, r8d, 0x1b873593
mov edx, r10d
xor edx, ebx
xor r8d, edx
mov esi, r8d
shr esi, 0x10
xor r8d, esi
imul esi, r8d, 0x85ebca6b
mov r8d, esi
shr r8d, 0xd
xor r8d, esi
imul r8d, r8d, 0xc2b2ae35
mov esi, r8d
shr esi, 0x10
xor esi, r8d
mov rax, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rax, qword [rcx + 8]
mov rdx, qword [rcx]
xor ecx, ecx
test rax, rax
je 0x6aac168e
lea rcx, [rax + 8]
jmp 0x6aac1593
Function at 0x6aac6b1f
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov qword [rsp + 0x28], rdx
mov ecx, 2
call qword [fcn.6ab05b10]
mov r8, qword [rsp + 0x28]
mov rcx, rsi
mov edx, 1
mov rbx, rax
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.6ab05910

Function at 0x6aac93f2
Capabilities:
Write file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
xor ebx, ebx
lea r12, [rsp + 0x20]
mov rdi, rcx
mov rbp, rdx
lea rcx, [0x6ab37480]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rsi, qword [fcn.6ab05b10]
cmp rbx, rbp
mov ecx, 1
jl 0x6aac946a
call rsi
mov r8d, 1
mov edx, 1
lea rcx, [0x6ab0d00b]
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 1
call rsi
mov rcx, rax
call fcn.6ab05910
lea rcx, [0x6ab37480]
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rsi
mov rdx, rbx
xor r8d, r8d
shl rdx, 4
mov rcx, rax
movups xmm0, xmmword [rdi + rdx]
mov rdx, r12
movaps xmmword [rsp + 0x20], xmm0
call fcn.6aac933c
mov rcx, qword [0x6ab2b7d0]
call fcn.6ab05c90
cmp byte [rax], 0
jne 0x6aac94a3
inc rbx
jmp 0x6aac941d
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x6aac9cc0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
cmp qword [0x6ab37470], 0
jne 0x6aac9cdb
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.6aac6b1f
lea rsi, [rsp + 0x20]
mov rdx, rcx
mov rcx, rsi
call fcn.6aac9c3f
mov rbx, qword [rsp + 0x28]
mov rcx, rsi
call qword [0x6ab37470]
test rbx, rbx
je 0x6aac9d14
mov eax, 1
shl rax, 0x3e
test qword [rbx], rax
jne 0x6aac9d14
mov rcx, rbx
call fcn.6ab058f0
mov rcx, qword [0x6ab2b7d0]
call fcn.6ab05c90
cmp byte [rax], 0
je 0x6aac9d33
mov byte [rax], 0
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.6aaf8ca9
add rsp, 0x38
pop rbx
pop rsi
ret

Function at 0x6aacdaac
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov rcx, rdx
mov edx, 1
mov r9, rbx
call sub.msvcrt.dll_fwrite
mov rcx, rbx
mov qword [rsp + 0x28], rax
call fcn.6aacd930
mov rax, qword [rsp + 0x28]
add rsp, 0x30
pop rbx
ret

Function at 0x6aacdc36
Capabilities:
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
mov rcx, rdx
mov edx, 1
mov r9, rbx
mov rsi, r8
call sub.msvcrt.dll_fread
cmp rsi, rax
je 0x6aacdc69
mov rcx, rbx
mov qword [rsp + 0x28], rax
call fcn.6aacd930
mov rax, qword [rsp + 0x28]
add rsp, 0x38
pop rbx
pop rsi
ret
Function at 0x6aad86da
Capabilities:
Hash data with crc32

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
lea rbp, [0x6ab11240]
xor r12d, r12d
mov rax, rdx
mov rdi, rcx
mov rbx, rdx
mov ecx, 8
cqo
idiv rcx
mov rsi, rax
lea rax, [r12*8]
cmp r12, rsi
jl 0x6aad871f
lea rcx, [0x6ab11240]
jmp 0x6aad87ba
mov rcx, qword [0x6ab2b7d0]
mov dword [rsp + 0x2c], r8d
mov r13d, dword [rdi + r12*8]
call fcn.6ab05c90
mov r8d, dword [rsp + 0x2c]
cmp byte [rax], 0
jne 0x6aad87d5
mov edx, dword [rdi + r12*8 + 4]
mov eax, r8d
inc r12
xor eax, r13d
mov ecx, edx
movzx r8d, dl
shr ecx, 0x18
mov r8d, dword [rbp + r8*4 + 0xc00]
xor r8d, dword [rbp + rcx*4]
movzx ecx, al
xor r8d, dword [rbp + rcx*4 + 0x1c00]
mov ecx, eax
shr ecx, 0x18
xor r8d, dword [rbp + rcx*4 + 0x1000]
movzx ecx, dh
shr edx, 0x10
movzx edx, dl
xor r8d, dword [rbp + rcx*4 + 0x800]
xor r8d, dword [rbp + rdx*4 + 0x400]
movzx edx, ah
shr eax, 0x10
xor r8d, dword [rbp + rdx*4 + 0x1800]
movzx eax, al
mov edx, r8d
xor edx, dword [rbp + rax*4 + 0x1400]
mov r8d, edx
jmp 0x6aad8706
cmp rax, rbx
jge 0x6aad87d5
mov dl, byte [rdi + rax]
inc rax
xor edx, r8d
shr r8d, 8
movzx edx, dl
xor r8d, dword [rcx + rdx*4]
jmp 0x6aad87ba
mov eax, r8d
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x6ab00490
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x6ab36684]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x6ab00618
mov rax, qword [0x6ab36688]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x6ab004dc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x6ab00565
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x6ab004c0
mov rcx, rbx
call fcn.6ab01130
test rax, rax
mov r12, rax
je 0x6ab0064d
mov rax, qword [0x6ab36688]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.6ab01260
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x6ab36688]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6ab00630
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x6ab0055e
sub eax, 0x40
and eax, 0xffffffbf
jne 0x6ab005c0
add dword [0x6ab36684], 1
cmp edi, 8
jae 0x6ab00593
test dil, 4
jne 0x6ab00604
test edi, edi
je 0x6ab00588
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x6ab0061f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x6ab00588
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x6ab005ac
jmp 0x6ab00588
add rsi, qword [0x6ab36688]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6ab0055e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.6ab0ab50
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x6ab00588
xor esi, esi
jmp 0x6ab004e7
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x6ab00588
mov rax, qword [0x6ab36688]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.6ab0ab50
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.6ab0ab50
nop
nop dword [rax]

Function at 0x6ab00da0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x6ab36960]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x6ab36940]
test rbx, rbx
je 0x6ab00df4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x6ab00deb
test rsi, rsi
je 0x6ab00deb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6ab00dd0
lea rcx, [0x6ab36960]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]