joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140101940
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x100]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x70], xmm4
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov edi, edx
mov rbx, r8
mov rsi, r9
mov r14, qword [rbp + 0x38]
mov r15, qword [rbp + 0x40]
mov r13, qword [rbp + 0x48]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400dcc20
nop
lea rcx, [r13 + 0x10]
xor edx, edx
test r13, r13
cmove rcx, rdx
mov qword [rbp - 0x50], rcx
lea rdx, [r15 + 0x10]
xor r8d, r8d
test r15, r15
cmove rdx, r8
mov qword [rbp - 0x58], rdx
lea r8, [r14 + 0x10]
xor r9d, r9d
test r14, r14
cmove r8, r9
mov qword [rbp - 0x60], r8
mov qword [rbp - 0x68], rsi
mov r9, rsi
lea rax, [rbx + 0x10]
xor r10d, r10d
test rbx, rbx
cmove rax, r10
mov qword [rbp - 0x70], rax
mov r10, qword [rbp - 0x48]
mov rbx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rcx
mov rcx, qword [r10 + 8]
mov qword [rbp - 0x7c], rcx
mov edx, edi
mov dword [rbp - 0x74], edx
mov r8, rax
mov qword [rbp - 0x84], r8
mov qword [rbp - 0x8c], r9
lea rcx, [rbp - 0xb8]
call fcn.140002ff0
mov rcx, qword [rbp - 0x7c]
mov edx, dword [rbp - 0x74]
mov r8, qword [rbp - 0x84]
mov r9, qword [rbp - 0x8c]
call sub.ADVAPI32.dll_RegEnumValueW
mov ebx, eax
lea rcx, [rbp - 0xb8]
call fcn.140003040
nop
xor ecx, ecx
mov qword [rbp - 0x70], rcx
xor ecx, ecx
mov qword [rbp - 0x68], rcx
xor ecx, ecx
mov qword [rbp - 0x60], rcx
xor ecx, ecx
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x140101a89
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1400dcc60
mov eax, ebx
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140101d50
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov rsi, r8
mov rdi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1400dcc20
nop
test rbx, rbx
je 0x140101da6
add rbx, 0xc
mov rdx, rbx
jmp 0x140101da8
xor edx, edx
mov qword [rbp - 0x50], rdx
mov rcx, qword [rbp - 0x48]
mov rbx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rbx
mov rbx, qword [rbp + 0x38]
mov qword [rsp + 0x28], rbx
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x60], rdx
mov r8, rsi
mov qword [rbp - 0x68], r8
mov r9, rdi
mov qword [rbp - 0x70], r9
lea rcx, [rbp - 0x98]
call fcn.140002ff0
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov r9, qword [rbp - 0x70]
call sub.ADVAPI32.dll_RegQueryValueExW
mov ebx, eax
lea rcx, [rbp - 0x98]
call fcn.140003040
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x140101e25
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1400dcc60
mov eax, ebx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14013bcf0
Capabilities:
Create process on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x198
lea rbp, [rsp + 0x1d0]
xorps xmm4, xmm4
movabs rax, 0xffffffffffffff10
movaps xmmword [rbp + rax - 0x40], xmm4
movaps xmmword [rbp + rax - 0x30], xmm4
movaps xmmword [rbp + rax - 0x20], xmm4
add rax, 0x30
jne 0x14013bd18
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rbx, rcx
mov r14, rdx
mov r15, r8
mov r13, r9
mov r12, qword [rbp + 0x48]
mov rcx, rbx
mov edx, 1
xor r8d, r8d
call fcn.1400dc030
mov qword [rbp - 0x40], rax
mov rcx, r14
mov edx, 1
xor r8d, r8d
call fcn.1400dc030
mov qword [rbp - 0x48], rax
xor edi, edi
cmp byte [rbp + 0x30], 0
setne dil
mov dword [rbp - 0x4c], edi
mov rcx, r12
mov edx, 1
xor r8d, r8d
call fcn.1400dc030
mov qword [rbp - 0x58], rax
lea rdi, [rbp - 0xb8]
mov rsi, qword [rbp + 0x50]
mov ecx, 0xc
rep movsq qword [rdi], qword [rsi]
lea rcx, [rbp - 0xb8]
lea rdx, [rbp - 0x120]
call fcn.14016d700
mov rsi, qword [rbp + 0x58]
mov qword [rbp - 0x128], rsi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ebx, dword [rbp - 0x4c]
mov dword [rsp + 0x20], ebx
mov ebx, dword [rbp + 0x38]
mov dword [rsp + 0x28], ebx
mov rbx, qword [rbp + 0x40]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rbp - 0x58]
mov qword [rsp + 0x38], rbx
lea rcx, [rbp - 0x120]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rsi
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x138], rcx
mov rdx, qword [rbp - 0x48]
mov qword [rbp - 0x140], rdx
mov r8, r15
mov qword [rbp - 0x148], r8
mov r9, r13
mov qword [rbp - 0x150], r9
lea rcx, [rbp - 0x178]
call fcn.140002ff0
mov rcx, qword [rbp - 0x138]
mov rdx, qword [rbp - 0x140]
mov r8, qword [rbp - 0x148]
mov r9, qword [rbp - 0x150]
call sub.KERNEL32.dll_CreateProcessA
mov esi, eax
lea rcx, [rbp - 0x178]
call fcn.140003040
call fcn.140001f76
mov rdi, rax
mov qword [rbp - 0x130], rdi
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [rbp - 0x130]
mov dword [rcx + 0x88], eax
test esi, esi
setne sil
movzx esi, sil
cmp qword [rbp + 0x10], 0
je 0x14013bea7
mov r14, qword [rbp - 0x40]
test r14, 0xffffffffffff0000
je 0x14013bea7
mov rcx, r14
call fcn.140100c90
cmp qword [rbp + 0x18], 0
je 0x14013bec3
mov r15, qword [rbp - 0x48]
test r15, 0xffffffffffff0000
je 0x14013bec3
mov rcx, r15
call fcn.140100c90
cmp qword [rbp + 0x48], 0
je 0x14013bedb
test rbx, 0xffffffffffff0000
je 0x14013bedb
mov rcx, rbx
call fcn.140100c90
lea rcx, [rbp - 0x120]
call fcn.14016d580
movzx eax, sil
add rsp, 0x198
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14013ca60
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rcx
lea rcx, [0x1401bd918]
call fcn.140002b60
mov rsi, rax
mov dword [rsi + 0x20], 0x7fffffff
lea rcx, [0x1401f9450]
mov edx, 0x10
call fcn.140002c80
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.140002d70
xor edi, edi
mov ebp, dword [rbx + 8]
test ebp, ebp
jle 0x14013cac2
mov edx, edi
movzx edx, byte [rbx + rdx + 0x10]
xor edx, 0x63
movzx edx, dx
mov rcx, rsi
call fcn.1400bf900
inc edi
cmp ebp, edi
jg 0x14013caa7
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
jmp fcn.1400bf320

