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

Disassembly:
push rsi
test cl, cl
jne 0x180008981
test edx, edx
jle 0x180008981
mov esi, dword [rsp + 0x30]
mov r11d, edx
lea rcx, [r11 - 1]
mov r10d, r11d
and r10d, 3
cmp rcx, 3
jae 0x180008925
xor ecx, ecx
jmp 0x18000895c
and r11d, 0xfffffffc
xor ecx, ecx
nop dword [rax + rax]
movsxd rdx, dword [r8 + rcx*4]
xor dword [r9 + rdx*4], esi
movsxd rdx, dword [r8 + rcx*4 + 4]
xor dword [r9 + rdx*4], esi
movsxd rdx, dword [r8 + rcx*4 + 8]
xor dword [r9 + rdx*4], esi
movsxd rdx, dword [r8 + rcx*4 + 0xc]
xor dword [r9 + rdx*4], esi
add rcx, 4
cmp r11, rcx
jne 0x180008930
test r10, r10
je 0x180008981
lea rcx, [r8 + rcx*4]
xor edx, edx
nop word [rax + rax]
movsxd rax, dword [rcx + rdx*4]
xor dword [r9 + rax*4], esi
add rdx, 1
cmp r10, rdx
jne 0x180008970
pop rsi
ret
Function at 0x180014610
Capabilities:
Encode data using xor

Disassembly:
push rsi
test cl, cl
jne 0x180014691
test edx, edx
jle 0x180014691
mov esi, dword [rsp + 0x30]
mov r11d, edx
lea rcx, [r11 - 1]
mov r10d, r11d
and r10d, 3
cmp rcx, 3
jae 0x180014635
xor ecx, ecx
jmp 0x18001466c
and r11d, 0xfffffffc
xor ecx, ecx
nop dword [rax + rax]
movsxd rdx, dword [r8 + rcx*4]
xor dword [r9 + rdx*4], esi
movsxd rdx, dword [r8 + rcx*4 + 4]
xor dword [r9 + rdx*4], esi
movsxd rdx, dword [r8 + rcx*4 + 8]
xor dword [r9 + rdx*4], esi
movsxd rdx, dword [r8 + rcx*4 + 0xc]
xor dword [r9 + rdx*4], esi
add rcx, 4
cmp r11, rcx
jne 0x180014640
test r10, r10
je 0x180014691
lea rcx, [r8 + rcx*4]
xor edx, edx
nop word [rax + rax]
movsxd rax, dword [rcx + rdx*4]
xor dword [r9 + rax*4], esi
add rdx, 1
cmp r10, rdx
jne 0x180014680
pop rsi
ret

Function at 0x180019340
Capabilities:
Encode data using xor

Disassembly:
push rsi
test cl, cl
jne 0x1800193c1
test edx, edx
jle 0x1800193c1
mov esi, dword [rsp + 0x30]
mov r11d, edx
lea rcx, [r11 - 1]
mov r10d, r11d
and r10d, 3
cmp rcx, 3
jae 0x180019365
xor ecx, ecx
jmp 0x18001939c
and r11d, 0xfffffffc
xor ecx, ecx
nop dword [rax + rax]
movsxd rdx, dword [r8 + rcx*4]
xor dword [r9 + rdx*4], esi
movsxd rdx, dword [r8 + rcx*4 + 4]
xor dword [r9 + rdx*4], esi
movsxd rdx, dword [r8 + rcx*4 + 8]
xor dword [r9 + rdx*4], esi
movsxd rdx, dword [r8 + rcx*4 + 0xc]
xor dword [r9 + rdx*4], esi
add rcx, 4
cmp r11, rcx
jne 0x180019370
test r10, r10
je 0x1800193c1
lea rcx, [r8 + rcx*4]
xor edx, edx
nop word [rax + rax]
movsxd rax, dword [rcx + rdx*4]
xor dword [r9 + rax*4], esi
add rdx, 1
cmp r10, rdx
jne 0x1800193b0
pop rsi
ret
Function at 0x180021630
Capabilities:
Encode data using xor

