joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007820
Capabilities:
Process ghostly hollowing
Set file attributes
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov esi, r8d
mov rbp, rdx
call fcn.140007a80
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140007a1f
xorps xmm0, xmm0
mov qword [rsp + 0x80], rdi
mov r9d, 1
mov byte [rsp + 0x98], 1
lea r8, [rsp + 0x98]
mov dword [rsp + 0x20], 0xd
lea rdx, [rsp + 0x60]
mov rcx, rax
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
lea rcx, [0x1400445b0]
mov edi, eax
test eax, eax
jns 0x1400078d7
lea rdx, str.Setting_information_failed:
call fcn.1400012f0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, edi
mov rcx, rax
call fcn.140002940
mov rcx, rax
lea rdx, [0x14003184c]
call fcn.1400012f0
jmp 0x140007967
lea rdx, str.___Information_set_n
call fcn.1400012f0
xor edi, edi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rdi
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov dword [rsp + 0x30], esi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rbp
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], rdi
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
jns 0x140007988
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Failed_writing_payload__Error:
mov ebx, eax
lea rcx, [0x1400446e0]
call fcn.1400012f0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, ebx
mov rcx, rax
call fcn.140002b50
mov rcx, rax
call fcn.140001b80
mov rax, 0xffffffffffffffff
mov rdi, qword [rsp + 0x80]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rsi
ret
lea rdx, str.___Written__n
lea rcx, [0x1400445b0]
call fcn.1400012f0
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x58]
mov dword [rsp + 0x28], 0x1000000
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0xf001f
mov qword [rsp + 0x58], rdi
call qword [sym.imp.ntdll.dll_NtCreateSection]
mov edi, eax
test eax, eax
je 0x140007a0c
lea rdx, str.NtCreateSection_failed:
lea rcx, [0x1400446e0]
call fcn.1400012f0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff9ff
bts ecx, 0xb
mov dword [rdx + rax + 0x18], ecx
mov edx, edi
mov rcx, rax
call fcn.140002940
jmp 0x14000795f
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov rax, qword [rsp + 0x58]
jmp 0x14000796e
lea rdx, str.Failed_to_create_file
lea rcx, [0x1400446e0]
call fcn.1400012f0
mov rbx, rax
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
and ecx, 0xfffff3ff
bts ecx, 9
mov dword [rdx + rax + 0x18], ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140002b50
mov rcx, rax
call fcn.140001b80
lea r11, [rsp + 0x70]
mov rax, 0xffffffffffffffff
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rsi
ret
Function at 0x14000a0a4
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14000a0d2
xor eax, eax
jmp 0x14000a1b8
cmp qword [rcx + 0x68], 0
je 0x14000a0e3
call fcn.14000a1d4
jmp 0x14000a1b8
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000a0fa
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000a0fc
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000a12e
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14000e100
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14000a1b2
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14000a165
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x14000a18e
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.140017e08
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14000a1b2
cmp rsi, rbx
ja 0x14000a16c
test rsi, rsi
je 0x14000a1b2
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.140017e08
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x14000cfd0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000d01a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000d01a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000d01a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000d01a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000d01a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000d01c
xor al, al
add rsp, 0x28
ret

Function at 0x14001a948
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001a744
Function at 0x140023dd0
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.14000c8d0
sub rsp, rax
mov rax, qword [0x140043038]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400213b8
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140023e1f
mov rax, rbp
jmp 0x140023f27
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 + 0x45950]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400250b8
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x45950]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140023f23
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 0x140023f23
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400250b8
test rax, rax
js 0x140023f23
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140023f23
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140023f15
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140023f15
cmp byte [rcx], 0xd
jne 0x140023efb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140023f0a
cmp byte [rcx + 1], 0xa
jne 0x140023f0a
inc rcx
jmp 0x140023f0a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x43440]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140023edd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140023f27
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14000c3b0
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 0x140024244
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14002425a
mov al, 1
jmp 0x1400242ba
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14002426b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400242b8
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400278f8
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400242b8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400242b8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400242b8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400242ba
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140024458
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, [0x140045950]
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 0x1400244af
cmp word [rdx], r13w
jne 0x1400244af
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400244b4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400245d9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400245fa
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400244ed
mov rdx, r9
mov word [rbx], cx
jmp 0x140024514
cmp r9, r8
jae 0x140024524
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 0x1400244ce
jmp 0x1400245d9
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 0x1400245ce
cmp dword [rsp + 0x80], esi
je 0x1400245ce
lea r8, [0x140045950]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400245a6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140024576
mov word [rbx], r13w
jmp 0x1400245d6
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 0x140024583
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400245d6
cmp word [rsp + 0x70], r13w
jne 0x1400245b3
cmp rbx, r14
je 0x140024570
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400250c0
cmp word [rsp + 0x70], r13w
je 0x1400245d9
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, [0x140045950]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400245d3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400245d9
Function at 0x140026b98
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 0x140026bc8
xor eax, eax
jmp 0x140026c8b
mov rbp, rbx
cmp word [rax], si
je 0x140026bed
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140026bd4
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140026bd0
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.140025670
movsxd r14, eax
test eax, eax
jne 0x140026c2b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140026bc1
mov rcx, r14
call fcn.140020024
mov rdi, rax
test rax, rax
jne 0x140026c44
xor ecx, ecx
call fcn.14001d95c
jmp 0x140026c20
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.140025670
test eax, eax
jne 0x140026c75
mov rcx, rdi
call fcn.14001d95c
jmp 0x140026c7f
xor ecx, ecx
call fcn.14001d95c
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 0x140026ca8
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 0x140026d2f
mov rsi, rbx
cmp word [rax], bp
je 0x140026cee
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140026cd8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140026cd4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140020024
mov rdi, rax
test rax, rax
je 0x140026d1c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000e100
mov rbp, rdi
xor ecx, ecx
call fcn.14001d95c
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 0x140029e4c
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.14001d584
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 0x140029eed
cmp ebx, dword [rsp + 0x30]
je 0x140029ee6
test esi, esi
je 0x140029ee6
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140029ec1
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140029ece
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140029eab
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140029ed2
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140029eef
mov eax, 1
jmp 0x140029eef
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14002d228
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.140019198
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002d2b2
cmp byte [rbp - 0x21], r15b
je 0x14002d2ad
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14002d2e8
call fcn.14001f534
test eax, eax
jne 0x14002d2d4
cmp byte [rbp - 0x21], r15b
je 0x14002d2cc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14002d2e8
cmp byte [rbp - 0x21], r15b
je 0x14002d2e5
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.1400197d4
test eax, eax
jne 0x14002d388
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140019198
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002d327
cmp byte [rbp - 0x21], r15b
je 0x14002d35c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14002d35c
call fcn.14001f534
test eax, eax
jne 0x14002d348
cmp byte [rbp - 0x21], r15b
je 0x14002d341
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14002d35c
cmp byte [rbp - 0x21], r15b
je 0x14002d359
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.1400197d4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14002d388
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002d38b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14002d399
mov rcx, rdi
call fcn.14001d95c
cmp byte [rbp + 0x3f], r15b
je 0x14002d3a8
mov rcx, qword [rbp + 0x27]
call fcn.14001d95c
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 0x140014160
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400d17c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140107c10]
mov edi, ecx
cmp byte [rbx + 0x4d3d], 0
jne 0x1400141c1
cmp byte [rbx + 0x4d3e], 0
jne 0x1400141c1
movsx r9d, word [rbx + 0x5eb0]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140003250
test dil, 2
je 0x1400142ef
jmp 0x14001424c
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5eb0]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1400bf29c]
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x1400bf290]
addss xmm0, dword [rbx + 0xf8]
addss xmm1, dword [rbx + 0xfc]
mov qword [rbx + 0x4a30], rax
mov dword [rbx + 0x4a1c], 1
movss dword [rbx + 0x4a28], xmm0
movss dword [rbx + 0x4a2c], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x1400bf220]
or dword [rbx + 0x4a18], 0x41
movss dword [rbx + 0x4a78], xmm0
call fcn.140003250
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400142a0
lea r11, [0x1400b9cd0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140014283
cmp byte [r8], r9b
jne 0x140014283
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140014270
not ecx
call fcn.14000a5a0
test rax, rax
je 0x1400142ef
cmp byte [rax + 0xca], 0
je 0x1400142ef
mov byte [rax + 0xcf], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd2], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xec], 1
mov edx, reloc.WS2_32.dll_recv
inc word [rbx + 0x5eb0]
movsx r9d, word [rbx + 0x5eb0]
call fcn.140003250
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14000d250
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400a2e40
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14002d1b0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x1400d17c0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140107c10]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14002d3ce
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14002d3ce
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x140107c10]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x14002d284
movsx rdx, word [r8 + 0x60e8]
lea rax, [r8 + 0x60ec]
mov r9d, dword [r8 + 0x3f68]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x14002d279
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60e8], cx
movsx rax, cx
lea rax, [rax*8 + 0x60ec]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60e0]
test rdi, rdi
je 0x14002d2a1
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x14002d2a4
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x14002d2e7
mov rsi, qword [r8 + 0x90]
jmp 0x14002d2ea
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14002d315
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140107c10]
mov rcx, qword [rax + 0x4b28]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14002d38e
inc rbx
cmp rbx, 5
jl 0x14002d370
jmp 0x14002d3ba
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x14002d3d0
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400a2e40
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x14003b0c0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rsi, r8
mov rbx, rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x20], 1
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14003b114
mov rcx, qword [rdx]
mov r8, rcx
jmp 0x14003b117
mov r8, rdx
mov rdi, rcx
mov rbp, qword [rdx + 0x10]
add rbp, r8
cmp rcx, rbp
je 0x14003b1ff
movabs r15, 0xcbf29ce484222325
movabs r12, 0x100000001b3
nop
movzx edx, byte [rdi]
mov eax, edx
xor rax, r15
imul rax, r12
mov r8, qword [rsi + 0x30]
and r8, rax
shl r8, 4
add r8, qword [rsi + 0x18]
mov rax, qword [r8 + 8]
mov rcx, qword [rsi + 8]
mov r9, rcx
cmp rax, rcx
je 0x14003b183
mov r8, qword [r8]
cmp dl, byte [rax + 0x10]
je 0x14003b186
cmp rax, r8
je 0x14003b183
mov rax, qword [rax + 8]
cmp dl, byte [rax + 0x10]
jne 0x14003b173
jmp 0x14003b186
mov rax, r14
test rax, rax
cmove rax, rcx
cmp rax, rcx
je 0x14003b1f3
mov rax, rdx
xor rax, r15
imul rax, r12
mov r8, qword [rsi + 0x30]
and r8, rax
mov r10, qword [rsi + 0x18]
mov rax, r8
add rax, rax
mov rcx, qword [r10 + rax*8 + 8]
cmp rcx, r9
je 0x14003b219
add r8, r8
mov rax, qword [r10 + r8*8]
cmp dl, byte [rcx + 0x10]
je 0x14003b1d1
cmp rcx, rax
je 0x14003b219
mov rcx, qword [rcx + 8]
cmp dl, byte [rcx + 0x10]
jne 0x14003b1c3
lea r8, [rcx + 0x14]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x14003b1eb
mov eax, dword [r8]
mov dword [rdx], eax
add qword [rbx + 8], 4
jmp 0x14003b1f3
mov rcx, rbx
call fcn.140041670
inc rdi
cmp rdi, rbp
jne 0x14003b140
mov rax, rbx
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, str.invalid_unordered_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3