joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180069970
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 [0x18015f100]
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.1800caa00
mov r8d, ebx
lea rcx, [rbp + 0x90]
xor edx, edx
call fcn.1800caa00
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 0x180069a19
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.180013d38
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 0x180069aaa
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180069aa5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180069b4e
call fcn.18009f350
movdqa xmm0, xmmword [0x18014a600]
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 0x180069b27
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.18009f330
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1800a665c
int3
Function at 0x180069b54
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.1800a0420
sub rsp, rax
mov rax, qword [0x18015f100]
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 [0x18014a600]
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 0x180069c1e
mov r8d, dword [rsp + 0x30]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.180022608
cmp dword [rsp + 0x30], 0x2000
je 0x180069bca
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx + 0x10], xmm1
jmp 0x180069c72
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 0x180069c72
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180069c6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180069c99
call fcn.18009f350
mov rax, rbx
mov rcx, qword [rbp + 0x1f60]
xor rcx, rsp
call fcn.18009f330
lea r11, [rsp + 0x2070]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1800a665c
int3
Function at 0x18006d7bc
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 [0x18015f100]
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 0x18006d8ef
test rbx, rbx
je 0x18006d8ef
mov qword [rbp - 0x18], rbx
mov rdx, rbx
cmp rbx, 0x10
jae 0x18006d859
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 0x18006d836
jmp 0x18006d8e7
lea r8, [r11 + rbx]
lea rbx, [r8 - 0x10]
jmp 0x18006d8b5
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 0x18006d863
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 0x18006d8ef
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 0x18006d8d0
mov r10d, dword [rbp - 0x38]
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x18006d916
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 0x18006d91f
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 0x18006d94d
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 0x18006d933
jmp 0x18006d96c
movzx eax, byte [r9]
imul ecx, eax, 0x165667b1
add ecx, edx
ror ecx, 0x15
imul edx, ecx, 0x9e3779b1
inc r9
cmp r9, r8
jne 0x18006d954
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.18009f330
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop rbp
ret
Function at 0x18006dd60
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x18015f100]
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 0x18006ddcc
mov qword [rbx + 0x10], 3
mov qword [rbx + 0x18], 0xf
mov ecx, dword [0x180123edc]
mov word [rbx], cx
mov cl, byte [0x180123ede]
mov byte [rbx + 2], cl
mov byte [rbx + 3], al
jmp 0x18006ddeb
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.180013d38
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18009f330
add rsp, 0x150
pop rbx
ret
Function at 0x18007c08c
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.1800abd94
xorps xmm0, xmm0
mov rbx, rax
mov edi, 1
movups xmmword [rsp + 0x20], xmm0
test rax, rax
je 0x18007c21a
mov ecx, r13d
shl rcx, 4
call fcn.1800abd94
and dword [rsp + 0x88], 0
mov r14, rax
test rax, rax
je 0x18007c212
test byte [r15], dil
je 0x18007c135
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.18007df6c
mov rdx, qword [rsp + 0x28]
mov esi, eax
mov dword [rsp + 0x88], 4
jmp 0x18007c170
test rbp, rbp
jne 0x18007c13f
lea esi, [rbp + 2]
jmp 0x18007c166
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18007c15f
mov esi, edi
jmp 0x18007c166
mov qword [rsp + 0x20], rax
xor esi, esi
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rdx
test esi, esi
jne 0x18007c208
mov eax, dword [r15]
shr eax, 2
test dil, al
je 0x18007c198
mov rcx, rbp
shr rcx, 2
test rcx, rcx
je 0x18007c198
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.1800caa00
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 0x18007c21c
mov rcx, r14
call fcn.1800a6ffc
mov edi, esi
mov rcx, rbx
call fcn.1800a6ffc
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 0x180084fdc
Capabilities:
Hash data using sha256

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x18008502c
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.18008afb0
int3
Function at 0x180085428
Capabilities:
Encrypt data using des

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x18015f100]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r10, r8
lea rbx, [0x180000000]
xor r8d, r8d
movzx r15d, dx
mov r11, rcx
lea r9d, [r8 + 0x38]
lea r12d, [r8 + 1]
movzx edx, byte [r8 + rbx + 0x10ec40]
mov eax, edx
shr rdx, 3
and eax, 7
mov ecx, dword [rbx + rax*4 + 0x10ec20]
movzx eax, byte [rdx + r11]
and eax, ecx
cmp eax, ecx
sete al
mov byte [rbp + r8], al
add r8, r12
sub r9, r12
jne 0x180085470
xor r8d, r8d
lea r11, [0x1801134e0]
lea r14d, [r9 + 0x10]
cmp r15w, r12w
jne 0x1800854c2
mov ecx, 0xf
sub ecx, r8d
add ecx, ecx
jmp 0x1800854c6
lea ecx, [r8 + r8]
movzx edx, byte [r11]
lea eax, [rcx + 1]
and dword [rbp + rax*4 - 0x80], 0
lea r9, [rbp + 0x38]
and dword [rbp + rcx*4 - 0x80], 0
mov ebx, 0x1c
mov edi, eax
mov esi, ecx
cmp edx, 0x1c
jae 0x1800854ef
mov cl, byte [rbp + rdx]
jmp 0x1800854f6
lea eax, [rdx - 0x1c]
mov cl, byte [rbp + rax]
mov byte [r9], cl
add edx, r12d
add r9, r12
sub rbx, r12
jne 0x1800854e4
movzx edx, byte [r11]
lea r9, [rbp + 0x54]
add edx, 0x1c
mov ebx, 0x1c
cmp edx, 0x38
jae 0x18008551f
mov cl, byte [rbp + rdx]
jmp 0x180085526
lea eax, [rdx - 0x1c]
mov cl, byte [rbp + rax]
mov byte [r9], cl
add edx, r12d
add r9, r12
sub rbx, r12
jne 0x180085514
lea rdx, [0x18010ee80]
mov ebx, 0x18
lea rcx, [0x18010a920]
lea r9, [0x18010ee98]
movzx eax, byte [rdx]
cmp byte [rbp + rax + 0x38], 0
je 0x18008555e
mov eax, dword [rcx]
or dword [rbp + rsi*4 - 0x80], eax
movzx eax, byte [r9]
cmp byte [rbp + rax + 0x38], 0
je 0x18008556f
mov eax, dword [rcx]
or dword [rbp + rdi*4 - 0x80], eax
add r9, r12
add rdx, r12
add rcx, 4
sub rbx, r12
jne 0x18008554e
add r8d, r12d
add r11, r12
cmp r8d, r14d
jb 0x1800854b0
lea r11, [rbp - 0x80]
mov edi, 0xfc0
lea rbx, [rsp]
mov r9d, dword [r11 + 4]
mov edx, r9d
mov r8d, dword [r11]
mov eax, r9d
and eax, edi
shr edx, 4
and edx, 0xfc000
lea r11, [r11 + 8]
or edx, eax
mov ecx, r8d
and ecx, edi
shr edx, 6
shl ecx, 4
mov eax, r8d
and eax, 0xfc0000
or ecx, eax
mov eax, r9d
shl ecx, 6
and r9d, 0x3f
or edx, ecx
shr eax, 4
mov ecx, r8d
mov dword [rbx], edx
and ecx, 0x3f
lea rbx, [rbx + 8]
shl ecx, 4
and r8d, 0x3f000
or ecx, r8d
and eax, 0x3f00
shl ecx, 0xc
or ecx, eax
or ecx, r9d
mov dword [rbx - 4], ecx
sub r14, r12
jne 0x18008559a
movaps xmm0, xmmword [rsp]
movaps xmm1, xmmword [rsp + 0x10]
movups xmmword [r10], xmm0
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [r10 + 0x10], xmm1
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [r10 + 0x20], xmm0
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [r10 + 0x30], xmm1
movaps xmm1, xmmword [rsp + 0x50]
movups xmmword [r10 + 0x40], xmm0
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [r10 + 0x50], xmm1
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [r10 + 0x60], xmm0
movups xmmword [r10 + 0x70], xmm1
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.18009f330
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x180085680
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 + 0x1126b0]
xor r10, qword [r14 + rdx*8 + 0x111eb0]
xor r10, qword [r14 + rax*8 + 0x1106b0]
mov eax, r9d
shr eax, 8
movzx ecx, al
mov eax, dword [rbx]
shr eax, 0x10
xor r10, qword [r14 + rcx*8 + 0x1116b0]
movzx ecx, al
mov eax, dword [rbx]
shr eax, 8
xor r10, qword [r14 + rcx*8 + 0x10feb0]
movzx ecx, al
movzx eax, r9b
xor r10, qword [r14 + rcx*8 + 0x10f6b0]
xor r10, qword [r14 + rax*8 + 0x110eb0]
movzx eax, byte [rbx]
xor r10, qword [r14 + rax*8 + 0x10eeb0]
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 + 0x10ec80]
xor edx, dword [r14 + rax*4 + 0x10a820]
mov eax, r8d
shr rax, 8
and r8d, 0x3f
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x10ed80]
mov eax, r9d
shr rax, 0x18
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x10a620]
mov eax, r9d
shr rax, 0x10
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x10ab20]
mov eax, r9d
shr rax, 8
and r9d, 0x3f
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x1134f0]
xor edx, dword [r14 + r8*4 + 0x10a720]
xor edx, dword [r14 + r9*4 + 0x10aa20]
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 + 0x10ec80]
xor edx, dword [r14 + rax*4 + 0x10a820]
mov eax, r8d
shr rax, 8
and r8d, 0x3f
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x10ed80]
mov eax, r9d
shr rax, 0x18
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x10a620]
mov eax, r9d
shr rax, 0x10
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x10ab20]
mov eax, r9d
shr rax, 8
and r9d, 0x3f
and eax, 0x3f
xor edx, dword [r14 + rax*4 + 0x1134f0]
xor edx, dword [r14 + r8*4 + 0x10a720]
xor edx, dword [r14 + r9*4 + 0x10aa20]
xor r10d, edx
sub rsi, 1
jne 0x180085726
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 + 0x10e420]
xor r8, qword [r14 + rcx*8 + 0x10dc20]
xor r8, qword [r14 + rax*8 + 0x10c420]
mov eax, r10d
shr eax, 8
movzx ecx, al
mov eax, r11d
shr eax, 0x10
xor r8, qword [r14 + rcx*8 + 0x10d420]
movzx ecx, al
mov eax, r11d
shr eax, 8
xor r8, qword [r14 + rcx*8 + 0x10bc20]
movzx ecx, al
movzx eax, r10b
xor r8, qword [r14 + rcx*8 + 0x10b420]
xor r8, qword [r14 + rax*8 + 0x10cc20]
movzx eax, r11b
xor r8, qword [r14 + rax*8 + 0x10ac20]
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 0x180086738
Capabilities:
Hash data using sha1

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x180086773
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.18008afb0
int3

Function at 0x1800886f4
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 0x180088856
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 0x18008873a
mov dword [r9], edx
mov eax, 6
jmp 0x180088846
test r10, r10
je 0x180088870
test rbx, rbx
je 0x18008888a
cmp r10, rbx
jne 0x18008875b
mov eax, 0x10
jmp 0x180088846
mov eax, edi
lea rsi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mul r11d
shr edx, 1
lea ecx, [rdx + rdx*2]
xor edx, edx
test ecx, ecx
je 0x1800887e1
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 0x180088781
cmp edx, r11d
jae 0x18008883a
movzx edi, byte [r10]
inc edx
cmp edx, r11d
jae 0x1800887f8
movzx ecx, byte [r10 + 1]
jmp 0x1800887fa
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 0x18008882b
and ecx, 0xf
shl ecx, 2
mov cl, byte [rcx + rsi]
jmp 0x18008882d
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.18008afb0
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.18008afb0
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.18008afb0
int3
Function at 0x180088e00
Capabilities:
Hash data using sha512

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x180088e88
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.18008afb0
int3
Function at 0x18008b074
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 0x18008b1a0
and qword [rax + 0x18], 0
lea r8, [0x180146588]
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 0x18008b0ef
lea r9d, [rax + 1]
mov dword [rsp + 0x20], 0xf0000028
lea r8, [0x180146588]
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x18008b11f
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 0x18008b119
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test ebx, ebx
je 0x18008b11f
mov eax, ebx
jmp 0x18008b183
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor r13d, r13d
xor ebp, ebp
mov r15d, ebx
test ebx, ebx
je 0x18008b181
dec r15d
xor esi, esi
lea r14d, [rsi + 8]
dec r14d
call fcn.1800ca174
mov r12d, eax
jmp 0x18008b144
xor ebp, 1
call fcn.1800ca174
cmp r12d, eax
je 0x18008b141
call fcn.1800ca174
mov r12d, eax
jmp 0x18008b15c
xor r13d, 1
call fcn.1800ca174
cmp r12d, eax
je 0x18008b158
cmp ebp, r13d
je 0x18008b137
add esi, esi
or esi, ebp
test r14d, r14d
jne 0x18008b134
mov byte [rdi], sil
inc rdi
test r15d, r15d
jne 0x18008b12b
jmp 0x18008b115
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.18008afb0
int3