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

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800733c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180008f33
cmp byte [rcx + 0x71], 0
je 0x180008f33
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180008f2f
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 0x180008ef4
sub eax, 1
je 0x180008ef8
cmp eax, 2
jne 0x180008f2f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180059c30
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180008f26
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 0x180008f2f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180008edc
xor al, al
jmp 0x180008edc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180059c30
add rsp, 0x60
pop rbx
ret

Function at 0x18000eb00
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
call fcn.18000ece0
call fcn.18000ec00
add rsp, 0x28
jmp fcn.18000eb20
Function at 0x18000f3f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
cmp edx, 1
jne 0x18000f435
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor ebx, ebx
lea r8, [0x180009dc0]
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 0x18000f5ac
cmp byte [0x18009a039], dl
je 0x18000f59f
xor ebx, ebx
mov qword [rsp + 0x40], rsi
cmp dword [0x18009a078], ebx
je 0x18000f479
xor ecx, ecx
call fcn.180056460
mov rcx, qword [0x18009a8a0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [0x18009a8a0], rbx
mov dword [0x18009a078], ebx
mov rsi, qword [0x18009a058]
test rsi, rsi
je 0x18000f48e
mov rdi, qword [rsi + 0xa0]
jmp 0x18000f491
mov rdi, rbx
call fcn.18003f000
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x18000f4a5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi]
test rcx, rcx
je 0x18000f4b3
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x18000f4c2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x18009a058]
mov qword [rsi + 0x90], rbx
mov qword [rsi + 0xa0], rbx
test rax, rax
je 0x18000f4e2
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x18009a058]
test rax, rax
je 0x18000f500
mov rdi, qword [rax + 0x98]
jmp 0x18000f503
mov rdi, rbx
mov rcx, qword [rdi + 0x30]
lea rsi, [rax + 8]
test rcx, rcx
je 0x18000f51d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x18009a058]
mov qword [rsi + 0x80], rbx
mov qword [rsi + 0x90], rbx
mov rsi, qword [rsp + 0x40]
test rax, rax
je 0x18000f53b
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdi, qword [0x18009a058]
mov qword [0x18009a058], rdi
call fcn.180018240
mov qword [0x18009a058], rbx
test rdi, rdi
je 0x18000f586
mov rcx, rdi
call fcn.18002da40
mov rax, qword [0x18009a058]
test rax, rax
je 0x18000f57d
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8, qword [0x18009a040]
mov edx, 0xfffffffc
mov rcx, qword [0x18009a030]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [0x18009a020]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x48]
mov eax, 1
add rsp, 0x30
pop rdi
ret
Function at 0x1800153d0
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 0x18001542d
lea rbx, [0x180060a70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180015414
cmp r10, 2
jb 0x180015414
cmp byte [r9], r8b
jne 0x180015414
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 0x1800153f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001546f
lea rbx, [0x180060a70]
cmp r8b, 0x23
jne 0x180015453
cmp byte [r9], r8b
jne 0x180015453
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 0x180015440
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1800155c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1800155da
mov qword [r8], 0
lea rdx, [0x180066bc0]
call fcn.180015480
mov rbx, rax
test rax, rax
jne 0x1800155fa
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 0x1800156d1
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 0x1800156d1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800156d1
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 0x1800156d1
cmp rdi, 0xffffffffffffffff
je 0x1800156d1
mov rax, qword [0x18009a058]
test rax, rax
je 0x18001566e
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 0x1800156d1
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 0x1800156be
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18009a058]
test rax, rax
je 0x1800156b3
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800156da
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1800156cc
mov qword [r14], rdi
mov rax, rsi
jmp 0x1800156dc
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 0x1800191d0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r11, [0x180060a70]
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 0x180019266
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.18002c450
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180019270
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf8]
lea r9, [0x180060a70]
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 0x18001cd80
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18001cdd0
lea r11, [0x180060a70]
nop dword [rax]
cmp r9b, 0x23
jne 0x18001cdb3
cmp byte [r8], r9b
jne 0x18001cdb3
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 0x18001cda0
mov rcx, qword [0x18009a058]
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 0x18001ce31
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18001ce29
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18001ce2c
mov rdx, r8
test rdx, rdx
jne 0x18001ce00
cmp r9, r10
je 0x18001ce40
cmp dword [r9], eax
jne 0x18001ce40
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x18002ab50
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 0x18002abf7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18002abaa
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.18002d5b0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.180015b00
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, [0x18009a03a]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18002abff
mov rcx, rbx
call fcn.180015b00
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x18002b080
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x18009a058]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x18002b0e3
mov qword [rsp], rbx
lea rbx, [0x180060a70]
nop dword [rax]
cmp r9b, 0x23
jne 0x18002b0c3
cmp byte [r8], r9b
jne 0x18002b0c3
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 0x18002b0b0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bd8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x18002b117
mov r10, qword [r10 + 0x5be0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18002b11e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x18002b104
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 0x18004e950
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x18004e9dc
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18004e9b0
lea r11, [0x180060a70]
nop
cmp r9b, 0x23
jne 0x18004e993
cmp byte [r8], r9b
jne 0x18004e993
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 0x18004e980
mov rcx, qword [0x18009a058]
not eax
cmp dword [rcx + 0x3f30], eax
jne 0x18004e9c7
mov dword [rcx + 0x3f34], eax
cmp dword [rcx + 0x3f60], eax
jne 0x18004ea39
mov byte [rcx + 0x3f64], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x18009a058]
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.1800153d0
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x3f18], eax
jne 0x18004ea32
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.18002c450
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x180051330
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 [0x1800733c0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r15, rcx
mov ecx, dword [0x180099f3c]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x18009aa08], ecx
jle 0x1800513d6
lea rcx, [0x18009aa08]
call fcn.18005a0e0
cmp dword [0x18009aa08], 0xffffffff
jne 0x1800513d6
xorps xmm0, xmm0
movdqu xmmword [0x18009a9f8], xmm0
mov ecx, 0x48
call fcn.180059c50
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [0x18009a9f8], rax
lea rcx, [0x18005dc60]
call fcn.180059fe4
nop
lea rcx, [0x18009aa08]
call fcn.18005a074
cmp byte [0x18009a8c1], 0
jne 0x1800514bb
mov rax, qword [0x18009a068]
mov rbx, qword [rax]
movsxd rax, dword [rax + 8]
lea rdi, [rbx + rax*8]
cmp rbx, rdi
je 0x1800514b4
nop
mov rbp, qword [rbx]
test rbp, rbp
je 0x1800514a7
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.180050f20
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.180006d20
test rax, rax
jne 0x180051470
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
call fcn.180051930
mov rcx, qword [rax]
mov qword [rcx + 0x40], rbp
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x40]
cmp r14, 0xf
jbe 0x1800514a7
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x18005149f
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180051553
mov rcx, rsi
call fcn.18005a004
add rbx, 8
cmp rbx, rdi
jne 0x180051400
mov byte [0x18009a8c1], 1
mov r14, qword [0x18009a9f8]
mov rbx, qword [r14 + 8]
mov rsi, r14
cmp byte [rbx + 0x19], 0
jne 0x18005151f
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 0x1800514f0
mov rdx, qword [r15]
mov rdi, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x1800514fe
mov rcx, qword [rcx]
mov r8, rdi
cmp rbp, rdi
cmovb r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18005155a
js 0x18005155f
mov rsi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x1800514e0
cmp byte [rsi + 0x19], 0
jne 0x180051535
lea r8, [rsi + 0x20]
mov rdx, r15
call fcn.18000ea30
test al, al
je 0x180051538
mov rsi, r14
cmp rsi, r14
je 0x180051565
mov r8, r15
lea rdx, [rsp + 0x30]
call fcn.180051930
mov rax, qword [rax]
mov rax, qword [rax + 0x40]
jmp 0x180051567
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rdi, rbp
jae 0x180051513
mov rbx, qword [rbx + 0x10]
jmp 0x180051519
xor eax, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180059c30
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 0x1800523a0
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.1800525c0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800524a7
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180052404
mov rax, qword [0x180073008]
cmp qword [rsp + 0x20], rax
ja 0x180052404
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800523c6
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 0x180052433
jmp 0x1800524a7
cmp dword [rsp + 0x50], 0x10000
jne 0x18005248a
cmp qword [rsp + 0x48], 0x10000
jb 0x18005248a
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 0x180052478
mov rax, qword [rsp + 0x28]
jmp 0x1800524a9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800524a2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800525c0
mov qword [rsp + 0x20], rax
jmp 0x1800523c6
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800524b0
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.180052600
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800525b3
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18005250b
mov rax, qword [0x180073008]
cmp qword [rsp + 0x20], rax
ja 0x18005250b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800524cd
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 0x18005253a
jmp 0x1800525b3
cmp dword [rsp + 0x50], 0x10000
jne 0x180052591
cmp qword [rsp + 0x48], 0x10000
jb 0x180052591
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 0x18005257f
mov rax, qword [rsp + 0x28]
jmp 0x1800525b5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800525ae
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180052600
mov qword [rsp + 0x20], rax
jmp 0x1800524cd
xor eax, eax
add rsp, 0x68
ret
Function at 0x180052650
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.180052be0
mov qword [rsp + 0x28], 0
cmp qword [0x180099918], 0
jne 0x180052698
cmp qword [0x180099910], 0
je 0x180052698
mov rax, qword [0x180099910]
mov qword [0x180099918], rax
cmp qword [0x180099918], 0
je 0x18005273e
mov rax, qword [0x180099918]
cmp qword [rax + 0x10], 0
je 0x18005273e
mov rax, qword [0x180099918]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18005273e
mov rax, qword [0x180099918]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18005273e
mov rax, qword [0x180099918]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180052704
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18005270b
xor eax, eax
jmp 0x1800528b9
mov rax, qword [0x180099918]
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 0x1800528b9
mov rax, qword [0x180099910]
mov qword [0x180099918], rax
jmp 0x180052760
mov rax, qword [0x180099918]
mov rax, qword [rax + 8]
mov qword [0x180099918], rax
cmp qword [0x180099918], 0
je 0x1800527ad
cmp qword [0x180099918], 0
je 0x1800527ab
mov rax, qword [0x180099918]
cmp qword [rax + 0x10], 0
je 0x1800527ab
mov rax, qword [0x180099918]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800527ab
mov rax, qword [0x180099918]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800527ab
jmp 0x1800526dc
jmp 0x18005274e
mov rcx, qword [rsp + 0x60]
call fcn.180054a60
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.1800528c0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800528b7
mov rax, qword [rsp + 0x48]
mov qword [0x180099918], rax
mov rax, qword [0x180099918]
mov dword [rax], 0x52727464
mov rax, qword [0x180099918]
mov qword [rax + 0x10], 0
mov rax, qword [0x180099918]
mov rcx, qword [0x180099910]
mov qword [rax + 8], rcx
mov rax, qword [0x180099918]
mov qword [0x180099910], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180099918]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180052868
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1800528a2
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 0x18005285e
mov rax, qword [0x180099918]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800526dc
xor eax, eax
add rsp, 0x58
ret