joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000dd14
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000dda9
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14000dda9
mov r8d, dword [rax + rcx + 0xd8]
test r8d, r8d
jne 0x14000dd66
lea rdx, str.___Load_config_directory_wasnt_found__probably_StackCookie_not_defined__fix_cookie_skipped
lea rcx, [0x14005c750]
call fcn.140008acc
mov rcx, rax
call fcn.140008cc4
mov al, 1
jmp 0x14000ddab
mov rdi, qword [r8 + rcx + 0x58]
test rdi, rdi
jne 0x14000dd79
lea rdx, str.___StackCookie_not_defined__fix_cookie_skipped
jmp 0x14000dd4e
sub rcx, rdx
movabs rsi, 0x2b992ddfa232
add rdi, rcx
lea rcx, [0x14005c750]
cmp qword [rdi], rsi
je 0x14000ddbb
lea rdx, str.____StackCookie_already_fixed___this_probably_wrong
call fcn.140008acc
mov rcx, rax
call fcn.140008cc4
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
lea rdx, str.___Fixing_stack_cookie
call fcn.140008acc
mov rcx, rax
call fcn.140008cc4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov eax, eax
movabs rcx, 0x2b992ddfa233
xor rax, rbx
xor rax, rsi
cmp rax, rsi
cmove rax, rcx
mov qword [rdi], rax
jmp 0x14000dd62
Function at 0x14000ec48
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x14005b060]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rdx
mov rbx, rcx
mov qword [rbp - 0x40], rcx
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14000ed6b
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000ed6b
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
xor edx, edx
mov qword [rbp - 0x10], rdx
mov ecx, dword [rax + r14 + 0xb0]
test ecx, ecx
jne 0x14000ecc8
and qword [rbx], rdx
and qword [rbx + 8], rdx
and qword [rbx + 0x10], rdx
lea rcx, [rbp - 0x20]
call fcn.14000e04c
jmp 0x14000ed79
lea rsi, [r14 + rcx]
mov r15d, dword [rax + r14 + 0xb4]
add r15, rsi
mov rcx, qword [rbp - 0x18]
cmp rsi, r15
jae 0x14000ed48
cmp dword [rsi + 4], 0
je 0x14000ed48
mov eax, dword [rsi]
add rax, r14
mov qword [rbp - 0x38], rax
lea rax, [rsi + 8]
mov qword [rbp - 0x30], rax
mov eax, dword [rsi + 4]
sub rax, 8
shr rax, 1
mov dword [rbp - 0x28], eax
cmp rcx, rdx
je 0x14000ed28
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rbp - 0x28]
movsd qword [rcx + 0x10], xmm1
mov rcx, qword [rbp - 0x18]
add rcx, 0x18
mov qword [rbp - 0x18], rcx
jmp 0x14000ed3c
lea r8, [rbp - 0x38]
mov rdx, rcx
lea rcx, [rbp - 0x20]
call fcn.14000f428
mov rcx, qword [rbp - 0x18]
mov eax, dword [rsi + 4]
add rsi, rax
mov rdx, qword [rbp - 0x10]
jmp 0x14000ecdb
and qword [rbp - 0x10], 0
and qword [rbp - 0x18], 0
mov rax, qword [rbp - 0x20]
and qword [rbp - 0x20], 0
mov qword [rbx], rax
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
jmp 0x14000ecba
and qword [rcx], 0
and qword [rcx + 8], 0
and qword [rcx + 0x10], 0
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140013f10
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14001036c
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14005b060]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rcx
xor ebx, ebx
and dword [rbp - 0x30], ebx
lea r9, [rbp - 0x30]
xor r8d, r8d
xor edx, edx
lea edi, [rbx + 0xb]
mov ecx, edi
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov esi, 0xc0000004
jmp 0x1400103f3
test rbx, rbx
je 0x1400103c8
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rbp - 0x30]
xor ecx, ecx
lea r9d, [rcx + 4]
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
lea r9, [rbp - 0x30]
mov r8d, dword [rbp - 0x30]
mov rdx, rax
mov ecx, edi
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, esi
je 0x1400103b2
test eax, eax
jns 0x140010434
test rbx, rbx
je 0x140010411
mov r8d, 0x8000
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140013f10
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
test rbx, rbx
je 0x140010411
xor edi, edi
cmp dword [rbx], edi
jbe 0x140010400
mov esi, edi
imul rax, rsi, 0x128
movzx edx, word [rax + rbx + 0x2e]
add rax, 0x30
add rdx, rax
add rdx, rbx
and qword [rbp - 0x28], 0
and qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0xf
lea rcx, [rbp - 0x28]
call fcn.140007954
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14001047f
mov rdx, qword [r14]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rcx, qword [rbp - 0x28]
call fcn.14001dd2c
test eax, eax
je 0x1400104dc
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400104cd
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400104c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010538
call fcn.140013f30
inc edi
cmp edi, dword [rbx]
jb 0x14001043f
jmp 0x140010400
imul rax, rsi, 0x128
mov rdi, qword [rax + rbx + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140010530
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001052b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010538
call fcn.140013f30
mov rax, rdi
jmp 0x140010413
call fcn.14001eb9c
int3
Function at 0x140010540
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r14, r8
mov rbp, rdx
mov r12, rcx
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x140010569
movsxd rcx, dword [rdx + 0x3c]
lea r13, [rdx + 0x18]
add r13, rcx
xor esi, esi
movzx eax, word [rcx + rdx + 0x14]
movzx r15d, word [rcx + rdx + 6]
add r13, rax
test r15d, r15d
je 0x1400105cc
lea rcx, [rsi + rsi*4]
mov r8, rbx
lea rdi, [rcx*8]
mov rdx, r12
add rdi, r13
mov rcx, rdi
call fcn.140016d50
test eax, eax
jne 0x1400105c5
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x1400105b7
cmp rbx, rax
je 0x1400105eb
inc esi
cmp esi, r15d
jb 0x140010592
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
cmp dword [rdi + 0xc], 0
je 0x1400105cc
test r14, r14
je 0x1400105fc
mov eax, dword [rdi + 8]
mov dword [r14], eax
mov eax, dword [rdi + 0xc]
add rax, rbp
jmp 0x1400105ce

Function at 0x14001ac24
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001ac44
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001ee18
or eax, 0xffffffff
jmp 0x14001ac46
xor eax, eax
add rsp, 0x28
ret

Function at 0x140024008
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140023e04

Function at 0x140026bd8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140026bee
mov al, 1
jmp 0x140026c4e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140026bff
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140026c4c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400307c8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140026c4c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140026c4c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140026c4c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140026c4e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14002b004
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140014ac0
sub rsp, rax
mov rax, qword [0x14005b060]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400269bc
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14002b053
mov rax, rbp
jmp 0x14002b15b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x5d9b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14002ca68
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x5d9b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14002b157
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002b157
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14002ca68
test rax, rax
js 0x14002b157
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14002b157
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14002b149
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14002b149
cmp byte [rcx], 0xd
jne 0x14002b12f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14002b13e
cmp byte [rcx + 1], 0xa
jne 0x14002b13e
inc rcx
jmp 0x14002b13e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x5b450]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14002b111
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14002b15b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140013f10
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002be08
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14005d9b0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14002be5f
cmp word [rdx], r13w
jne 0x14002be5f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14002be64
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14002bf89
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14002bfaa
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14002be9d
mov rdx, r9
mov word [rbx], cx
jmp 0x14002bec4
cmp r9, r8
jae 0x14002bed4
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14002be7e
jmp 0x14002bf89
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002bf7e
cmp dword [rsp + 0x80], esi
je 0x14002bf7e
lea r8, [0x14005d9b0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14002bf56
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14002bf26
mov word [rbx], r13w
jmp 0x14002bf86
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14002bf33
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14002bf86
cmp word [rsp + 0x70], r13w
jne 0x14002bf63
cmp rbx, r14
je 0x14002bf20
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14002ca70
cmp word [rsp + 0x70], r13w
je 0x14002bf89
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14005d9b0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14002bf83
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14002bf89
Function at 0x14002fdc0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14002fe47
mov rsi, rbx
cmp word [rax], bp
je 0x14002fe06
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14002fdf0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14002fdec
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140028a1c
mov rdi, rax
test rax, rax
je 0x14002fe34
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140016480
mov rbp, rdi
xor ecx, ecx
call fcn.140028598
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140032d1c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140027164
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140032dbd
cmp ebx, dword [rsp + 0x30]
je 0x140032db6
test esi, esi
je 0x140032db6
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140032d91
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140032d9e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140032d7b
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140032da2
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140032dbf
mov eax, 1
jmp 0x140032dbf
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400374d4
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14002ca70
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14002ca70
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140037624
cmp rax, 0xffffffffffffffff
je 0x140037624
xor edi, edi
test rbp, rbp
jle 0x1400375cf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140027738
mov rbx, rax
test rax, rax
jne 0x14003755c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400375c5
mov edx, 0x8000
mov ecx, r14d
call fcn.140024084
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140028290
cmp eax, 0xffffffff
je 0x1400375a5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14003756c
mov edx, r15d
mov ecx, r14d
call fcn.140024084
jmp 0x1400375c5
cmp byte [rsi + 0x38], dil
je 0x1400375bc
cmp dword [rsi + 0x34], 5
jne 0x1400375bc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400375c5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140028598
jmp 0x140037638
jns 0x140037638
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14002ca70
cmp rax, 0xffffffffffffffff
jne 0x1400375f0
cmp byte [rsi + 0x30], dil
je 0x140037638
mov edi, dword [rsi + 0x2c]
jmp 0x140037638
mov ecx, r14d
call fcn.1400307c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140037638
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140037638
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140037631
mov eax, dword [rsi + 0x2c]
jmp 0x140037636
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14002ca70
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140002490
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140058040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebx, r8d
mov rdi, rdx
lea rdx, str.Press_Key
cmp ecx, 0x7b
ja 0x1400024c9
movsxd rax, ecx
lea rdx, str.Keybind
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x14004f570]
movdqu xmmword [rsp + 0x48], xmm1
mov byte [rsp + 0x38], 0
cmp byte [rdx], 0
jne 0x1400024f8
mov r8d, 8
lea rdx, str.Your_Key
jmp 0x14000250a
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140002500
lea rcx, [rsp + 0x38]
call fcn.14000f320
cmp ebx, 1
jne 0x140002530
mov r8d, 9
lea rdx, str.Press_Key
lea rcx, [rsp + 0x38]
call fcn.14000f320
mov dword [rsp + 0x30], 0x42fa0000
mov dword [rsp + 0x34], 0x41a00000
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x30]
call fcn.14003f8b0
test al, al
je 0x14000257f
test ebx, ebx
jne 0x14000257f
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400025bf
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400025ba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140043d50
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140043d30
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14000b1e0
Capabilities:
Read .ini file

Disassembly:
push rdi
sub rsp, 0x90
mov rax, qword [0x140058040]
xor rax, rsp
mov qword [rsp + 0x80], rax
lea rax, str.C:config.ini
mov rdi, r8
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea r8, [0x1400488aa]
mov dword [rsp + 0x20], 0x40
lea rcx, str.Colors
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14000b29b
lea r8, [rsp + 0x30]
lea rdx, [0x140048ed8]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
test rax, rax
je 0x14000b294
mov qword [rsp + 0xa0], rbx
xor ebx, ebx
cmp rbx, 4
jge 0x14000b28c
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
lea r8, [rsp + 0x30]
cvtsd2ss xmm1, xmm0
lea rdx, [0x140048ed8]
xor ecx, ecx
movss dword [rdi + rbx*4], xmm1
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
inc rbx
test rax, rax
jne 0x14000b255
mov rbx, qword [rsp + 0xa0]
mov eax, 1
jmp 0x14000b29d
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140043d30
add rsp, 0x90
pop rdi
ret
Function at 0x14000d9f0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140058040]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebx, ebx
lea rdx, str.CrosshairX
lea rcx, str.Chrome_WidgetWin_1
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
mov qword [0x1400f4230], rax
test rax, rax
jne 0x14000da49
mov r9d, 0x40
lea r8, [0x1400488aa]
lea rdx, str._Overlay_Failed__Please_Make_Sure_You_Have_CrosshairX_Open
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14000daf6
mov dword [rsp + 0x30], 0x40
mov eax, dword [0x1400f4224]
mov dword [rsp + 0x28], eax
mov eax, dword [0x1400f4218]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, 0xffffffffffffffff
call qword [sym.imp.USER32.dll_SetWindowPos]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, qword [0x1400f4230]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov edx, 0xffffffec
mov r8d, 0x80020
mov rcx, qword [0x1400f4230]
call qword [sym.imp.USER32.dll_SetWindowLongA]
movdqa xmm0, xmmword [0x14004f540]
movdqu xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1400f4230]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 5
mov rcx, qword [0x1400f4230]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400f4230]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor edx, edx
mov rcx, qword [0x1400f4230]
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.14000cac0
call fcn.14000d590
movzx r8d, al
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, 1
call fcn.140043ff8
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140013170]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000db95
cmp dword [rsp + 0x48], 0
je 0x14000db89
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14000db89
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140043d30
add rsp, 0x70
pop rbx
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x48], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x140013aa0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140013b01
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140013ac0
mov ecx, dword [r9]
jmp 0x140013beb
cmp ecx, 0x4e0
jb 0x140013beb
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140013b20
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140013b70
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret