joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18001b690
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
mov rbp, rcx
movzx r13d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r13, rax
movabs rcx, 0x100000001b3
imul r13, rcx
movzx eax, byte [r8 + 1]
xor r13, rax
imul r13, rcx
mov rcx, qword [rbp + 0x30]
and rcx, r13
add rcx, rcx
mov rax, qword [rbp + 0x18]
mov rbx, qword [rax + rcx*8 + 8]
lea rdx, [rbp + 8]
mov r15, qword [rdx]
cmp rbx, r15
jne 0x18001b6ff
mov rbx, r15
mov r14, r15
jmp 0x18001b747
mov rcx, qword [rax + rcx*8]
movzx eax, word [r8]
cmp ax, word [rbx + 0x10]
je 0x18001b71f
nop dword [rax]
cmp rbx, rcx
je 0x18001b741
mov rbx, qword [rbx + 8]
cmp ax, word [rbx + 0x10]
jne 0x18001b710
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r15, rbx
mov r14, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rbp + 0x10], rax
jne 0x18001b765
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.180064890
mov rdi, rax
mov qword [rsp + 0x28], rax
movzx eax, word [r12]
mov word [rdi + 0x10], ax
mov rdx, qword [rbp + 0x10]
add rdx, 1
xorps xmm0, xmm0
js 0x18001b7a2
cvtsi2ss xmm0, rdx
jmp 0x18001b7ba
mov rcx, rdx
shr rcx, 1
mov rax, rdx
and eax, 1
or rcx, rax
cvtsi2ss xmm0, rcx
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x18001b7cd
cvtsi2ss xmm1, rcx
jmp 0x18001b7e2
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
seta al
test al, al
je 0x18001b862
mov rcx, rbp
call fcn.18001b2b0
mov rdx, rax
mov rcx, rbp
call fcn.18001b110
mov rdx, qword [rbp + 0x30]
and rdx, r13
add rdx, rdx
mov rcx, qword [rbp + 0x18]
mov rax, qword [rcx + rdx*8 + 8]
mov rbx, qword [rbp + 8]
cmp rax, rbx
jne 0x18001b82b
mov qword [rsp + 0x28], 0
jmp 0x18001b855
mov rdx, qword [rcx + rdx*8]
movzx ecx, word [rdi + 0x10]
cmp cx, word [rax + 0x10]
je 0x18001b852
nop dword [rax]
mov rbx, rax
cmp rax, rdx
je 0x18001b896
mov rax, qword [rax + 8]
cmp cx, word [rax + 0x10]
jne 0x18001b840
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r14, rbx
mov r15, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], r15
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r13
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rbp + 8]
jne 0x18001b8a6
mov qword [rcx + rax*8], rdi
jmp 0x18001b8b8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
jmp 0x18001b85a
cmp r8, r14
jne 0x18001b8b1
mov qword [rcx + rax*8], rdi
jmp 0x18001b8bd
cmp qword [rcx + rax*8 + 8], rdx
jne 0x18001b8bd
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x18001b726
Function at 0x18002d560
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x1800aa040]
xor rax, rsp
mov qword [rsp + 0x40], rax
movaps xmm9, xmm1
movaps xmm6, xmm0
mov ecx, dword [0x1800ac470]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
lea rbx, [0x1800ae5f0]
mov eax, dword [rdx + rax]
cmp dword [0x1800af978], eax
jle 0x18002d627
lea rcx, [0x1800af978]
call fcn.180064818
cmp dword [0x1800af978], 0xffffffff
jne 0x18002d627
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [0x1800af974], 0xffffffff
mov dword [0x1800ae5f4], eax
mov r8d, 1
nop
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, r8d
mov dword [rbx + r8*4 + 4], eax
inc r8
cmp r8, 0x270
jb 0x18002d5f0
mov dword [0x1800ae5f0], 0x270
lea rcx, [0x1800af978]
call fcn.1800647ac
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x28], xmm1
mov qword [rsp + 0x38], rax
movss dword [rsp + 0x20], xmm6
mov rdx, qword [rsp + 0x30]
comiss xmm9, xmm6
jb 0x18002d6a8
movaps xmm0, xmm6
movaps xmm7, xmm6
movss xmm8, dword [0x18009a668]
cmp rdx, rax
je 0x18002d673
movss dword [rdx], xmm6
mov rdx, qword [rsp + 0x30]
add rdx, 4
mov qword [rsp + 0x30], rdx
movaps xmm6, xmm0
jmp 0x18002d68a
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.18002dc10
movaps xmm6, xmm7
mov rdx, qword [rsp + 0x30]
addss xmm6, xmm8
movss dword [rsp + 0x20], xmm6
movaps xmm0, xmm6
movaps xmm7, xmm6
comiss xmm9, xmm6
jb 0x18002d6a8
mov rax, qword [rsp + 0x38]
jmp 0x18002d657
mov r8, rbx
mov rcx, qword [rsp + 0x28]
call fcn.18002d970
mov rax, qword [rsp + 0x30]
add rax, 0xfffffffffffffffc
movss xmm6, dword [rax]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x18002d70a
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002d705
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002d705
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180064c44
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180064750
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm9, xmmword [rsp + 0x50]
add rsp, 0x90
pop rbx
ret
Function at 0x18002d740
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x1800aa040]
xor rax, rsp
mov qword [rsp + 0x40], rax
movaps xmm9, xmm1
movaps xmm6, xmm0
mov ecx, dword [0x1800ac470]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
lea rbx, [0x1800ad260]
mov eax, dword [rdx + rax]
cmp dword [0x1800ad250], eax
jle 0x18002d807
lea rcx, [0x1800ad250]
call fcn.180064818
cmp dword [0x1800ad250], 0xffffffff
jne 0x18002d807
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [0x1800ae5e4], 0xffffffff
mov dword [0x1800ad264], eax
mov r8d, 1
nop
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, r8d
mov dword [rbx + r8*4 + 4], eax
inc r8
cmp r8, 0x270
jb 0x18002d7d0
mov dword [0x1800ad260], 0x270
lea rcx, [0x1800ad250]
call fcn.1800647ac
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x28], xmm1
mov qword [rsp + 0x38], rax
movss dword [rsp + 0x20], xmm6
mov rdx, qword [rsp + 0x30]
comiss xmm9, xmm6
jb 0x18002d888
movaps xmm0, xmm6
movaps xmm7, xmm6
movss xmm8, dword [0x18009a680]
cmp rdx, rax
je 0x18002d853
movss dword [rdx], xmm6
mov rdx, qword [rsp + 0x30]
add rdx, 4
mov qword [rsp + 0x30], rdx
movaps xmm6, xmm0
jmp 0x18002d86a
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.18002dc10
movaps xmm6, xmm7
mov rdx, qword [rsp + 0x30]
addss xmm6, xmm8
movss dword [rsp + 0x20], xmm6
movaps xmm0, xmm6
movaps xmm7, xmm6
comiss xmm9, xmm6
jb 0x18002d888
mov rax, qword [rsp + 0x38]
jmp 0x18002d837
mov r8, rbx
mov rcx, qword [rsp + 0x28]
call fcn.18002d970
mov rax, qword [rsp + 0x30]
add rax, 0xfffffffffffffffc
movss xmm6, dword [rax]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x18002d8ea
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002d8e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18002d8e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180064c44
movaps xmm0, xmm6
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180064750
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm9, xmmword [rsp + 0x50]
add rsp, 0x90
pop rbx
ret
Function at 0x18002ddb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x18002de11
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x18002ddd0
mov ecx, dword [r9]
jmp 0x18002defb
cmp ecx, 0x4e0
jb 0x18002defb
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x18002de30
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x18002de80
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x180032360
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1800323bd
lea rbx, [0x180094b50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800323a4
cmp r10, 2
jb 0x1800323a4
cmp byte [r9], r8b
jne 0x1800323a4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180032380
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800323ff
lea rbx, [0x180094b50]
cmp r8b, 0x23
jne 0x1800323e3
cmp byte [r9], r8b
jne 0x1800323e3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1800323d0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180032540
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18003255a
mov qword [r8], 0
lea rdx, [0x18009a26c]
call fcn.180032410
mov rbx, rax
test rax, rax
jne 0x18003257a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180032651
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180032651
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180032651
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180032651
cmp rdi, 0xffffffffffffffff
je 0x180032651
mov rax, qword [0x1800ad0d8]
test rax, rax
je 0x1800325ee
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180032651
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18003263e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800ad0d8]
test rax, rax
je 0x180032633
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18003265a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18003264c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18003265c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1800347e0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x180094b50]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1800ad0d8]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ec4], ebx
jne 0x180034876
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.180045a80
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180039520
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180039570
lea r11, [0x180094b50]
nop dword [rax]
cmp r9b, 0x23
jne 0x180039553
cmp byte [r8], r9b
jne 0x180039553
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 0x180039540
mov rcx, qword [0x1800ad0d8]
not eax
movsxd rdx, dword [rcx + 0x3e70]
mov r9, qword [rcx + 0x3e78]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x1800395d1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x1800395c9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x1800395cc
mov rdx, r8
test rdx, rdx
jne 0x1800395a0
cmp r9, r10
je 0x1800395e0
cmp dword [r9], eax
jne 0x1800395e0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret

Function at 0x180044590
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 + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180044637
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1800445ea
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.180046b40
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1800329a0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1800ad058]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18004463f
mov rcx, rbx
call fcn.1800329a0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180044ac0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1800ad0d8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180044b23
mov qword [rsp], rbx
lea rbx, [0x180094b50]
nop dword [rax]
cmp r9b, 0x23
jne 0x180044b03
cmp byte [r8], r9b
jne 0x180044b03
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180044af0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5390]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180044b57
mov r10, qword [r10 + 0x5398]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x180044b5e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180044b44
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x180060ac0
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.180060d10
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180060bda
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180060b24
mov rax, qword [0x1800aa008]
cmp qword [rsp + 0x20], rax
ja 0x180060b24
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180060ae6
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 sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x180060b55
jmp 0x180060bda
cmp dword [rsp + 0x50], 0x10000
jne 0x180060bbd
cmp qword [rsp + 0x48], 0x10000
jb 0x180060bbd
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180060b9b
mov rax, qword [rsp + 0x28]
jmp 0x180060bdc
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180060bab
xor eax, eax
jmp 0x180060bdc
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180060bd5
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180060d10
mov qword [rsp + 0x20], rax
jmp 0x180060ae6
xor eax, eax
add rsp, 0x68
ret

Function at 0x180060bf0
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.180060d50
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180060d06
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180060c4b
mov rax, qword [0x1800aa008]
cmp qword [rsp + 0x20], rax
ja 0x180060c4b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180060c0d
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 sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x180060c7c
jmp 0x180060d06
cmp dword [rsp + 0x50], 0x10000
jne 0x180060ce4
cmp qword [rsp + 0x48], 0x10000
jb 0x180060ce4
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180060cc2
mov rax, qword [rsp + 0x28]
jmp 0x180060d08
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180060cd2
xor eax, eax
jmp 0x180060d08
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180060d01
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180060d50
mov qword [rsp + 0x20], rax
jmp 0x180060c0d
xor eax, eax
add rsp, 0x68
ret
Function at 0x180060da0
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.180061330
mov qword [rsp + 0x28], 0
cmp qword [0x1800abe58], 0
jne 0x180060de8
cmp qword [0x1800abe50], 0
je 0x180060de8
mov rax, qword [0x1800abe50]
mov qword [0x1800abe58], rax
cmp qword [0x1800abe58], 0
je 0x180060e8e
mov rax, qword [0x1800abe58]
cmp qword [rax + 0x10], 0
je 0x180060e8e
mov rax, qword [0x1800abe58]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180060e8e
mov rax, qword [0x1800abe58]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180060e8e
mov rax, qword [0x1800abe58]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180060e54
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x180060e5b
xor eax, eax
jmp 0x180061009
mov rax, qword [0x1800abe58]
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 0x180061009
mov rax, qword [0x1800abe50]
mov qword [0x1800abe58], rax
jmp 0x180060eb0
mov rax, qword [0x1800abe58]
mov rax, qword [rax + 8]
mov qword [0x1800abe58], rax
cmp qword [0x1800abe58], 0
je 0x180060efd
cmp qword [0x1800abe58], 0
je 0x180060efb
mov rax, qword [0x1800abe58]
cmp qword [rax + 0x10], 0
je 0x180060efb
mov rax, qword [0x1800abe58]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x180060efb
mov rax, qword [0x1800abe58]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x180060efb
jmp 0x180060e2c
jmp 0x180060e9e
mov rcx, qword [rsp + 0x60]
call fcn.180062f80
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.180061010
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180061007
mov rax, qword [rsp + 0x48]
mov qword [0x1800abe58], rax
mov rax, qword [0x1800abe58]
mov dword [rax], 0x52727464
mov rax, qword [0x1800abe58]
mov qword [rax + 0x10], 0
mov rax, qword [0x1800abe58]
mov rcx, qword [0x1800abe50]
mov qword [rax + 8], rcx
mov rax, qword [0x1800abe58]
mov qword [0x1800abe50], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1800abe58]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180060fb8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180060ff2
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 0x180060fae
mov rax, qword [0x1800abe58]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x180060e2c
xor eax, eax
add rsp, 0x58
ret
Function at 0x180061d20
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 sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x180061d67
xor al, al
jmp 0x180061e09
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 0x180061d91
xor al, al
jmp 0x180061e09
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 0x180061e01
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 0x180061e01
mov al, 1
jmp 0x180061e09
jmp 0x180061e07
xor al, al
add rsp, 0x78
ret

Function at 0x180062110
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1800abe50]
mov qword [rsp + 0x28], rax
jmp 0x180062130
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18006215f
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x18006215d
call sub.KERNEL32.dll_GetLastError
jmp 0x180062161
jmp 0x180062122
xor eax, eax
add rsp, 0x38
ret