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

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xf0
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x18011c040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
movups xmm0, xmmword [0x180103878]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x180103888]
movups xmmword [r11 - 0x78], xmm1
movups xmm0, xmmword [0x180103898]
movups xmmword [r11 - 0x68], xmm0
movsd xmm0, qword [str._bWekTMZs]
movsd qword [r11 - 0x58], xmm0
mov eax, dword [0x1801038b0]
mov dword [r11 - 0x50], eax
xor ecx, ecx
cmp dword [0x18011c018], 2
jl 0x1800b8d22
movdqa xmm5, xmmword [0x1801063b0]
movdqa xmm4, xmmword [0x180106550]
movdqa xmm6, xmmword [0x1801063d0]
movdqa xmm0, xmmword [str.9999999999999999]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x74]
mov r8d, dword [rsp + 0x40]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180106490]
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 xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180106490]
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 0x1800b8c20
cmp ecx, 0x3c
jge 0x1800b8d5c
movsxd rax, ecx
lea r8, [rsp + 0x70]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x3c
jl 0x1800b8d30
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800b8d80
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.18001d4b0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xc0], xmm1
xor r8d, r8d
lea rdx, [0x1800f3b16]
lea rcx, [rsp + 0xb0]
call fcn.18001d4b0
nop
cmp byte [0x18011dd58], 0
jne 0x1800b8deb
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.18001ec00
mov rcx, rax
call fcn.180004560
jmp 0x1800b8df5
lea rcx, [rsp + 0x50]
call fcn.18000f1c0
mov rbx, rax
lea rcx, [rsp + 0xb0]
call fcn.18001f9d0
nop
lea rcx, [rsp + 0x50]
call fcn.18001f9d0
mov rax, rbx
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1800c8b10
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rbx
ret
Function at 0x1800b8e40
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xf0
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x18011c040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
movups xmm0, xmmword [0x180103838]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x180103848]
movups xmmword [r11 - 0x78], xmm1
movups xmm0, xmmword [0x180103858]
movups xmmword [r11 - 0x68], xmm0
movsd xmm0, qword [str._bWekTMZr]
movsd qword [r11 - 0x58], xmm0
mov eax, dword [0x180103870]
mov dword [r11 - 0x50], eax
xor ecx, ecx
cmp dword [0x18011c018], 2
jl 0x1800b8fe2
movdqa xmm5, xmmword [0x1801063b0]
movdqa xmm4, xmmword [0x180106550]
movdqa xmm6, xmmword [0x1801063d0]
movdqa xmm0, xmmword [str.9999999999999999]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x74]
mov r8d, dword [rsp + 0x40]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180106490]
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 xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180106490]
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 0x1800b8ee0
cmp ecx, 0x3c
jge 0x1800b901c
movsxd rax, ecx
lea r8, [rsp + 0x70]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x3c
jl 0x1800b8ff0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800b9040
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.18001d4b0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xc0], xmm1
xor r8d, r8d
lea rdx, [0x1800f3b16]
lea rcx, [rsp + 0xb0]
call fcn.18001d4b0
nop
cmp byte [0x18011dd58], 0
jne 0x1800b90ab
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.18001ec00
mov rcx, rax
call fcn.180004560
jmp 0x1800b90b5
lea rcx, [rsp + 0x50]
call fcn.18000f1c0
mov rbx, rax
lea rcx, [rsp + 0xb0]
call fcn.18001f9d0
nop
lea rcx, [rsp + 0x50]
call fcn.18001f9d0
mov rax, rbx
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1800c8b10
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rbx
ret
Function at 0x1800b9100
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xf0
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x18011c040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
movups xmm0, xmmword [0x1801037f8]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x180103808]
movups xmmword [r11 - 0x78], xmm1
movups xmm0, xmmword [0x180103818]
movups xmmword [r11 - 0x68], xmm0
movsd xmm0, qword [str._bWekTMZq]
movsd qword [r11 - 0x58], xmm0
mov eax, dword [0x180103830]
mov dword [r11 - 0x50], eax
xor ecx, ecx
cmp dword [0x18011c018], 2
jl 0x1800b92a2
movdqa xmm5, xmmword [0x1801063b0]
movdqa xmm4, xmmword [0x180106550]
movdqa xmm6, xmmword [0x1801063d0]
movdqa xmm0, xmmword [str.9999999999999999]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x74]
mov r8d, dword [rsp + 0x40]
nop dword [rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180106490]
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 xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180106490]
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 0x1800b91a0
cmp ecx, 0x3c
jge 0x1800b92dc
movsxd rax, ecx
lea r8, [rsp + 0x70]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x39
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x3c
jl 0x1800b92b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800b9300
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.18001d4b0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xc0], xmm1
xor r8d, r8d
lea rdx, [0x1800f3b16]
lea rcx, [rsp + 0xb0]
call fcn.18001d4b0
nop
cmp byte [0x18011dd58], 0
jne 0x1800b936b
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.18001ec00
mov rcx, rax
call fcn.180004560
jmp 0x1800b9375
lea rcx, [rsp + 0x50]
call fcn.18000f1c0
mov rbx, rax
lea rcx, [rsp + 0xb0]
call fcn.18001f9d0
nop
lea rcx, [rsp + 0x50]
call fcn.18001f9d0
mov rax, rbx
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1800c8b10
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rbx
ret
Function at 0x1800c36c8
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 0x1800c372c
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x1800c371a
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 0x1800c3713
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 0x1800c36e7
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x18011de98]
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 0x1800c373c
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 [0x18011f2c0]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x1800c3772
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 0x1800c37a8
mov eax, 0xa
jmp 0x1800c3837
test esi, esi
je 0x1800c37ca
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 0x1800c37eb
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800c37eb
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800c37e5
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800c37eb
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 0x1800c3c94
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x1800c3cab
cmp r8b, 0x90
je 0x1800c3cab
cmp r8b, 0xcc
jne 0x1800c3ccd
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x1800c3cc9
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x1800c3ccd
add edx, r10d
cmp edx, r9d
jb 0x1800c3cb9
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x1800c4034
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 0x1800c407e
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x18011f2b8]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
jmp 0x1800c40b7
cmp rbx, r14
jb 0x1800c40b4
cmp rbx, r12
jae 0x1800c40b4
cmp qword [rbx + 8], rsi
jne 0x1800c4219
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1800c40a0
mov r15, rdi
cmp rdi, r14
jb 0x1800c41d3
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
jmp 0x1800c4103
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800c413d
cmp dword [rbp - 0x10], 0x10000
je 0x1800c410d
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x1800c413d
sub r15, r13
cmp r15, r14
jae 0x1800c40d9
jmp 0x1800c413d
test r15, r15
je 0x1800c413d
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 0x1800c41de
cmp r15, r14
jae 0x1800c40c8
test rbx, rbx
jmp 0x1800c41d1
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 0x1800c4219
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800c4219
cmp dword [rbp - 0x10], 0x10000
je 0x1800c41ac
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 0x1800c4169
jmp 0x1800c4219
test rdi, rdi
je 0x1800c4219
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 0x1800c41de
cmp rdi, r12
jbe 0x1800c4145
jmp 0x1800c4219
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 0x1800c41ea
mov rax, qword [0x18011f2b8]
mov qword [rbx], rax
mov qword [0x18011f2b8], 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 0x1800c4ad0
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.1800c4cf0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800c4bd7
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800c4b34
mov rax, qword [0x18011c008]
cmp qword [rsp + 0x20], rax
ja 0x1800c4b34
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800c4af6
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 0x1800c4b63
jmp 0x1800c4bd7
cmp dword [rsp + 0x50], 0x10000
jne 0x1800c4bba
cmp qword [rsp + 0x48], 0x10000
jb 0x1800c4bba
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 0x1800c4ba8
mov rax, qword [rsp + 0x28]
jmp 0x1800c4bd9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800c4bd2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800c4cf0
mov qword [rsp + 0x20], rax
jmp 0x1800c4af6
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800c4be0
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.1800c4d30
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800c4ce3
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1800c4c3b
mov rax, qword [0x18011c008]
cmp qword [rsp + 0x20], rax
ja 0x1800c4c3b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800c4bfd
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 0x1800c4c6a
jmp 0x1800c4ce3
cmp dword [rsp + 0x50], 0x10000
jne 0x1800c4cc1
cmp qword [rsp + 0x48], 0x10000
jb 0x1800c4cc1
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 0x1800c4caf
mov rax, qword [rsp + 0x28]
jmp 0x1800c4ce5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800c4cde
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800c4d30
mov qword [rsp + 0x20], rax
jmp 0x1800c4bfd
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800c4d80
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.1800c5310
mov qword [rsp + 0x28], 0
cmp qword [0x18011d578], 0
jne 0x1800c4dc8
cmp qword [0x18011d570], 0
je 0x1800c4dc8
mov rax, qword [0x18011d570]
mov qword [0x18011d578], rax
cmp qword [0x18011d578], 0
je 0x1800c4e6e
mov rax, qword [0x18011d578]
cmp qword [rax + 0x10], 0
je 0x1800c4e6e
mov rax, qword [0x18011d578]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800c4e6e
mov rax, qword [0x18011d578]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800c4e6e
mov rax, qword [0x18011d578]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800c4e34
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800c4e3b
xor eax, eax
jmp 0x1800c4fe9
mov rax, qword [0x18011d578]
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 0x1800c4fe9
mov rax, qword [0x18011d570]
mov qword [0x18011d578], rax
jmp 0x1800c4e90
mov rax, qword [0x18011d578]
mov rax, qword [rax + 8]
mov qword [0x18011d578], rax
cmp qword [0x18011d578], 0
je 0x1800c4edd
cmp qword [0x18011d578], 0
je 0x1800c4edb
mov rax, qword [0x18011d578]
cmp qword [rax + 0x10], 0
je 0x1800c4edb
mov rax, qword [0x18011d578]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800c4edb
mov rax, qword [0x18011d578]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800c4edb
jmp 0x1800c4e0c
jmp 0x1800c4e7e
mov rcx, qword [rsp + 0x60]
call fcn.1800c6f40
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.1800c4ff0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800c4fe7
mov rax, qword [rsp + 0x48]
mov qword [0x18011d578], rax
mov rax, qword [0x18011d578]
mov dword [rax], 0x52727464
mov rax, qword [0x18011d578]
mov qword [rax + 0x10], 0
mov rax, qword [0x18011d578]
mov rcx, qword [0x18011d570]
mov qword [rax + 8], rcx
mov rax, qword [0x18011d578]
mov qword [0x18011d570], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18011d578]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x1800c4f98
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1800c4fd2
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 0x1800c4f8e
mov rax, qword [0x18011d578]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800c4e0c
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800c8a20
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 0x1800c8a5a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800c8a5f
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 0x1800c8aa8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800edf50]
cmp byte [rcx + rax], 0
je 0x1800c8aa8
dec r8
sub rdx, 1
jne 0x1800c8a8e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret