joyce8/EMBER2024-capa huggingface dataset:
Function at 0x794d90
Capabilities:
Hide graphical window from taskbar

Disassembly:
push rbp
push rbx
sub rsp, 0x48
mov rbp, rsp
mov qword [rbp + 0x20], rcx
mov byte [rbp + 0x2f], dl
mov qword [rbp + 0x38], 0
nop
movzx rax, byte [rbp + 0x2f]
mov rcx, qword [rbp + 0x20]
cmp al, byte [rcx + 0x16b]
je 0x794fdb
movzx rax, byte [rbp + 0x2f]
mov rcx, qword [rbp + 0x20]
mov byte [rcx + 0x16b], al
mov rax, qword [rbp + 0x20]
cmp qword [rax + 0x88], 0
je 0x794f14
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.006ada80
test al, al
je 0x794f14
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x88]
movzx rax, word [rax + 0x34]
test ax, 0x10
jne 0x794f14
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x88]
movzx rax, word [rax + 0x34]
test ax, 2
jne 0x794f14
movzx rax, byte [rbp + 0x2f]
test al, al
je 0x794e7b
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x2a8]
xor rdx, rdx
xor r8, r8
call fcn.0077ea80
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.006ad470
mov rcx, rax
mov dl, 1
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x88]
movzx r8, byte [rax + 0x99]
call fcn.0077ea80
jmp 0x794ef8
call sub.user32.dll_GetForegroundWindow
mov rbx, rax
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.006ad470
cmp rbx, rax
sete bl
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.006ad470
mov rcx, rax
xor rdx, rdx
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x88]
movzx r8, byte [rax + 0x99]
call fcn.0077ea80
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x2a8]
mov dl, 1
mov r8b, 1
call fcn.0077ea80
test bl, bl
je 0x794ef8
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
call fcn.006ad470
mov rcx, rax
call sub.user32.dll_SetForegroundWindow
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x88]
mov edx, 0xb033
xor r8, r8
xor r9, r9
call fcn.006a0ea0
movzx rax, byte [rbp + 0x2f]
test al, al
je 0x794f6d
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x2a8]
mov ecx, 0xffffffec
mov edx, ecx
mov rcx, rax
call sub.user32.dll_GetWindowLongPtrW
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx + 0x2a8]
mov edx, 0xffffffec
or rax, 0x80
mov r8, rax
call sub.user32.dll_SetWindowLongPtrW
mov rax, qword [rbp + 0x20]
mov rcx, qword [rax + 0x2a8]
xor rdx, rdx
call sub.user32.dll_SetWindowTextW
jmp 0x794fdb
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x2a8]
mov ecx, 0xffffffec
mov edx, ecx
mov rcx, rax
call sub.user32.dll_GetWindowLongPtrW
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx + 0x2a8]
mov edx, 0xffffffec
and rax, 0xffffffffffffff7f
mov r8, rax
call sub.user32.dll_SetWindowLongPtrW
mov rax, qword [rbp + 0x20]
mov rbx, qword [rax + 0x2a8]
lea rcx, [rbp + 0x38]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 0xf0]
call fcn.00410a30
mov rcx, qword [rbp + 0x38]
call fcn.00412090
mov rcx, rbx
mov rdx, rax
call sub.user32.dll_SetWindowTextW
nop
lea rcx, [rbp + 0x38]
call fcn.00410360
lea rsp, [rbp + 0x48]
pop rbx
pop rbp
ret
Function at 0x7a1b40
Capabilities:
Get file version info

Disassembly:
push rbp
sub rsp, 0xb0
mov rbp, rsp
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x78], rbp
mov qword [rbp + 0xc0], rcx
mov qword [rbp + 0xc8], rdx
mov rcx, qword [rbp + 0xc8]
call fcn.004104f0
nop
mov rcx, qword [rbp + 0xc8]
call fcn.00412090
mov rcx, rax
lea rdx, [rbp + 0x9c]
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [rbp + 0xa4], eax
cmp dword [rbp + 0xa4], 0
je 0x7a1d19
mov ecx, dword [rbp + 0xa4]
call fcn.004089b0
mov qword [rbp + 0xa8], rax
nop
mov rcx, qword [rbp + 0xc8]
call fcn.00412090
mov rcx, rax
xor rdx, rdx
mov r8d, dword [rbp + 0xa4]
mov r9, qword [rbp + 0xa8]
call sub.version.dll_GetFileVersionInfoW
mov rcx, qword [rbp + 0xa8]
lea rdx, [0x007a1dd4]
lea r8, [rbp + 0x90]
lea r9, [rbp + 0xa0]
call sub.version.dll_VerQueryValueW
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0x80], rax
mov rax, qword [rbp + 0x80]
mov eax, dword [rax + 8]
shr eax, 0x10
mov word [rbp + 0x8e], ax
mov rax, qword [rbp + 0x80]
movzx rax, word [rax + 8]
and ax, 0xffff
mov word [rbp + 0x8c], ax
mov rax, qword [rbp + 0x80]
mov eax, dword [rax + 0xc]
shr eax, 0x10
mov word [rbp + 0x8a], ax
mov rax, qword [rbp + 0x80]
movzx rax, word [rax + 0xc]
and ax, 0xffff
mov word [rbp + 0x88], ax
lea rcx, [rbp + 0x70]
movzx edx, word [rbp + 0x8e]
call fcn.0047dcd0
lea rcx, [rbp + 0x68]
movzx edx, word [rbp + 0x8c]
call fcn.0047dcd0
lea rcx, [rbp + 0x60]
movzx edx, word [rbp + 0x8a]
call fcn.0047dcd0
lea rcx, [rbp + 0x58]
movzx edx, word [rbp + 0x88]
call fcn.0047dcd0
mov rcx, qword [rbp + 0xc0]
mov edx, 7
mov r8, qword [rbp + 0x70]
lea r9, [0x007a1de4]
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x20], rax
lea rax, [0x007a1de4]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [0x007a1de4]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x40], rax
call fcn.00412610
nop
mov rcx, qword [rbp + 0xa8]
mov edx, dword [rbp + 0xa4]
call fcn.004089e0
nop
lea rcx, [rbp + 0x58]
mov edx, 4
call fcn.00410440
lea rcx, [rbp + 0xc8]
call fcn.00410360
mov rax, qword [rbp + 0xc0]
lea rsp, [rbp + 0xb0]
pop rbp
ret

Function at 0x7a4160
Capabilities:
Get session user name

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x38], 0
nop
mov dword [rbp + 0x34], 0xff
lea rcx, [rbp + 0x38]
mov edx, dword [rbp + 0x34]
add edx, 1
call fcn.00411fa0
mov rcx, qword [rbp + 0x38]
call fcn.00411a30
mov rcx, rax
lea rdx, [rbp + 0x34]
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x7a41c2
lea rcx, [rbp + 0x38]
mov edx, dword [rbp + 0x34]
sub edx, 1
call fcn.00411fa0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.00412210
jmp 0x7a41cb
mov rcx, qword [rbp + 0x28]
call fcn.00410360
nop
lea rcx, [rbp + 0x38]
call fcn.00410400
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x40]
pop rbp
ret
Function at 0x7dd150
Capabilities:
Allocate or change rwx memory
Print debug messages

Disassembly:
push rbp
push rbx
sub rsp, 0xd8
mov rbp, rsp
mov qword [rbp + 0x38], rcx
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x40], r8
mov qword [rbp + 0x98], 0
mov qword [rbp + 0x90], 0
nop
mov rax, qword [rbp + 0x40]
mov qword [rax + 0xe], 0
mov word [rax], 0
mov rcx, qword [rbp + 0x38]
mov edx, 0x16
xor r8, r8
call fcn.007dd010
test al, al
je 0x7dd1dd
mov rax, qword [0x00b6ee20]
cmp byte [rax], 0
je 0x7dd1cc
lea rcx, [0x007dd438]
lea rdx, [0x007dd488]
mov r8d, 0x40a3
call fcn.00410090
lea rcx, [0x007dd4f0]
call sub.kernel32.dll_OutputDebugStringW
jmp 0x7dd3d6
mov rcx, qword [rbp + 0x38]
call fcn.007dca30
mov qword [rbp + 0x38], rax
call sub.kernel32.dll_GetCurrentProcess
mov rcx, rax
mov rdx, qword [rbp + 0x38]
mov r8, qword [rbp + 0x40]
mov r9d, 0xe
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x20], rax
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x7dd3d5
mov word [rbp + 0xb2], 0x25ff
mov dword [rbp + 0xb4], 0
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0xb8], rax
mov rax, qword [rbp + 0x40]
movzx rax, word [rax]
cmp ax, word [rbp + 0xb2]
jne 0x7dd34a
lea rcx, [0x007dd518]
call sub.kernel32.dll_OutputDebugStringW
mov rax, qword [rbp + 0x40]
movzx rax, word [rax]
mov word [rbp + 0xb2], ax
mov rax, qword [rbp + 0x40]
mov word [rax], 0
mov dword [rbp + 0xac], 0
cmp word [rbp + 0xb2], 0x25ff
jne 0x7dd2b5
call sub.kernel32.dll_GetCurrentProcess
mov rcx, rax
mov rax, qword [rbp + 0x40]
mov rdx, qword [rax + 6]
lea r8, [rbp + 0xac]
mov r9d, 4
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x20], rax
call sub.kernel32.dll_ReadProcessMemory
movzx eax, word [rbp + 0xb2]
mov dword [rbp + 0x50], eax
mov byte [rbp + 0x58], 0
mov eax, dword [rbp + 0xb4]
mov dword [rbp + 0x60], eax
mov byte [rbp + 0x68], 0
mov rax, qword [rbp + 0x40]
lea rax, [rax + 6]
mov qword [rbp + 0x70], rax
mov byte [rbp + 0x78], 0x10
mov eax, dword [rbp + 0xac]
mov dword [rbp + 0x80], eax
mov byte [rbp + 0x88], 0
lea rcx, [rbp + 0x90]
lea rdx, [0x007dd59c]
lea r8, [rbp + 0x50]
mov r9d, 3
call fcn.00480280
lea rcx, [rbp + 0x98]
lea rdx, [0x007dd554]
mov r8, qword [rbp + 0x90]
call fcn.004124f0
mov rcx, qword [rbp + 0x98]
lea rdx, [0x007dd488]
mov r8d, 0x40c2
call fcn.00410090
jmp 0x7dd3d6
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x38]
mov qword [rax + 0xe], rcx
mov edx, 0xe
mov r8d, 0x40
lea r9, [rbp + 0xac]
call sub.kernel32.dll_VirtualProtect
call sub.kernel32.dll_GetCurrentProcess
mov rcx, rax
mov rdx, qword [rbp + 0x38]
lea r8, [rbp + 0xb2]
mov r9d, 0xe
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x20], rax
call sub.kernel32.dll_WriteProcessMemory
mov ebx, eax
mov rcx, qword [rbp + 0x38]
mov edx, 0xe
mov r8d, dword [rbp + 0xac]
lea r9, [rbp + 0xac]
call sub.kernel32.dll_VirtualProtect
test ebx, ebx
je 0x7dd3d5
call sub.kernel32.dll_GetCurrentProcess
mov rcx, rax
mov rdx, qword [rbp + 0x38]
mov r8d, 0xe
call sub.kernel32.dll_FlushInstructionCache
nop
lea rcx, [rbp + 0x90]
mov edx, 2
call fcn.00410440
lea rsp, [rbp + 0xd8]
pop rbx
pop rbp
ret
Function at 0x8988b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x28], r8
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x60], rcx
mov rcx, qword [rbp + 0x60]
call fcn.004104f0
nop
cmp qword [rbp + 0x60], 0
je 0x89898e
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x60]
call fcn.004166c0
xor rsi, rsi
cmp qword [rbp + 0x38], 0
je 0x898901
mov rax, qword [rbp + 0x38]
mov esi, dword [rax - 4]
mov eax, esi
add eax, 4
mov rcx, qword [rbp + 0x28]
mov dword [rcx], eax
movsxd rcx, dword [rcx]
call fcn.004164e0
mov rcx, qword [rbp + 0x20]
mov qword [rcx], rax
mov rbx, qword [rcx]
mov rax, qword [rbp + 0x28]
mov rcx, rax
mov rdx, rbx
mov r8d, 4
call fcn.00408e20
add rbx, 4
lea rcx, [rbp + 0x38]
call fcn.00410cb0
mov rcx, rax
mov rdx, rbx
movsxd r8, esi
call fcn.00408e20
xor rcx, rcx
mov r8d, esi
sub r8d, 1
cmp ecx, r8d
jg 0x89898c
add r8d, 1
lea r9, [0x00b42e9f]
mov r10d, 0x16
mov eax, ecx
cdq
idiv r10d
movsxd rdx, edx
movzx rax, byte [r9 + rdx]
xor byte [rbx], al
add rbx, 1
add ecx, 1
cmp ecx, r8d
jne 0x898962
nop
nop
lea rcx, [rbp + 0x38]
call fcn.004103b0
lea rcx, [rbp + 0x60]
call fcn.00410360
lea rsp, [rbp + 0x40]
pop rbx
pop rsi
pop rbp
ret
Function at 0x14076b058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x14076b1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x14076b089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14076b06f
add dl, dl
jne 0x14076b096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14076b0f6
xor eax, eax
add dl, dl
jne 0x14076b0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14076b1ad
add dl, dl
jne 0x14076b0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14076b0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14076b0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14076b0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x14076b0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14076b07e
mov eax, 1
add dl, dl
jne 0x14076b106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14076b113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14076b0fb
sub eax, ebx
mov ebx, 1
jne 0x14076b14c
mov ecx, 1
add dl, dl
jne 0x14076b12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14076b13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14076b123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14076b07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14076b168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14076b175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14076b15d
cmp eax, 0x7d00
jae 0x14076b19b
cmp eax, 0x500
jb 0x14076b196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14076b07e
cmp eax, 0x7f
ja 0x14076b19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14076b07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x14076b1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14076b07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001be0
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140015b40
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]
nop
add rsp, 0x28
ret

