joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800317fc
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
mov rax, qword [0x1800a83b0]
mov r14, rcx
test rax, rax
jne 0x1800318cb
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x18]
mov rax, qword [rdx + 0x10]
mov rdi, qword [rax]
mov rdx, rdi
mov r8, qword [rdx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x1800318ac
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x1800318ac
mov r15d, dword [r9 + 0x20]
dec r10d
mov ebp, 0x7635670
lea rax, [r15 + r10*4]
mov r11d, dword [rax + r8]
add r11, r8
mov bl, byte [r11]
inc r11
test bl, bl
je 0x1800318a7
movsx eax, bl
sub bl, 0x41
mov ecx, eax
or ecx, 0x20
cmp bl, 0x19
mov bl, byte [r11]
cmova ecx, eax
inc r11
xor ecx, ebp
imul ebp, ecx, 0x1000193
test bl, bl
jne 0x18003187c
cmp ebp, 0x37c3afcd
je 0x1800318e5
test r10d, r10d
jne 0x18003185f
mov rax, qword [rdx]
mov rdx, rax
cmp rax, rdi
je 0x1800318c2
cmp qword [rax + 0x30], 0
jne 0x18003183a
xor eax, eax
mov qword [0x1800a83b0], rax
mov rcx, r14
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
pop r15
pop r14
pop rdi
jmp rax
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x1800318c4
Function at 0x1800397b0
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
cmp byte [rcx], 0
mov rax, rdx
je 0x1800397d9
movsx rdx, byte [rcx]
xor rdx, rax
movabs rax, 0x100000001b3
imul rdx, rax
inc rcx
call fcn.1800397b0
add rsp, 0x28
ret
Function at 0x18003c148
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov esi, r8d
mov r11, rdx
mov r10, rcx
xor r9d, r9d
cmp qword [rcx + 0x18], 0x10
mov rax, r10
jb 0x18003c170
mov rax, qword [rcx]
mov al, byte [rax + r9]
cmp al, 0x20
je 0x18003c17e
sub al, 9
cmp al, 4
ja 0x18003c183
inc r9
jmp 0x18003c163
cmp qword [rcx + 0x18], 0x10
mov ebx, 1
mov rax, r10
jb 0x18003c195
mov rax, qword [rcx]
cmp byte [rax + r9], 0x2d
jne 0x18003c1a1
or ebx, 0xffffffff
jmp 0x18003c1b5
cmp qword [rcx + 0x18], 0x10
mov rax, r10
jb 0x18003c1ae
mov rax, qword [rcx]
cmp byte [rax + r9], 0x2b
jne 0x18003c1b8
inc r9
xor r8d, r8d
cmp qword [r10 + 0x18], 0x10
mov rax, r10
jb 0x18003c1c8
mov rax, qword [r10]
mov al, byte [rax + r9]
sub al, 0x30
cmp al, 9
ja 0x18003c243
cmp qword [r10 + 0x18], 0x10
mov rax, r10
jb 0x18003c1df
mov rax, qword [r10]
movsx edi, byte [rax + r9]
cmp esi, 0xa
jne 0x18003c214
mov ecx, 0x8000002f
mov eax, 0x66666667
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r8d, edx
jg 0x18003c229
lea r8d, [r8 + r8*4]
lea r8d, [r8 - 0x18]
lea r8d, [rdi + r8*2]
jmp 0x18003c224
cmp esi, 0x10
jne 0x18003c224
add r8d, 0xfffffffd
shl r8d, 4
add r8d, edi
inc r9
jmp 0x18003c1bb
test r11, r11
je 0x18003c231
mov qword [r11], r9
cmp ebx, 1
mov eax, 0x80000000
mov ecx, 0x7fffffff
cmove eax, ecx
jmp 0x18003c252
test r11, r11
je 0x18003c24b
mov qword [r11], r9
imul r8d, ebx
mov eax, r8d
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x6830bfb0
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, 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.68314160
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.68314160
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x6830c020
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x684c75e4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x6830c1c8
mov rax, qword [0x684c75e8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x6830c06c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x6830c0f7
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x6830c050
mov rcx, r12
call fcn.6830cd20
mov rbp, rax
test rax, rax
je 0x6830c202
mov rax, qword [0x684c75e8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.6830ce50
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x684c75e8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x6830c211
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x6830c0f0
sub eax, 4
and eax, 0xfffffffb
jne 0x6830c180
add dword [0x684c75e4], 1
cmp ebx, 8
jae 0x6830c128
test bl, 4
jne 0x6830c1d0
test ebx, ebx
je 0x6830c119
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x6830c1f0
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x6830c119
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x6830c15a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
add rdi, qword [0x684c75e8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x6830c0f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.6830bfb0
nop dword [rax]
xor edi, edi
jmp 0x6830c077
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x6830c119
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x6830c119
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.6830bfb0
mov rax, qword [0x684c75e8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.6830bfb0
nop
nop dword [rax]
Function at 0x6830c990
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x684c78c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x684c78a0]
test rbx, rbx
je 0x6830c9e4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x6830c9db
test r12, r12
je 0x6830c9db
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6830c9c0
lea rcx, [0x684c78c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x6830cd20
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x683cd310]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x6830cd99
mov rcx, r10
call fcn.6830cbf0
test eax, eax
je 0x6830cd99
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x6830cd96
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x6830cd8d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x6830cd99
add r8, 0x28
cmp r8, r9
jne 0x6830cd78
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x6830d0a0
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [0x684c78a8]
mov edi, ecx
mov rsi, rdx
test eax, eax
jne 0x6830ca20
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, 0x18
mov ecx, 1
call sub.msvcrt.dll_calloc
mov rbx, rax
test rax, rax
je 0x6830ca73
mov dword [rax], edi
lea rcx, [0x684c78c0]
mov qword [rax + 8], rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x684c78a0]
lea rcx, [0x684c78c0]
mov qword [0x684c78a0], rbx
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
or eax, 0xffffffff
jmp 0x6830ca16
push r12
push rbx
sub rsp, 0x28
mov rbx, rcx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, eax
cmp eax, 0xffffffff
je 0x6830d0d0
mov rdx, r12
mov dword [rbx], eax
add rsp, 0x28
pop rbx
pop r12
jmp 0x68314300
add rsp, 0x28
pop rbx
pop r12
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
test rdx, rdx
jne 0x68314310
xor eax, eax
ret
jmp 0x6830ca00

Function at 0x6830d110
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
sub rsp, 0x28
mov r12d, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, r12d
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, r13d
mov r12, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, r12
add rsp, 0x28
pop r12
pop r13
ret

Function at 0x6830d150
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x6830d168
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x6831b3b0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
movups xmmword [rsp + 0x80], xmm6
movups xmmword [rsp + 0x90], xmm7
movups xmmword [rsp + 0xa0], xmm8
pxor xmm7, xmm7
mov rsi, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movupd xmm6, xmm1
lea rdi, [rsp + 0x30]
mov rbx, rcx
mov rcx, rdi
call rsi
comisd xmm7, xmm6
mov rdx, qword [rbx]
mov rax, qword [rsp + 0x30]
movsd xmm1, qword [rbx + 0x18]
movsd xmm2, qword [rdx]
ja 0x6831b5d0
comisd xmm6, xmm7
je 0x6831b4d0
pxor xmm0, xmm0
subsd xmm6, qword [0x683ca480]
cvtsi2sd xmm0, rax
divsd xmm0, xmm2
subsd xmm0, xmm1
addsd xmm6, xmm0
comisd xmm0, xmm6
jae 0x6831b5c0
mov r14, qword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov r15, qword [sym.imp.USER32.dll_WaitMessage]
lea r13, [rbx + 0x20]
lea rbp, [rbx + 0x28]
movsd xmm8, qword [0x683ca488]
jmp 0x6831b4bc
mulsd xmm3, xmm8
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0x4bf
cvttsd2si r9, xmm3
call r14
mov rdx, rbp
mov rcx, r13
call fcn.683450d0
mov r12d, eax
test eax, eax
jne 0x6831b4e0
mov rcx, rdi
call rsi
mov rcx, qword [rbx]
pxor xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x30]
divsd xmm0, qword [rcx]
subsd xmm0, qword [rbx + 0x18]
comisd xmm0, xmm6
jae 0x6831b5c0
movupd xmm3, xmm6
subsd xmm3, xmm0
comisd xmm7, xmm3
jbe 0x6831b468
call r15
jmp 0x6831b484
lea rdx, [rbx + 0x28]
lea rcx, [rbx + 0x20]
call fcn.683450d0
mov r12d, eax
xor esi, esi
cmp qword [rbx + 0x20], 0
mov r13, qword [sym.imp.USER32.dll_UpdateWindow]
je 0x6831b516
mov r8, qword [rbx + 0x28]
mov rax, qword [r8 + rsi*8]
cmp byte [rax + 0xb0], 0
jne 0x6831b550
mov r10, qword [rax + 0x10]
add rsi, 1
mov rcx, qword [r10 + 0x30]
call r13
cmp qword [rbx + 0x20], rsi
ja 0x6831b4f0
movups xmm6, xmmword [rsp + 0x80]
movups xmm7, xmmword [rsp + 0x90]
mov eax, r12d
movups xmm8, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x30], 0
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x30], 6
call qword [rax + 0x20]
mov r9, qword [rbx + 0x28]
mov rax, qword [r9 + rsi*8]
jmp 0x6831b501
xor r12d, r12d
jmp 0x6831b4e0
call qword [sym.imp.USER32.dll_WaitMessage]
lea rdx, [rbx + 0x28]
lea rcx, [rbx + 0x20]
call fcn.683450d0
mov r12d, eax
jmp 0x6831b4e0
Function at 0x68327100
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r12, qword [rcx + 0x10]
mov rsi, rdx
mov rbp, r8
mov rbx, r9
test r8, r8
je 0x68327250
mov rcx, qword [r12 + 0x48]
lea rdx, [r9 + 1]
call sub.msvcrt.dll_realloc
mov rcx, rax
test rax, rax
je 0x68327281
mov r8, rbx
mov rdx, rbp
call sub.msvcrt.dll_memcpy
mov byte [rax + rbx], 0
mov qword [r12 + 0x50], rbx
mov qword [r12 + 0x48], rax
lea rdi, str.text_plain
mov ecx, 0xb
mov r13d, 0xb
repe cmpsb byte [rsi], byte [rdi]
seta al
sbb al, 0
test al, al
jne 0x68327236
mov rcx, qword [r12 + 0x30]
mov r13d, 2
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x68327236
mov r9d, 0xffffffff
mov r8, rbp
xor edx, edx
mov ecx, 0xfde9
mov dword [rsp + 0x28], 0
mov r14, qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov qword [rsp + 0x20], 0
call r14
mov ecx, 2
lea edx, [rax + 1]
mov edi, eax
movsxd rsi, edx
add rsi, rsi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov r12, rax
test rax, rax
je 0x68327279
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r15, rax
test rax, rax
je 0x68327270
mov r9d, ebx
xor edx, edx
mov r8, rbp
mov ecx, 0xfde9
mov dword [rsp + 0x28], edi
xor r13d, r13d
mov qword [rsp + 0x20], rax
call r14
xor r8d, r8d
mov rcx, r12
mov word [r15 + rsi - 2], r8w
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, r12
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov eax, r13d
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov qword [r12 + 0x50], 0
mov qword [r12 + 0x48], 0
jmp 0x68327159
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x68327236
mov rcx, qword [r12 + 0x48]
mov r13d, 0xc
call fcn.68313a20
mov qword [r12 + 0x50], 0
jmp 0x68327236
Function at 0x68339b50
Capabilities:
Query environment variable

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
lea rax, fcn.6833a260
mov qword [rcx + 8], rdx
mov rdx, qword [rdx + 8]
mov rbx, rcx
mov qword [rcx], rax
lea rsi, [rbx + 0x30]
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r8
mov rcx, qword [rdx]
test rcx, rcx
je 0x68339c50
call fcn.6831cdc0
mov qword [rbx + 0x40], 0
movq xmm1, rsi
lea rcx, str.DPF_SCALE_FACTOR
mov qword [rbx + 0x20], rax
punpcklqdq xmm1, xmm1
mov r12, rax
mov dword [rbx + 0x48], 1
movups xmmword [rbx + 0x30], xmm1
call sub.msvcrt.dll_getenv
mov rcx, rax
test rax, rax
je 0x68339c30
call sub.msvcrt.dll_atof
movsd xmm2, qword [0x683c7790]
maxsd xmm0, xmm2
mov byte [rbx + 0x58], 0
pxor xmm3, xmm3
xor r9d, r9d
mov edx, 0x280
mov byte [rbx + 0x98], 0
mov r8d, 0x1e0
mov rcx, rbx
mov qword [rbx + 0x68], 0
mov qword [rbx + 0x70], 0
movsd qword [rbx + 0x50], xmm0
movsd qword [rbx + 0x60], xmm2
movups xmmword [rbx + 0x78], xmm3
movups xmmword [rbx + 0x88], xmm3
call fcn.68339790
nop
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
test r12, r12
je 0x68339c8c
mov rcx, r12
call fcn.68329da0
movsd xmm2, qword [0x683c7790]
jmp 0x68339bd2
mov qword [rbx + 0x20], 0
movq xmm0, rsi
lea rcx, str.DPF_SCALE_FACTOR
mov qword [rbx + 0x40], 0
punpcklqdq xmm0, xmm0
mov dword [rbx + 0x48], 1
movups xmmword [rbx + 0x30], xmm0
call sub.msvcrt.dll_getenv
mov rcx, rax
test rax, rax
jne 0x68339bc1
movsd xmm2, qword [0x683c7790]
movupd xmm0, xmm2
jmp 0x68339bd2