Function at 0x14013cfa0
Capabilities:
Set registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x58], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x18], rdx
mov rbx, rcx
mov esi, r8d
mov edi, r9d
mov r14, qword [rbp + 0x30]
mov rcx, rdx
mov edx, 1
xor r8d, r8d
call fcn.1400dc030
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], r14
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov qword [rsp + 0x20], r14
mov r14d, dword [rbp + 0x38]
mov dword [rsp + 0x28], r14d
mov rcx, rbx
mov qword [rbp - 0x60], rcx
mov rdx, qword [rbp - 0x40]
mov qword [rbp - 0x68], rdx
mov r8d, esi
mov dword [rbp - 0x4c], r8d
mov r9d, edi
mov dword [rbp - 0x50], r9d
lea rcx, [rbp - 0x90]
call fcn.140002ff0
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x68]
mov r8d, dword [rbp - 0x4c]
mov r9d, dword [rbp - 0x50]
call sub.ADVAPI32.dll_RegSetValueExA
mov ebx, eax
lea rcx, [rbp - 0x90]
call fcn.140003040
call fcn.140001f76
mov rsi, rax
mov qword [rbp - 0x58], rsi
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [rbp - 0x58]
mov dword [rcx + 0x88], eax
cmp qword [rbp + 0x18], 0
je 0x14013d08d
mov rdx, qword [rbp - 0x40]
test rdx, 0xffffffffffff0000
je 0x14013d08d
mov rcx, rdx
call fcn.140100c90
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140140a40
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rcx, [0x1401f93b8]
mov edx, 0x1f3
call fcn.140002c80
mov rbx, rax
lea rdx, str.m_SDE_YXk_e_QXWBCDS_v
lea rcx, [rbx + 0x10]
mov r8d, 0x1f3
call fcn.1400702d0
lea rcx, [0x1401bd918]
call fcn.140002b60
mov rsi, rax
mov dword [rsi + 0x20], 0x7fffffff
lea rcx, [0x1401f9450]
mov edx, 0x10
call fcn.140002c80
lea rcx, [rsi + 8]
mov rdx, rax
call fcn.140002d70
xor edi, edi
mov edx, edi
movzx edx, byte [rbx + rdx + 0x10]
xor edx, 0x36
movzx edx, dx
mov rcx, rsi
call fcn.1400bf900
inc edi
cmp edi, 0x1f3
jl 0x140140aa6
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.1400bf320
Function at 0x14017f220
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x38
cmp r8d, 8
jge 0x14017f2bd
xor eax, eax
cmp r8d, 4
jl 0x14017f271
add r8d, 0xfffffffc
movsx r10, word [rcx + rax*2]
movsx r9, dx
cmp r10d, r9d
je 0x14017f2b8
nop dword [rax]
movsx r10, word [rcx + rax*2 + 2]
cmp r10d, r9d
je 0x14017f2b1
movsx r10, word [rcx + rax*2 + 4]
cmp r10d, r9d
je 0x14017f2a9
movsx r10, word [rcx + rax*2 + 6]
cmp r10d, r9d
je 0x14017f2a1
add rax, 4
test r8d, r8d
jle 0x14017f49a
movsx r9, dx
nop
dec r8d
movsx rdx, word [rcx + rax*2]
cmp edx, r9d
je 0x14017f2b8
inc rax
test r8d, r8d
jg 0x14017f280
jmp 0x14017f49a
add eax, 3
jmp 0x14017f495
add eax, 2
jmp 0x14017f495
inc eax
jmp 0x14017f495
jmp 0x14017f495
movsx r9, dx
movd xmm0, r9d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov rax, rcx
lea edx, [r8 - 8]
movsxd rdx, edx
add rdx, rdx
lea r10, [rax + rdx]
movups xmm1, xmmword [rax]
pcmpeqw xmm1, xmm0
movaps xmmword [rsp + 0x20], xmm1
xorps xmm2, xmm2
pcmpeqw xmm1, xmm2
pmovmskb r9d, xmm1
cmp r9d, 0xffff
jne 0x14017f3d6
add rax, 0x10
cmp rax, r10
jbe 0x14017f2e0
mov eax, r8d
test al, 7
je 0x14017f49a
movups xmm1, xmmword [r10]
pcmpeqw xmm0, xmm1
movaps xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x14017f49a
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx ecx, word [rsp + 0xa]
shr ecx, 0xf
add ecx, ecx
or eax, ecx
movzx ecx, word [rsp + 0xc]
shr ecx, 0xf
shl ecx, 2
or ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0xe]
shr ecx, 0xf
shl ecx, 3
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov qword [rsp], rcx
movzx ecx, word [rsp]
shr ecx, 0xf
movzx r8d, word [rsp + 2]
shr r8d, 0xf
add r8d, r8d
or ecx, r8d
movzx r8d, word [rsp + 4]
shr r8d, 0xf
shl r8d, 2
or r8d, ecx
mov ecx, r8d
movzx r8d, word [rsp + 6]
shr r8d, 0xf
shl r8d, 3
or r8d, ecx
mov ecx, r8d
shl ecx, 4
or eax, ecx
jne 0x14017f48c
mov ecx, 0x20
jmp 0x14017f48f
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rdx
movzx edx, word [rsp + 0x18]
shr edx, 0xf
movzx r8d, word [rsp + 0x1a]
shr r8d, 0xf
add r8d, r8d
or edx, r8d
movzx r8d, word [rsp + 0x1c]
shr r8d, 0xf
shl r8d, 2
or r8d, edx
mov edx, r8d
movzx r8d, word [rsp + 0x1e]
shr r8d, 0xf
shl r8d, 3
or r8d, edx
mov edx, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x10], r8
movzx r8d, word [rsp + 0x10]
shr r8d, 0xf
movzx r10d, word [rsp + 0x12]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 0x14]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 0x16]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or edx, r8d
jne 0x14017f47d
mov r8d, 0x20
jmp 0x14017f481
bsf r8d, edx
sub rax, rcx
shr rax, 1
add eax, r8d
jmp 0x14017f495
bsf ecx, eax
shr rdx, 1
lea eax, [rdx + rcx]
add rsp, 0x38
ret
mov eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x140186380
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x48
movaps xmmword [rsp + 0x30], xmm6
cmp r9d, 8
jge 0x1401863d1
movzx r10d, dx
sub r8d, r10d
movzx eax, r8w
xor edx, edx
test r9d, r9d
jle 0x1401865fb
movsxd r8, edx
movzx r8d, word [rcx + r8*2]
sub r8d, r10d
movzx r8d, r8w
cmp r8d, eax
jle 0x1401863c5
inc edx
cmp edx, r9d
jl 0x1401863a5
jmp 0x1401865fb
mov eax, edx
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
movzx r10d, dx
movd xmm0, r10d
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
mov eax, r8d
sub eax, r10d
movzx eax, ax
movd xmm1, eax
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
mov rax, rcx
add r9d, 0xfffffff8
mov edx, r9d
add rdx, rdx
lea r8, [rax + rdx]
movups xmm2, xmmword [0x140268d60]
movaps xmm3, xmm1
psubw xmm3, xmm2
movups xmm4, xmmword [rax]
psubw xmm4, xmm0
movaps xmm5, xmm4
psubw xmm5, xmm2
movaps xmm6, xmm3
pcmpgtw xmm6, xmm5
pcmpeqw xmm4, xmm1
por xmm4, xmm6
movaps xmmword [rsp + 0x20], xmm4
xorps xmm5, xmm5
pcmpeqw xmm4, xmm5
pmovmskb r10d, xmm4
cmp r10d, 0xffff
jne 0x14018653b
add rax, 0x10
cmp rax, r8
jb 0x140186418
movups xmm4, xmmword [r8]
psubw xmm4, xmm0
movaps xmm0, xmm4
psubw xmm0, xmm2
pcmpgtw xmm3, xmm0
pcmpeqw xmm1, xmm4
por xmm1, xmm3
movaps xmmword [rsp + 0x20], xmm1
xorps xmm0, xmm0
pcmpeqw xmm0, xmm1
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x1401865fb
mov rax, qword [rsp + 0x20]
mov qword [rsp + 8], rax
movzx eax, word [rsp + 8]
shr eax, 0xf
movzx ecx, word [rsp + 0xa]
shr ecx, 0xf
add ecx, ecx
or eax, ecx
movzx ecx, word [rsp + 0xc]
shr ecx, 0xf
shl ecx, 2
or ecx, eax
mov eax, ecx
movzx ecx, word [rsp + 0xe]
shr ecx, 0xf
shl ecx, 3
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov qword [rsp], rcx
movzx ecx, word [rsp]
shr ecx, 0xf
movzx r8d, word [rsp + 2]
shr r8d, 0xf
add r8d, r8d
or ecx, r8d
movzx r8d, word [rsp + 4]
shr r8d, 0xf
shl r8d, 2
or r8d, ecx
mov ecx, r8d
movzx r8d, word [rsp + 6]
shr r8d, 0xf
shl r8d, 3
or r8d, ecx
mov ecx, r8d
shl ecx, 4
or eax, ecx
bsf ecx, eax
mov r8d, 0x20
test eax, eax
cmove ecx, r8d
mov eax, ecx
shr rdx, 1
add eax, edx
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
mov rdx, qword [rsp + 0x20]
mov qword [rsp + 0x18], rdx
movzx edx, word [rsp + 0x18]
shr edx, 0xf
movzx r8d, word [rsp + 0x1a]
shr r8d, 0xf
add r8d, r8d
or edx, r8d
movzx r8d, word [rsp + 0x1c]
shr r8d, 0xf
shl r8d, 2
or r8d, edx
mov edx, r8d
movzx r8d, word [rsp + 0x1e]
shr r8d, 0xf
shl r8d, 3
or r8d, edx
mov edx, r8d
mov r8, qword [rsp + 0x28]
mov qword [rsp + 0x10], r8
movzx r8d, word [rsp + 0x10]
shr r8d, 0xf
movzx r10d, word [rsp + 0x12]
shr r10d, 0xf
add r10d, r10d
or r8d, r10d
movzx r10d, word [rsp + 0x14]
shr r10d, 0xf
shl r10d, 2
or r10d, r8d
mov r8d, r10d
movzx r10d, word [rsp + 0x16]
shr r10d, 0xf
shl r10d, 3
or r10d, r8d
mov r8d, r10d
shl r8d, 4
or edx, r8d
bsf r8d, edx
mov r10d, 0x20
test edx, edx
cmove r8d, r10d
sub rax, rcx
shr rax, 1
add eax, r8d
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
mov eax, 0xffffffff
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x18003b1a0
Capabilities:
Terminate process

