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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
mov rbp, rcx
xor ebx, ebx
lea rcx, [rsp + 0x78]
call fcn.140017260
nop
lea rdx, str._recorder_
mov rcx, rax
call qword [0x1401436d0]
mov rdx, rax
lea rcx, [rsp + 0x60]
call qword [0x140143710]
nop
lea rcx, [rsp + 0x78]
call qword [0x140143720]
nop
mov rdx, rbp
lea rcx, [rsp + 0x60]
call qword [0x1401436f8]
mov rdx, rax
lea rcx, [rsp + 0x48]
call qword [0x140143710]
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call qword [0x140143668]
nop
lea rcx, [rsp + 0x48]
call qword [0x140143720]
nop
lea rcx, [rsp + 0x60]
call qword [0x140143720]
lea rcx, [rbp + 0x18]
call qword [0x140143440]
mov rdi, rax
lea rcx, [rbp + 0x18]
call qword [0x140143128]
lea r9d, [rbx - 1]
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x20]
call qword [0x140142dc8]
nop
lea rcx, [rsp + 0x20]
call qword [0x140143578]
cmp rax, 8
jl 0x140034b6c
lea esi, [rbx + 4]
nop word [rax + rax]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [0x140142e28]
movzx edi, byte [rax]
lea rdx, [rbx + 4]
lea rcx, [rsp + 0x20]
call qword [0x140142e28]
xor byte [rax], dil
inc rbx
sub rsi, 1
jne 0x140034b40
lea rcx, [rsp + 0x20]
call qword [0x140143448]
test al, al
jne 0x140034ba8
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.140007680
test al, al
je 0x140034ba8
mov rax, qword [rbp + 0x30]
mov rcx, qword [rax + 0x120]
mov rcx, qword [rcx + 0xf0]
call fcn.1400fcfb0
lea rcx, [rbp + 0x18]
call qword [0x140142ea0]
mov rcx, rbp
call qword [0x1401434d0]
nop
lea rcx, [rsp + 0x20]
call qword [0x140143740]
nop
lea rcx, [rsp + 0x38]
call qword [0x140143660]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400ff210
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1400ff7a0
mov qword [rsp + 0x28], 0
cmp qword [0x140244d20], 0
jne 0x1400ff258
cmp qword [0x140244d18], 0
je 0x1400ff258
mov rax, qword [0x140244d18]
mov qword [0x140244d20], rax
cmp qword [0x140244d20], 0
je 0x1400ff2fe
mov rax, qword [0x140244d20]
cmp qword [rax + 0x10], 0
je 0x1400ff2fe
mov rax, qword [0x140244d20]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1400ff2fe
mov rax, qword [0x140244d20]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1400ff2fe
mov rax, qword [0x140244d20]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1400ff2c4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1400ff2cb
xor eax, eax
jmp 0x1400ff475
mov rax, qword [0x140244d20]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.14012ecdc
mov rax, qword [rsp + 0x28]
jmp 0x1400ff475
mov rax, qword [0x140244d18]
mov qword [0x140244d20], rax
jmp 0x1400ff320
mov rax, qword [0x140244d20]
mov rax, qword [rax + 8]
mov qword [0x140244d20], rax
cmp qword [0x140244d20], 0
je 0x1400ff36d
cmp qword [0x140244d20], 0
je 0x1400ff36b
mov rax, qword [0x140244d20]
cmp qword [rax + 0x10], 0
je 0x1400ff36b
mov rax, qword [0x140244d20]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1400ff36b
mov rax, qword [0x140244d20]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1400ff36b
jmp 0x1400ff29c
jmp 0x1400ff30e
mov rax, qword [rsp + 0x60]
and rax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1400ff480
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400ff473
mov rax, qword [rsp + 0x48]
mov qword [0x140244d20], rax
mov rax, qword [0x140244d20]
mov dword [rax], 0x52727464
mov rax, qword [0x140244d20]
mov qword [rax + 0x10], 0
mov rax, qword [0x140244d20]
mov rcx, qword [0x140244d18]
mov qword [rax + 8], rcx
mov rax, qword [0x140244d20]
mov qword [0x140244d18], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x140244d20]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x1400ff424
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1400ff45e
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x1400ff41a
mov rax, qword [0x140244d20]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1400ff29c
xor eax, eax
add rsp, 0x58
ret
Function at 0x140100190
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call fcn.14012ec94
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1401001d7
xor al, al
jmp 0x140100279
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x140100201
xor al, al
jmp 0x140100279
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x140100271
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x140100271
mov al, 1
jmp 0x140100279
jmp 0x140100277
xor al, al
add rsp, 0x78
ret

