joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6800c990
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x681ec8c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x681ec8a0]
test rbx, rbx
je 0x6800c9e4
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 0x6800c9db
test r12, r12
je 0x6800c9db
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x6800c9c0
lea rcx, [0x681ec8c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x6800cd20
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x680bf200]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x6800cd99
mov rcx, r10
call fcn.6800cbf0
test eax, eax
je 0x6800cd99
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 0x6800cd96
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 0x6800cd8d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x6800cd99
add r8, 0x28
cmp r8, r9
jne 0x6800cd78
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x6800d0a0
Capabilities:
Allocate thread local storage

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov eax, dword [0x681ec8a8]
mov edi, ecx
mov rsi, rdx
test eax, eax
jne 0x6800ca20
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 0x6800ca73
mov dword [rax], edi
lea rcx, [0x681ec8c0]
mov qword [rax + 8], rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x681ec8a0]
lea rcx, [0x681ec8c0]
mov qword [0x681ec8a0], 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 0x6800ca16
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 0x6800d0d0
mov rdx, r12
mov dword [rbx], eax
add rsp, 0x28
pop rbx
pop r12
jmp 0x680142c0
add rsp, 0x28
pop rbx
pop r12
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
test rdx, rdx
jne 0x680142d0
xor eax, eax
ret
jmp 0x6800ca00

Function at 0x6800d110
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 0x6800d150
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x6800d168
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x6801b560
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 0x6801b780
comisd xmm6, xmm7
je 0x6801b680
pxor xmm0, xmm0
subsd xmm6, qword [0x680bc350]
cvtsi2sd xmm0, rax
divsd xmm0, xmm2
subsd xmm0, xmm1
addsd xmm6, xmm0
comisd xmm0, xmm6
jae 0x6801b770
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 [0x680bc358]
jmp 0x6801b66c
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.68045280
mov r12d, eax
test eax, eax
jne 0x6801b690
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 0x6801b770
movupd xmm3, xmm6
subsd xmm3, xmm0
comisd xmm7, xmm3
jbe 0x6801b618
call r15
jmp 0x6801b634
lea rdx, [rbx + 0x28]
lea rcx, [rbx + 0x20]
call fcn.68045280
mov r12d, eax
xor esi, esi
cmp qword [rbx + 0x20], 0
mov r13, qword [sym.imp.USER32.dll_UpdateWindow]
je 0x6801b6c6
mov r8, qword [rbx + 0x28]
mov rax, qword [r8 + rsi*8]
cmp byte [rax + 0xb0], 0
jne 0x6801b700
mov r10, qword [rax + 0x10]
add rsi, 1
mov rcx, qword [r10 + 0x30]
call r13
cmp qword [rbx + 0x20], rsi
ja 0x6801b6a0
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 0x6801b6b1
xor r12d, r12d
jmp 0x6801b690
call qword [sym.imp.USER32.dll_WaitMessage]
lea rdx, [rbx + 0x28]
lea rcx, [rbx + 0x20]
call fcn.68045280
mov r12d, eax
jmp 0x6801b690
Function at 0x680272b0
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 0x68027400
mov rcx, qword [r12 + 0x48]
lea rdx, [r9 + 1]
call sub.msvcrt.dll_realloc
mov rcx, rax
test rax, rax
je 0x68027431
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 0x680273e6
mov rcx, qword [r12 + 0x30]
mov r13d, 2
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x680273e6
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 0x68027429
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r15, rax
test rax, rax
je 0x68027420
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 0x68027309
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x680273e6
mov rcx, qword [r12 + 0x48]
mov r13d, 0xc
call sub.msvcrt.dll_free
mov qword [r12 + 0x50], 0
jmp 0x680273e6
Function at 0x68039d00
Capabilities:
Query environment variable

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
lea rax, fcn.6803a410
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 0x68039e00
call fcn.6801cf70
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 0x68039de0
call sub.msvcrt.dll_atof
movsd xmm2, qword [0x680b9660]
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.68039940
nop
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
test r12, r12
je 0x68039e3c
mov rcx, r12
call fcn.68029f50
movsd xmm2, qword [0x680b9660]
jmp 0x68039d82
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 0x68039d71
movsd xmm2, qword [0x680b9660]
movupd xmm0, xmm2
jmp 0x68039d82