Disassembly:
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x20]
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x18057d540]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rcx, [0x1805f2053]
call fcn.1802647b0
mov eax, 0x7144
mov eax, eax
mov ecx, dword [0x1805a074c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x18003b1ff
call fcn.180264b30
mov eax, reloc.WS2_32.dll_recv
mov eax, eax
mov ecx, dword [0x1805a074c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov rcx, qword [rcx + rax + 8]
call fcn.18018b520
mov qword [rsp + 0x60], rax
mov eax, 0x7144
mov eax, eax
mov ecx, dword [0x1805a074c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x18003b24f
call fcn.180264b30
mov eax, reloc.WS2_32.dll_recv
mov eax, eax
mov ecx, dword [0x1805a074c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x68], rax
mov eax, 0x7144
mov eax, eax
mov ecx, dword [0x1805a074c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x18003b29a
call fcn.180264b30
mov eax, reloc.WS2_32.dll_recv
mov eax, eax
mov ecx, dword [0x1805a074c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x70], eax
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov edx, dword [rsp + 0x70]
lea rcx, str.Fatal_error__0x_08X__at_0x_p__0x_p_._nA_minidump_has_been_written._n
call fcn.1801c8f90
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.180035a70
nop
call fcn.1801e0100
call fcn.18003b170
lea rcx, [rsp + 0x28]
call fcn.180039b40
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.Project_BO4_ERROR
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0x7144
mov eax, eax
mov ecx, dword [0x1805a074c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x18003b336
call fcn.180264b30
mov eax, reloc.WS2_32.dll_recv
mov eax, eax
mov ecx, dword [0x1805a074c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x74], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x78], rax
mov edx, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
lea rcx, [rsp + 0x28]
call fcn.1800367a0
mov rcx, rsp
lea rdx, [0x18040a060]
call fcn.180264580
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1802649f0
add rsp, 0x90
pop rdi
ret
Function at 0x180071b00
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
lea rcx, [0x1805f2070]
call fcn.1802647b0
mov qword [rsp + 0x20], 0
jmp 0x180071b38
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x20], rax
jae 0x180071b84
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x40]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x40]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x180071b2b
mov rax, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x180075cf0
Capabilities:
Manipulate console buffer

Disassembly:
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x70]
mov rax, qword [0x18057d540]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, [0x1805f209f]
call fcn.1802647b0
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 0x16
rep stosb byte [rdi], al
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx eax, word [rsp + 0x70]
mov word [rsp + 0x2c], ax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rsp + 0x2c]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov rcx, rsp
lea rdx, [0x180417b10]
call fcn.180264580
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1802649f0
add rsp, 0x60
pop rdi
ret

Function at 0x1800778e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x30]
mov ecx, recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
lea rcx, [0x1805f2089]
call fcn.1802647b0
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1800781c0
nop
lea rax, [0x180077630]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
call fcn.18007bbd0
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call fcn.1802d21b0
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x180077987
lea rcx, [rsp + 0x38]
call fcn.18007c300
jmp 0x18007799e
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.180223700
nop
lea rcx, [rsp + 0x38]
call fcn.180078ed0
mov rcx, rsp
lea rdx, [0x180418800]
call fcn.180264580
add rsp, 0x60
pop rdi
ret
Function at 0x18007c120
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x20]
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [0x18057d540]
xor rax, rsp
mov qword [rsp + 0x88], rax
lea rcx, [0x1805f209f]
call fcn.1802647b0
call qword [sym.imp.KERNEL32.dll_AllocConsole]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_AttachConsole]
xor ecx, ecx
call fcn.180290e70
mov r9, rax
lea r8, [0x180418968]
lea rdx, [0x180418970]
lea rcx, [rsp + 0x28]
call fcn.180291af0
mov ecx, 1
call fcn.180290e70
mov r9, rax
lea r8, [0x180418978]
lea rdx, [0x180418970]
lea rcx, [rsp + 0x28]
call fcn.180291af0
mov ecx, 2
call fcn.180290e70
mov r9, rax
lea r8, [0x180418978]
lea rdx, [0x180418970]
lea rcx, [rsp + 0x28]
call fcn.180291af0
lea rcx, str.Project_Bo4:
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea r8, [0x180076b40]
lea rdx, [fcn.18007c4f0]
lea rcx, [0x1805970a8]
call fcn.1801c3290
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov edx, 5
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x180597148], rax
lea rdx, str.Console
lea rcx, [rsp + 0x38]
call fcn.180035a70
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x70]
call fcn.180077db0
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x80]
lea rcx, [0x180597138]
call fcn.180079040
lea rcx, [rsp + 0x70]
call fcn.180079000
nop
lea rcx, [rsp + 0x38]
call fcn.1800367a0
mov rcx, rsp
lea rdx, [0x180418380]
call fcn.180264580
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1802649f0
add rsp, 0x90
pop rdi
ret

Function at 0x1800856a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
lea rdi, [rsp + 0x30]
mov ecx, recv
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x70]
lea rcx, [0x1805f20d6]
call fcn.1802647b0
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.180089620
nop
lea rax, [0x1800854b0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x38]
call fcn.18009d2c0
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call fcn.1802d21b0
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x180085747
lea rcx, [rsp + 0x38]
call fcn.18009e4f0
jmp 0x18008575e
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.180223700
nop
lea rcx, [rsp + 0x38]
call fcn.18008e350
mov rcx, rsp
lea rdx, [0x18041cbb0]
call fcn.180264580
add rsp, 0x60
pop rdi
ret