Disassembly:
push rsi
test cl, cl
jne 0x1800216b1
test edx, edx
jle 0x1800216b1
mov esi, dword [rsp + 0x30]
mov r11d, edx
lea rcx, [r11 - 1]
mov r10d, r11d
and r10d, 3
cmp rcx, 3
jae 0x180021655
xor ecx, ecx
jmp 0x18002168c
and r11d, 0xfffffffc
xor ecx, ecx
nop dword [rax + rax]
movsxd rdx, dword [r8 + rcx*4]
xor dword [r9 + rdx*4], esi
movsxd rdx, dword [r8 + rcx*4 + 4]
xor dword [r9 + rdx*4], esi
movsxd rdx, dword [r8 + rcx*4 + 8]
xor dword [r9 + rdx*4], esi
movsxd rdx, dword [r8 + rcx*4 + 0xc]
xor dword [r9 + rdx*4], esi
add rcx, 4
cmp r11, rcx
jne 0x180021660
test r10, r10
je 0x1800216b1
lea rcx, [r8 + rcx*4]
xor edx, edx
nop word [rax + rax]
movsxd rax, dword [rcx + rdx*4]
xor dword [r9 + rax*4], esi
add rdx, 1
cmp r10, rdx
jne 0x1800216a0
pop rsi
ret

Function at 0x180021c40
Capabilities:
Encode data using xor

Disassembly:
push rsi
test cl, cl
jne 0x180021cc1
test edx, edx
jle 0x180021cc1
mov esi, dword [rsp + 0x30]
mov r11d, edx
lea rcx, [r11 - 1]
mov r10d, r11d
and r10d, 3
cmp rcx, 3
jae 0x180021c65
xor ecx, ecx
jmp 0x180021c9c
and r11d, 0xfffffffc
xor ecx, ecx
nop dword [rax + rax]
movsxd rdx, dword [r8 + rcx*4]
xor dword [r9 + rdx*4], esi
movsxd rdx, dword [r8 + rcx*4 + 4]
xor dword [r9 + rdx*4], esi
movsxd rdx, dword [r8 + rcx*4 + 8]
xor dword [r9 + rdx*4], esi
movsxd rdx, dword [r8 + rcx*4 + 0xc]
xor dword [r9 + rdx*4], esi
add rcx, 4
cmp r11, rcx
jne 0x180021c70
test r10, r10
je 0x180021cc1
lea rcx, [r8 + rcx*4]
xor edx, edx
nop word [rax + rax]
movsxd rax, dword [rcx + rdx*4]
xor dword [r9 + rax*4], esi
add rdx, 1
cmp r10, rdx
jne 0x180021cb0
pop rsi
ret
Function at 0x180022fa0
Capabilities:
Check os version
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x58
mov rax, qword gs:[0x60]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x10], 0
je 0x180022fc8
mov rax, qword [rsp + 0x10]
cmp dword [rax + 0x118], 0xa
je 0x180022fcf
xor eax, eax
jmp 0x18002311e
mov rax, qword [rsp + 0x10]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
sub rax, 0x10
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x30]
mov qword [rsp], rax
cmp qword [rsp], 0
jne 0x180023003
xor eax, eax
jmp 0x18002311e
mov rax, qword [rsp]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x18]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180023022
xor eax, eax
jmp 0x18002311e
mov rax, qword [rsp + 0x18]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax], 0x4550
je 0x18002304e
xor eax, eax
jmp 0x18002311e
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0
jne 0x180023081
xor eax, eax
jmp 0x18002311e
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp]
mov qword [0x18004b380], rax
mov rax, qword [rsp + 0x18]
mov qword [0x18004b388], rax
mov rax, qword [rsp + 0x20]
mov qword [0x18004b390], rax
mov rax, qword [rsp + 8]
mov qword [0x18004b398], rax
mov rax, qword [rsp + 0x30]
mov qword [0x18004b3a0], rax
mov rax, qword [rsp + 0x38]
mov qword [0x18004b3a8], rax
mov rax, qword [rsp + 0x40]
mov qword [0x18004b3b0], rax
mov eax, 1
add rsp, 0x58
ret

Function at 0x1800237b1
Capabilities:
Execute syscall

Disassembly:
mov rax, rcx
mov r10, rax
mov eax, dword [0x1800482c0]
syscall
ret
Function at 0x18002a51c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18002a54c
xor eax, eax
jmp 0x18002a60f
mov rbp, rbx
cmp word [rax], si
je 0x18002a571
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18002a558
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18002a554
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18002a43c
movsxd r14, eax
test eax, eax
jne 0x18002a5af
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18002a545
mov rcx, r14
call fcn.18002b7ac
mov rdi, rax
test rax, rax
jne 0x18002a5c8
xor ecx, ecx
call fcn.180028a74
jmp 0x18002a5a4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18002a43c
test eax, eax
jne 0x18002a5f9
mov rcx, rdi
call fcn.180028a74
jmp 0x18002a603
xor ecx, ecx
call fcn.180028a74
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1800027a0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
cmp dword [0x180020a94], 0xa
jl 0x1800027d2
mov eax, dword [0x180020a98]
lea edx, [rax - 1]
imul edx, eax
and edx, 1
je 0x1800027d2
nop word cs:[rax + rax]
jmp 0x1800027d0
mov rax, qword gs:[0x60]
mov r11, qword [rax + 0x18]
add r11, 0x10
mov eax, dword [0x180020a80]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020a7c], 0xa
setl r8b
or r8b, al
mov eax, dword [0x180020a9c]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
cmp dword [0x180020aa0], 0xa
setl r9b
or r9b, al
lea r10, [rcx - 1]
xor eax, eax
mov r14, r11
mov r14, qword [r14]
cmp r14, r11
je 0x1800028a8
mov rsi, r10
test r8b, r8b
je 0x1800028c0
cmp byte [rsi + 1], 0
lea rsi, [rsi + 1]
jne 0x180002840
test r9b, r9b
je 0x1800028d0
sub rsi, rcx
je 0x1800028a4
mov r15, qword [r14 + 0x60]
xor ebx, ebx
nop
movzx r13d, word [r15 + rbx*2]
lea edi, [r13 - 0x41]
lea ebp, [r13 + 0x20]
cmp di, 0x1a
cmovae ebp, r13d
movsx edi, byte [rcx + rbx]
lea r12d, [rdi - 0x41]
lea edx, [rdi + 0x20]
cmp r12b, 0x1a
cmovae edx, edi
sub ebp, edx
test r13d, r13d
je 0x1800028a0
test ebp, ebp
jne 0x1800028a0
add rbx, 1
cmp rsi, rbx
jne 0x180002860
jmp 0x1800028a4
test ebp, ebp
jne 0x18000282c
mov rax, qword [r14 + 0x30]
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
jmp 0x1800028c0
jmp 0x1800028d0
Function at 0x140011235
Capabilities:
Terminate process

Disassembly:
jmp 0x140013940
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112c6
Capabilities:
Set registry value

Disassembly:
jmp 0x1400164f0
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x4a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x1d8], rax
lea rcx, [0x1400230f3]
call fcn.1400113d9
lea rdx, str.Hello_World__n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011087
lea rax, [rbp + 0x144]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x144]
call fcn.140011ca0
mov rcx, rax
call fcn.140011456
lea rcx, [rbp + 8]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rbp + 0x64], 0
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x64]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.jopa
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001b940]
call fcn.140011361
mov eax, edi
mov rcx, qword [rbp + 0x1d8]
xor rcx, rbp
call fcn.1400111f9
lea rsp, [rbp + 0x1e8]
pop rdi
pop rbp
ret

Function at 0x1400112d0
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014c90
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014cb0
xor al, al
jmp 0x140014d31
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014cc3
xor al, al
jmp 0x140014d31
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014ced
xor al, al
jmp 0x140014d31
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014d01
xor al, al
jmp 0x140014d31
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014d13
xor al, al
jmp 0x140014d31
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014d2f
xor al, al
jmp 0x140014d31
mov al, 1
add rsp, 0x38
ret
Function at 0x180076384
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x180159f00
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x1801b5a40]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1801ca746]
call fcn.1800780e4
mov rax, qword [rbp + 0x140]
mov rcx, qword [0x1801bcff8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
lea r9, [rbp + 0x44]
mov r8d, 0x40
mov edx, 1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
cmp eax, 1
jne 0x180159f97
mov rax, qword [rbp + 0x28]
mov byte [rax], 0
jmp 0x180159f9e
mov rax, qword [rbp + 0x28]
mov byte [rax], 1
lea r9, [rbp + 0x44]
mov r8d, dword [rbp + 0x44]
mov edx, 1
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, [rbp - 0x20]
lea rdx, [0x18019ee10]
call fcn.180077bad
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.180076faf
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x180077009
Capabilities:
Create thread

Disassembly:
jmp 0x180081030
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rcx, [0x1801ca746]
call fcn.1800780e4
mov eax, dword [rbp + 0x148]
mov dword [rbp + 0x114], eax
cmp dword [rbp + 0x114], 0
je 0x1800810ea
cmp dword [rbp + 0x114], 1
je 0x180081078
jmp 0x1800810ef
mov rcx, qword [rbp + 0x140]
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rbp + 0x140]
lea r8, [0x180077955]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rax, [rbp + 0xc8]
mov qword [rbp + 0x108], rax
lea rdx, str.Loaded
mov rcx, qword [rbp + 0x108]
call fcn.180076ed3
mov qword [rbp + 0x118], rax
mov rcx, qword [rbp + 0x118]
call fcn.18007603c
jmp 0x1800810ef
call fcn.1800763cf
mov eax, 1
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x180077234
Capabilities:
Terminate process

Disassembly:
jmp 0x180160ba0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x180077509
Capabilities:
Write file on windows

Disassembly:
jmp 0x180098f20
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1801ca071]
call fcn.1800780e4
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x180077621
Capabilities:
Read file on windows

Disassembly:
jmp 0x180098eb0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1801ca071]
call fcn.1800780e4
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x180077635
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1800994c0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x1801ca071]
call fcn.1800780e4
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x18016ca80]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x1800995f8
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x180099559
mov dword [rbp + 0x160], 1
jmp 0x180099563
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x1800995f3
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x64], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x1800995cd
cmp qword [rbp + 0x198], 2
jb 0x1800995cd
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1800995cd
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1800995cd
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x180099524
jmp 0x180099685
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x84], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x180099685
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x18009965c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18009965c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18009965c
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x1800995f8
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret
Function at 0x18007774d
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x18015ac70
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1801b5a40]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1801ca746]
call fcn.1800780e4
mov rax, qword [0x1801bcff8]
add rax, 0x185cd2f
mov qword [rbp + 8], rax
mov byte [rbp + 0x24], 0x74
mov byte [rbp + 0x25], 0xf
mov byte [rbp + 0x26], 0x83
mov byte [rbp + 0x27], 0xfa
mov byte [rbp + 0x28], 1
mov byte [rbp + 0x29], 0
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x18015ad66
mov rax, qword [0x1801bcff8]
add rax, 0x185cd40
mov rcx, qword [rbp + 8]
add rcx, 6
sub rax, rcx
mov dword [rbp + 0x64], eax
mov r8d, 6
lea rdx, [rbp + 0x24]
mov rcx, qword [rbp + 0x48]
call fcn.180076fb9
mov rax, qword [rbp + 0x48]
mov byte [rax], 0xf
mov rax, qword [rbp + 0x48]
mov byte [rax + 1], 0x83
mov rax, qword [rbp + 0x48]
mov ecx, dword [rbp + 0x64]
mov dword [rax + 2], ecx
mov r8d, 6
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 8]
call fcn.18007788d
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rcx, [rbp - 0x20]
lea rdx, [0x18019ead0]
call fcn.180077bad
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.180076faf
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x18007788d
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x18015aec0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x128]
mov rax, qword [0x1801b5a40]
xor rax, rbp
mov qword [rbp + 0xd8], rax
lea rcx, [0x1801ca746]
call fcn.1800780e4
mov eax, dword [rbp + 0x110]
lea r9, [rbp + 4]
mov r8d, 0x40
mov edx, eax
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [rbp + 0x110]
mov r8d, eax
mov rdx, qword [rbp + 0x108]
mov rcx, qword [rbp + 0x100]
call fcn.180076fb9
mov eax, dword [rbp + 0x110]
lea r9, [rbp + 4]
mov r8d, dword [rbp + 4]
mov edx, eax
mov rcx, qword [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rcx, [rbp - 0x20]
lea rdx, [0x18019ea50]
call fcn.180077bad
mov rcx, qword [rbp + 0xd8]
xor rcx, rbp
call fcn.180076faf
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x180077e87
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x1800993b0
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rcx, [0x1801ca071]
call fcn.1800780e4
mov eax, dword [rbp + 0x160]
not eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x150]
mov qword [rbp + 0x28], rax
lea rax, [0x18016ca80]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x158]
dec rax
mov qword [rbp + 0x158], rax
cmp qword [rbp + 0x118], 0
je 0x18009942f
mov dword [rbp + 0x120], 1
jmp 0x180099439
mov dword [rbp + 0x120], 0
cmp dword [rbp + 0x120], 0
je 0x180099473
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
mov rdx, qword [rbp + 0x28]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
jmp 0x1800993fa
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x180078206
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x18015a020
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x250
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x5c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x278]
mov rax, qword [0x1801b5a40]
xor rax, rbp
mov qword [rbp + 0x220], rax
lea rcx, [0x1801ca746]
call fcn.1800780e4
mov rax, qword [rbp + 0x250]
mov qword [rbp + 8], rax
mov edx, 0x20
lea rcx, [rbp + 0x28]
call fcn.18007637f
mov rax, qword [rbp + 0x258]
mov qword [rbp + 0x208], rax
lea rcx, [rbp + 0x184]
call fcn.1800768d4
mov qword [rbp + 0x218], rax
lea rcx, [rbp + 0x210]
mov r8, rcx
lea rdx, [rbp + 0x208]
lea rcx, [rbp + 0x1a8]
call fcn.180076ba9
lea rcx, [rbp + 0x1e0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rbp + 0x218]
mov r8, rax
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x28]
call fcn.180078161
nop
mov rax, qword [rbp + 8]
mov rcx, qword [0x1801bcff8]
add rcx, rax
mov rax, rcx
lea rdx, [rbp + 0x28]
mov rcx, rax
call fcn.18007819d
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x88], rax
lea r9, [rbp + 0xa4]
mov r8d, 0x40
mov edx, 4
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [rbp + 0x88]
mov ecx, dword [rbp + 0x260]
mov dword [rax], ecx
lea r9, [rbp + 0xa4]
mov r8d, dword [rbp + 0xa4]
mov edx, 4
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
lea rcx, [rbp + 0x28]
call fcn.180076fc3
lea rcx, [rbp - 0x20]
lea rdx, reloc.XINPUT1_3.dll_Ordinal_2
call fcn.180077bad
mov rcx, qword [rbp + 0x220]
xor rcx, rbp
call fcn.180076faf
lea rsp, [rbp + 0x230]
pop rdi
pop rsi
pop rbp
ret