joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001f090
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800c53c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x180118918]
mov edi, ecx
cmp byte [rbx + 0x4a65], 0
jne 0x18001f0f1
cmp byte [rbx + 0x4a66], 0
jne 0x18001f0f1
movsx r9d, word [rbx + 0x5b8a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.18000b390
test dil, 1
je 0x18001f21f
jmp 0x18001f17a
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1800b9048]
xor eax, eax
mulss xmm1, dword [0x1800b9038]
addss xmm0, dword [rbx + 0xe08]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f8]
mulss xmm0, dword [0x1800b8fac]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
movsx r9d, word [rbx + 0x5b8a]
call fcn.18000b390
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x18001f1d0
lea r11, [0x180076d70]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x18001f1b3
cmp byte [r8], r9b
jne 0x18001f1b3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18001f1a0
not ecx
call fcn.180013910
test rax, rax
je 0x18001f21f
cmp byte [rax + 0xb6], 0
je 0x18001f21f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5b8a]
movsx r9d, word [rbx + 0x5b8a]
call fcn.18000b390
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.180016470
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18006ff20
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1800259f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c70], 0
lea rbx, [rcx + 0x5c78]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180025a97
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x180025a4a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1800285f0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18000c050
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c70]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c80]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1801188ca]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x180025a9f
mov rcx, rbx
call fcn.18000c050
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180025f60
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x180118918]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x180025fc4
lea r10, [0x180076d70]
cmp r8b, 0x23
jne 0x180025fa7
cmp byte [rdx], r8b
jne 0x180025fa7
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x180025f94
mov eax, dword [r14 + 0x5be8]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x180026025
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x180025fea
cmp edi, eax
jl 0x180026004
mov r8d, 0x715
lea rdx, str.D:ProjectsScropts_QOL_v3ImGui_DirectX_11_Kiero_Hookimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x5bf0]
cmp dword [rax + rbp + 8], ebx
je 0x180026042
mov eax, dword [r14 + 0x5be8]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x180025fe1
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x18002604f
cmp edi, dword [r14 + 0x5be8]
jl 0x180026069
mov r8d, 0x715
lea rdx, str.D:ProjectsScropts_QOL_v3ImGui_DirectX_11_Kiero_Hookimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x5bf0]
lea rax, [rax + rcx*8]
jmp 0x180026027
Function at 0x180054a60
Capabilities:
Hash data with crc32

Disassembly:
test dword [rcx + 0x10], 0x100000
je 0x180054add
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180054ab6
lea r11, [0x180076d70]
cmp r9b, 0x23
jne 0x180054a99
cmp byte [r8], r9b
jne 0x180054a99
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180054a86
mov rcx, qword [0x180118918]
not eax
cmp dword [rcx + 0x3f40], eax
jne 0x180054acd
mov dword [rcx + 0x3f44], eax
cmp dword [rcx + 0x3f70], eax
jne 0x180054af0
mov byte [rcx + 0x3f74], 1
ret
mov rax, qword [0x180118918]
mov rcx, qword [rax + 0x3ee0]
jmp fcn.18000f060
ret
Function at 0x180066400
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1800c53c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp edx, 1
jne 0x18006648b
mov qword [rsp + 0x30], rbx
mov qword [0x1801188c0], rcx
call fcn.180007e40
call fcn.1800684f0
mov rax, qword [0x180118ad0]
lea r9, [rsp + 0x20]
mov edx, 8
mov rcx, qword [rax + 0xf4b6858]
lea r8d, [rdx + 0x38]
mov rbx, qword [rcx]
mov rax, qword [rbx + 0x40]
lea rcx, [rbx + 0x40]
mov qword [0x180118928], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rax, [0x180065fc0]
mov edx, 8
mov qword [rbx + 0x40], rax
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18006ff20
add rsp, 0x38
ret
Function at 0x1800693e0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x20]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov rax, qword [0x1800c53c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x20], 0
xor edx, edx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x180069632
mov dword [rsp + 0x38], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x180069627
mov dword [rsp + 0x20], 1
mov eax, dword [rsp + 0x38]
cmp rax, 0x10
jb 0x1800695b0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x44], eax
jne 0x1800695b0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x40], eax
je 0x1800695b0
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
jne 0x1800694f8
mov rax, qword [rsp + 0x90]
mov dword [rax + 8], 0x80
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 8]
shl rax, 2
mov r8, rax
xor edx, edx
mov rcx, qword [0x1801180e8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
jne 0x1800694f3
mov dword [rsp + 0x20], 0
jmp 0x1800695cf
jmp 0x18006957b
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x90]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0xc], ecx
jb 0x18006957b
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 8]
shl eax, 1
mov rcx, qword [rsp + 0x90]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 8]
shl rax, 2
mov r9, rax
mov rax, qword [rsp + 0x90]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1801180e8]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x18006956b
mov dword [rsp + 0x20], 0
jmp 0x1800695cf
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x68]
mov qword [rax], rcx
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x90]
mov rcx, qword [rcx]
mov edx, dword [rsp + 0x40]
mov dword [rcx + rax*4], edx
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0xc]
inc eax
mov rcx, qword [rsp + 0x90]
mov dword [rcx + 0xc], eax
mov dword [rsp + 0x38], 0x1c
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x180069461
cmp dword [rsp + 0x20], 0
je 0x1800695e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1800695e9
mov dword [rsp + 0x20], 0
cmp dword [rsp + 0x20], 0
jne 0x180069627
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
je 0x180069627
mov rax, qword [rsp + 0x90]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1801180e8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0x90]
mov qword [rax], 0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x20]
mov edi, eax
mov rcx, rsp
lea rdx, [0x180074c70]
call fcn.180070bf4
mov eax, edi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18006ff20
add rsp, 0x80
pop rdi
ret
Function at 0x180069670
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.1800693e0
test eax, eax
jne 0x1800696ca
mov dword [rsp + 0x20], 9
jmp 0x18006974c
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x18006974c
mov dword [rsp + 0x24], 0
jmp 0x1800696e9
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x24], eax
jae 0x18006974c
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18006974a
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.1800691c0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800696df
mov eax, dword [rsp + 0x20]
add rsp, 0x30
pop rdi
ret

Function at 0x180069760
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x1800697f0
mov dword [rsp + 0x20], 0
jmp 0x180069789
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x1800697d9
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800697d7
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18006977f
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1801180e8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x30
pop rdi
ret
Function at 0x180069800
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x80]
mov eax, dword [rsp + 0x80]
imul rax, rax, 0x38
mov rcx, qword [0x180118e00]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], 5
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x180069886
mov rax, qword [rsp + 0x50]
sub rax, 5
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800698af
mov eax, 0xa
jmp 0x1800699e9
cmp dword [rsp + 0x88], 0
je 0x18006991d
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x50]
add rax, 5
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x18006991b
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x60]
mov byte [rax + 1], 0xf9
jmp 0x180069969
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x18006994d
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x180069969
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180074cd0]
call fcn.180070bf4
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x18006aec0
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x10
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x18006af1a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x18006af1a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x18006af1a
xor eax, eax
jmp 0x18006af61
mov dword [rsp], 1
jmp 0x18006af2b
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x18006af5c
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x18006af5a
xor eax, eax
jmp 0x18006af61
jmp 0x18006af23
mov eax, 1
add rsp, 0x10
pop rdi
ret
Function at 0x18006c3d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.18006c5f0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18006c4d7
mov rax, qword [0x1800c5398]
cmp qword [rsp + 0x20], rax
jb 0x18006c434
mov rax, qword [0x1800c53a0]
cmp qword [rsp + 0x20], rax
ja 0x18006c434
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18006c3f6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18006c463
jmp 0x18006c4d7
cmp dword [rsp + 0x50], 0x10000
jne 0x18006c4ba
cmp qword [rsp + 0x48], 0x10000
jb 0x18006c4ba
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18006c4a8
mov rax, qword [rsp + 0x28]
jmp 0x18006c4d9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18006c4d2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.18006c5f0
mov qword [rsp + 0x20], rax
jmp 0x18006c3f6
xor eax, eax
add rsp, 0x68
ret