Function at 0x140011339
Capabilities:
Parse pe header

Disassembly:
jmp 0x140016e80
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140016ea0
xor al, al
jmp 0x140016f21
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140016eb3
xor al, al
jmp 0x140016f21
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 0x140016edd
xor al, al
jmp 0x140016f21
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140016ef1
xor al, al
jmp 0x140016f21
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140016f03
xor al, al
jmp 0x140016f21
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140016f1f
xor al, al
jmp 0x140016f21
mov al, 1
add rsp, 0x38
ret
Function at 0x140014d70
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011488
movzx eax, al
test eax, eax
jne 0x140014d90
mov ecx, 7
call fcn.1400113ed
nop
mov byte [rsp + 0x20], 0
call fcn.140011406
mov byte [rsp + 0x21], al
cmp dword [0x140020888], 1
jne 0x140014db4
mov ecx, 7
call fcn.1400113ed
nop
jmp 0x140014e0c
cmp dword [0x140020888], 0
jne 0x140014e07
mov dword [0x140020888], 1
lea rdx, [0x14001c660]
lea rcx, [0x14001c330]
call fcn.14001122b
test eax, eax
je 0x140014de8
mov eax, 0xff
jmp 0x140014f11
lea rdx, [0x14001c220]
lea rcx, [section..rdata]
call fcn.1400113fc
mov dword [0x140020888], 2
jmp 0x140014e0c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400113d4
call fcn.14001135c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140014e69
mov rcx, qword [rsp + 0x30]
call fcn.1400111c2
movzx eax, al
test eax, eax
je 0x140014e69
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140027020]
nop
call fcn.140011398
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140014e9d
mov rcx, qword [rsp + 0x38]
call fcn.1400111c2
movzx eax, al
test eax, eax
je 0x140014e9d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.14001143d
nop
call fcn.140014fc0
mov dword [rsp + 0x28], eax
call fcn.140011339
movzx eax, al
test eax, eax
jne 0x140014ebc
mov ecx, dword [rsp + 0x28]
call fcn.140011069
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140014ecb
call fcn.140011447
nop
xor edx, edx
mov cl, 1
call fcn.1400111b3
mov eax, dword [rsp + 0x28]
jmp 0x140014f11
add rsp, 0x68
ret
Function at 0x1400070a0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140143040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1401442c0]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400072bf
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400072bf
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 [0x1401442c0]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x140007174
movsx rdx, word [r8 + 0x6220]
lea rax, [r8 + 0x6224]
mov r9d, dword [r8 + 0x3fb8]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x140007169
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 + 0x6220], cx
movsx rax, cx
lea rax, [rax*8 + 0x6224]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6218]
test rdi, rdi
je 0x140007191
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 0x140007194
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x1400dad98]
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 0x1400071d7
mov rsi, qword [r8 + 0x90]
jmp 0x1400071da
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 0x140007205
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1401442c0]
mov rcx, qword [rax + 0x4b98]
mov rax, qword [rdi]
mov rdx, qword [rcx]
mov qword [rdx + 0x30], rax
mov qword [rdx + 0x28], rax
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
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14000727f
inc rbx
cmp rbx, 5
jl 0x140007261
jmp 0x1400072ab
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 0x1400072c1
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400bbbd0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x14000b850
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000b8ad
lea rbx, [0x1400dc440]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x14000b894
cmp r10, 2
jb 0x14000b894
cmp byte [r9], r8b
jne 0x14000b894
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x14000b870
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000b8ef
lea rbx, [0x1400dc440]
cmp r8b, 0x23
jne 0x14000b8d3
cmp byte [r9], r8b
jne 0x14000b8d3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x14000b8c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x14000bab0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x14000bace
mov qword [r8], r14
lea rdx, [0x1400dbf00]
call fcn.14000b900
mov rbx, rax
test rax, rax
jne 0x14000baf3
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14000bc1f
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000bc1f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000bc1f
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000bc1f
cmp rdi, 0xffffffffffffffff
je 0x14000bc1f
mov rcx, rdi
call fcn.140010300
mov rbp, rax
test rax, rax
je 0x14000bc1f
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000bc0c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1401442c0]
test r8, r8
je 0x14000bc01
movsx rdx, word [r8 + 0x6220]
lea rcx, [r8 + 0x6224]
mov r9d, dword [r8 + 0x3fb8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14000bbf6
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 + 0x6220], cx
movsx rax, cx
lea rcx, [r8 + 0x6224]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x621c]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000bc28
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14000bc1a
mov qword [rsi], rdi
mov rax, rbp
jmp 0x14000bc2a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret