joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ca2bc
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x1400ca347
movsxd rcx, dword [0x14000003c]
lea rdx, [0x140000000]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x1400ca347
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400ca347
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x1400ca343
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400ca33d
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jae 0x1400ca33d
test rdx, rdx
je 0x1400ca343
cmp dword [rdx + 0x24], 0
jge 0x1400ca339
xor al, al
jmp 0x1400ca34d
mov al, 1
jmp 0x1400ca34d
add rdx, 0x28
jmp 0x1400ca30f
xor al, al
jmp 0x1400ca34d
xor al, al
jmp 0x1400ca34d
add rsp, 0x18
ret

Function at 0x14059c151
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call fcn.1408ad028
jns fcn.14089bb8d
mov r13, qword [rsp + 0x10]
push qword [rsp + 0x18]
popfq
lea rsp, [rsp + 0x20]
call fcn.14092d605
call rax
mov r11, rax
stc
cmp r11w, si
clc
test rax, rax
jmp 0x1408be414
call rax
jmp 0x1408be56b
sub eax, eax
jmp 0x1408be366
jmp 0x1408be56b
je 0x1408be35f
cmp r11, rsi
jne 0x1408be4c1
cmp byte [rsp + 0x180], dil
je 0x1408be4ab
lea rax, [rsp + 0x40]
adc cl, r14b
clc
rcr rcx, cl
sub rbp, rax
lahf
ror rcx, 0xd9
movzx rcx, sp
nop
bt eax, 0x15
cmc
lea rdx, [rsp + rdi + 0x40]
btc rax, r10
mov ecx, edi
movsxd rax, ebx
btc rax, rdi
mov eax, 0x2739194a
rol eax, cl
clc
add al, dil
clc
test cl, r10b
cmp r14w, 0x6f18
xor al, byte [rdx + rbp]
jmp 0x1408be47e
mov byte [rdx], al
jmp 0x1408be485
je 0x1408be4a4
inc rdi
cmp r8w, r8w
cmp rdi, 0x104
jmp 0x1408be49e
jb 0x1408be44f
lea rbp, [rsp + 0x40]
rdtsc
mov rdx, rbp
mov rcx, rsi
mov ax, 0x7fd8
mov rax, qword [0x140520ac8]
jmp 0x14076886a
cmp byte [rbx + 1], 0x23
bswap dx
lea rdx, [rbx + 1]
jne 0x1408be541
movzx edx, byte [rbx + 2]
test al, r11b
add rbx, 2
test dl, dl
jmp 0x1408be4e4
je 0x1408be53b
nop
movsx ax, dil
lea eax, [rdx - 0x30]
jmp 0x1408be4f8
inc rbx
cmp r13b, 4
jmp 0x1408be504
cmp al, 9
jmp 0x1408be50b
ja 0x1408be53b
movsx eax, dl
cmova dx, di
movzx edx, byte [rbx]
shr ch, 0xa5
lea ecx, [rdi + rdi*4]
mov dil, cl
clc
lea edi, [rax + rcx*2 - 0x30]
jmp 0x1408be52e
test dl, dl
jmp 0x1408be535
jne 0x1408be4f0
movsxd rdx, edi
cmc
sar cl, cl
xor r8d, r8d
movzx rcx, dx
xchg rcx, rcx
mov ch, 0xaf
mov rcx, r11
jmp 0x1408be556
call fcn.1408bdfb8
jmp 0x1408be56b
mov rbx, qword [rsp + 0x178]
sar rsi, 0xb
setg bpl
movzx ebp, r15w
mov rdi, qword [rsp + 0x150]
jmp 0x1408be594
add rsp, 0x158
pop rsi
jmp 0x1408be5a9
pop rbp
jmp 0x1408be5af
ret
Function at 0x14059c16d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call fcn.1408ad028
jns fcn.14089bb8d
mov r13, qword [rsp + 0x10]
push qword [rsp + 0x18]
popfq
lea rsp, [rsp + 0x20]
call fcn.14092d605
call rax
mov r11, rax
stc
cmp r11w, si
clc
test rax, rax
jmp 0x1408be414
call rax
jmp 0x1408be56b
sub eax, eax
jmp 0x1408be366
jmp 0x1408be56b
je 0x1408be35f
cmp r11, rsi
jne 0x1408be4c1
cmp byte [rsp + 0x180], dil
je 0x1408be4ab
lea rax, [rsp + 0x40]
adc cl, r14b
clc
rcr rcx, cl
sub rbp, rax
lahf
ror rcx, 0xd9
movzx rcx, sp
nop
bt eax, 0x15
cmc
lea rdx, [rsp + rdi + 0x40]
btc rax, r10
mov ecx, edi
movsxd rax, ebx
btc rax, rdi
mov eax, 0x2739194a
rol eax, cl
clc
add al, dil
clc
test cl, r10b
cmp r14w, 0x6f18
xor al, byte [rdx + rbp]
jmp 0x1408be47e
mov byte [rdx], al
jmp 0x1408be485
je 0x1408be4a4
inc rdi
cmp r8w, r8w
cmp rdi, 0x104
jmp 0x1408be49e
jb 0x1408be44f
lea rbp, [rsp + 0x40]
rdtsc
mov rdx, rbp
mov rcx, rsi
mov ax, 0x7fd8
mov rax, qword [0x140520ac8]
jmp 0x14076886a
cmp byte [rbx + 1], 0x23
bswap dx
lea rdx, [rbx + 1]
jne 0x1408be541
movzx edx, byte [rbx + 2]
test al, r11b
add rbx, 2
test dl, dl
jmp 0x1408be4e4
je 0x1408be53b
nop
movsx ax, dil
lea eax, [rdx - 0x30]
jmp 0x1408be4f8
inc rbx
cmp r13b, 4
jmp 0x1408be504
cmp al, 9
jmp 0x1408be50b
ja 0x1408be53b
movsx eax, dl
cmova dx, di
movzx edx, byte [rbx]
shr ch, 0xa5
lea ecx, [rdi + rdi*4]
mov dil, cl
clc
lea edi, [rax + rcx*2 - 0x30]
jmp 0x1408be52e
test dl, dl
jmp 0x1408be535
jne 0x1408be4f0
movsxd rdx, edi
cmc
sar cl, cl
xor r8d, r8d
movzx rcx, dx
xchg rcx, rcx
mov ch, 0xaf
mov rcx, r11
jmp 0x1408be556
call fcn.1408bdfb8
jmp 0x1408be56b
mov rbx, qword [rsp + 0x178]
sar rsi, 0xb
setg bpl
movzx ebp, r15w
mov rdi, qword [rsp + 0x150]
jmp 0x1408be594
add rsp, 0x158
pop rsi
jmp 0x1408be5a9
pop rbp
jmp 0x1408be5af
ret
Function at 0x140001bdc
Capabilities:
Parse pe header

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

Function at 0x140005ddc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140005bcc
Function at 0x140008e40
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 0x140008e70
xor eax, eax
jmp 0x140008f33
mov rbp, rbx
cmp word [rax], si
je 0x140008e95
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140008e7c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140008e78
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.140008d90
movsxd r14, eax
test eax, eax
jne 0x140008ed3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140008e69
mov rcx, r14
call fcn.140009cf4
mov rdi, rax
test rax, rax
jne 0x140008eec
xor ecx, ecx
call fcn.140007420
jmp 0x140008ec8
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.140008d90
test eax, eax
jne 0x140008f1d
mov rcx, rdi
call fcn.140007420
jmp 0x140008f27
xor ecx, ecx
call fcn.140007420
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 0x14000c3fc
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.140007e94
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000c486
cmp byte [rbp - 0x21], r15b
je 0x14000c481
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000c4bc
call fcn.14000a514
test eax, eax
jne 0x14000c4a8
cmp byte [rbp - 0x21], r15b
je 0x14000c4a0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000c4bc
cmp byte [rbp - 0x21], r15b
je 0x14000c4b9
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.140007470
test eax, eax
jne 0x14000c55c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140007e94
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000c4fb
cmp byte [rbp - 0x21], r15b
je 0x14000c530
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000c530
call fcn.14000a514
test eax, eax
jne 0x14000c51c
cmp byte [rbp - 0x21], r15b
je 0x14000c515
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000c530
cmp byte [rbp - 0x21], r15b
je 0x14000c52d
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.140007470
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000c55c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000c55f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000c56d
mov rcx, rdi
call fcn.140007420
cmp byte [rbp + 0x3f], r15b
je 0x14000c57c
mov rcx, qword [rbp + 0x27]
call fcn.140007420
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 0x14000f3d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000f3f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000f3f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180013420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movss dword [rsp + 0x20], xmm3
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1800950e8]
xor rax, rsp
mov qword [rsp + 0x68], rax
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x60]
call fcn.1800074d0
mov eax, dword [rsp + 0x88]
and eax, 1
test eax, eax
je 0x1800134fc
mov edx, dword [rsp + 0x90]
mov ecx, 0x14
call fcn.1800136e0
movss dword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 0x13
call fcn.1800136e0
movss xmm1, dword [rsp + 0x20]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x28], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 0x12
call fcn.1800136e0
movss dword [rsp + 0x24], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 0x11
call fcn.1800136e0
movss xmm1, dword [rsp + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x28]
movaps xmm2, xmm1
movaps xmm1, xmm0
lea rcx, [rsp + 0x44]
call fcn.1800074d0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18000ad00
mov eax, dword [rsp + 0x88]
and eax, 2
test eax, eax
je 0x1800135a1
mov edx, dword [rsp + 0x90]
mov ecx, 7
call fcn.1800136e0
movss dword [rsp + 0x2c], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 6
call fcn.1800136e0
movss xmm1, dword [rsp + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x34], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 5
call fcn.1800136e0
movss dword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 4
call fcn.1800136e0
movss xmm1, dword [rsp + 0x30]
subss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x34]
movaps xmm2, xmm1
movaps xmm1, xmm0
lea rcx, [rsp + 0x4c]
call fcn.1800074d0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18000ad00
mov eax, dword [rsp + 0x88]
and eax, 4
test eax, eax
je 0x180013646
mov edx, dword [rsp + 0x90]
mov ecx, 0xb
call fcn.1800136e0
movss dword [rsp + 0x38], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 0xa
call fcn.1800136e0
movss xmm1, dword [rsp + 0x38]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 9
call fcn.1800136e0
movss dword [rsp + 0x3c], xmm0
mov edx, dword [rsp + 0x90]
mov ecx, 8
call fcn.1800136e0
movss xmm1, dword [rsp + 0x3c]
subss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x40]
movaps xmm2, xmm1
movaps xmm1, xmm0
lea rcx, [rsp + 0x54]
call fcn.1800074d0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18000ad00
movss xmm0, dword [rsp + 0x98]
ucomiss xmm0, dword [0x18007a8bc]
jp 0x18001365a
je 0x18001367e
mov ecx, 0xe
call fcn.180015bd0
movzx eax, al
test eax, eax
je 0x18001367e
movss xmm1, dword [rsp + 0x98]
lea rcx, [rsp + 0x60]
call fcn.18000acb0
movss xmm0, dword [rsp + 0xa0]
ucomiss xmm0, dword [0x18007a8bc]
jp 0x180013692
je 0x1800136b6
mov ecx, 0xf
call fcn.180015bd0
movzx eax, al
test eax, eax
je 0x1800136b6
movss xmm1, dword [rsp + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.18000acb0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18004c880
add rsp, 0x78
ret
Function at 0x180014380
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.180053ff8
add rsp, 0x28
ret

Function at 0x1800143c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.180054a80
add rsp, 0x28
ret

Function at 0x180014620
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x180079350]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x1800146a6
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
jmp 0x180014652
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret
Function at 0x1800146b0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x180079350]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x1800147ab
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x1800147a6
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 1], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x18001477b
cmp qword [rsp + 0x38], 2
jb 0x18001477b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18001477b
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18001477b
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1800146f7
jmp 0x180014834
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp]
test eax, eax
je 0x180014834
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x18001480a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18001480a
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18001480a
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1800147ab
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x180040430
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1800950e8]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.1800132f0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [0x180096798]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x54]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x3c]
call fcn.1800074d0
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 8], rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x1800967a0]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x1800967a8]
divss xmm0, xmm1
mov rax, qword [rsp + 0x20]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x58]
mov qword [0x1800967a0], rax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1800404fc
mov dword [rsp + 0x28], 1
jmp 0x180040504
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 0x138], cl
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x180040533
mov dword [rsp + 0x2c], 1
jmp 0x18004053b
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x2c]
mov byte [rax + 0x139], cl
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x18004056a
mov dword [rsp + 0x30], 1
jmp 0x180040572
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x30]
mov byte [rax + 0x13a], cl
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x13b], 0
call fcn.180040da0
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0xc0]
test eax, eax
je 0x1800405ad
mov dword [rsp + 0x34], 0xffffffff
jmp 0x1800405b6
call fcn.180013400
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [0x180095048], eax
je 0x1800405d9
mov eax, dword [rsp + 0x38]
mov dword [0x180095048], eax
call fcn.180040c70
call fcn.180040600
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18004c880
add rsp, 0x78
ret
Function at 0x180046350
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800465a0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x18004646a
mov rax, qword [0x1800950b0]
cmp qword [rsp + 0x20], rax
jb 0x1800463b4
mov rax, qword [0x1800950b8]
cmp qword [rsp + 0x20], rax
ja 0x1800463b4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180046376
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18004ddd0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x1800463e5
jmp 0x18004646a
cmp dword [rsp + 0x50], 0x10000
jne 0x18004644d
cmp qword [rsp + 0x48], 0x10000
jb 0x18004644d
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18004642b
mov rax, qword [rsp + 0x28]
jmp 0x18004646c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x18004643b
xor eax, eax
jmp 0x18004646c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180046465
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800465a0
mov qword [rsp + 0x20], rax
jmp 0x180046376
xor eax, eax
add rsp, 0x68
ret

