joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800bfca0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xe0
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x18012c040]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movups xmm0, xmmword [0x1801110d8]
movups xmmword [r11 - 0x68], xmm0
movups xmm1, xmmword [0x1801110e8]
movups xmmword [r11 - 0x58], xmm1
movups xmm0, xmmword [0x1801110f8]
movups xmmword [r11 - 0x48], xmm0
movsd xmm0, qword [str._t_agiRZOX_n_]
movsd qword [r11 - 0x38], xmm0
mov eax, dword [0x180111110]
mov dword [r11 - 0x30], eax
xor ecx, ecx
cmp dword [0x18012c090], 2
jl 0x1800bfe34
movdqa xmm4, xmmword [0x1801148f0]
movdqa xmm3, xmmword [0x180114d90]
movdqa xmm5, xmmword [0x180114920]
movdqa xmm0, xmmword [0x1801149e0]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [r11 - 0x64]
movdqa xmm6, xmmword [0x180114990]
mov r8d, dword [rsp + 0x60]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x38
jl 0x1800bfd50
cmp ecx, 0x3c
jge 0x1800bfe7c
movsxd rax, ecx
lea r8, [rsp + 0x80]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x3c
jl 0x1800bfe50
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800bfea0
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.180013310
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x90], xmm1
xor r8d, r8d
lea rdx, [0x180100ff1]
lea rcx, [rsp + 0x80]
call fcn.180013310
nop
cmp byte [0x18012dd90], 0
jne 0x1800bff0e
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180026f50
mov rcx, rax
call fcn.180027cc0
jmp 0x1800bff18
lea rcx, [rsp + 0x40]
call fcn.18000d920
mov rbx, rax
lea rcx, [rsp + 0x80]
call fcn.180027960
nop
lea rcx, [rsp + 0x40]
call fcn.180027960
mov rax, rbx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800d4da0
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe0
pop rbx
ret
Function at 0x1800bff60
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xe0
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x18012c040]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movups xmm0, xmmword [0x180111098]
movups xmmword [r11 - 0x68], xmm0
movups xmm1, xmmword [0x1801110a8]
movups xmmword [r11 - 0x58], xmm1
movups xmm0, xmmword [0x1801110b8]
movups xmmword [r11 - 0x48], xmm0
movsd xmm0, qword [str._t_agiRZOX_r_]
movsd qword [r11 - 0x38], xmm0
mov eax, dword [0x1801110d0]
mov dword [r11 - 0x30], eax
xor ecx, ecx
cmp dword [0x18012c090], 2
jl 0x1800c00f4
movdqa xmm4, xmmword [0x1801148f0]
movdqa xmm3, xmmword [0x180114d90]
movdqa xmm5, xmmword [0x180114920]
movdqa xmm0, xmmword [0x1801149e0]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [r11 - 0x64]
movdqa xmm6, xmmword [0x180114990]
mov r8d, dword [rsp + 0x60]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x38
jl 0x1800c0010
cmp ecx, 0x3c
jge 0x1800c013c
movsxd rax, ecx
lea r8, [rsp + 0x80]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x3c
jl 0x1800c0110
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800c0160
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.180013310
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x90], xmm1
xor r8d, r8d
lea rdx, [0x180100ff1]
lea rcx, [rsp + 0x80]
call fcn.180013310
nop
cmp byte [0x18012dd90], 0
jne 0x1800c01ce
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180026f50
mov rcx, rax
call fcn.180027cc0
jmp 0x1800c01d8
lea rcx, [rsp + 0x40]
call fcn.18000d920
mov rbx, rax
lea rcx, [rsp + 0x80]
call fcn.180027960
nop
lea rcx, [rsp + 0x40]
call fcn.180027960
mov rax, rbx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800d4da0
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe0
pop rbx
ret
Function at 0x1800c0220
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xe0
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x18012c040]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movups xmm0, xmmword [0x180111058]
movups xmmword [r11 - 0x68], xmm0
movups xmm1, xmmword [0x180111068]
movups xmmword [r11 - 0x58], xmm1
movups xmm0, xmmword [0x180111078]
movups xmmword [r11 - 0x48], xmm0
movsd xmm0, qword [str._t_agiRZOX_f_]
movsd qword [r11 - 0x38], xmm0
mov eax, dword [0x180111090]
mov dword [r11 - 0x30], eax
xor ecx, ecx
cmp dword [0x18012c090], 2
jl 0x1800c03b4
movdqa xmm4, xmmword [0x1801148f0]
movdqa xmm3, xmmword [0x180114d90]
movdqa xmm5, xmmword [0x180114920]
movdqa xmm0, xmmword [0x1801149e0]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [r11 - 0x64]
movdqa xmm6, xmmword [0x180114990]
mov r8d, dword [rsp + 0x60]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x38
jl 0x1800c02d0
cmp ecx, 0x3c
jge 0x1800c03fc
movsxd rax, ecx
lea r8, [rsp + 0x80]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x3c
jl 0x1800c03d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800c0420
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.180013310
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x90], xmm1
xor r8d, r8d
lea rdx, [0x180100ff1]
lea rcx, [rsp + 0x80]
call fcn.180013310
nop
cmp byte [0x18012dd90], 0
jne 0x1800c048e
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180026f50
mov rcx, rax
call fcn.180027cc0
jmp 0x1800c0498
lea rcx, [rsp + 0x40]
call fcn.18000d920
mov rbx, rax
lea rcx, [rsp + 0x80]
call fcn.180027960
nop
lea rcx, [rsp + 0x40]
call fcn.180027960
mov rax, rbx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800d4da0
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe0
pop rbx
ret
Function at 0x1800c04e0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xe0
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x18012c040]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movups xmm0, xmmword [0x180111018]
movups xmmword [r11 - 0x68], xmm0
movups xmm1, xmmword [0x180111028]
movups xmmword [r11 - 0x58], xmm1
movups xmm0, xmmword [0x180111038]
movups xmmword [r11 - 0x48], xmm0
movsd xmm0, qword [str._t_agiRZOX]
movsd qword [r11 - 0x38], xmm0
mov eax, dword [0x180111050]
mov dword [r11 - 0x30], eax
xor ecx, ecx
cmp dword [0x18012c090], 2
jl 0x1800c0674
movdqa xmm4, xmmword [0x1801148f0]
movdqa xmm3, xmmword [0x180114d90]
movdqa xmm5, xmmword [0x180114920]
movdqa xmm0, xmmword [0x1801149e0]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [r11 - 0x64]
movdqa xmm6, xmmword [0x180114990]
mov r8d, dword [rsp + 0x60]
nop dword [rax]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x38
jl 0x1800c0590
cmp ecx, 0x3c
jge 0x1800c06bc
movsxd rax, ecx
lea r8, [rsp + 0x80]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x3c
jl 0x1800c0690
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800c06e0
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.180013310
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x90], xmm1
xor r8d, r8d
lea rdx, [0x180100ff1]
lea rcx, [rsp + 0x80]
call fcn.180013310
nop
cmp byte [0x18012dd90], 0
jne 0x1800c074e
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180026f50
mov rcx, rax
call fcn.180027cc0
jmp 0x1800c0758
lea rcx, [rsp + 0x40]
call fcn.18000d920
mov rbx, rax
lea rcx, [rsp + 0x80]
call fcn.180027960
nop
lea rcx, [rsp + 0x40]
call fcn.180027960
mov rax, rbx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800d4da0
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe0
pop rbx
ret
Function at 0x1800cf93c
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x1800cf9a0
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x1800cf98e
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800cf987
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800cf95b
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x18012def8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1800cf9b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x18012f850]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x1800cf9e6
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x40]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800cfa1c
mov eax, 0xa
jmp 0x1800cfaab
test esi, esi
je 0x1800cfa3e
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1800cfa5f
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800cfa5f
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800cfa59
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800cfa5f
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x1800cff14
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x1800cff2b
cmp r8b, 0x90
je 0x1800cff2b
cmp r8b, 0xcc
jne 0x1800cff4d
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x1800cff49
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x1800cff4d
add edx, r10d
cmp edx, r9d
jb 0x1800cff39
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x1800d02b4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x1800d02fe
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x18012f840]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
jmp 0x1800d0337
cmp rbx, r14
jb 0x1800d0334
cmp rbx, r12
jae 0x1800d0334
cmp qword [rbx + 8], rsi
jne 0x1800d0499
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1800d0320
mov r15, rdi
cmp rdi, r14
jb 0x1800d0453
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
jmp 0x1800d0383
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800d03bd
cmp dword [rbp - 0x10], 0x10000
je 0x1800d038d
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x1800d03bd
sub r15, r13
cmp r15, r14
jae 0x1800d0359
jmp 0x1800d03bd
test r15, r15
je 0x1800d03bd
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800d045e
cmp r15, r14
jae 0x1800d0348
test rbx, rbx
jmp 0x1800d0451
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x1800d0499
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800d0499
cmp dword [rbp - 0x10], 0x10000
je 0x1800d042c
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jbe 0x1800d03e9
jmp 0x1800d0499
test rdi, rdi
je 0x1800d0499
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1800d045e
cmp rdi, r12
jbe 0x1800d03c5
jmp 0x1800d0499
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x1800d046a
mov rax, qword [0x18012f840]
mov qword [rbx], rax
mov qword [0x18012f840], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1800d0d60
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.1800d0f80
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800d0e67
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800d0dc4
mov rax, qword [0x18012c008]
cmp qword [rsp + 0x20], rax
ja 0x1800d0dc4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800d0d86
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 0x1800d0df3
jmp 0x1800d0e67
cmp dword [rsp + 0x50], 0x10000
jne 0x1800d0e4a
cmp qword [rsp + 0x48], 0x10000
jb 0x1800d0e4a
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 0x1800d0e38
mov rax, qword [rsp + 0x28]
jmp 0x1800d0e69
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800d0e62
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800d0f80
mov qword [rsp + 0x20], rax
jmp 0x1800d0d86
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800d0e70
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.1800d0fc0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800d0f73
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800d0ecb
mov rax, qword [0x18012c008]
cmp qword [rsp + 0x20], rax
ja 0x1800d0ecb
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800d0e8d
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 0x1800d0efa
jmp 0x1800d0f73
cmp dword [rsp + 0x50], 0x10000
jne 0x1800d0f51
cmp qword [rsp + 0x48], 0x10000
jb 0x1800d0f51
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 0x1800d0f3f
mov rax, qword [rsp + 0x28]
jmp 0x1800d0f75
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800d0f6e
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800d0fc0
mov qword [rsp + 0x20], rax
jmp 0x1800d0e8d
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800d1010
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.1800d15a0
mov qword [rsp + 0x28], 0
cmp qword [0x18012d698], 0
jne 0x1800d1058
cmp qword [0x18012d690], 0
je 0x1800d1058
mov rax, qword [0x18012d690]
mov qword [0x18012d698], rax
cmp qword [0x18012d698], 0
je 0x1800d10fe
mov rax, qword [0x18012d698]
cmp qword [rax + 0x10], 0
je 0x1800d10fe
mov rax, qword [0x18012d698]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800d10fe
mov rax, qword [0x18012d698]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800d10fe
mov rax, qword [0x18012d698]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800d10c4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800d10cb
xor eax, eax
jmp 0x1800d1279
mov rax, qword [0x18012d698]
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 0x1800d1279
mov rax, qword [0x18012d690]
mov qword [0x18012d698], rax
jmp 0x1800d1120
mov rax, qword [0x18012d698]
mov rax, qword [rax + 8]
mov qword [0x18012d698], rax
cmp qword [0x18012d698], 0
je 0x1800d116d
cmp qword [0x18012d698], 0
je 0x1800d116b
mov rax, qword [0x18012d698]
cmp qword [rax + 0x10], 0
je 0x1800d116b
mov rax, qword [0x18012d698]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800d116b
mov rax, qword [0x18012d698]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800d116b
jmp 0x1800d109c
jmp 0x1800d110e
mov rcx, qword [rsp + 0x60]
call fcn.1800d31d0
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.1800d1280
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800d1277
mov rax, qword [rsp + 0x48]
mov qword [0x18012d698], rax
mov rax, qword [0x18012d698]
mov dword [rax], 0x52727464
mov rax, qword [0x18012d698]
mov qword [rax + 0x10], 0
mov rax, qword [0x18012d698]
mov rcx, qword [0x18012d690]
mov qword [rax + 8], rcx
mov rax, qword [0x18012d698]
mov qword [0x18012d690], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18012d698]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x1800d1228
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1800d1262
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 0x1800d121e
mov rax, qword [0x18012d698]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800d109c
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800d4cb0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800d4cea
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800d4cef
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800d4d38
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800faf30]
cmp byte [rcx + rax], 0
je 0x1800d4d38
dec r8
sub rdx, 1
jne 0x1800d4d1e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret