joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800585b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1802c6040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
mov word [rcx], 1
lea rax, [0x180057a50]
mov qword [rcx + 8], rax
mov rcx, qword [0x1802c6fa8]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], 0
mov qword [rbx + 0x20], 0
mov dword [rbx + 0x28], 0x25ff
mov dword [rbx + 0x2c], 0x1010000
mov dword [rbx + 0x30], 0x1010101
mov word [rbx + 0x34], 0x101
call fcn.180058760
mov rcx, qword [rbx + 0x10]
mov edx, 0xe
mov byte [rbx + 1], al
call fcn.1800595e0
mov qword [rbx + 0x20], rax
mov rcx, rax
test rax, rax
jne 0x180058648
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Hook:_Failed_to_allocate_memory_n
call fcn.1800567c0
jmp 0x180058746
mov rax, qword [rbx + 8]
mov r8d, 0x3000
mov qword [rbx + 0x2e], rax
movsd xmm0, qword [rbx + 0x28]
movsd qword [rcx], xmm0
mov eax, dword [rbx + 0x30]
mov dword [rcx + 8], eax
movzx eax, word [rbx + 0x34]
mov word [rcx + 0xc], ax
xor ecx, ecx
movzx edx, byte [rbx + 1]
add rdx, 0xe
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x180058630
mov qword [0x1802c6fc0], rax
movzx r8d, byte [rbx + 1]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x48], rdi
call sub.VCRUNTIME140.dll_memcpy
movzx edx, byte [rbx + 1]
lea r9, [rsp + 0x20]
mov rcx, qword [rbx + 0x10]
add rcx, rdx
mov qword [rbx + 0x2e], rcx
mov rcx, qword [rbx + 0x18]
movsd xmm0, qword [rbx + 0x28]
movsd qword [rcx + rdx], xmm0
mov eax, dword [rbx + 0x30]
mov dword [rcx + rdx + 8], eax
movzx eax, word [rbx + 0x34]
mov word [rcx + rdx + 0xc], ax
mov edx, 5
mov edi, dword [rbx + 0x20]
sub edi, dword [rbx + 0x10]
mov rcx, qword [rbx + 0x10]
sub edi, 5
lea r8d, [rdx + 0x3b]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180058717
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Hook:_Failed_to_change_target_function_protection_n
call fcn.1800567c0
jmp 0x180058741
mov rax, qword [rbx + 0x10]
lea r9, [rsp + 0x20]
mov edx, 5
mov byte [rax], 0xe9
mov rax, qword [rbx + 0x10]
mov dword [rax + 1], edi
mov r8d, dword [rsp + 0x20]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [rbx], 0
mov rdi, qword [rsp + 0x48]
mov rax, rbx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18007b980
add rsp, 0x30
pop rbx
ret
Function at 0x180058eb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x1802c6040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rdx
mov qword [rcx + 8], rdx
mov rbx, rcx
mov byte [rcx], 1
mov qword [rcx + 0x10], 0
mov edx, 0x66
mov rcx, rdi
mov dword [rbp - 0x19], 0x41525150
mov dword [rbp - 0x15], 0x41514150
mov dword [rbp - 0x11], 0x55534152
mov dword [rbp - 0xd], 0x8948006a
mov dword [rbp - 9], 0xfa894ce9
mov dword [rbp - 5], 0x24048d4c
mov dword [rbp - 1], 0x48e58948
mov dword [rbp + 3], 0x48f0e483
mov dword [rbp + 7], 0xff20ec83
mov dword [rbp + 0xb], 0x2d15
mov dword [rbp + 0xf], 0xec894800
mov dword [rbp + 0x13], 0xf8834858
mov dword [rbp + 0x17], 0x5b415d00
mov dword [rbp + 0x1b], 0x59415a41
mov dword [rbp + 0x1f], 0x595a5841
mov word [rbp + 0x23], 0xf58
mov byte [rbp + 0x25], 0x84
mov dword [rbp + 0x2a], 0x6e0f4866
mov dword [rbp + 0x2e], 0x5d8b48c0
mov dword [rbp + 0x32], 0xec8948f8
mov dword [rbp + 0x36], 0x89485e5d
mov word [rbp + 0x3a], 0xffdc
mov byte [rbp + 0x3c], 0xe6
call fcn.1800595e0
mov qword [rbx + 0x10], rax
mov rcx, rax
test rax, rax
jne 0x180058fb4
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Failed_to_allocate_memory_for_i2i_hook_n
call fcn.1800567c0
jmp 0x18005906e
movaps xmm0, xmmword [rbp - 0x19]
lea r9, [rbp + 0x47]
movaps xmm1, xmmword [rbp - 9]
mov eax, edi
sub eax, ecx
mov edx, 0x66
sub eax, 0x43
mov dword [rbp + 0x26], eax
lea rax, [0x180058e00]
mov qword [rbp + 0x3d], rax
mov rax, qword [rdi]
lea r8d, [rdx - 0x46]
mov qword [rcx], rax
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbp + 0x3f]
movups xmmword [rcx + 8], xmm0
movaps xmm0, xmmword [rbp + 7]
movups xmmword [rcx + 0x18], xmm1
movaps xmm1, xmmword [rbp + 0x17]
movups xmmword [rcx + 0x28], xmm0
movaps xmm0, xmmword [rbp + 0x27]
movups xmmword [rcx + 0x38], xmm1
movsd xmm1, qword [rbp + 0x37]
movups xmmword [rcx + 0x48], xmm0
movsd qword [rcx + 0x58], xmm1
mov dword [rcx + 0x60], eax
movzx eax, word [rbp + 0x43]
mov word [rcx + 0x64], ax
mov rcx, qword [rbx + 0x10]
mov dword [rbp + 0x47], 0
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, 5
lea r9, [rbp + 0x47]
mov rcx, rdi
lea r8d, [rdx + 0x3b]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, dword [rbp + 0x47]
lea r9, [rbp + 0x47]
mov byte [rdi], 0xe9
mov edx, 5
mov eax, dword [rbx + 0x10]
mov rcx, rdi
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [rbx], 0
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.18007b980
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1800595e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
movsxd rbp, edx
mov ebx, 0x10000
nop
movsxd rdi, ebx
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rbp
lea rcx, [rdi + rsi]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18005964d
mov rcx, rsi
lea r9d, [rax + 0x40]
sub rcx, rdi
mov r8d, 0x3000
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x18005964d
add ebx, 0x10000
cmp ebx, 0x7fffffff
jl 0x180059600
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18005c070
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
mov rdi, rdx
lea r10, [0x1802c8950]
mov qword [rsp + 0x60], r10
mov r8, qword [0x1802c8960]
mov rdx, r10
cmp qword [0x1802c8968], 0xf
cmova rdx, qword [0x1802c8950]
movabs rbx, 0xcbf29ce484222325
mov r9, rbx
xor esi, esi
mov ecx, esi
movabs r14, 0x100000001b3
test r8, r8
je 0x18005c0e3
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, r14
inc rcx
cmp rcx, r8
jb 0x18005c0d0
mov r8, r10
lea rdx, [rsp + 0x28]
call fcn.18005dd20
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x18005c1a7
mov r8, qword [rdi + 0x10]
mov rcx, rdi
mov r9, qword [rdi + 0x18]
cmp r9, 0xf
jbe 0x18005c112
mov rcx, qword [rdi]
test r8, r8
je 0x18005c133
nop word [rax + rax]
movzx eax, byte [rsi + rcx]
xor rbx, rax
imul rbx, r14
inc rsi
cmp rsi, r8
jb 0x18005c120
mov rcx, qword [rdx + 0x60]
and rcx, rbx
add rcx, rcx
mov rax, qword [rdx + 0x48]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [rdx + 0x38]
je 0x18005c19a
mov rsi, qword [rax + rcx*8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x18005c162
mov rdx, qword [rdx]
mov rcx, rdi
cmp r9, 0xf
jbe 0x18005c16e
mov rcx, qword [rdi]
cmp r8, rax
jne 0x18005c18f
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18005c187
test rbx, rbx
je 0x18005c19a
mov rax, qword [rbx + 0x30]
jmp 0x18005c1b7
mov r8, qword [rdi + 0x10]
mov r9, qword [rdi + 0x18]
cmp rbx, rsi
je 0x18005c19a
mov rbx, qword [rbx + 8]
jmp 0x18005c150
lea rcx, str.invalid_unordered_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
lea rcx, str.invalid_unordered_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
nop
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x18005c1d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
mov r14, rdx
mov r8, rcx
mov r10, qword [rcx + 0x10]
mov rdx, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x18005c1fe
mov rdx, qword [rcx]
movabs rbx, 0xcbf29ce484222325
mov r9, rbx
xor edi, edi
mov ecx, edi
movabs rsi, 0x100000001b3
test r10, r10
je 0x18005c233
nop
movzx eax, byte [rcx + rdx]
xor r9, rax
imul r9, rsi
inc rcx
cmp rcx, r10
jb 0x18005c220
lea rdx, [rsp + 0x28]
call fcn.18005dd20
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x18005c2a4
lea r10, [rax + 0x70]
mov rdx, qword [r14 + 0x10]
mov rcx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x18005c25c
mov rcx, qword [r14]
test rdx, rdx
je 0x18005c274
movzx eax, byte [rdi + rcx]
xor rbx, rax
imul rbx, rsi
inc rdi
cmp rdi, rdx
jb 0x18005c261
mov r9, rbx
mov r8, r14
lea rdx, [rsp + 0x28]
mov rcx, r10
call fcn.18005e470
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x18005c297
mov rax, qword [rax + 0x30]
jmp 0x18005c2b4
lea rcx, str.invalid_unordered_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
lea rcx, str.invalid_unordered_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
nop
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x18005f710
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x18005f735
cvtsi2ss xmm0, rdx
jmp 0x18005f74a
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x1802ba81c]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x18005f778
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x18005f778
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x18005f7aa
cmp rbx, 0x200
jae 0x18005f7a7
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x18005f7aa
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18005d670
Function at 0x18006de10
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1802c6040]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor esi, esi
call fcn.180058810
mov rdi, qword [0x1802c74b8]
mov rbx, qword [0x1802c74b0]
cmp rbx, rdi
je 0x18006de62
nop dword [rax + rax]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x18]
add rbx, 8
cmp rbx, rdi
jne 0x18006de50
mov rcx, qword [0x1802c7088]
test rcx, rcx
je 0x18006dea3
call fcn.180059aa0
mov rdi, qword [rax + 0x10]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x18006dea3
nop
mov rcx, qword [0x1802c7088]
mov rax, qword [rcx]
mov r8, qword [rax + 0xb0]
mov rdx, qword [rbx + 0x30]
call r8
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
jne 0x18006de80
mov rcx, qword [0x1802c7078]
test rcx, rcx
je 0x18006debb
mov rax, qword [rcx]
mov rdx, qword [rax + 0x3f0]
call rdx
call fcn.180058480
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov rcx, qword [0x1802c7058]
test rcx, rcx
je 0x18006ded7
call fcn.18006dfb0
mov rcx, qword [0x1802c7048]
test rcx, rcx
je 0x18006dee8
call fcn.18006dfb0
cmp qword [0x1802c6fc8], rsi
je 0x18006defd
lea rcx, [0x1802c6fc8]
call fcn.18006e570
mov qword [0x1802c7088], rsi
mov ecx, 0x10
call fcn.18007bac0
mov rcx, qword [0x1802c70a8]
mov qword [rax], rcx
mov rcx, qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rax + 8], rcx
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x18006e460]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18006df9e
cmp dword [rsp + 0x38], 0
je 0x18006df92
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x18006df92
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18007b980
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], esi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x18006dfb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1802c6040]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx], 0
mov rbx, rcx
jne 0x18006e045
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x20], 0
cmp byte [rcx], 0xe9
jne 0x18006e021
movzx edx, byte [rbx + 1]
lea r9, [rsp + 0x20]
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18006e021
movzx r8d, byte [rbx + 1]
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
call sub.VCRUNTIME140.dll_memcpy
movzx edx, byte [rbx + 1]
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rbx + 0x20]
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rbx + 0x18]
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, 0x38
mov rcx, rbx
call fcn.18007bf44
mov rax, rbx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18007b980
add rsp, 0x30
pop rbx
ret
Function at 0x18006e0e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1802c6040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
mov word [rcx], 1
lea rax, [0x18006d710]
mov qword [rcx + 8], rax
mov rcx, qword [0x1802c7068]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], 0
mov qword [rbx + 0x20], 0
mov dword [rbx + 0x28], 0x25ff
mov dword [rbx + 0x2c], 0x1010000
mov dword [rbx + 0x30], 0x1010101
mov word [rbx + 0x34], 0x101
call fcn.180058760
mov rcx, qword [rbx + 0x10]
mov edx, 0xe
mov byte [rbx + 1], al
call fcn.1800595e0
mov qword [rbx + 0x20], rax
mov rcx, rax
test rax, rax
jne 0x18006e178
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Hook:_Failed_to_allocate_memory_n
call fcn.1800567c0
jmp 0x18006e276
mov rax, qword [rbx + 8]
mov r8d, 0x3000
mov qword [rbx + 0x2e], rax
movsd xmm0, qword [rbx + 0x28]
movsd qword [rcx], xmm0
mov eax, dword [rbx + 0x30]
mov dword [rcx + 8], eax
movzx eax, word [rbx + 0x34]
mov word [rcx + 0xc], ax
xor ecx, ecx
movzx edx, byte [rbx + 1]
add rdx, 0xe
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x18006e160
mov qword [0x1802c7060], rax
movzx r8d, byte [rbx + 1]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x48], rdi
call sub.VCRUNTIME140.dll_memcpy
movzx edx, byte [rbx + 1]
lea r9, [rsp + 0x20]
mov rcx, qword [rbx + 0x10]
add rcx, rdx
mov qword [rbx + 0x2e], rcx
mov rcx, qword [rbx + 0x18]
movsd xmm0, qword [rbx + 0x28]
movsd qword [rcx + rdx], xmm0
mov eax, dword [rbx + 0x30]
mov dword [rcx + rdx + 8], eax
movzx eax, word [rbx + 0x34]
mov word [rcx + rdx + 0xc], ax
mov edx, 5
mov edi, dword [rbx + 0x20]
sub edi, dword [rbx + 0x10]
mov rcx, qword [rbx + 0x10]
sub edi, 5
lea r8d, [rdx + 0x3b]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18006e247
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Hook:_Failed_to_change_target_function_protection_n
call fcn.1800567c0
jmp 0x18006e271
mov rax, qword [rbx + 0x10]
lea r9, [rsp + 0x20]
mov edx, 5
mov byte [rax], 0xe9
mov rax, qword [rbx + 0x10]
mov dword [rax + 1], edi
mov r8d, dword [rsp + 0x20]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [rbx], 0
mov rdi, qword [rsp + 0x48]
mov rax, rbx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18007b980
add rsp, 0x30
pop rbx
ret
Function at 0x18006e290
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1802c6040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
mov word [rcx], 1
lea rax, [0x18006d630]
mov qword [rcx + 8], rax
mov rcx, qword [0x1802c7040]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], 0
mov qword [rbx + 0x20], 0
mov dword [rbx + 0x28], 0x25ff
mov dword [rbx + 0x2c], 0x1010000
mov dword [rbx + 0x30], 0x1010101
mov word [rbx + 0x34], 0x101
call fcn.180058760
mov rcx, qword [rbx + 0x10]
mov edx, 0xe
mov byte [rbx + 1], al
call fcn.1800595e0
mov qword [rbx + 0x20], rax
mov rcx, rax
test rax, rax
jne 0x18006e328
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Hook:_Failed_to_allocate_memory_n
call fcn.1800567c0
jmp 0x18006e426
mov rax, qword [rbx + 8]
mov r8d, 0x3000
mov qword [rbx + 0x2e], rax
movsd xmm0, qword [rbx + 0x28]
movsd qword [rcx], xmm0
mov eax, dword [rbx + 0x30]
mov dword [rcx + 8], eax
movzx eax, word [rbx + 0x34]
mov word [rcx + 0xc], ax
xor ecx, ecx
movzx edx, byte [rbx + 1]
add rdx, 0xe
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbx + 0x18], rax
test rax, rax
je 0x18006e310
mov qword [0x1802c7050], rax
movzx r8d, byte [rbx + 1]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x48], rdi
call sub.VCRUNTIME140.dll_memcpy
movzx edx, byte [rbx + 1]
lea r9, [rsp + 0x20]
mov rcx, qword [rbx + 0x10]
add rcx, rdx
mov qword [rbx + 0x2e], rcx
mov rcx, qword [rbx + 0x18]
movsd xmm0, qword [rbx + 0x28]
movsd qword [rcx + rdx], xmm0
mov eax, dword [rbx + 0x30]
mov dword [rcx + rdx + 8], eax
movzx eax, word [rbx + 0x34]
mov word [rcx + rdx + 0xc], ax
mov edx, 5
mov edi, dword [rbx + 0x20]
sub edi, dword [rbx + 0x10]
mov rcx, qword [rbx + 0x10]
sub edi, 5
lea r8d, [rdx + 0x3b]
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18006e3f7
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Hook:_Failed_to_change_target_function_protection_n
call fcn.1800567c0
jmp 0x18006e421
mov rax, qword [rbx + 0x10]
lea r9, [rsp + 0x20]
mov edx, 5
mov byte [rax], 0xe9
mov rax, qword [rbx + 0x10]
mov dword [rax + 1], edi
mov r8d, dword [rsp + 0x20]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [rbx], 0
mov rdi, qword [rsp + 0x48]
mov rax, rbx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18007b980
add rsp, 0x30
pop rbx
ret
Function at 0x1800708d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx eax, byte [rdx]
mov rbx, r8
dec eax
mov r8, rdx
mov rdi, rcx
cmp eax, 0x20
ja case.0x1800709b9.4
lea rsi, [0x180000000]
nop dword [rax]
cdqe
movzx eax, byte [rsi + rax + 0x70b38]
mov ecx, dword [rsi + rax*4 + 0x70b0c]
add rcx, rsi
jmp rcx
mov rax, qword [rbx + 0xd0]
movzx r8d, byte [r8 + 1]
add rax, 0xffffffffffffffc4
lea r8, [rax + r8*2]
movzx eax, byte [r8]
dec eax
cmp eax, 0x20
jbe 0x180070900
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd rax, dword [rbx + 0xcc]
movzx edx, word [rsi + rax*2 + 0x83b90]
mov rcx, rdi
call fcn.18006f180
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x9c]
cmp al, 8
jae case.0x1800709b9.4
lea edx, [rax + 0x6d]
mov rcx, rdi
call fcn.18006f180
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [r8 + 1]
add eax, 0xfffffffe
cmp eax, 0x1a
ja case.0x1800709b9.4
cdqe
movzx eax, byte [rsi + rax + 0x70b68]
mov ecx, dword [rsi + rax*4 + 0x70b5c]
add rcx, rsi
jmp rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180071970
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180070b90
movzx eax, byte [rbx + 0xa2]
mov r9, rbx
mov rcx, rdi
mov rdx, qword [rbx + rax*8 + 0xa8]
inc al
mov byte [rbx + 0xa2], al
call fcn.18006f700
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx edx, byte [rbx + 0x34]
mov rcx, rdi
call fcn.18006f150
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rbx + 0x60]
cmp eax, 2
jne 0x180070a4e
lea edx, [rax + 0x35]
jmp 0x180070a60
cmp eax, 1
jne 0x180070a5b
lea edx, [rax + 0x1f]
lea eax, [rdx + 0x19]
jmp 0x180070a65
mov edx, 0x39
mov eax, 0x20
cmp byte [rbx + 0x37], 0
mov rcx, rdi
cmovne edx, eax
call fcn.18006f180
movsxd rax, dword [rbx + 8]
mov rcx, rdi
movzx edx, byte [rax + rsi + 0x83d50]
call fcn.18006f180
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rbx + 0x60]
cmp eax, 2
jne 0x180070aa7
lea edx, [rax + 0x31]
jmp 0x180070ab9
cmp eax, 1
jne 0x180070ab4
lea edx, [rax + 0x19]
lea eax, [rdx - 0xa]
jmp 0x180070abe
mov edx, 0x10
mov eax, 0x1a
cmp byte [rbx + 0x37], 0
mov rcx, rdi
cmovne edx, eax
call fcn.18006f180
mov rbx, qword [rsp + 0x30]
xor al, al
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd rax, dword [rbx + 0xb8]
jmp 0x18007094e
movzx edx, byte [rbx + 0xa0]
and edx, 7
add edx, 0x85
jmp 0x180070956
movsxd rax, dword [rbx + 0x98]
jmp 0x18007094e
Function at 0x140004014
Capabilities:
Encrypt data using rc4 prga
Hash data using jshash

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
cmp qword [rsp + 0x20], 0
jne 0x140004030
mov eax, 0xffffffff
jmp 0x1400040aa
mov dword [rsp + 4], 0x4e67c6a7
mov rax, qword [rsp + 0x20]
movsx ax, byte [rax]
mov word [rsp], ax
movzx eax, word [rsp]
cmp eax, 0x61
jl 0x14000405e
movzx eax, word [rsp]
sub eax, 0x20
mov word [rsp + 2], ax
jmp 0x140004067
movzx eax, word [rsp]
mov word [rsp + 2], ax
movzx eax, word [rsp + 2]
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
cmp dword [rsp + 8], 0
je 0x1400040a6
mov eax, dword [rsp + 4]
shl eax, 5
add eax, dword [rsp + 8]
mov ecx, dword [rsp + 4]
shr ecx, 2
add eax, ecx
mov ecx, dword [rsp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
jmp 0x140004038
mov eax, dword [rsp + 4]
add rsp, 0x18
ret
Function at 0x140008388
Capabilities:
Hash data using jshash

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov dword [rsp], 0x4e67c6a7
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
cmp dword [rsp + 4], 0
je 0x1400083d6
mov eax, dword [rsp]
shl eax, 5
add eax, dword [rsp + 4]
mov ecx, dword [rsp]
shr ecx, 2
add eax, ecx
mov ecx, dword [rsp]
xor ecx, eax
mov eax, ecx
mov dword [rsp], eax
jmp 0x140008398
mov eax, dword [rsp]
add rsp, 0x18
ret