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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, qword [rdx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
je 0x18006d21f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x18006d334
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x180162100]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, r8
mov rbx, rdx
mov r12, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
movdqa xmm1, xmmword [0x18014cb50]
movdqu xmmword [rbp + 0x1f], xmm1
xor esi, esi
mov byte [rbp + 0xf], sil
lea rdx, [rbp + 0xf]
mov rcx, rbx
call fcn.18006dd88
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x18006d3cb
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006d3c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006d4ed
call fcn.1800a0de0
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18006d3d8
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x18006d3e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rbx + 0x18], 0xf
jbe 0x18006d3f2
mov rbx, qword [rbx]
mov rcx, rbx
call fcn.1800912ec
mov qword [rbp - 9], rax
test rax, rax
je 0x18006d4c5
lea rax, [rbp - 9]
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], r14
mov r15b, 1
mov byte [rbp + 0x1f], r15b
mov r12, qword [r12 + 8]
mov rbx, qword [r12]
cmp rbx, r12
je 0x18006d4a2
lea rdx, [rbx + 0x10]
lea rdi, [rdx + 0x20]
mov eax, esi
mov ecx, 0xffffffff
cmp qword [rdi + 0x10], rcx
seta al
cmp qword [rdx + 0x18], 0xf
jbe 0x18006d448
mov rdx, qword [rdx]
mov dword [rsp + 0x90], eax
mov rcx, qword [rbp - 9]
call fcn.180091670
test eax, eax
jne 0x18006d49f
lea rax, [rbp - 9]
mov qword [rbp - 1], rax
mov byte [rbp + 7], r15b
mov r8d, dword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x18006d476
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, qword [rbp - 9]
call fcn.180091ab0
mov edi, eax
mov rcx, qword [rbp - 9]
call fcn.180091c04
nop
test edi, edi
jne 0x18006d49f
mov rax, qword [rbx]
mov rbx, rax
cmp rax, r12
jne 0x18006d428
jmp 0x18006d4a2
mov r15b, sil
cmp qword [r14 + 0x10], rsi
je 0x18006d4b5
mov rsi, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x18006d4b5
mov rsi, qword [r14]
mov rdx, rsi
mov rcx, qword [rbp - 9]
call fcn.180092338
nop
mov al, r15b
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800a0dc0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1800a80ec
int3
Function at 0x18006d7e4
Capabilities:
Create process memory minidump
Get common file path
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x180162100]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
and dword [rsp + 0x54], 0
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x4c], rbx
xor edx, edx
mov ebx, 0x104
mov dword [rsp + 0x48], eax
mov r8d, ebx
call fcn.1800cc490
mov r8d, ebx
lea rcx, [rbp + 0x90]
xor edx, edx
call fcn.1800cc490
lea rdx, [rbp + 0x90]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, str.boiii_
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameA]
xorps xmm0, xmm0
lea rax, [rbp - 0x80]
xorps xmm1, xmm1
or r8, 0xffffffffffffffff
movups xmmword [rsp + 0x58], xmm0
movdqu xmmword [rsp + 0x68], xmm1
inc r8
cmp byte [rax + r8], 0
jne 0x18006d88d
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.180013390
cmp qword [rsp + 0x70], 0xf
lea rcx, [rsp + 0x58]
mov edx, 0xc0000000
cmova rcx, qword [rsp + 0x58]
xor r9d, r9d
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x4000100
mov dword [rsp + 0x20], 4
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdx, qword [rsp + 0x70]
mov rdi, rax
cmp rdx, 0xf
jbe 0x18006d91e
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006d919
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006d9c2
call fcn.1800a0de0
movdqa xmm0, xmmword [0x18014cb50]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x48]
and qword [rsp + 0x28], 0
mov r9d, 0x21934
mov qword [rsp + 0x20], rcx
mov r8, rdi
mov rcx, rax
mov edx, ebx
call qword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
test eax, eax
jne 0x18006d99b
lea r9d, [rax + 0x10]
xor ecx, ecx
lea r8, str.Minidump_Error
lea rdx, str.There_was_an_error_creating_the_minidump__Hit_OK_to_close_the_program.
call qword [sym.imp.USER32.dll_MessageBoxA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x7b
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1800a0dc0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1800a80ec
int3
Function at 0x18006d9c8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1f70]
mov eax, 0x2070
call fcn.1800a1eb0
sub rsp, rax
mov rax, qword [0x180162100]
xor rax, rsp
mov qword [rbp + 0x1f60], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x18014cb50]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], 0
and dword [rsp + 0x30], 0
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov r8d, 0x2000
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18006da92
mov r8d, dword [rsp + 0x30]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.180023be0
cmp dword [rsp + 0x30], 0x2000
je 0x18006da3e
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x10], xmm1
jmp 0x18006dae6
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
and qword [rbx + 0x10], 0
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18006dae6
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006dae1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006db0d
call fcn.1800a0de0
mov rax, rbx
mov rcx, qword [rbp + 0x1f60]
xor rcx, rsp
call fcn.1800a0dc0
lea r11, [rsp + 0x2070]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1800a80ec
int3
Function at 0x18006e64c
Capabilities:
Hash data using murmur3

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x180162100]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r9d, r9d
mov r11, rcx
mov dword [rbp - 0x38], r9d
mov rbx, rdx
mov dword [rbp - 0x20], r9d
mov edx, r9d
mov qword [rbp - 0x18], rdx
mov ecx, 0x24234428
mov dword [rbp - 0x40], ecx
mov edi, 0x85ebca77
mov dword [rbp - 0x3c], edi
mov esi, 0x61c8864f
mov dword [rbp - 0x34], esi
mov r10d, r9d
mov r8d, r9d
test r11, r11
je 0x18006e77f
test rbx, rbx
je 0x18006e77f
mov qword [rbp - 0x18], rbx
mov rdx, rbx
cmp rbx, 0x10
jae 0x18006e6e9
mov cl, byte [r11]
inc r11
mov eax, r8d
mov byte [rbp + rax - 0x30], cl
mov r8d, dword [rbp - 0x20]
inc r8d
mov dword [rbp - 0x20], r8d
sub rbx, 1
jne 0x18006e6c6
jmp 0x18006e777
lea r8, [r11 + rbx]
lea rbx, [r8 - 0x10]
jmp 0x18006e745
imul eax, dword [r11], 0x7a143589
sub ecx, eax
imul eax, dword [r11 + 4], 0x7a143589
ror ecx, 0x13
imul ecx, ecx, 0x9e3779b1
sub edi, eax
imul eax, dword [r11 + 8], 0x7a143589
ror edi, 0x13
imul edi, edi, 0x9e3779b1
sub r10d, eax
imul eax, dword [r11 + 0xc], 0x7a143589
ror r10d, 0x13
imul r10d, r10d, 0x9e3779b1
sub esi, eax
ror esi, 0x13
imul esi, esi, 0x9e3779b1
add r11, 0x10
cmp r11, rbx
jbe 0x18006e6f3
sub r8d, r11d
mov dword [rbp - 0x40], ecx
mov dword [rbp - 0x20], r8d
mov dword [rbp - 0x3c], edi
mov dword [rbp - 0x38], r10d
mov dword [rbp - 0x34], esi
je 0x18006e77f
mov ecx, r9d
inc r9d
mov al, byte [rcx + r11]
mov byte [rbp + rcx - 0x30], al
mov r8d, dword [rbp - 0x20]
cmp r9d, r8d
jb 0x18006e760
mov r10d, dword [rbp - 0x38]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x18006e7a6
mov eax, dword [rbp - 0x3c]
mov ecx, dword [rbp - 0x34]
ror eax, 0x19
add eax, edx
ror ecx, 0xe
mov edx, dword [rbp - 0x40]
ror r10d, 0x14
add ecx, r10d
ror edx, 0x1f
add eax, ecx
add edx, eax
jmp 0x18006e7af
add edx, 0x165667b1
add edx, r10d
mov eax, r8d
lea r9, [rbp - 0x30]
lea r8, [rbp - 0x30]
add r8, rax
lea rax, [rbp - 0x2c]
jmp 0x18006e7dd
imul eax, dword [r9], 0x3d4d51c3
sub edx, eax
ror edx, 0xf
imul edx, edx, 0x27d4eb2f
add r9, 4
lea rax, [r9 + 4]
cmp rax, r8
jbe 0x18006e7c3
jmp 0x18006e7fc
movzx eax, byte [r9]
imul ecx, eax, 0x165667b1
add ecx, edx
ror ecx, 0x15
imul edx, ecx, 0x9e3779b1
inc r9
cmp r9, r8
jne 0x18006e7e4
mov eax, edx
shr eax, 0xf
xor eax, edx
imul ecx, eax, 0x85ebca77
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae3d
mov eax, ecx
shr eax, 0x10
xor eax, ecx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1800a0dc0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret
Function at 0x18006ee74
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x180162100]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x20], rcx
lea rdx, [rsp + 0x20]
mov rbx, rcx
mov dword [rsp + 0x20], 0x101
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
test eax, eax
jne 0x18006eee0
mov qword [rbx + 0x10], 3
mov qword [rbx + 0x18], 0xf
mov ecx, dword [0x1801260a4]
mov word [rbx], cx
mov cl, byte [0x1801260a6]
mov byte [rbx + 2], cl
mov byte [rbx + 3], al
jmp 0x18006eeff
and qword [rbx + 0x10], 0
lea rdx, [rsp + 0x30]
and qword [rbx + 0x18], 0
mov rcx, rbx
mov r8d, dword [rsp + 0x20]
dec r8d
call fcn.180013390
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1800a0dc0
add rsp, 0x150
pop rbx
ret
Function at 0x18007d1a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx eax, word [r8 + 0x1c]
lea r12, [r9 - 1]
mov r15, rcx
add r12, rax
mov cl, byte [r8 + 0x1e]
mov rbp, r9
shr r12, cl
mov ecx, 0x68
lea r13d, [r12 + 0x3f]
shr r13d, 6
call fcn.1800ad824
xorps xmm0, xmm0
mov rbx, rax
mov edi, 1
movups xmmword [rsp + 0x20], xmm0
test rax, rax
je 0x18007d32e
mov ecx, r13d
shl rcx, 4
call fcn.1800ad824
and dword [rsp + 0x88], 0
mov r14, rax
test rax, rax
je 0x18007d326
test byte [r15], dil
je 0x18007d249
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.18007f080
mov rdx, qword [rsp + 0x28]
mov esi, eax
mov dword [rsp + 0x88], 4
jmp 0x18007d284
test rbp, rbp
jne 0x18007d253
lea esi, [rbp + 2]
jmp 0x18007d27a
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18007d273
mov esi, edi
jmp 0x18007d27a
mov qword [rsp + 0x20], rax
xor esi, esi
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rdx
test esi, esi
jne 0x18007d31c
mov eax, dword [r15]
shr eax, 2
test dil, al
je 0x18007d2ac
mov rcx, rbp
shr rcx, 2
test rcx, rcx
je 0x18007d2ac
mov eax, dword [r15 + 0xc]
mov rdi, rdx
rep stosd dword [rdi], eax
mov r8d, r13d
xor edx, edx
shl r8, 4
mov rcx, r14
call fcn.1800cc490
mov rax, qword [rsp + 0x80]
xor ecx, ecx
movups xmm0, xmmword [rsp + 0x20]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], rax
mov eax, dword [rsp + 0x88]
mov dword [rbx + 0x40], eax
lea rax, [r14 + r13*8]
mov qword [rbx + 0x60], rax
mov rax, qword [rsp + 0x78]
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
movdqu xmmword [rbx + 0x28], xmm0
mov qword [rax], rbx
xor eax, eax
mov qword [rbx + 0x38], rbp
mov dword [rbx + 0x44], r12d
mov dword [rbx + 0x48], ecx
mov dword [rbx + 0x4c], r12d
mov dword [rbx + 0x50], ecx
mov dword [rbx + 0x54], r12d
mov qword [rbx + 0x58], r14
jmp 0x18007d330
mov rcx, r14
call fcn.1800a8a8c
mov edi, esi
mov rcx, rbx
call fcn.1800a8a8c
mov eax, edi
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800860f0
Capabilities:
Hash data using sha256

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x180086140
and dword [rcx + 0x28], 0
and qword [rcx], 0
xor eax, eax
mov dword [rcx + 8], 0x6a09e667
mov dword [rcx + 0xc], 0xbb67ae85
mov dword [rcx + 0x10], 0x3c6ef372
mov dword [rcx + 0x14], 0xa54ff53a
mov dword [rcx + 0x18], 0x510e527f
mov dword [rcx + 0x1c], 0x9b05688c
mov dword [rcx + 0x20], 0x1f83d9ab
mov dword [rcx + 0x24], 0x5be0cd19
add rsp, 0x28
ret
mov r8d, 0xc6
lea rdx, str.E:Project_Bo4SOURCE_CODE_bods_shield_bods_shielddepslibtomcrypt_srchashes_sha2_sha256.c
lea rcx, str.md___NULL
call fcn.18008c260
int3
Function at 0x180086794
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov r9d, dword [rcx + 4]
lea r14, [0x180000000]
mov rbx, rcx
mov eax, r9d
shr eax, 0x10
mov r8d, r9d
shr r8, 0x18
mov rdi, rdx
movzx edx, al
mov esi, 8
mov eax, dword [rcx]
shr rax, 0x18
mov r10, qword [r14 + r8*8 + 0x114870]
xor r10, qword [r14 + rdx*8 + 0x114070]
xor r10, qword [r14 + rax*8 + 0x112870]
mov eax, r9d
shr eax, 8
movzx ecx, al
mov eax, dword [rbx]
shr eax, 0x10
xor r10, qword [r14 + rcx*8 + 0x113870]
movzx ecx, al
mov eax, dword [rbx]
shr eax, 8
xor r10, qword [r14 + rcx*8 + 0x112070]
movzx ecx, al
movzx eax, r9b
xor r10, qword [r14 + rcx*8 + 0x111870]
xor r10, qword [r14 + rax*8 + 0x113070]
movzx eax, byte [rbx]
xor r10, qword [r14 + rax*8 + 0x111070]
mov r11, r10
shr r11, 0x20
mov r9d, r10d
mov eax, r10d
xor eax, dword [rdi + 4]
mov r8d, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
ror r9d, 4
xor r9d, dword [rdi]
lea rdi, [rdi + 0x10]
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [r14 + rcx*4 + 0x110e70]
xor edx, dword [r14 + rax*4 + 0x10c920]
mov eax, r8d
shr rax, 8
and r8d, 0x3f
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x110f70]
mov eax, r9d
shr rax, 0x18
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x10c820]
mov eax, r9d
shr rax, 0x10
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x110d40]
mov eax, r9d
shr rax, 8
and r9d, 0x3f
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x1156f0]
xor edx, dword [r14 + r8*4 + 0x10ca20]
xor edx, dword [r14 + r9*4 + 0x110c40]
xor r11d, edx
mov r9d, r11d
mov eax, r11d
xor eax, dword [rdi - 4]
mov r8d, eax
mov ecx, eax
shr rax, 0x10
and eax, 0x3f
ror r9d, 4
xor r9d, dword [rdi - 8]
shr rcx, 0x18
and ecx, 0x3f
mov edx, dword [r14 + rcx*4 + 0x110e70]
xor edx, dword [r14 + rax*4 + 0x10c920]
mov eax, r8d
shr rax, 8
and r8d, 0x3f
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x110f70]
mov eax, r9d
shr rax, 0x18
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x10c820]
mov eax, r9d
shr rax, 0x10
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x110d40]
mov eax, r9d
shr rax, 8
and r9d, 0x3f
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x1156f0]
xor edx, dword [r14 + r8*4 + 0x10ca20]
xor edx, dword [r14 + r9*4 + 0x110c40]
xor r10d, edx
sub rsi, 1
jne 0x18008683a
mov rsi, qword [rsp + 0x10]
mov eax, r10d
mov rdi, qword [rsp + 0x18]
shr eax, 0x10
movzx ecx, al
mov edx, r10d
shr rdx, 0x18
mov eax, r11d
shr rax, 0x18
mov r8, qword [r14 + rdx*8 + 0x110420]
xor r8, qword [r14 + rcx*8 + 0x10fc20]
xor r8, qword [r14 + rax*8 + 0x10e420]
mov eax, r10d
shr eax, 8
movzx ecx, al
mov eax, r11d
shr eax, 0x10
xor r8, qword [r14 + rcx*8 + 0x10f420]
movzx ecx, al
mov eax, r11d
shr eax, 8
xor r8, qword [r14 + rcx*8 + 0x10dc20]
movzx ecx, al
movzx eax, r10b
xor r8, qword [r14 + rcx*8 + 0x10d420]
xor r8, qword [r14 + rax*8 + 0x10ec20]
movzx eax, r11b
xor r8, qword [r14 + rax*8 + 0x10cc20]
mov r14, qword [rsp + 0x20]
mov dword [rbx], r8d
shr r8, 0x20
mov dword [rbx + 4], r8d
mov rbx, qword [rsp + 8]
ret
Function at 0x18008784c
Capabilities:
Hash data using sha1

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x180087887
and dword [rcx + 0x1c], 0
and qword [rcx], 0
xor eax, eax
mov dword [rcx + 8], 0x67452301
mov dword [rcx + 0xc], 0xefcdab89
mov dword [rcx + 0x10], 0x98badcfe
mov dword [rcx + 0x14], 0x10325476
mov dword [rcx + 0x18], 0xc3d2e1f0
add rsp, 0x28
ret
mov r8d, 0x9f
lea rdx, str.E:Project_Bo4SOURCE_CODE_bods_shield_bods_shielddepslibtomcrypt_srchashes_sha1.c
lea rcx, str.md___NULL
call fcn.18008c260
int3

Function at 0x1800898b8
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov r11d, edx
mov r10, rcx
test r9, r9
je 0x180089a1a
lea ecx, [rdx + 2]
mov edi, 0xaaaaaaab
mov eax, edi
mul ecx
shr edx, 1
shl edx, 2
inc edx
cmp dword [r9], edx
jae 0x1800898fe
mov dword [r9], edx
mov eax, 6
jmp 0x180089a0a
test r10, r10
je 0x180089a34
test rbx, rbx
je 0x180089a4e
cmp r10, rbx
jne 0x18008991f
mov eax, 0x10
jmp 0x180089a0a
mov eax, edi
lea rsi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mul r11d
shr edx, 1
lea ecx, [rdx + rdx*2]
xor edx, edx
test ecx, ecx
je 0x1800899a5
dec ecx
mov eax, edi
mul ecx
shr edx, 1
inc edx
mov edi, edx
lea edx, [rdx + rdx*2]
movzx eax, byte [r10]
shr rax, 2
mov al, byte [rax + rsi]
mov byte [r8], al
movzx eax, byte [r10 + 1]
movzx ecx, byte [r10]
shr eax, 4
and ecx, 3
shl ecx, 4
add ecx, eax
mov al, byte [rcx + rsi]
mov byte [r8 + 1], al
movzx eax, byte [r10 + 2]
movzx ecx, byte [r10 + 1]
shr eax, 6
and ecx, 0xf
lea eax, [rax + rcx*4]
mov al, byte [rax + rsi]
mov byte [r8 + 2], al
movzx eax, byte [r10 + 2]
add r10, 3
and eax, 0x3f
mov al, byte [rax + rsi]
mov byte [r8 + 3], al
add r8, 4
sub rdi, 1
jne 0x180089945
cmp edx, r11d
jae 0x1800899fe
movzx edi, byte [r10]
inc edx
cmp edx, r11d
jae 0x1800899bc
movzx ecx, byte [r10 + 1]
jmp 0x1800899be
xor ecx, ecx
mov rax, rdi
shl edi, 4
shr rax, 2
mov al, byte [rax + rsi]
mov byte [r8], al
mov eax, ecx
shr eax, 4
add eax, edi
and eax, 0x3f
mov al, byte [rax + rsi]
mov byte [r8 + 1], al
cmp edx, r11d
jae 0x1800899ef
and ecx, 0xf
shl ecx, 2
mov cl, byte [rcx + rsi]
jmp 0x1800899f1
mov cl, 0x3d
mov byte [r8 + 2], cl
mov byte [r8 + 3], 0x3d
add r8, 4
mov byte [r8], 0
sub r8d, ebx
mov dword [r9], r8d
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov r8d, 0x28
lea rdx, str.E:Project_Bo4SOURCE_CODE_bods_shield_bods_shielddepslibtomcrypt_srcmisc_base64_base64_encode.c
lea rcx, str.outlen___NULL
call fcn.18008c260
int3
mov r8d, 0x38
lea rdx, str.E:Project_Bo4SOURCE_CODE_bods_shield_bods_shielddepslibtomcrypt_srcmisc_base64_base64_encode.c
lea rcx, str.in___NULL
call fcn.18008c260
int3
mov r8d, 0x39
lea rdx, str.E:Project_Bo4SOURCE_CODE_bods_shield_bods_shielddepslibtomcrypt_srcmisc_base64_base64_encode.c
lea rcx, str.out___NULL
call fcn.18008c260
int3
Function at 0x18008a0b0
Capabilities:
Hash data using sha512

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x18008a138
and dword [rcx + 0x48], 0
movabs rax, 0x6a09e667f3bcc908
and qword [rcx], 0
mov qword [rcx + 8], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 0x10], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x18], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x20], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x28], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x30], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x38], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x40], rax
xor eax, eax
add rsp, 0x28
ret
mov r8d, 0xa9
lea rdx, str.E:Project_Bo4SOURCE_CODE_bods_shield_bods_shielddepslibtomcrypt_srchashes_sha2_sha512.c
lea rcx, str.md___NULL
call fcn.18008c260
int3
Function at 0x18008c510
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov ebx, edx
mov rdi, rcx
test rcx, rcx
je 0x18008c63c
and qword [rax + 0x18], 0
lea r8, [0x180148970]
mov r9d, 1
mov dword [rax - 0x38], 0xf0000020
xor edx, edx
lea rcx, [rax + 0x18]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x18008c58b
lea r9d, [rax + 1]
mov dword [rsp + 0x20], 0xf0000028
lea r8, [0x180148970]
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x18008c5bb
mov rcx, qword [rsp + 0x70]
mov r8, rdi
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0x70]
xor edx, edx
cmp eax, 1
jne 0x18008c5b5
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test ebx, ebx
je 0x18008c5bb
mov eax, ebx
jmp 0x18008c61f
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor r13d, r13d
xor ebp, ebp
mov r15d, ebx
test ebx, ebx
je 0x18008c61d
dec r15d
xor esi, esi
lea r14d, [rsi + 8]
dec r14d
call fcn.1800cbc04
mov r12d, eax
jmp 0x18008c5e0
xor ebp, 1
call fcn.1800cbc04
cmp r12d, eax
je 0x18008c5dd
call fcn.1800cbc04
mov r12d, eax
jmp 0x18008c5f8
xor r13d, 1
call fcn.1800cbc04
cmp r12d, eax
je 0x18008c5f4
cmp ebp, r13d
je 0x18008c5d3
add esi, esi
or esi, ebp
test r14d, r14d
jne 0x18008c5d0
mov byte [rdi], sil
inc rdi
test r15d, r15d
jne 0x18008c5c7
jmp 0x18008c5b1
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r8d, 0x83
lea rdx, str.E:Project_Bo4SOURCE_CODE_bods_shield_bods_shielddepslibtomcrypt_srcprngs_rng_get_bytes.c
lea rcx, str.out___NULL
call fcn.18008c260
int3