joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004e07c
Capabilities:
Query environment variable

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 r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18004e0ac
xor eax, eax
jmp 0x18004e16f
mov rbp, rbx
cmp word [rax], si
je 0x18004e0d1
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18004e0b8
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18004e0b4
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18004c074
movsxd r14, eax
test eax, eax
jne 0x18004e10f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18004e0a5
mov rcx, r14
call fcn.1800388c8
mov rdi, rax
test rax, rax
jne 0x18004e128
xor ecx, ecx
call fcn.18003ea5c
jmp 0x18004e104
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18004c074
test eax, eax
jne 0x18004e159
mov rcx, rdi
call fcn.18003ea5c
jmp 0x18004e163
xor ecx, ecx
call fcn.18003ea5c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18004e18c
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 0x18004e213
mov rsi, rbx
cmp word [rax], bp
je 0x18004e1d2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x18004e1bc
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x18004e1b8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1800388c8
mov rdi, rax
test rax, rax
je 0x18004e200
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.180031c30
mov rbp, rdi
xor ecx, ecx
call fcn.18003ea5c
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 0x180052608
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.180044c98
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 0x1800526a9
cmp ebx, dword [rsp + 0x30]
je 0x1800526a2
test esi, esi
je 0x1800526a2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x18005267d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x18005268a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x180052667
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x18005268e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1800526ab
mov eax, 1
jmp 0x1800526ab
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180052f40
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, [0x180080290]
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 0x180052f97
cmp word [rdx], r13w
jne 0x180052f97
or byte [rax + rdi*8 + 0x38], cl
jmp 0x180052f9c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1800530c1
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1800530e2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x180052fd5
mov rdx, r9
mov word [rbx], cx
jmp 0x180052ffc
cmp r9, r8
jae 0x18005300c
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 0x180052fb6
jmp 0x1800530c1
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 0x1800530b6
cmp dword [rsp + 0x80], esi
je 0x1800530b6
lea r8, [0x180080290]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x18005308e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x18005305e
mov word [rbx], r13w
jmp 0x1800530be
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 0x18005306b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1800530be
cmp word [rsp + 0x70], r13w
jne 0x18005309b
cmp rbx, r14
je 0x180053058
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.180048c00
cmp word [rsp + 0x70], r13w
je 0x1800530c1
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, [0x180080290]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1800530bb
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1800530c1
Function at 0x180056f84
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.180048c00
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180048c00
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800570d4
cmp rax, 0xffffffffffffffff
je 0x1800570d4
xor edi, edi
test rbp, rbp
jle 0x18005707f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180037d44
mov rbx, rax
test rax, rax
jne 0x18005700c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180057075
mov edx, 0x8000
mov ecx, r14d
call fcn.180056e08
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.180048644
cmp eax, 0xffffffff
je 0x180057055
cdqe
sub rbp, rax
test rbp, rbp
jg 0x18005701c
mov edx, r15d
mov ecx, r14d
call fcn.180056e08
jmp 0x180057075
cmp byte [rsi + 0x38], dil
je 0x18005706c
cmp dword [rsi + 0x34], 5
jne 0x18005706c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180057075
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.18003ea5c
jmp 0x1800570e8
jns 0x1800570e8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180048c00
cmp rax, 0xffffffffffffffff
jne 0x1800570a0
cmp byte [rsi + 0x30], dil
je 0x1800570e8
mov edi, dword [rsi + 0x2c]
jmp 0x1800570e8
mov ecx, r14d
call fcn.180052e68
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800570e8
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 0x1800570e8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800570e1
mov eax, dword [rsi + 0x2c]
jmp 0x1800570e6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180048c00
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 0x1400081e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140008ff0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140008ff0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140008250
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400130a4]
mov rbx, rcx
test esi, esi
jle 0x140008380
mov rax, qword [0x1400130a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000829b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140008325
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140008280
mov rcx, rbx
call fcn.140008cd0
mov rdi, rax
test rax, rax
je 0x1400083a2
mov rax, qword [0x1400130a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140008e10
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400130a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140008387
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000831e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140008330
add dword [0x1400130a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400130a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000831e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400081e0
nop dword [rax]
xor esi, esi
jmp 0x1400082a8
mov rax, qword [0x1400130a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400081e0
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400081e0
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140008940
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140013100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400130e0]
test rbx, rbx
je 0x14000899c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140008993
test eax, eax
jne 0x140008993
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140008978
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140008cd0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140010060]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140008cf0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140008cf8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140008cf0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x140008d4d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140008d44
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140008cf0
add rax, 0x28
cmp rax, r9
jne 0x140008d30
xor eax, eax
ret

Function at 0x140008d50
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140010060]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x140008d6f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140008d78
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x140008d6f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140008e10
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140010060]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140008e2f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140008e38
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140002820
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1401020c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov ebx, r8d
mov rdi, rdx
lea rdx, str.Press_Key
cmp ecx, 0x7b
ja 0x140002859
movsxd rax, ecx
lea rdx, str.Keybind
mov rdx, qword [rdx + rax*8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1400ee210]
movdqu xmmword [rsp + 0x48], xmm1
mov byte [rsp + 0x38], 0
cmp byte [rdx], 0
jne 0x140002888
mov r8d, 8
lea rdx, str.Your_Key
jmp 0x14000289a
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140002890
lea rcx, [rsp + 0x38]
call fcn.1400143c0
cmp ebx, 1
jne 0x1400028c0
mov r8d, 9
lea rdx, str.Press_Key
lea rcx, [rsp + 0x38]
call fcn.1400143c0
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.140051fb0
test al, al
je 0x14000290f
test ebx, ebx
jne 0x14000290f
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 0x14000294f
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000294a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000294a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d0390
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400d0370
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x14000be10
Capabilities:
Read .ini file

Disassembly:
push rdi
sub rsp, 0x90
mov rax, qword [0x1401020c0]
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, [0x1400e64e6]
mov dword [rsp + 0x20], 0x40
lea rcx, str.Colors
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x14000becb
lea r8, [rsp + 0x30]
lea rdx, [0x1400e6bd8]
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strtok_s]
test rax, rax
je 0x14000bec4
mov qword [rsp + 0xa0], rbx
xor ebx, ebx
cmp rbx, 4
jge 0x14000bebc
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, [0x1400e6bd8]
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 0x14000be85
mov rbx, qword [rsp + 0xa0]
mov eax, 1
jmp 0x14000becd
xor eax, eax
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400d0370
add rsp, 0x90
pop rdi
ret
Function at 0x14000e800
Capabilities:
Log keystrokes via polling

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x1401020c0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, qword [0x140116da8]
xor esi, esi
test rax, rax
je 0x14000e82c
mov rcx, qword [rax + 0x98]
jmp 0x14000e82f
mov rcx, rsi
cmp qword [rcx + 0x48], rsi
jne 0x14000e83a
call fcn.14004e4d0
call fcn.14004f710
call fcn.1400211b0
call fcn.1400071d0
call fcn.1400058e0
mov ecx, dword [0x140115604]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14000e86c
cmp byte [reloc.WS2_32.dll_accept], sil
sete byte [0x140115600]
mov ecx, reloc.WLDAP32.dll_Ordinal_35
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x14000ea22
cmp byte [reloc.WS2_32.dll_accept], sil
je 0x14000e959
call fcn.14000d2c0
cmp byte [reloc.WS2_32.dll_accept], sil
je 0x14000e959
cmp byte [reloc.WS2_32.dll_accept], sil
je 0x14000e959
mov rax, qword [0x140116da8]
lea r8, str.Foreground
mov qword [rsp + 0x70], rbx
mov edx, 1
mov qword [rsp + 0x78], rdi
movsd xmm0, qword [rax + 0xe48]
mov rax, qword [rax + 0x4b00]
movsd qword [rsp + 0x30], xmm0
mov rcx, qword [rax]
call fcn.140020810
movdqa xmm0, xmmword [0x1400ee700]
lea rcx, [rsp + 0x38]
movups xmmword [rsp + 0x38], xmm0
mov rbx, rax
call fcn.14001c8b0
mov edi, eax
test eax, 0xff000000
je 0x14000e94f
movss xmm0, dword [0x1400ee088]
lea rdx, [rsp + 0x30]
movss xmm2, dword [0x1400ee084]
xorps xmm3, xmm3
mov dword [rsp + 0x28], Ordinal_33
mov rcx, rbx
movss dword [rsp + 0x20], xmm0
call fcn.140040840
mov r8d, dword [rbx + 0x78]
mov r9d, edi
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
call fcn.14003fd70
mov dword [rbx + 0x78], esi
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
call fcn.140023160
movss xmm2, dword [0x1401155ac]
lea r8, [0x140116d98]
movss xmm1, dword [0x1401155a4]
movaps xmm0, xmm2
mulss xmm0, dword [0x1401155a0]
xor r9d, r9d
mov rcx, qword [0x140116cf8]
mov edx, 1
mulss xmm1, xmm2
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [0x1401155a8]
mulss xmm0, xmm2
movss dword [rsp + 0x4c], xmm1
movss dword [rsp + 0x54], xmm2
movss dword [rsp + 0x50], xmm0
mov rax, qword [rcx]
call qword [rax + 0x108]
mov rcx, qword [0x140116cf8]
lea r8, [rsp + 0x48]
mov rdx, qword [0x140116d98]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x140116da8]
mov rcx, qword [rax + 0x4b00]
mov rcx, qword [rcx]
add rcx, 0x48
cmp byte [rcx], sil
cmove rcx, rsi
call fcn.14004da60
mov rcx, qword [0x140116d10]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400d0370
add rsp, 0x60
pop rsi
ret
call fcn.140004b50
int3
Function at 0x14000ed80
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1401020c0]
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 [0x140116e40], rax
test rax, rax
jne 0x14000edd9
mov r9d, 0x40
lea r8, [0x1400e64e6]
lea rdx, str._Overlay_Failed__Please_Make_Sure_You_Have_CrosshairX_Open_or_download_crosshair_x
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x14000ee86
mov dword [rsp + 0x30], 0x40
mov eax, dword [0x140116e34]
mov dword [rsp + 0x28], eax
mov eax, dword [0x140116e28]
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 [0x140116e40]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov edx, 0xffffffec
mov r8d, 0x80020
mov rcx, qword [0x140116e40]
call qword [sym.imp.USER32.dll_SetWindowLongA]
movdqa xmm0, xmmword [0x1400ee1e0]
movdqu xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov rcx, qword [0x140116e40]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 5
mov rcx, qword [0x140116e40]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140116e40]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor edx, edx
mov rcx, qword [0x140116e40]
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.14000e4e0
call fcn.14000ea30
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.1400d0638
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x1400190f0]
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 0x14000ef25
cmp dword [rsp + 0x48], 0
je 0x14000ef19
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 0x14000ef19
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d0370
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 0x1400122f0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140012318
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14001233e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140012340
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140012399
test ecx, ecx
jle 0x140012379
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140012399
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140012399
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x1400123c0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400123e2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x1400123f8
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140012414
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140012416
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140012452
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400124ee
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14001248d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1400124ce
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400124ee
cmp rbx, rax
ja 0x1400124a0
test rbx, rbx
je 0x1400124ee
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret