joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002c4c4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14001a10c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002c54e
cmp byte [rbp - 0x21], r15b
je 0x14002c549
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14002c584
call fcn.140020be0
test eax, eax
jne 0x14002c570
cmp byte [rbp - 0x21], r15b
je 0x14002c568
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14002c584
cmp byte [rbp - 0x21], r15b
je 0x14002c581
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14001a75c
test eax, eax
jne 0x14002c624
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14001a10c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002c5c3
cmp byte [rbp - 0x21], r15b
je 0x14002c5f8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14002c5f8
call fcn.140020be0
test eax, eax
jne 0x14002c5e4
cmp byte [rbp - 0x21], r15b
je 0x14002c5dd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14002c5f8
cmp byte [rbp - 0x21], r15b
je 0x14002c5f5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14001a75c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14002c624
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002c627
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14002c635
mov rcx, rdi
call fcn.14001f104
cmp byte [rbp + 0x3f], r15b
je 0x14002c644
mov rcx, qword [rbp + 0x27]
call fcn.14001f104
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14002e2d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002e2f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002e2f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140011249
Capabilities:
Terminate process

Disassembly:
jmp 0x140013db0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x1400112e4
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015100
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015120
xor al, al
jmp 0x1400151a1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015133
xor al, al
jmp 0x1400151a1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001515d
xor al, al
jmp 0x1400151a1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015171
xor al, al
jmp 0x1400151a1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015183
xor al, al
jmp 0x1400151a1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001519f
xor al, al
jmp 0x1400151a1
mov al, 1
add rsp, 0x38
ret
Function at 0x180076540
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
test rax, rax
je 0x18007657e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
add eax, 0xffffff80
test eax, 0xffffff7f
je 0x18007657e
mov edx, 0x80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x1800765f4
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x1800765f4
mov esi, dword [r9 + 0x20]
dec edx
mov r11d, 0x1444de66
lea rcx, [rsi + rdx*4]
mov r10d, dword [rcx + r8]
add r10, r8
mov cl, byte [r10]
inc r10
test cl, cl
je 0x1800765f0
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [r10]
inc r10
test cl, cl
jne 0x1800765d0
cmp r11d, 0xb723a13c
je 0x1800765f9
test edx, edx
jne 0x1800765b3
mov rax, qword [rax]
jmp 0x18007658f
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rcx, rbx
add rax, r8
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp rax
Function at 0x180076aac
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x180076aff
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov rcx, rbx
call fcn.180074fd0
call fcn.180076540
call fcn.180076628
and qword [rsp + 0x28], 0
lea r8, [0x180075e48]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180076aff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret

Function at 0x180076eac
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180076ed1
xor eax, eax
jmp 0x180076fce
cmp qword [rcx + 0x68], 0
je 0x180076ee2
call fcn.180079004
jmp 0x180076fce
mov rax, qword [rcx + 0x38]
mov rbp, rdi
mov rdx, qword [rax]
test rdx, rdx
je 0x180076ef9
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180076efb
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180076f30
cmp rax, rdi
mov rbx, rdi
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.180119a70
mov rax, qword [rsi + 0x50]
sub rbp, rbx
add r14, rbx
mov r8, rbp
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x180076fc8
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x180076f6b
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov r15d, 0xfff
mov rbx, r8
cmp r8, r15
jbe 0x180076fa3
mov r9, qword [rsi + 0x80]
mov r8, r15
mov edx, 1
mov rcx, r14
call fcn.18012358c
sub rbp, rax
add r14, rax
mov rbx, rbp
cmp rax, r15
jne 0x180076fdf
cmp rbp, r15
ja 0x180076f79
mov r8, rbx
test rbx, rbx
je 0x180076fc8
mov r9, qword [rsi + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, r14
call fcn.18012358c
mov r8, rbx
sub r8, rax
sub rdi, r8
mov rax, rdi
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
sub rdi, rbp
jmp 0x180076fcb
Function at 0x1800773ac
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x18021e070]
xor rax, rsp
mov qword [rbp - 8], rax
or edi, 0xffffffff
mov esi, edx
mov rbx, rcx
cmp edx, edi
jne 0x1800773e5
xor eax, eax
jmp 0x180077507
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x18007741f
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
mov rcx, r8
add rcx, qword [rax]
cmp qword [rax], rcx
jae 0x18007741f
lea ecx, [r8 - 1]
mov eax, esi
mov dword [rdx], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
jmp 0x180077507
cmp qword [rbx + 0x80], 0
je 0x180077505
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18007745a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x18007747d
movsx ecx, sil
mov rdx, qword [rbx + 0x80]
call fcn.180123920
cmp eax, edi
cmovne edi, esi
jmp 0x180077505
lea r8, [rbp - 0x40]
mov byte [rbp - 0x30], sil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp - 0x2f]
lea r8, [rbp - 8]
mov qword [rsp + 0x30], r8
lea r8, [rbp - 0x28]
mov qword [rsp + 0x28], r8
lea r8, [rbp - 0x38]
mov qword [rsp + 0x20], r8
lea r8, [rbp - 0x30]
call qword [rax + 0x38]
test eax, eax
je 0x1800774cb
sub eax, 1
je 0x1800774cb
cmp eax, 2
jne 0x180077505
movsx ecx, byte [rbp - 0x30]
jmp 0x180077467
mov r14, qword [rbp - 0x40]
lea rax, [rbp - 0x28]
sub r14, rax
je 0x1800774f5
mov r9, qword [rbx + 0x80]
lea rcx, [rbp - 0x28]
mov r8, r14
mov edx, 1
call fcn.1801232a8
cmp r14, rax
jne 0x180077505
lea rax, [rbp - 0x30]
mov byte [rbx + 0x71], 1
cmp qword [rbp - 0x38], rax
mov eax, esi
jne 0x180077507
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1801170e0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x180077aac
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x18021e070]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x180077b1b
cmp byte [rcx + 0x71], 0
je 0x180077b1b
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180077b6f
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x180077b35
sub eax, 1
je 0x180077b39
cmp eax, 2
jne 0x180077b6f
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1801170e0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180077b66
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.1801232a8
cmp rdi, rax
jne 0x180077b6f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180077b1d
xor al, al
jmp 0x180077b1d

Function at 0x180079200
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x18021e070]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov dword [rbp - 0x30], 0x64616f4c
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x2c], 0x7262694c
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x28], 0x41797261
mov byte [rbp - 0x24], 0
mov dword [rbp - 0x20], 0x4e52454b
mov dword [rbp - 0x1c], 0x41424c45
mov dword [rbp - 0x18], 0x642e4553
mov word [rbp - 0x14], 0x6c6c
mov byte [rbp - 0x12], 0
call fcn.180079280
mov rcx, rbx
call rax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1801170e0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret

Function at 0x180079280
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x110
mov rax, qword [0x18021e070]
xor rax, rsp
mov qword [rsp + 0x100], rax
or r9d, 0xffffffff
mov dword [rsp + 0x28], 0x64
mov rdi, rdx
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov r8, rcx
xor ecx, ecx
lea edx, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
jmp 0x180079306
mov rcx, qword [rax + 0x60]
lea r8, [rsp + 0x30]
sub r8, rcx
movzx edx, word [rcx]
movzx r9d, word [rcx + r8]
sub edx, r9d
jne 0x1800792ff
add rcx, 2
test r9d, r9d
jne 0x1800792e9
test edx, edx
je 0x18007930f
mov rax, qword [rax]
cmp qword [rax + 0x30], 0
jne 0x1800792dd
jmp 0x180079318
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x180079325
mov rcx, rbx
call fcn.180079200
test rax, rax
je 0x180079335
mov rdx, rdi
mov rcx, rax
call fcn.180079358
test rax, rax
jne 0x180079337
xor eax, eax
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1801170e0
mov rbx, qword [rsp + 0x130]
add rsp, 0x110
pop rdi
ret
Function at 0x180079358
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x18021e070]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor r12d, r12d
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
je 0x1800794d0
movsxd rax, dword [rcx + 0x3c]
mov r9d, dword [rax + rcx + 0x88]
mov r11d, dword [rax + rcx + 0x8c]
lea r8, [rcx + r9]
test r11d, r11d
je 0x1800794d0
lea r13d, [r12 + 1]
cmp rdx, 0xffff
ja 0x18007947f
mov ecx, dword [r8 + 0x1c]
movzx eax, bp
sub ax, word [r8 + 0x10]
add rcx, rbx
add ax, r13w
movzx edx, ax
mov edi, dword [rcx + rdx*4]
cmp edi, r9d
jb 0x18007947f
lea eax, [r9 + r11]
cmp edi, eax
jae 0x18007947f
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.18011a120
lea rdx, [rbx + rdi]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r12b
jne 0x18007940e
test r8, r8
je 0x1800794d0
lea rcx, [rsp + 0x20]
call fcn.180119a70
mov edx, 0x2e
lea rcx, [rsp + 0x20]
call fcn.1801199bc
lea rdi, [rax + r13]
mov byte [rax], r12b
cmp byte [rdi], 0x23
jne 0x180079451
lea rcx, [rdi + 1]
call fcn.180123e68
movzx edi, ax
lea rcx, [rsp + 0x20]
call fcn.180079200
mov rsi, rax
cmp rax, rbx
jne 0x180079472
mov rdx, rbp
mov rcx, rdi
call fcn.180123d6c
test eax, eax
je 0x1800794d0
mov rdx, rdi
mov rcx, rsi
call fcn.180079358
jmp 0x1800794d2
mov ecx, dword [r8 + 0x18]
mov edi, r12d
mov r15d, dword [r8 + 0x20]
sub ecx, r13d
lea r10d, [rdi + rcx]
mov rsi, rbp
shr r10d, 1
lea rax, [r15 + r10*4]
mov edx, dword [rax + rbx]
add rdx, rbx
sub rsi, rdx
mov al, byte [rdx]
cmp al, byte [rdx + rsi]
jne 0x1800794b7
add rdx, r13
test al, al
jne 0x1800794a4
mov eax, r12d
jmp 0x1800794bc
sbb eax, eax
or eax, r13d
test eax, eax
jns 0x1800794c6
lea edi, [r10 + 1]
jmp 0x1800794cc
jle 0x1800794fd
lea ecx, [r10 - 1]
cmp edi, ecx
jbe 0x18007948d
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1801170e0
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, dword [r8 + 0x24]
add rcx, rbx
cmp word [rcx + r10*2], r12w
je 0x1800794d0
movzx edx, word [rcx + r10*2]
mov ecx, dword [r8 + 0x1c]
add rcx, rbx
mov edi, dword [rcx + rdx*4]
cmp edi, r9d
jb 0x18007954f
lea eax, [r9 + r11]
cmp edi, eax
jae 0x18007954f
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call fcn.18011a120
lea rdx, [rbx + rdi]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r12b
jne 0x180079541
jmp 0x180079417
lea rax, [rbx + rdi]
jmp 0x1800794d2
Function at 0x18007be38
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x18021e070]
xor rax, rsp
mov qword [rbp - 8], rax
mov rcx, qword [0x18024fee0]
lea rdx, [rbp - 0x28]
mov rdi, qword [0x18024f880]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x20]
lea rcx, [rbp - 0x10]
sub eax, dword [rbp - 0x28]
movd xmm1, eax
mov eax, dword [rbp - 0x1c]
sub eax, dword [rbp - 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x10]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x18024fee8]
cvtsi2ss xmm0, qword [0x18024fef0]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x18024fee8], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x148], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x149], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x14b], 0
mov rbx, qword [0x18024f880]
mov byte [rdi + 0x14a], al
cmp byte [rbx + 0x3a3], 0
je 0x18007bf5e
cvttss2si eax, dword [rbx + 0x130]
mov rcx, qword [0x18024fee0]
lea rdx, [rbp - 0x18]
mov dword [rbp - 0x18], eax
cvttss2si eax, dword [rbx + 0x134]
mov dword [rbp - 0x14], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x14]
mov ecx, dword [rbp - 0x18]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx + 0x130], eax
mov dword [rbx + 0x134], eax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x18007bfd6
mov rdx, qword [0x18024fee0]
cmp rax, rdx
je 0x18007bf93
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x18007bfd6
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x18007bfd6
mov rcx, qword [0x18024fee0]
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x18007bfd6
movd xmm0, dword [rbp - 0x30]
movd xmm1, dword [rbp - 0x2c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0x130], xmm0
movss dword [rbx + 0x134], xmm1
cmp byte [rdi + 0xc8], 0
je 0x18007bfe4
or eax, 0xffffffff
jmp 0x18007bff1
mov rax, qword [0x18024f880]
mov eax, dword [rax + 0x1f98]
cmp dword [0x1802497e8], eax
je 0x18007c004
mov dword [0x1802497e8], eax
call fcn.18007bddc
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1801170e0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x18007d670
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x18007d6ca
mov r11b, 0x23
lea rdi, [0x180158ae0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x18007d6b4
cmp rdx, 2
jb 0x18007d6b4
cmp byte [r10], r11b
jne 0x18007d6b4
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x18007d692
jmp 0x18007d70b
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x18007d70b
mov r11b, 0x23
lea rdi, [0x180158ae0]
cmp dl, r11b
jne 0x18007d6ef
cmp byte [r10], r11b
jne 0x18007d6ef
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x18007d6dd
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x18007d828
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18007d849
and qword [r8], 0
lea rdx, [0x180158924]
call fcn.18007d71c
mov rbx, rax
test rax, rax
je 0x18007d91e
mov rcx, rax
call fcn.1801243ec
mov esi, eax
cmp eax, 0xffffffff
je 0x18007d916
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.180123004
test eax, eax
jne 0x18007d916
mov rcx, rbx
call fcn.1801243ec
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18007d916
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.180123004
test eax, eax
jne 0x18007d916
cmp rdi, 0xffffffffffffffff
je 0x18007d916
mov rax, qword [0x18024f880]
test rax, rax
je 0x18007d8c3
inc dword [rax + 0x3bc]
mov rdx, qword [0x18024f878]
mov rcx, rdi
call fcn.18007cf70
mov rsi, rax
test rax, rax
je 0x18007d916
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.18012358c
mov rcx, rbx
cmp rax, rdi
je 0x18007d904
call fcn.180123cb8
mov rcx, rsi
call fcn.18007fd9c
jmp 0x18007d91e
call fcn.180123cb8
test r14, r14
je 0x18007d911
mov qword [r14], rdi
mov rax, rsi
jmp 0x18007d920
mov rcx, rbx
call fcn.180123cb8
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

Function at 0x18007f708
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 0x28
movsxd rdx, dword [rcx + 0xc0]
mov r9d, 4
mov rax, qword [rcx + 0xc8]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x180158ae0]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x18007f731
not r8d
mov ecx, r8d
call fcn.18007f9dc
mov eax, r8d
add rsp, 0x28
ret
Function at 0x18007f768
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
mov rax, qword [0x18021e070]
xor rax, rsp
mov qword [rsp + 0x30], rax
movss xmm0, dword [rdx]
mov r8, rcx
subss xmm0, dword [rcx + 0x10]
movss xmm1, dword [rdx + 8]
mov r9d, 0x10
subss xmm1, dword [rcx + 0x10]
cvttss2si eax, xmm0
movss xmm0, dword [rdx + 4]
subss xmm0, dword [rcx + 0x14]
mov dword [rsp + 0x20], eax
cvttss2si eax, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm0, dword [rcx + 0x14]
movsxd rcx, dword [rcx + 0xc0]
mov dword [rsp + 0x24], eax
cvttss2si eax, xmm1
mov dword [rsp + 0x28], eax
cvttss2si eax, xmm0
mov dword [rsp + 0x2c], eax
mov rax, qword [r8 + 0xc8]
lea r8, [rsp + 0x20]
mov edx, dword [rax + rcx*4 - 4]
not edx
movzx eax, byte [r8]
inc r8
movzx ecx, dl
xor rcx, rax
shr edx, 8
lea rax, [0x180158ae0]
xor edx, dword [rax + rcx*4]
sub r9, 1
jne 0x18007f7e4
not edx
mov ecx, edx
call fcn.18007f9dc
mov eax, edx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1801170e0
add rsp, 0x48
ret