Function at 0x14012e9f0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x140142150]
test rax, rax
je 0x14012ea3a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14012ea3a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14012ea3a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14012ea3a
cmp dword [rcx + 0x84], 0xe
jbe 0x14012ea3a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14012ea3c
xor al, al
add rsp, 0x28
ret
Function at 0x1800027a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x1800027fa
mov r11b, 0x23
lea rdi, [0x180047ae0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x1800027e4
cmp rdx, 2
jb 0x1800027e4
cmp byte [r10], r11b
jne 0x1800027e4
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x1800027c2
jmp 0x18000283b
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x18000283b
mov r11b, 0x23
lea rdi, [0x180047ae0]
cmp dl, r11b
jne 0x18000281f
cmp byte [r10], r11b
jne 0x18000281f
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x18000280d
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x180005750
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
mov r9, rcx
mov rax, qword [rcx + 0xf8]
mov r10d, 8
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x180047ae0]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18000577d
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x1228], ebx
jne 0x1800057b8
mov r8, rdx
mov ecx, ebx
lea edx, [r10 + 0xc]
call fcn.180016254
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1800057c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
mov r11d, 4
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x180047ae0]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x1800057ef
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x1228], ebx
jne 0x180005829
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.180016254
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180005834
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm2, dword [rcx + 0x110]
lea r9, [rsp]
movss xmm3, dword [rcx + 0x114]
mov r10d, 0x10
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0xf8]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xf0]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x180047ae0]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x1800058a2
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x1800254c4
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, qword [0x180052720]
mov ecx, 0x11
add rbx, 8
movaps xmmword [rsp + 0x20], xmm6
call qword [sym.imp.USER32.dll_GetKeyState]
movss xmm6, dword [0x18004d9b8]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0xab1], 0
je 0x180025517
test al, al
je 0x180025504
movaps xmm3, xmm6
jmp 0x180025507
xorps xmm3, xmm3
mov r8b, al
mov edx, 0x1000
mov rcx, rbx
call fcn.180002210
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0xab1], 0
je 0x18002554c
test al, al
je 0x180025539
movaps xmm3, xmm6
jmp 0x18002553c
xorps xmm3, xmm3
mov r8b, al
mov edx, 0x2000
mov rcx, rbx
call fcn.180002210
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0xab1], 0
je 0x180025581
test al, al
je 0x18002556e
movaps xmm3, xmm6
jmp 0x180025571
xorps xmm3, xmm3
mov r8b, al
mov edx, 0x4000
mov rcx, rbx
call fcn.180002210
mov ecx, 0x5d
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
cmp byte [rbx + 0xab1], 0
je 0x1800255b4
test al, al
jne 0x1800255a1
xorps xmm6, xmm6
movaps xmm3, xmm6
mov r8b, al
mov edx, 0x8000
mov rcx, rbx
call fcn.180002210
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rbx
ret
Function at 0x18003d2d4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rcx, str.nvngx_dlssg
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x18003d315
xor r9d, r9d
lea r8, str.Mini_Mod_Menu_Error
lea rdx, str.Mini_Mod_Menu_is_currently_not_compatible_with_mods_that_load_ngngx_dlssg.dll_which_is_used_for_the_optional_DLSS3_frame_generation_feature_of_some_mods_in_the_future_compatibility_will_improve_but_for_now_you_will_need_to_remove_ngngx_dlssg.dll_in_the_nv_streamline_folder._NOTE:_ngngx_dlss.dll__without_the_g__IS_COMPATIBLE_with_Mini_Mod_Menu_and_will_continue_to_be_compatible_going_forward._Press_OK_to_exit_starfield
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rax, qword [0x180052558]
lea rdx, [0x18003d22c]
mov rcx, qword [sym.imp.dxgi.dll_CreateDXGIFactory2]
call qword [rax]
mov rcx, qword [sym.imp.d3d12.dll_Ordinal_101]
lea rdx, [0x18003d280]
mov qword [0x180092838], rax
mov rax, qword [0x180052558]
call qword [rax]
mov ecx, dword [0x1800526e8]
mov qword [0x180092840], rax
mov rax, qword gs:[0x58]
mov edi, 4
mov rbx, qword [rax + rcx*8]
mov eax, dword [rbx + rdi]
cmp dword [0x1800939a0], eax
jle 0x18003d3a3
lea rcx, [0x1800939a0]
call fcn.180043178
cmp dword [0x1800939a0], 0xffffffff
jne 0x18003d3a3
mov rax, qword [sym.imp.USER32.dll_GetRawInputData]
lea rcx, [0x1800939a0]
mov qword [0x1800939b0], rax
call fcn.180043118
mov eax, dword [rbx + rdi]
cmp dword [0x1800939e8], eax
jle 0x18003d3dd
lea rcx, [0x1800939e8]
call fcn.180043178
cmp dword [0x1800939e8], 0xffffffff
jne 0x18003d3dd
lea rax, [0x18003d498]
lea rcx, [0x1800939e8]
mov qword [0x1800939a8], rax
call fcn.180043118
mov rax, qword [0x180052558]
mov rdx, qword [0x1800939a8]
mov rcx, qword [sym.imp.USER32.dll_GetRawInputData]
call qword [rax]
mov qword [0x1800939b0], rax
mov eax, dword [rbx + rdi]
cmp dword [0x1800939b8], eax
jle 0x18003d435
lea rcx, [0x1800939b8]
call fcn.180043178
cmp dword [0x1800939b8], 0xffffffff
jne 0x18003d435
mov rax, qword [sym.imp.USER32.dll_ClipCursor]
lea rcx, [0x1800939b8]
mov qword [0x1800939e0], rax
call fcn.180043118
mov eax, dword [rbx + rdi]
cmp dword [0x1800939c8], eax
jle 0x18003d46f
lea rcx, [0x1800939c8]
call fcn.180043178
cmp dword [0x1800939c8], 0xffffffff
jne 0x18003d46f
lea rax, [0x18003d4cc]
lea rcx, [0x1800939c8]
mov qword [0x1800939c0], rax
call fcn.180043118
mov rax, qword [0x180052558]
mov rdx, qword [0x1800939c0]
mov rcx, qword [sym.imp.USER32.dll_ClipCursor]
call qword [rax]
mov rbx, qword [rsp + 0x30]
mov qword [0x1800939e0], rax
add rsp, 0x20
pop rdi
ret
Function at 0x180040dfc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x180040e41
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbp, qword [0x180092888]
lea rax, [rdx - 1]
or rax, 1
mov ebx, 1
bsr rcx, rax
mov r8, rbp
inc ecx
shl rbx, cl
lea rcx, [0x180092898]
lea rdx, [rbx + rbx]
call fcn.180040894
lea r8, [rbx - 1]
mov qword [0x1800928b8], rbx
mov rbx, qword [0x180092888]
mov qword [0x1800928b0], r8
mov rbx, qword [rbx]
mov rdi, rbx
cmp rbx, rbp
je 0x180040ff5
mov rdi, qword [rdi]
lea r15, [rbx + 0x10]
cmp qword [r15 + 0x18], 0x10
mov rdx, r15
jb 0x180040ead
mov rdx, qword [r15]
mov r13, qword [r15 + 0x10]
xor ecx, ecx
movabs r14, 0xcbf29ce484222325
test r13, r13
je 0x180040edf
movzx eax, byte [rcx + rdx]
movabs r9, 0x100000001b3
xor r14, rax
inc rcx
imul r14, r9
cmp rcx, r13
jb 0x180040ec2
mov r12, qword [0x180092898]
and r14, r8
add r14, r14
cmp qword [r12 + r14*8], rbp
jne 0x180040f00
mov qword [r12 + r14*8], rbx
mov qword [r12 + r14*8 + 8], rbx
jmp 0x180040fe1
mov rsi, qword [r12 + r14*8 + 8]
cmp qword [rsi + 0x28], 0x10
lea rdx, [rsi + 0x10]
jb 0x180040f14
mov rdx, qword [rsi + 0x10]
cmp qword [r15 + 0x18], 0x10
mov rcx, r15
jb 0x180040f21
mov rcx, qword [r15]
cmp r13, qword [rsi + 0x20]
jne 0x180040f5e
mov r8, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180040f5e
mov r8, qword [rsi]
cmp r8, rbx
je 0x180040ef6
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x180040ef6
cmp qword [r12 + r14*8], rsi
je 0x180040fbc
mov rsi, qword [rsi + 8]
cmp qword [rsi + 0x28], 0x10
lea rdx, [rsi + 0x10]
jb 0x180040f77
mov rdx, qword [rsi + 0x10]
cmp qword [r15 + 0x18], 0x10
mov rcx, r15
jb 0x180040f84
mov rcx, qword [r15]
cmp r13, qword [rsi + 0x20]
jne 0x180040f5e
mov r8, r13
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180040f5e
mov r8, qword [rsi]
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rbx
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x180040fe1
mov rdx, qword [rbx + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rsi
mov rax, qword [rsi + 8]
mov qword [rax], rbx
mov qword [rsi + 8], rcx
mov qword [rdi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r12 + r14*8], rbx
mov rbx, rdi
cmp rdi, rbp
je 0x180040ff5
mov r8, qword [0x1800928b0]
jmp 0x180040e99
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x180041cc8
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x180093a10]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x180041cfe
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x40]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180041d34
mov eax, 0xa
jmp 0x180041dc0
test esi, esi
je 0x180041d56
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180041d77
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180041d77
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180041d71
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180041d77
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
mov al, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1800422e4
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x180042348
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x180042336
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18004232f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x180042303
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x180052648]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800423e4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x18004242e
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x180093a08]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
test rbx, rbx
je 0x18004246c
cmp rbx, r14
jb 0x180042467
cmp rbx, r12
jae 0x180042467
cmp qword [rbx + 8], rsi
jne 0x1800425c3
mov rbx, qword [rbx]
jmp 0x18004244e
mov r15, rdi
cmp rdi, r14
jb 0x1800424f0
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
sub r15, r13
cmp r15, r14
jb 0x1800424e7
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800424e7
cmp dword [rbp - 0x10], 0x10000
je 0x1800424b7
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x1800424e7
jmp 0x180042483
test r15, r15
je 0x1800424e7
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180042588
cmp r15, r14
jae 0x180042474
test rbx, rbx
jne 0x180042588
cmp rdi, r12
ja 0x1800425c3
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x1800425c3
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800425c3
cmp dword [rbp - 0x10], 0x10000
je 0x18004255e
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jmp 0x180042517
test rdi, rdi
je 0x1800425c3
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jmp 0x1800424ea
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x180042594
mov rax, qword [0x180093a08]
mov qword [rbx], rax
mov qword [0x180093a08], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x18004295c
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x180042973
cmp r8b, 0x90
je 0x180042973
cmp r8b, 0xcc
jne 0x180042995
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x180042991
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x180042995
add edx, r10d
cmp edx, r9d
jb 0x180042981
mov eax, r10d
ret
xor eax, eax
ret