joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800079e0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800833c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180007ab3
cmp byte [rcx + 0x71], 0
je 0x180007ab3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180007aaf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x180007a74
sub eax, 1
je 0x180007a78
cmp eax, 2
jne 0x180007aaf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180066bb0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180007aa6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x180007aaf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180007a5c
xor al, al
jmp 0x180007a5c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180066bb0
add rsp, 0x60
pop rbx
ret

Function at 0x18001d150
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
call fcn.18001d330
call fcn.18001d250
add rsp, 0x28
jmp fcn.18001d170
Function at 0x18001da40
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
cmp edx, 1
jne 0x18001da85
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor ebx, ebx
lea r8, [0x180008930]
mov qword [rsp + 0x28], rbx
mov r9, rdi
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
test edx, edx
jne 0x18001dbfc
cmp byte [0x1800a96d0], dl
je 0x18001dbef
xor ebx, ebx
mov qword [rsp + 0x40], rsi
cmp dword [0x1800a9708], ebx
je 0x18001dac9
xor ecx, ecx
call fcn.1800633e0
mov rcx, qword [0x1800a9c98]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [0x1800a9c98], rbx
mov dword [0x1800a9708], ebx
mov rsi, qword [0x1800a96e8]
test rsi, rsi
je 0x18001dade
mov rdi, qword [rsi + 0xa0]
jmp 0x18001dae1
mov rdi, rbx
call fcn.18004c150
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x18001daf5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x18001db03
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x18001db12
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x1800a96e8]
mov qword [rsi + 0x90], rbx
mov qword [rsi + 0xa0], rbx
test rax, rax
je 0x18001db32
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1800a96e8]
test rax, rax
je 0x18001db50
mov rdi, qword [rax + 0x98]
jmp 0x18001db53
mov rdi, rbx
mov rcx, qword [rdi + 0x30]
lea rsi, [rax + 8]
test rcx, rcx
je 0x18001db6d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1800a96e8]
mov qword [rsi + 0x80], rbx
mov qword [rsi + 0x90], rbx
mov rsi, qword [rsp + 0x40]
test rax, rax
je 0x18001db8b
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, qword [0x1800a96e8]
mov qword [0x1800a96e8], rdi
call fcn.1800253b0
mov qword [0x1800a96e8], rbx
test rdi, rdi
je 0x18001dbd6
mov rcx, rdi
call fcn.18003abb0
mov rax, qword [0x1800a96e8]
test rax, rax
je 0x18001dbcd
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x1800a96c8]
mov edx, 0xfffffffc
mov rcx, qword [0x1800a96c0]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [0x1800a96b0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x180022550
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 0x1800225ad
lea rbx, [0x1800709c0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180022594
cmp r10, 2
jb 0x180022594
cmp byte [r9], r8b
jne 0x180022594
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 0x180022570
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800225ef
lea rbx, [0x1800709c0]
cmp r8b, 0x23
jne 0x1800225d3
cmp byte [r9], r8b
jne 0x1800225d3
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 0x1800225c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180022730
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18002274a
mov qword [r8], 0
lea rdx, [0x180070540]
call fcn.180022600
mov rbx, rax
test rax, rax
jne 0x18002276a
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 0x180022841
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 0x180022841
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180022841
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 0x180022841
cmp rdi, 0xffffffffffffffff
je 0x180022841
mov rax, qword [0x1800a96e8]
test rax, rax
je 0x1800227de
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 0x180022841
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 0x18002282e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800a96e8]
test rax, rax
je 0x180022823
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18002284a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18002283c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18002284c
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 0x180026340
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x1800709c0]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x1800263d6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.1800395c0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1800263e0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x1800709c0]
movss xmm2, dword [rcx + 0x110]
movss xmm3, dword [rcx + 0x114]
movsxd rcx, dword [rcx + 0xf0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x180029ef0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180029f40
lea r11, [0x1800709c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180029f23
cmp byte [r8], r9b
jne 0x180029f23
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 0x180029f10
mov rcx, qword [0x1800a96e8]
not eax
movsxd rdx, dword [rcx + 0x3eb0]
mov r9, qword [rcx + 0x3eb8]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180029fa1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180029f99
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x180029f9c
mov rdx, r8
test rdx, rdx
jne 0x180029f70
cmp r9, r10
je 0x180029fb0
cmp dword [r9], eax
jne 0x180029fb0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x180037cc0
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 + 0x5c60], 0
lea rbx, [rcx + 0x5c68]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180037d67
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x180037d1a
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.18003a720
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180022c70
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c60]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c70]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1800a96d1]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x180037d6f
mov rcx, rbx
call fcn.180022c70
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1800381f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1800a96e8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180038253
mov qword [rsp], rbx
lea rbx, [0x1800709c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x180038233
cmp byte [r8], r9b
jne 0x180038233
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 0x180038220
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bd8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180038287
mov r10, qword [r10 + 0x5be0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18003828e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180038274
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 0x18005b8a0
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x18005b92c
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18005b900
lea r11, [0x1800709c0]
nop
cmp r9b, 0x23
jne 0x18005b8e3
cmp byte [r8], r9b
jne 0x18005b8e3
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 0x18005b8d0
mov rcx, qword [0x1800a96e8]
not eax
cmp dword [rcx + 0x3f30], eax
jne 0x18005b917
mov dword [rcx + 0x3f34], eax
cmp dword [rcx + 0x3f60], eax
jne 0x18005b989
mov byte [rcx + 0x3f64], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x1800a96e8]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x3ed0]
movsxd rax, dword [rbx + 0xf0]
mov r8, qword [rbx + 0xf8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.180022550
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x3f18], eax
jne 0x18005b982
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.1800395c0
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18005e200
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x1800833c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r15, rcx
mov ecx, dword [0x1800a95dc]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1800a9de8], ecx
jle 0x18005e2a6
lea rcx, [0x1800a9de8]
call fcn.180067060
cmp dword [0x1800a9de8], 0xffffffff
jne 0x18005e2a6
xorps xmm0, xmm0
movdqu xmmword [0x1800a9dd8], xmm0
mov ecx, 0x48
call fcn.180066bd0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x1800a9dd8], rax
lea rcx, [0x18006af00]
call fcn.180066f64
nop
lea rcx, [0x1800a9de8]
call fcn.180066ff4
cmp byte [0x1800a9cb9], 0
jne 0x18005e38b
mov rax, qword [0x1800a96f8]
mov rbx, qword [rax]
movsxd rax, dword [rax + 8]
lea rdi, [rbx + rax*8]
cmp rbx, rdi
je 0x18005e384
nop
mov rbp, qword [rbx]
test rbp, rbp
je 0x18005e377
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.18005de50
nop
lea rcx, [rsp + 0x40]
mov rsi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x58]
cmp r14, 0xf
cmova rcx, rsi
mov qword [rsp + 0x20], 5
lea r9, str.Class
mov rdx, qword [rsp + 0x50]
call fcn.1800057b0
test rax, rax
jne 0x18005e340
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.18005e960
mov rcx, qword [rax]
mov qword [rcx + 0x40], rbp
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x40]
cmp r14, 0xf
jbe 0x18005e377
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18005e36f
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005e423
mov rcx, rsi
call fcn.180066f84
add rbx, 8
cmp rbx, rdi
jne 0x18005e2d0
mov byte [0x1800a9cb9], 1
mov r14, qword [0x1800a9dd8]
mov rbx, qword [r14 + 8]
mov rsi, r14
cmp byte [rbx + 0x19], 0
jne 0x18005e3ef
mov rbp, qword [r15 + 0x10]
mov r12, qword [r15 + 0x18]
nop word [rax + rax]
lea rcx, [rbx + 0x20]
mov rdx, r15
cmp r12, 0xf
jbe 0x18005e3c0
mov rdx, qword [r15]
mov rdi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x18005e3ce
mov rcx, qword [rcx]
mov r8, rdi
cmp rbp, rdi
cmovb r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18005e42a
js 0x18005e42f
mov rsi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x18005e3b0
cmp byte [rsi + 0x19], 0
jne 0x18005e405
lea r8, [rsi + 0x20]
mov rdx, r15
call fcn.18001aa80
test al, al
je 0x18005e408
mov rsi, r14
cmp rsi, r14
je 0x18005e435
mov r8, r15
lea rdx, [rsp + 0x30]
call fcn.18005e960
mov rax, qword [rax]
mov rax, qword [rax + 0x40]
jmp 0x18005e437
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rdi, rbp
jae 0x18005e3e3
mov rbx, qword [rbx + 0x10]
jmp 0x18005e3e9
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180066bb0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x18005f320
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.18005f540
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18005f427
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18005f384
mov rax, qword [0x180083008]
cmp qword [rsp + 0x20], rax
ja 0x18005f384
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18005f346
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 0x18005f3b3
jmp 0x18005f427
cmp dword [rsp + 0x50], 0x10000
jne 0x18005f40a
cmp qword [rsp + 0x48], 0x10000
jb 0x18005f40a
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 0x18005f3f8
mov rax, qword [rsp + 0x28]
jmp 0x18005f429
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18005f422
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.18005f540
mov qword [rsp + 0x20], rax
jmp 0x18005f346
xor eax, eax
add rsp, 0x68
ret