Function at 0x180046480
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.1800465e0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180046596
mov rax, qword [0x1800950b0]
cmp qword [rsp + 0x20], rax
jb 0x1800464db
mov rax, qword [0x1800950b8]
cmp qword [rsp + 0x20], rax
ja 0x1800464db
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x18004649d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.18004ddd0
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x18004650c
jmp 0x180046596
cmp dword [rsp + 0x50], 0x10000
jne 0x180046574
cmp qword [rsp + 0x48], 0x10000
jb 0x180046574
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180046552
mov rax, qword [rsp + 0x28]
jmp 0x180046598
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180046562
xor eax, eax
jmp 0x180046598
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180046591
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800465e0
mov qword [rsp + 0x20], rax
jmp 0x18004649d
xor eax, eax
add rsp, 0x68
ret
Function at 0x180046630
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180046bc0
mov qword [rsp + 0x28], 0
cmp qword [0x180096810], 0
jne 0x180046678
cmp qword [0x180096808], 0
je 0x180046678
mov rax, qword [0x180096808]
mov qword [0x180096810], rax
cmp qword [0x180096810], 0
je 0x18004671e
mov rax, qword [0x180096810]
cmp qword [rax + 0x10], 0
je 0x18004671e
mov rax, qword [0x180096810]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18004671e
mov rax, qword [0x180096810]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18004671e
mov rax, qword [0x180096810]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800466e4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800466eb
xor eax, eax
jmp 0x180046899
mov rax, qword [0x180096810]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call fcn.18004ddd0
mov rax, qword [rsp + 0x28]
jmp 0x180046899
mov rax, qword [0x180096808]
mov qword [0x180096810], rax
jmp 0x180046740
mov rax, qword [0x180096810]
mov rax, qword [rax + 8]
mov qword [0x180096810], rax
cmp qword [0x180096810], 0
je 0x18004678d
cmp qword [0x180096810], 0
je 0x18004678b
mov rax, qword [0x180096810]
cmp qword [rax + 0x10], 0
je 0x18004678b
mov rax, qword [0x180096810]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18004678b
mov rax, qword [0x180096810]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18004678b
jmp 0x1800466bc
jmp 0x18004672e
mov rcx, qword [rsp + 0x60]
call fcn.180048810
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800468a0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180046897
mov rax, qword [rsp + 0x48]
mov qword [0x180096810], rax
mov rax, qword [0x180096810]
mov dword [rax], 0x52727464
mov rax, qword [0x180096810]
mov qword [rax + 0x10], 0
mov rax, qword [0x180096810]
mov rcx, qword [0x180096808]
mov qword [rax + 8], rcx
mov rax, qword [0x180096810]
mov qword [0x180096808], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180096810]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180046848
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180046882
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18004683e
mov rax, qword [0x180096810]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800466bc
xor eax, eax
add rsp, 0x58
ret