Function at 0x18006c4e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.18006c630
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18006c5e3
mov rax, qword [0x1800c5398]
cmp qword [rsp + 0x20], rax
jb 0x18006c53b
mov rax, qword [0x1800c53a0]
cmp qword [rsp + 0x20], rax
ja 0x18006c53b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18006c4fd
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18006c56a
jmp 0x18006c5e3
cmp dword [rsp + 0x50], 0x10000
jne 0x18006c5c1
cmp qword [rsp + 0x48], 0x10000
jb 0x18006c5c1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18006c5af
mov rax, qword [rsp + 0x28]
jmp 0x18006c5e5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18006c5de
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18006c630
mov qword [rsp + 0x20], rax
jmp 0x18006c4fd
xor eax, eax
add rsp, 0x68
ret
Function at 0x18006c680
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.18006cc10
mov qword [rsp + 0x28], 0
cmp qword [0x1801180f8], 0
jne 0x18006c6c8
cmp qword [0x1801180f0], 0
je 0x18006c6c8
mov rax, qword [0x1801180f0]
mov qword [0x1801180f8], rax
cmp qword [0x1801180f8], 0
je 0x18006c76e
mov rax, qword [0x1801180f8]
cmp qword [rax + 0x10], 0
je 0x18006c76e
mov rax, qword [0x1801180f8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18006c76e
mov rax, qword [0x1801180f8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18006c76e
mov rax, qword [0x1801180f8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x18006c734
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18006c73b
xor eax, eax
jmp 0x18006c8e9
mov rax, qword [0x1801180f8]
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 sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x18006c8e9
mov rax, qword [0x1801180f0]
mov qword [0x1801180f8], rax
jmp 0x18006c790
mov rax, qword [0x1801180f8]
mov rax, qword [rax + 8]
mov qword [0x1801180f8], rax
cmp qword [0x1801180f8], 0
je 0x18006c7dd
cmp qword [0x1801180f8], 0
je 0x18006c7db
mov rax, qword [0x1801180f8]
cmp qword [rax + 0x10], 0
je 0x18006c7db
mov rax, qword [0x1801180f8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18006c7db
mov rax, qword [0x1801180f8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18006c7db
jmp 0x18006c70c
jmp 0x18006c77e
mov rcx, qword [rsp + 0x60]
call fcn.18006ea90
and eax, 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.18006c8f0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18006c8e7
mov rax, qword [rsp + 0x48]
mov qword [0x1801180f8], rax
mov rax, qword [0x1801180f8]
mov dword [rax], 0x52727464
mov rax, qword [0x1801180f8]
mov qword [rax + 0x10], 0
mov rax, qword [0x1801180f8]
mov rcx, qword [0x1801180f0]
mov qword [rax + 8], rcx
mov rax, qword [0x1801180f8]
mov qword [0x1801180f0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1801180f8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x18006c898
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18006c8d2
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 0x18006c88e
mov rax, qword [0x1801180f8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18006c70c
xor eax, eax
add rsp, 0x58
ret
Function at 0x140a1e058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140a1e1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140a1e089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a1e06f
add dl, dl
jne 0x140a1e096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a1e0f6
xor eax, eax
add dl, dl
jne 0x140a1e0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a1e1ad
add dl, dl
jne 0x140a1e0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a1e0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a1e0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a1e0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140a1e0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140a1e07e
mov eax, 1
add dl, dl
jne 0x140a1e106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a1e113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a1e0fb
sub eax, ebx
mov ebx, 1
jne 0x140a1e14c
mov ecx, 1
add dl, dl
jne 0x140a1e12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a1e13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a1e123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a1e07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140a1e168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a1e175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a1e15d
cmp eax, 0x7d00
jae 0x140a1e19b
cmp eax, 0x500
jb 0x140a1e196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a1e07e
cmp eax, 0x7f
ja 0x140a1e19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a1e07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140a1e1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140a1e07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20