joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180086900
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push r13
sub rsp, 0x38
mov r13, qword [0x180360890]
mov qword [rsp + 0x50], rbx
mov rbx, rdx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rdi
mov rdi, rcx
mov qword [rsp + 0x30], r12
test rdx, rdx
jne 0x18008693e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x180086935
test r13, r13
je 0x18008694a
inc dword [r13 + 0x3bc]
lea rcx, [rbx + 1]
call fcn.1800c5810
mov r8, rbx
mov qword [rsp + 0x58], rax
mov rdx, rdi
mov rcx, rax
mov rsi, rax
lea r12, [rax + rbx]
call fcn.1800bbe40
xor ebp, ebp
mov byte [r12], 0
xor edi, edi
mov rcx, rsi
cmp rsi, r12
jae 0x180086b13
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0xa
je 0x180086b56
cmp al, 0xd
je 0x180086b56
mov rbx, rcx
cmp rcx, r12
jae 0x1800869c3
nop dword [rax + rax]
movzx eax, byte [rbx]
cmp al, 0xa
je 0x1800869c3
cmp al, 0xd
je 0x1800869c3
inc rbx
cmp rbx, r12
jb 0x1800869b0
mov byte [rbx], 0
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x180086af7
cmp al, 0x5b
jne 0x180086ade
cmp rbx, rcx
jbe 0x180086ade
cmp byte [rbx - 1], 0x5d
lea rsi, [rbx - 1]
jne 0x180086ade
lea r14, [rcx + 1]
mov byte [rsi], 0
mov r8, rsi
mov rcx, r14
sub r8, r14
mov edx, 0x5d
call fcn.1800bc940
mov r15, rax
test rax, rax
je 0x180086af7
lea rcx, [rax + 1]
mov edx, 0x5b
sub rsi, rcx
mov r8, rsi
call fcn.1800bc940
mov r11, rax
test rax, rax
je 0x180086af7
mov r10, qword [0x180360890]
lea r8, [r14 + 1]
mov byte [r15], 0
mov esi, 0xffffffff
movzx r9d, byte [r14]
mov ecx, esi
test r9b, r9b
je 0x180086a8a
cmp r9b, 0x23
jne 0x180086a67
cmp byte [r8], r9b
jne 0x180086a67
cmp byte [r8 + 1], r9b
cmove ecx, esi
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
lea rax, [0x180152030]
inc r8
xor ecx, dword [rax + rdx*4]
test r9b, r9b
jne 0x180086a55
mov r8d, dword [r10 + 0x2f80]
xor eax, eax
not ecx
test r8d, r8d
jle 0x180086ab4
mov r9, qword [r10 + 0x2f88]
lea rdx, [r9 + 8]
cmp dword [rdx], ecx
je 0x180086aba
inc eax
add rdx, 0x30
cmp eax, r8d
jl 0x180086aa5
xor edi, edi
xor ebp, ebp
jmp 0x180086af7
cdqe
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, r9
je 0x180086ab6
mov rax, qword [rdi + 0x10]
lea r8, [r11 + 1]
mov rdx, rdi
mov rcx, r13
call rax
mov rbp, rax
jmp 0x180086af7
test rdi, rdi
je 0x180086af7
test rbp, rbp
je 0x180086af7
mov r9, rcx
mov r8, rbp
mov rcx, r13
mov rdx, rdi
call qword [rdi + 0x18]
lea rcx, [rbx + 1]
cmp rcx, r12
jb 0x180086990
mov rsi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
test rsi, rsi
je 0x180086b3e
mov rax, qword [0x180360890]
test rax, rax
je 0x180086b3e
dec dword [rax + 0x3bc]
mov rcx, rsi
call fcn.1800c57fc
mov byte [r13 + 0x2f68], 1
add rsp, 0x38
pop r13
pop rsi
ret
inc rcx
jmp 0x180086990
Function at 0x18009bd80
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbp
push r12
push r15
sub rsp, 0x60
mov rbp, r8
mov r12, rdx
mov r15, rcx
test rdx, rdx
jne 0x18009bda5
lea eax, [rdx + 1]
add rsp, 0x60
pop r15
pop r12
pop rbp
ret
xorps xmm0, xmm0
mov qword [rsp + 0x80], rbx
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x88], rsi
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x90], rdi
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x98], r14
movups xmmword [rsp + 0x20], xmm0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x18009be7a
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x18009be7a
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0xf497ec1f
lea rcx, [r14 + r11*4]
mov r8d, dword [rcx + rbx]
add r8, rbx
movzx r9d, byte [r8]
inc r8
test r9b, r9b
je 0x18009be75
movsx ecx, r9b
lea r8, [r8 + 1]
sub r9b, 0x41
mov edx, ecx
or edx, 0x20
cmp r9b, 0x19
movzx r9d, byte [r8 - 1]
cmova edx, ecx
xor edx, r10d
imul r10d, edx, 0x1000193
test r9b, r9b
jne 0x18009be40
cmp r10d, 0xb9c82355
je 0x18009be82
test r11d, r11d
jne 0x18009be20
mov rax, qword [rax]
jmp 0x18009bdf0
mov ecx, dword [rsi + 0x24]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
mov rdx, r15
add rax, rbx
lea rcx, [rsp + 0x20]
call rax
mov dword [rsp + 0x30], 0x30
lea rax, [rsp + 0x20]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x48], 0x40
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x18009bf69
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x18009bf69
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0x93415af1
lea rcx, [r14 + r11*4]
mov r9d, dword [rcx + rbx]
add r9, rbx
movzx ecx, byte [r9]
inc r9
test cl, cl
je 0x18009bf64
nop
movsx edx, cl
lea r9, [r9 + 1]
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
movzx ecx, byte [r9 - 1]
cmova r8d, edx
xor r8d, r10d
imul r10d, r8d, 0x1000193
test cl, cl
jne 0x18009bf30
cmp r10d, 0x30e378fe
je 0x18009bf71
test r11d, r11d
jne 0x18009bf10
mov rax, qword [rax]
jmp 0x18009bee0
mov ecx, dword [rsi + 0x24]
lea r8, [rsp + 0x30]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
mov edx, 0x2000000
add rax, rbx
mov rcx, r12
call rax
mov r14, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop r15
pop r12
pop rbp
ret
Function at 0x18009d330
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov rsi, r8
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
mov dword [rsp + 0x30], 1
lea rax, [rdx + r8]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov r9, rdx
lea rdx, [rsp + 0x58]
call fcn.18004dd20
test rsi, rsi
je 0x18009d395
mov ecx, ebx
add rcx, qword [rdi]
lea eax, [rbx + 0x64]
xor byte [rcx], al
inc ebx
movsxd rcx, ebx
cmp rcx, rsi
jb 0x18009d383
mov rax, rdi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x18009e290
Capabilities:
Encode data using xor

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov ecx, dword [0x18015b578]
mov edx, 0x44
movups xmm0, xmmword [str.pB_VHP]
movzx eax, word [0x18015b57c]
mov dword [rbp + 7], ecx
xor ax, 0x3e
xor word [rbp + 9], 0x3d
xor cx, 0x3c
movups xmmword [rbp - 9], xmm0
xor word [rbp - 7], 0x35
xor word [rbp - 5], 0x36
xor word [rbp - 3], 0x37
xor word [rbp - 1], 0x38
xor word [rbp + 1], 0x39
xor word [rbp + 3], 0x3a
xor word [rbp + 5], 0x3b
mov word [rbp + 7], cx
lea rcx, [rbp - 9]
mov word [rbp - 9], dx
mov word [rbp + 0xb], ax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r9, rax
test rax, rax
je 0x18009e520
cmp byte [0x18015b75f], 0
movups xmm0, xmmword [str.pB_KzUVLRMV4___]
movups xmmword [rbp + 0xd], xmm0
movsd xmm0, qword [0x18015b758]
movsd qword [rbp + 0x1d], xmm0
je 0x18009e4ed
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x18009e4b2
movdqa xmm0, xmmword [0x18015bea0]
lea rcx, [rbp + 0x11]
movdqa xmm5, xmmword [0x18015bd50]
mov eax, 4
movdqa xmm4, xmmword [0x18015bf20]
xor edx, edx
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm7
movdqa xmm7, xmmword [0x18015bda0]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rbp - 0x19], xmm0
mov r8d, dword [rbp - 0x19]
movaps xmmword [rsp + 0x60], xmm8
movd xmm8, eax
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x18015be70]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x18015be70]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x18
jl 0x18009e3a0
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
jmp 0x18009e4ed
lea r8, [rbp + 0xd]
xor ecx, ecx
nop dword [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
inc ecx
sub al, dl
add al, 0x34
xor byte [r8 - 1], al
cmp ecx, 0x18
jl 0x18009e4c0
lea rdx, [rbp + 0xd]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18009e520
lea rcx, [rbp + 0x67]
mov dword [rbp + 0x67], 0
call rax
test eax, eax
js 0x18009e520
cmp dword [rbp + 0x67], 0
setne al
add rsp, 0x90
pop rbp
ret
mov al, 1
add rsp, 0x90
pop rbp
ret
Function at 0x18009eac0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov r15, rdx
mov r8, rcx
test rcx, rcx
je 0x18009ebd5
movsxd rax, dword [rcx + 0x3c]
test eax, eax
je 0x18009ebd5
mov rcx, rax
add rcx, r8
je 0x18009ebd5
movzx eax, word [r8]
add eax, dword [rcx]
cmp eax, 0x9f9d
jne 0x18009ebd5
mov eax, dword [rcx + 0x50]
mov ecx, dword [rcx + 0x88]
add rcx, r8
je 0x18009ebd5
mov edx, eax
cmp rcx, r8
jbe 0x18009ebd5
add rax, r8
cmp rcx, rax
jae 0x18009ebd5
mov r14d, dword [rcx + 0x1c]
lea rsi, [rdx + r8]
mov r11d, dword [rcx + 0x20]
add r14, r8
mov ebx, dword [rcx + 0x24]
add r11, r8
add rbx, r8
cmp r14, r8
jbe 0x18009ebd5
cmp r14, rsi
jae 0x18009ebd5
cmp r11, r8
jbe 0x18009ebd5
cmp r11, rsi
jae 0x18009ebd5
cmp rbx, r8
jbe 0x18009ebd5
cmp rbx, rsi
jae 0x18009ebd5
mov ebp, dword [rcx + 0x14]
xor edi, edi
test ebp, ebp
je 0x18009ebd5
nop dword [rax + rax]
movzx eax, word [rbx]
mov r10d, dword [r14 + rax*4]
mov eax, dword [r11]
add r10, r8
add rax, r8
cmp rax, r8
jbe 0x18009ebc7
cmp rax, rsi
jae 0x18009ebc7
cmp r10, r8
jbe 0x18009ebc7
cmp r10, rsi
jae 0x18009ebc7
mov r9, r15
sub r9, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x18009ebc3
inc rax
test ecx, ecx
jne 0x18009ebb0
test edx, edx
je 0x18009ebf0
inc edi
add rbx, 2
add r11, 4
cmp edi, ebp
jb 0x18009eb80
xor eax, eax
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
mov rax, r10
jmp 0x18009ebd7
Function at 0x18009f4f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x260
mov rbx, rcx
mov dword [rsp + 0x20], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18009f585
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x18009f57b
lea rax, [rsp + 0x20]
mov qword [rsp + 0x278], rax
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x18009f5b3
mov rax, qword [rcx]
lea rdx, [rsp + 0x278]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, rdi
test al, al
je 0x18009f57e
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x18009f541
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x18009f5a2
cmp rcx, rbx
mov rax, qword [rcx]
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], 0
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret
call fcn.1800b78d0
nop
int3
Function at 0x1800a0980
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov r15, r8
mov r14, rdx
mov rdi, rcx
xor r12d, r12d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x45], xmm0
movups xmmword [rbp - 0x35], xmm0
movups xmmword [rbp - 0x25], xmm0
movups xmmword [rbp - 0x15], xmm0
movups xmmword [rbp - 5], xmm0
movups xmmword [rbp + 0xb], xmm0
mov dword [rbp + 0x1b], eax
mov dword [rbp - 0x49], 0x68
movups xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x18015bd20]
movdqu xmmword [rbp - 0x79], xmm1
mov word [rsp + 0x50], r12w
mov rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.180007700
mov rbx, qword [r14]
mov rsi, qword [r14 + 8]
cmp rbx, rsi
je 0x1800a0ac1
movabs r13, 0x7ffffffffffffffe
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
mov rax, r13
sub rax, rcx
cmp rax, 1
jb 0x1800a0bcb
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800a0a41
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 1
lea r9, [0x180156840]
lea rcx, [rbp - 0x69]
call fcn.1800079c0
nop
lea rdx, [rbp - 0x69]
lea rcx, [rsp + 0x50]
call fcn.180007700
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
jb 0x1800a0ab4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a0aaf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a0bdd
call fcn.1800b98ec
add rbx, 0x20
cmp rbx, rsi
jne 0x1800a0a20
lea rdx, [rsp + 0x50]
cmp qword [rbp - 0x71], 8
cmovae rdx, qword [rsp + 0x50]
mov qword [rsp + 0x48], r15
lea rax, [rbp - 0x49]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne bl
mov rdx, qword [rbp - 0x71]
cmp rdx, 8
jb 0x1800a0b47
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a0b42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a0bd7
call fcn.1800b98ec
movdqa xmm0, xmmword [0x18015bd20]
movdqu xmmword [rbp - 0x79], xmm0
mov word [rsp + 0x50], r12w
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1800a0b95
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800a0b90
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800a0bd1
mov rcx, r8
call fcn.1800b98ec
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 7
mov word [rdi], r12w
mov rcx, r14
call fcn.180011880
movzx eax, bl
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.180001570
nop
call fcn.1800c5784
nop
call fcn.1800c5784
nop
call fcn.1800c5784
int3
Function at 0x1800a1bd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
xor ebp, ebp
mov dword [rsp + 0x68], 4
cmp qword [rdx + 0x18], 8
mov rdi, r8
mov rbx, rdx
mov dword [rsp + 0x58], ebp
jb 0x1800a1bfa
mov rdx, qword [rdx]
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x1800a1c26
mov ecx, dword [rsp + 0x58]
mov dword [rdi], ecx
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x1800a1c61
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800a1c5c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800a1c7f
mov rcx, r8
call fcn.1800b98ec
mov qword [rbx + 0x10], rbp
mov eax, esi
mov qword [rbx + 0x18], 7
mov word [rbx], bp
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
call fcn.1800c5784
int3

Function at 0x1800a1c90
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 8
mov rbx, rdx
jb 0x1800a1cac
mov rdx, qword [rdx]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rbx + 0x18]
mov edi, eax
cmp rdx, 8
jb 0x1800a1d0a
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800a1d05
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800a1d28
mov rcx, r8
call fcn.1800b98ec
xor eax, eax
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rax
mov word [rbx], ax
mov eax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
call fcn.1800c5784
int3
Function at 0x1800a52c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x1800a52ce
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1800a52e4
test al, 0x10
je 0x1800a52e4
mov al, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret

Function at 0x1800a53d0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x130
mov dword [rsp + 0x80], 0
lea rdx, [0x1801568dc]
lea rcx, [rsp + 0xd0]
call fcn.1800053a0
nop
lea r8, [rsp + 0xd0]
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x68]
call fcn.1800a5110
nop
lea rcx, [rsp + 0xd0]
call fcn.180005250
lea rcx, [rsp + 0x68]
call fcn.180004ee0
movzx eax, al
test eax, eax
je 0x1800a5462
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x68]
call fcn.1800117b0
nop
mov rcx, qword [rsp + 0x148]
call fcn.180004f40
movzx eax, byte [rsp + 0x40]
jmp 0x1800a56c0
lea rcx, [rsp + 0x68]
call fcn.1800a5fe0
lea rcx, [rsp + 0xb0]
call fcn.180005510
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.180004f00
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x60]
call fcn.180004ef0
mov qword [rsp + 0x88], rax
jmp 0x1800a54b5
mov rax, qword [rsp + 0x50]
add rax, 0x20
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x50], rax
je 0x1800a555d
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x90], rax
lea r8, [0x1801568d8]
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0xf0]
call fcn.1800063b0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0xb0]
call fcn.180007700
nop
lea rcx, [rsp + 0xf0]
call fcn.180005250
lea rcx, [rsp + 0xb0]
call fcn.1800a52c0
movzx eax, al
test eax, eax
jne 0x1800a5558
lea rcx, [rsp + 0xb0]
call fcn.180005200
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x1800a54a7
call fcn.1803701f0
push rax
in eax, 0x7f
invalid
add rsp, 0x130
pop rdi
ret
Function at 0x1800abcc0
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x18035c840], 0
jne 0x1800abcd5
xor edx, edx
mov ecx, 0x10001
jmp fcn.1800ac0d0
jmp 0x1800acdc0
push rbx
sub rsp, 0xa0
mov rax, qword [0x180170398]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1800ace5a
nop word [rax + rax]
cmp dword [rsp + 0x38], 0x12
jne 0x1800ace25
mov rbx, qword [0x18035cc30]
test rbx, rbx
je 0x1800ace3b
mov rcx, rbx
call fcn.1800ab4d0
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1800ace13
jmp 0x1800ace3b
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rsp + 0x30]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1800ace00
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x1800acf57
lea rdx, str.GLFW
mov qword [rsp + 0xc0], rdi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetPropW]
mov rdi, rax
test rax, rax
je 0x1800acf4f
movdqa xmm0, xmmword [0x18010f260]
xor ebx, ebx
movdqa xmm1, xmmword [0x18010f270]
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x90], r15
lea r15, [0x18035db98]
movdqu xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x70], xmm1
nop word [rax + rax]
movsxd rbp, dword [rsp + rbx*8 + 0x64]
mov ecx, dword [rsp + rbx*8 + 0x60]
movsx r14d, word [r15 + rbp*2]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x1800acf1e
cmp byte [rbp + rdi + 0x80], 1
jne 0x1800acf1e
call fcn.1800ae2e0
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov r8d, r14d
mov edx, ebp
mov rcx, rdi
call fcn.1800afa80
inc rbx
cmp rbx, 4
jl 0x1800acee0
mov r15, qword [rsp + 0x90]
mov r14, qword [rsp + 0x98]
mov r12, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xc0]
mov rbx, qword [0x18035e538]
test rbx, rbx
je 0x1800acfd9
mov rcx, qword [rbx + 0x348]
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x6c]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
cmp dword [rbx + 0x378], eax
jne 0x1800acf9d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
cmp dword [rbx + 0x37c], eax
je 0x1800acfd9
mov eax, r8d
mov dword [rsp + 0x60], ecx
cdq
mov dword [rbx + 0x378], ecx
mov rcx, qword [rbx + 0x348]
sub eax, edx
sar eax, 1
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x64], eax
mov dword [rbx + 0x37c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800ba300
add rsp, 0xa0
pop rbx
ret
Function at 0x1800abce0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp dword [0x18035c840], 0
mov r10d, r9d
mov r11d, r8d
jne 0x1800abcfb
xor edx, edx
mov ecx, 0x10001
jmp fcn.1800ac0d0
mov r8d, dword [rsp + 0x28]
mov r9d, dword [rsp + 0x30]
test r8d, r8d
jle 0x1800abd50
test r9d, r9d
jle 0x1800abd50
mov eax, dword [rsp + 0x38]
cmp eax, 0xfffffffe
jg 0x1800abd2c
mov r8d, eax
lea rdx, str.Invalid_refresh_rate__i
mov ecx, 0x10004
jmp fcn.1800ac0d0
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], r8d
mov dword [rcx + 0x28], r8d
mov r8d, r11d
mov dword [rcx + 0x2c], r9d
mov r9d, r10d
mov dword [rcx + 0x3c], eax
jmp fcn.1800ad2e0
lea rdx, str.Invalid_window_size__ix_i
mov ecx, 0x10004
jmp fcn.1800ac0d0