Function at 0x18005f430
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.18005f580
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x18005f533
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18005f48b
mov rax, qword [0x180083008]
cmp qword [rsp + 0x20], rax
ja 0x18005f48b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18005f44d
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 0x18005f4ba
jmp 0x18005f533
cmp dword [rsp + 0x50], 0x10000
jne 0x18005f511
cmp qword [rsp + 0x48], 0x10000
jb 0x18005f511
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 0x18005f4ff
mov rax, qword [rsp + 0x28]
jmp 0x18005f535
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x18005f52e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.18005f580
mov qword [rsp + 0x20], rax
jmp 0x18005f44d
xor eax, eax
add rsp, 0x68
ret
Function at 0x18005f5d0
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.18005fb60
mov qword [rsp + 0x28], 0
cmp qword [0x1800a8fb8], 0
jne 0x18005f618
cmp qword [0x1800a8fb0], 0
je 0x18005f618
mov rax, qword [0x1800a8fb0]
mov qword [0x1800a8fb8], rax
cmp qword [0x1800a8fb8], 0
je 0x18005f6be
mov rax, qword [0x1800a8fb8]
cmp qword [rax + 0x10], 0
je 0x18005f6be
mov rax, qword [0x1800a8fb8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18005f6be
mov rax, qword [0x1800a8fb8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18005f6be
mov rax, qword [0x1800a8fb8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x18005f684
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18005f68b
xor eax, eax
jmp 0x18005f839
mov rax, qword [0x1800a8fb8]
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 0x18005f839
mov rax, qword [0x1800a8fb0]
mov qword [0x1800a8fb8], rax
jmp 0x18005f6e0
mov rax, qword [0x1800a8fb8]
mov rax, qword [rax + 8]
mov qword [0x1800a8fb8], rax
cmp qword [0x1800a8fb8], 0
je 0x18005f72d
cmp qword [0x1800a8fb8], 0
je 0x18005f72b
mov rax, qword [0x1800a8fb8]
cmp qword [rax + 0x10], 0
je 0x18005f72b
mov rax, qword [0x1800a8fb8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18005f72b
mov rax, qword [0x1800a8fb8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18005f72b
jmp 0x18005f65c
jmp 0x18005f6ce
mov rcx, qword [rsp + 0x60]
call fcn.1800619e0
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.18005f840
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x18005f837
mov rax, qword [rsp + 0x48]
mov qword [0x1800a8fb8], rax
mov rax, qword [0x1800a8fb8]
mov dword [rax], 0x52727464
mov rax, qword [0x1800a8fb8]
mov qword [rax + 0x10], 0
mov rax, qword [0x1800a8fb8]
mov rcx, qword [0x1800a8fb0]
mov qword [rax + 8], rcx
mov rax, qword [0x1800a8fb8]
mov qword [0x1800a8fb0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1800a8fb8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x18005f7e8
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x18005f822
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 0x18005f7de
mov rax, qword [0x1800a8fb8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18005f65c
xor eax, eax
add rsp, 0x58
ret