Function at 0x68339e30
Capabilities:
Query environment variable

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
movups xmmword [rsp + 0x20], xmm6
lea rax, fcn.6833a260
movsd xmm6, qword [rsp + 0x80]
mov edi, dword [rsp + 0x88]
mov qword [rcx + 8], rdx
mov rdx, qword [rdx + 8]
mov rbx, rcx
mov rsi, r9
mov qword [rcx], rax
mov r12, qword [rdx]
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r8
test r12, r12
je 0x68339e92
mov rcx, r12
call fcn.6831cdc0
mov r12, rax
test rax, rax
je 0x68339e92
mov rdx, rsi
mov rcx, rax
call fcn.683286e0
test rsi, rsi
lea rbp, [rbx + 0x30]
mov qword [rbx + 0x20], r12
setne cl
sete byte [rbx + 0x48]
movq xmm0, rbp
comisd xmm6, xmmword [0x683c7798]
punpcklqdq xmm0, xmm0
mov qword [rbx + 0x40], 0
mov byte [rbx + 0x49], cl
mov byte [rbx + 0x4a], cl
mov byte [rbx + 0x4b], 0
movups xmmword [rbx + 0x30], xmm0
jne 0x68339f18
lea rcx, str.DPF_SCALE_FACTOR
call sub.msvcrt.dll_getenv
mov rcx, rax
test rax, rax
je 0x68339f00
call sub.msvcrt.dll_atof
movsd xmm1, qword [0x683c7790]
movupd xmm6, xmm0
maxsd xmm6, xmm1
jmp 0x68339f20
test r12, r12
je 0x68339f80
mov rcx, r12
call fcn.68329da0
movupd xmm6, xmm0
nop dword [rax]
movsd xmm1, qword [0x683c7790]
mov byte [rbx + 0x58], 0
pxor xmm2, xmm2
movzx r9d, dil
mov rcx, rbx
movsd qword [rbx + 0x50], xmm6
mov r8d, 0x1e0
mov edx, 0x280
mov qword [rbx + 0x68], 0
mov qword [rbx + 0x70], 0
mov byte [rbx + 0x98], 0
movsd qword [rbx + 0x60], xmm1
movups xmmword [rbx + 0x78], xmm2
movups xmmword [rbx + 0x88], xmm2
call fcn.68339790
nop
movups xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
movsd xmm6, qword [0x683c7790]
movupd xmm1, xmm6
jmp 0x68339f20
Function at 0x68339fe0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
movups xmmword [rsp + 0x30], xmm6
lea rax, fcn.6833a260
mov r13d, dword [rsp + 0xc8]
mov edi, dword [rsp + 0xb8]
mov r14d, dword [rsp + 0xd0]
movsd xmm6, qword [rsp + 0xc0]
mov qword [rcx + 8], rdx
mov rdx, qword [rdx + 8]
mov rbx, rcx
test r9, r9
mov qword [rcx], rax
lea rsi, [rbx + 0x30]
mov r12, r9
sete r15b
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r8
mov rcx, qword [rdx]
mov qword [rsp + 0x28], rsi
setne sil
test rcx, rcx
je 0x6833a138
call fcn.6831cdc0
mov rbp, rax
test rax, rax
je 0x6833a138
mov rcx, rax
mov rdx, r12
call fcn.683286e0
movq xmm0, qword [rsp + 0x28]
mov qword [rbx + 0x20], rbp
mov ecx, esi
mov qword [rbx + 0x40], 0
mov byte [rbx + 0x48], r15b
punpcklqdq xmm0, xmm0
movups xmmword [rbx + 0x30], xmm0
comisd xmm6, xmmword [0x683c7798]
mov byte [rbx + 0x49], cl
mov byte [rbx + 0x4a], sil
mov byte [rbx + 0x4b], r14b
je 0x6833a180
movsd xmm2, qword [0x683c7790]
pxor xmm3, xmm3
mov byte [rbx + 0x58], 0
mov qword [rbx + 0x68], 0
mov qword [rbx + 0x70], 0
mov byte [rbx + 0x98], 0
movsd qword [rbx + 0x50], xmm6
movsd qword [rbx + 0x60], xmm2
movups xmmword [rbx + 0x78], xmm3
movups xmmword [rbx + 0x88], xmm3
test sil, sil
jne 0x6833a168
test edi, edi
mov r8d, 0x1e0
mov edx, 0x280
mov rcx, rbx
mov r9d, dword [rsp + 0xb0]
cmovne r8d, edi
test r9d, r9d
cmovne edx, dword [rsp + 0xb0]
movzx r9d, r13b
call fcn.68339790
nop
movups xmm6, xmmword [rsp + 0x30]
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movq xmm1, qword [rsp + 0x28]
mov byte [rbx + 0x48], r15b
xor ebp, ebp
xor ecx, ecx
mov qword [rbx + 0x20], 0
punpcklqdq xmm1, xmm1
mov qword [rbx + 0x40], 0
movups xmmword [rbx + 0x30], xmm1
jmp 0x6833a091
mov rcx, qword [rbx + 0x20]
mov rdx, r12
call fcn.683286e0
jmp 0x6833a0eb
lea rcx, str.DPF_SCALE_FACTOR
call sub.msvcrt.dll_getenv
mov rcx, rax
test rax, rax
je 0x6833a1b8
call sub.msvcrt.dll_atof
movsd xmm2, qword [0x683c7790]
movzx esi, byte [rbx + 0x4a]
movupd xmm6, xmm0
maxsd xmm6, xmm2
jmp 0x6833a0b2
test rbp, rbp
je 0x6833a1d8
mov rcx, rbp
call fcn.68329da0
movzx esi, byte [rbx + 0x4a]
movupd xmm6, xmm0
jmp 0x6833a0aa
movsd xmm6, qword [0x683c7790]
movzx esi, byte [rbx + 0x4a]
movupd xmm2, xmm6
jmp 0x6833a0b2
Function at 0x68344010
Capabilities:
Log keystrokes via polling

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd0
movups xmmword [rsp + 0x80], xmm6
movups xmmword [rsp + 0x90], xmm7
movups xmmword [rsp + 0xa0], xmm8
movups xmmword [rsp + 0xb0], xmm9
movups xmmword [rsp + 0xc0], xmm10
pxor xmm10, xmm10
pxor xmm9, xmm9
pxor xmm8, xmm8
pxor xmm6, xmm6
mov rax, qword [rcx + 0x10]
mov rbx, r8
mov qword [rsp + 0x28], r8
mov r12, rcx
mov edi, edx
mov rcx, qword [rax + 0x30]
cvtsi2sd xmm10, ebx
lea rdx, [rsp + 0x28]
sar rbx, 0x20
call qword [sym.imp.USER32.dll_ClientToScreen]
cvtsi2sd xmm6, ebx
call qword [sym.imp.USER32.dll_GetMessageTime]
pxor xmm0, xmm0
movsd xmm7, qword [0x683ca480]
mov rsi, qword [sym.imp.USER32.dll_GetKeyState]
cvtsi2sd xmm0, eax
mov ecx, 0x10
cvtsi2sd xmm9, dword [rsp + 0x28]
cvtsi2sd xmm8, dword [rsp + 0x2c]
mulsd xmm7, xmm0
call rsi
mov ecx, 0x11
unpcklpd xmm6, xmm9
movsx ebx, ax
call rsi
shr ebx, 0x1f
mov ecx, 0x12
mov ebp, ebx
or ebp, 2
test ax, ax
unpcklpd xmm7, xmm10
cmovns ebp, ebx
call rsi
mov ecx, 0x5b
mov edx, ebp
or edx, 4
test ax, ax
cmovs ebp, edx
call rsi
mov ecx, 0x5c
mov ebx, ebp
or ebx, 8
test ax, ax
cmovns ebx, ebp
call rsi
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x38], xmm7
mov ecx, ebx
movups xmmword [rsp + 0x48], xmm6
or ecx, 8
test ax, ax
movsd qword [rsp + 0x58], xmm8
cmovs ebx, ecx
mov rcx, r12
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x64], 0
call fcn.68327d40
nop
movups xmm6, xmmword [rsp + 0x80]
movups xmm7, xmmword [rsp + 0x90]
movups xmm8, xmmword [rsp + 0xa0]
movups xmm9, xmmword [rsp + 0xb0]
movups xmm10, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x683441a0
Capabilities:
Log keystrokes via polling

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rbx, qword [rsp + 0x90]
movsx edi, bx
shr rbx, 0x10
movsx ebx, bx
mov r12, rdx
mov r13d, r9d
mov rsi, rcx
mov dword [rsp + 0x28], edi
mov rax, qword [r12 + 0x10]
mov dword [rsp + 0x2c], ebx
mov ebp, r8d
lea rdx, [rsp + 0x28]
mov rcx, qword [rax + 0x30]
call qword [sym.imp.USER32.dll_ClientToScreen]
test r13b, r13b
je 0x683442d8
mov rcx, qword [r12 + 0x10]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.USER32.dll_SetCapture]
call qword [sym.imp.USER32.dll_GetMessageTime]
pxor xmm1, xmm1
mov edx, 0x10
cvtsi2sd xmm1, eax
mulsd xmm1, qword [0x683ca480]
movsd qword [rsi + 8], xmm1
pxor xmm2, xmm2
pxor xmm3, xmm3
pxor xmm4, xmm4
mov dword [rsi], edx
pxor xmm5, xmm5
cvtsi2sd xmm3, dword [rsp + 0x2c]
mov ecx, 0x10
mov r13, qword [sym.imp.USER32.dll_GetKeyState]
cvtsi2sd xmm5, ebx
cvtsi2sd xmm2, dword [rsp + 0x28]
cvtsi2sd xmm4, edi
unpcklpd xmm2, xmm3
unpcklpd xmm4, xmm5
movups xmmword [rsi + 0x20], xmm2
movups xmmword [rsi + 0x10], xmm4
call r13
mov ecx, 0x11
movsx edi, ax
call r13
shr edi, 0x1f
mov ecx, 0x12
mov r12d, edi
or r12d, 2
test ax, ax
cmovns r12d, edi
call r13
mov ecx, 0x5b
mov r8d, r12d
or r8d, 4
test ax, ax
cmovs r12d, r8d
call r13
mov ecx, 0x5c
mov ebx, r12d
or ebx, 8
test ax, ax
cmovns ebx, r12d
call r13
mov dword [rsi + 0x34], ebp
mov r10d, ebx
or r10d, 8
test ax, ax
cmovs ebx, r10d
mov dword [rsi + 0x30], ebx
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
call qword [sym.imp.USER32.dll_ReleaseCapture]
call qword [sym.imp.USER32.dll_GetMessageTime]
pxor xmm0, xmm0
mov edx, 0x11
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x683ca480]
movsd qword [rsi + 8], xmm0
jmp 0x6834421e
Function at 0x140063750
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 0x4a], 0
je 0x140063773
xor eax, eax
nop dword [rax]
lea ecx, [rax - 0x2b]
xor byte [rdx + rax], cl
inc rax
cmp rax, 0x49
jb 0x140063760
mov byte [rdx + 0x4a], 0
call fcn.140073b00
lea rax, [0x140386e50]
add rsp, 0x28
ret
Function at 0x1400661b0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 0x34], 0
je 0x1400661d3
xor eax, eax
nop dword [rax]
lea ecx, [rax - 0x2b]
xor byte [rdx + rax], cl
inc rax
cmp rax, 0x33
jb 0x1400661c0
mov byte [rdx + 0x34], 0
call fcn.140073b00
lea rax, [0x140386e50]
add rsp, 0x28
ret