Function at 0x68039fe0
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.6803a410
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 0x6803a042
mov rcx, r12
call fcn.6801cf70
mov r12, rax
test rax, rax
je 0x6803a042
mov rdx, rsi
mov rcx, rax
call fcn.68028890
test rsi, rsi
lea rbp, [rbx + 0x30]
mov qword [rbx + 0x20], r12
setne cl
sete byte [rbx + 0x48]
movq xmm0, rbp
comisd xmm6, xmmword [0x680b9668]
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 0x6803a0c8
lea rcx, str.DPF_SCALE_FACTOR
call sub.msvcrt.dll_getenv
mov rcx, rax
test rax, rax
je 0x6803a0b0
call sub.msvcrt.dll_atof
movsd xmm1, qword [0x680b9660]
movupd xmm6, xmm0
maxsd xmm6, xmm1
jmp 0x6803a0d0
test r12, r12
je 0x6803a130
mov rcx, r12
call fcn.68029f50
movupd xmm6, xmm0
nop dword [rax]
movsd xmm1, qword [0x680b9660]
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.68039940
nop
movups xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
movsd xmm6, qword [0x680b9660]
movupd xmm1, xmm6
jmp 0x6803a0d0
Function at 0x6803a190
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.6803a410
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 0x6803a2e8
call fcn.6801cf70
mov rbp, rax
test rax, rax
je 0x6803a2e8
mov rcx, rax
mov rdx, r12
call fcn.68028890
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 [0x680b9668]
mov byte [rbx + 0x49], cl
mov byte [rbx + 0x4a], sil
mov byte [rbx + 0x4b], r14b
je 0x6803a330
movsd xmm2, qword [0x680b9660]
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 0x6803a318
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.68039940
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 0x6803a241
mov rcx, qword [rbx + 0x20]
mov rdx, r12
call fcn.68028890
jmp 0x6803a29b
lea rcx, str.DPF_SCALE_FACTOR
call sub.msvcrt.dll_getenv
mov rcx, rax
test rax, rax
je 0x6803a368
call sub.msvcrt.dll_atof
movsd xmm2, qword [0x680b9660]
movzx esi, byte [rbx + 0x4a]
movupd xmm6, xmm0
maxsd xmm6, xmm2
jmp 0x6803a262
test rbp, rbp
je 0x6803a388
mov rcx, rbp
call fcn.68029f50
movzx esi, byte [rbx + 0x4a]
movupd xmm6, xmm0
jmp 0x6803a25a
movsd xmm6, qword [0x680b9660]
movzx esi, byte [rbx + 0x4a]
movupd xmm2, xmm6
jmp 0x6803a262
Function at 0x680441c0
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 [0x680bc350]
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.68027ef0
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 0x68044350
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 0x68044488
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 [0x680bc350]
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 [0x680bc350]
movsd qword [rsi + 8], xmm0
jmp 0x680443ce
Function at 0x140006bac
Capabilities:
Parse pe header

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

Function at 0x14000ea24
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000e820
Function at 0x140015a28
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 0x140015aaf
mov rsi, rbx
cmp word [rax], bp
je 0x140015a6e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140015a58
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140015a54
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400122ec
mov rdi, rax
test rax, rax
je 0x140015a9c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14001bf90
mov rbp, rdi
xor ecx, ecx
call fcn.1400112bc
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 0x140018328
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.140011670
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 0x1400183c9
cmp ebx, dword [rsp + 0x30]
je 0x1400183c2
test esi, esi
je 0x1400183c2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14001839d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400183aa
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140018387
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400183ae
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400183cb
mov eax, 1
jmp 0x1400183cb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001bd20
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001bd48
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001bd48
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180001080
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r15
sub rsp, 0x28
mov qword [rsp + 0x60], r13
xor r15d, r15d
mov qword [rsp + 0x20], r14
mov r13d, r9d
mov edi, r8d
mov r14, rdx
mov rbx, rcx
cmp qword [rcx + 8], r15
jne 0x1800010ae
mov eax, r15d
jmp 0x1800010b4
mov eax, dword [rcx + 0x10]
sub eax, dword [rcx + 8]
lea ecx, [rax + rdi]
mov qword [rsp + 0x50], rbp
cmp ecx, dword [rbx + 0x18]
jb 0x18000114d
pxor xmm0, xmm0
mov eax, ecx
mov qword [rsp + 0x58], r12
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x18001d848]
call fcn.18001636c
xor ecx, ecx
mov r8d, 0x1000
lea r9d, [rcx + 4]
cvttsd2si rbp, xmm0
shl ebp, 0xa
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdx, qword [rbx + 8]
mov rsi, rax
test rdx, rdx
jne 0x18000110f
mov ecx, r15d
jmp 0x180001114
mov ecx, dword [rbx + 0x10]
sub ecx, edx
mov r12d, ecx
mov r8d, ecx
mov rcx, rax
call fcn.18000a8c0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180001139
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
lea rax, [r12 + rsi]
mov r12, qword [rsp + 0x58]
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rax
mov dword [rbx + 0x18], ebp
mov rcx, qword [rbx + 0x10]
mov r8, rdi
mov rdx, r14
call fcn.18000a8c0
mov r14, qword [rsp + 0x20]
test r13d, r13d
mov r13, qword [rsp + 0x60]
je 0x1800011d0
mov r10d, r15d
mov r9, r15
mov r11, r15
test edi, edi
jle 0x1800011d0
mov rbp, qword [rsp + 0x70]
nop dword [rax]
movzx ecx, byte [r9 + rbp]
mov r8, qword [rbx + 0x10]
inc r9
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0xcccccccd
imul edx, edx, 0x1c8
sub ecx, edx
mul r10d
add cl, 0x36
xor byte [r11 + r8], cl
shr edx, 3
lea ecx, [rdx + rdx*4]
add ecx, ecx
cmp r10d, ecx
cmove r9, r15
inc r10d
inc r11
cmp r10d, edi
jl 0x180001180
add qword [rbx + 0x10], rdi
mov rbp, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x28
pop r15
pop rdi
pop rsi
pop rbx
ret
Function at 0x18000c39b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180022250]
jne 0x18000a8aa
rol rcx, 0x10
test cx, 0xffff
jne 0x18000a8a6
repz ret
ror rcx, 0x10
jmp 0x18000c2f4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180156c00]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x180156cf8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x18000c379
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180156c00]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x18000c39b
mov rax, qword [rsp + 0x88]
mov qword [0x180156cf8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180156c98], rax
mov rax, qword [0x180156cf8]
mov qword [0x180156b70], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180156c80], rax
mov dword [0x180156b60], 0xc0000409
mov dword [0x180156b64], 1
mov rax, qword [0x180022250]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180022258]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180156bf8], eax
mov ecx, 1
call fcn.180010120
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18001a720]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180156bf8], 0
jne 0x18000c422
mov ecx, 1
call fcn.180010120
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret