joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400613a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140087010]
xor rax, rsp
mov qword [rsp + 0x50], rax
add rdx, 0xffffffffffff0000
mov rdi, rcx
movzx eax, dx
mov rbx, rdx
sub rbx, rax
test rax, rax
cmove rbx, rdx
cmp rbx, rcx
jbe 0x140061495
nop dword [rax]
cmp rbx, qword [0x140088190]
jb 0x1400613fe
cmp rbx, qword [0x140088198]
ja 0x1400613fe
sub rbx, 0x8000000
jmp 0x14006148c
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
je 0x140061495
cmp dword [rsp + 0x40], 0x10000
jne 0x140061470
cmp qword [rsp + 0x38], 0x10000
jb 0x140061470
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call sub.KERNEL32.dll_VirtualAlloc
test rax, rax
jne 0x140061497
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
je 0x140061495
sub rbx, 0x10000
jmp 0x14006148c
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffff0000
movzx eax, cx
mov rbx, rcx
sub rbx, rax
test rax, rax
cmove rbx, rcx
cmp rbx, rdi
ja 0x1400613e0
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140030280
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x1400614b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140087010]
xor rax, rsp
mov qword [rsp + 0x50], rax
movzx eax, cx
mov rdi, rdx
mov rbx, rcx
test rax, rax
je 0x1400614e1
sub rbx, rax
add rbx, 0x10000
cmp rbx, rdi
jae 0x1400615a7
nop word [rax + rax]
cmp rbx, qword [0x140088190]
jb 0x14006150e
cmp rbx, qword [0x140088198]
ja 0x14006150e
add rbx, 0x8000000
jmp 0x14006159e
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
mov r8d, 0x30
mov rcx, rbx
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
je 0x1400615a7
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x140061583
cmp rcx, 0x10000
jb 0x140061583
mov edx, 0x10000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call sub.KERNEL32.dll_VirtualAlloc
test rax, rax
jne 0x1400615a9
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
je 0x1400615a7
add rbx, 0x10000
jmp 0x14006159e
mov rbx, qword [rsp + 0x20]
add rbx, rcx
movzx ecx, bx
test rcx, rcx
je 0x14006159e
mov eax, 0x10000
sub rax, rcx
add rbx, rax
cmp rbx, rdi
jb 0x1400614f0
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140030280
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400615d0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push rbx
sub rsp, 0x20
lea rbx, [rcx - 0x7ff80000]
mov r9, rcx
cmp rcx, 0x7ff80000
ja 0x1400615ee
mov ebx, 0x80000
mov qword [rsp + 0x30], rdi
lea rdi, [rcx + 0x7ff80000]
cmp r9, 0xffffffff80000000
jb 0x14006160a
mov rdi, 0xfffffffffff80000
movzx eax, byte [rcx]
cmp al, 0xff
jne 0x140061621
cmp byte [rcx + 1], 0x25
jne 0x140061665
movsxd rax, dword [rcx + 2]
add rcx, 6
jmp 0x14006162d
cmp al, 0xe9
jne 0x140061665
movsxd rax, dword [rcx + 1]
add rcx, 5
add rcx, rax
cmp rcx, r9
jae 0x140061650
cmp rcx, 0xffffffff80000000
jae 0x140061647
lea rdi, [rcx + 0x7ff80000]
jmp 0x140061665
mov rdi, 0xfffffffffff80000
jmp 0x140061665
lea rbx, [rcx - 0x7ff80000]
cmp rcx, 0x7ff80000
ja 0x140061665
mov ebx, 0x80000
mov rax, qword [0x14008b568]
mov rcx, qword [0x14008b560]
test rax, rax
jne 0x140061687
test rcx, rcx
je 0x14006169e
mov rax, rcx
mov qword [0x14008b568], rcx
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x14006169e
cmp rdx, rbx
jb 0x14006169e
cmp rdx, rdi
jbe 0x140061749
mov qword [0x14008b568], rcx
mov rax, rcx
test rcx, rcx
je 0x1400616d9
test rcx, rcx
je 0x1400616c9
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x1400616c9
cmp rcx, rbx
jb 0x1400616c9
cmp rcx, rdi
jbe 0x140061749
mov rax, qword [rax + 8]
mov qword [0x14008b568], rax
test rax, rax
jne 0x1400616b2
movzx eax, r9w
mov r8, rdi
sub r9, rax
mov rdx, rbx
mov rcx, r9
call fcn.1400617a0
test rax, rax
je 0x14006178c
mov dword [rax], 0x52727464
lea rdx, [rax + 0xffa8]
xor r8d, r8d
mov qword [0x14008b568], rax
mov qword [rax + 0x10], r8
mov r9d, 0x2a7
mov rcx, qword [0x14008b560]
mov qword [rax + 8], rcx
lea rcx, [rax + 0xff60]
mov qword [0x14008b560], rax
mov qword [rdx], r8
lea rdx, [rdx - 0x60]
mov r8, rcx
sub rcx, 0x60
sub r9, 1
jne 0x140061731
mov qword [rax + 0x10], r8
mov rdx, qword [rax + 0x10]
cmp rdx, rbx
jb 0x14006178c
cmp rdx, rdi
ja 0x14006178c
mov rcx, qword [rdx + 0x48]
movdqa xmm0, xmmword [0x140070830]
mov qword [rax + 0x10], rcx
mov rax, rdx
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x50], xmm0
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x140061ac0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140087010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
nop
mov eax, 0x5a4d
mov rcx, qword [rsp + 0x28]
cmp word [rcx], ax
je 0x140061afc
xor al, al
jmp 0x140061b4b
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rdx + rcx], 0x4550
je 0x140061b0d
xor al, al
jmp 0x140061b4b
mov r8d, dword [rdx + rcx + 0xe8]
lea rax, [r8 + rcx]
cmp rbx, rax
jb 0x140061b34
mov eax, dword [rdx + rcx + 0xec]
add rax, r8
add rax, rcx
cmp rbx, rax
jae 0x140061b34
mov al, 1
jmp 0x140061b4b
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140030280
add rsp, 0x60
pop rbx
ret
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140030280
add rsp, 0x60
pop rbx
ret
Function at 0x1400620b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbp
push rsi
sub rsp, 0x38
mov rax, qword [0x140087010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbp, rdx
mov rsi, rcx
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x14008b578], eax
je 0x1400620e3
mov eax, 0x10dd
jmp 0x14006220c
mov eax, dword [0x14008b57c]
test eax, eax
jne 0x14006220c
test rbp, rbp
jne 0x1400620fe
lea eax, [rbp + 0x57]
jmp 0x14006220c
test rsi, rsi
je 0x14006211a
cmp qword [rsi], 0
jne 0x140062124
mov dword [0x14008b57c], 6
mov qword [0x14008b580], rsi
mov eax, 6
jmp 0x14006220c
mov qword [rsp + 0x60], rbx
mov ecx, 0x30
mov qword [rsp + 0x30], rdi
call fcn.140030550
mov rbx, rax
test rax, rax
jne 0x140062148
lea edi, [rax + 8]
jmp 0x1400621e1
mov rcx, qword [rsi]
xor edx, edx
call fcn.140062000
xor edx, edx
mov rcx, rbp
mov rdi, rax
call fcn.140062000
movzx ecx, byte [rdi + 0x3e]
mov rbp, qword [rdi + 0x48]
sub rbp, rcx
test cl, cl
je 0x1400621d3
mov edx, ecx
cmp rcx, 0x1e
ja 0x1400621d3
cmp qword [rdi + 0x50], rax
jne 0x1400621d3
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov r8d, 0x40
mov rcx, rbp
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1400621a4
call sub.KERNEL32.dll_GetLastError
mov edi, eax
jmp 0x1400621e1
mov dword [rbx + 8], 1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x20], rdi
mov qword [rbx + 0x18], rbp
mov eax, dword [rsp + 0x20]
mov dword [rbx + 0x28], eax
mov rax, qword [0x14008b590]
mov qword [rbx], rax
xor eax, eax
mov qword [0x14008b590], rbx
jmp 0x140062202
cmp dword [0x14008b570], 0
mov edi, 9
jne 0x1400621ec
mov dword [0x14008b57c], edi
test rbx, rbx
je 0x1400621f9
mov edx, 0x30
mov rcx, rbx
call fcn.1400302a0
mov qword [0x14008b580], rsi
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140030280
add rsp, 0x38
pop rsi
pop rbp
ret
Function at 0x140062220
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140087010]
xor rax, rsp
mov qword [rsp + 0x28], rax
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x14008b578], eax
je 0x140062257
mov eax, 0x10dd
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140030280
add rsp, 0x38
ret
mov qword [rsp + 0x40], rbx
mov rbx, qword [0x14008b590]
mov qword [rsp + 0x48], rsi
xor esi, esi
mov qword [rsp + 0x30], rdi
test rbx, rbx
je 0x1400622f4
nop dword [rax + rax]
mov rax, qword [rbx + 0x20]
lea r9, [rsp + 0x20]
mov r8d, dword [rbx + 0x28]
mov rcx, qword [rbx + 0x18]
movzx edx, byte [rax + 0x3e]
call sub.KERNEL32.dll_VirtualProtect
cmp dword [rbx + 8], esi
jne 0x1400622dc
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x1400622dc
xorps xmm0, xmm0
mov rcx, rdx
movups xmmword [rdx], xmm0
and rcx, 0xffffffffffff0000
movups xmmword [rdx + 0x10], xmm0
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm0
movups xmmword [rdx + 0x40], xmm0
movups xmmword [rdx + 0x50], xmm0
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x48], rax
mov qword [rcx + 0x10], rdx
mov qword [rbx + 0x20], rsi
mov rdi, qword [rbx]
mov edx, 0x30
mov rcx, rbx
call fcn.1400302a0
mov rbx, rdi
test rdi, rdi
jne 0x140062280
mov qword [0x14008b590], rsi
call fcn.140061b60
mov rdi, qword [0x14008b588]
test rdi, rdi
je 0x140062331
nop dword [rax]
mov rcx, qword [rdi + 8]
call sub.KERNEL32.dll_ResumeThread
mov rbx, qword [rdi]
mov edx, 0x10
mov rcx, rdi
call fcn.1400302a0
mov rdi, rbx
test rbx, rbx
jne 0x140062310
mov rdi, qword [rsp + 0x30]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov qword [0x14008b588], rsi
mov dword [0x14008b578], esi
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140030280
add rsp, 0x38
ret

Function at 0x140062370
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140087010]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp dword [0x14008b578], 0
jne 0x140062432
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, eax
xor eax, eax
lock cmpxchg dword [0x14008b578], ecx
jne 0x140062432
mov qword [rsp + 0x40], rbx
mov rbx, qword [0x14008b560]
mov qword [rsp + 0x30], rdi
xor edi, edi
mov qword [0x14008b590], rdi
mov qword [0x14008b588], rdi
mov qword [0x14008b580], rdi
test rbx, rbx
je 0x14006240e
nop dword [rax]
nop dword [rax + rax]
lea r9, [rsp + 0x20]
mov edx, 0x10000
mov r8d, 0x40
mov rcx, rbx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
je 0x140062407
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x1400623e0
jmp 0x14006240e
call sub.KERNEL32.dll_GetLastError
mov edi, eax
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov dword [0x14008b57c], edi
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140030280
add rsp, 0x38
ret
mov eax, 0x10dd
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140030280
add rsp, 0x38
ret
Function at 0x1400629f0
Capabilities:
Suspend thread

Disassembly:
push rdi
sub rsp, 0x20
mov eax, dword [0x14008b57c]
mov rdi, rcx
test eax, eax
jne 0x140062a90
call sub.KERNEL32.dll_GetCurrentThread
cmp rdi, rax
jne 0x140062a19
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov ecx, 0x10
mov qword [rsp + 0x30], rbx
call fcn.140030550
mov rbx, rax
test rax, rax
jne 0x140062a35
lea edi, [rax + 8]
jmp 0x140062a56
mov rcx, rdi
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x140062a74
call sub.KERNEL32.dll_GetLastError
mov edi, eax
mov edx, 0x10
mov rcx, rbx
call fcn.1400302a0
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [0x14008b57c], edi
mov qword [0x14008b580], 0
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x14008b588]
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rdi
mov qword [0x14008b588], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400017d8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x14005aa00]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor ebx, ebx
mov r12, rdx
mov rdi, rcx
test rcx, rcx
je 0x140001981
lea esi, [rbx + 0x40]
xor edx, edx
mov r8d, esi
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov ebp, 0x108
lea rcx, [rsp + 0x90]
mov r8d, ebp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea r15, [fcn.140001efc]
mov rcx, r15
call fcn.140002034
mov r9d, esi
lea r8, [rsp + 0x50]
lea esi, [rbx + 4]
mov rdx, rdi
mov ecx, esi
call fcn.140001efc
mov rcx, r15
call fcn.140001fbc
mov eax, 0x5a4d
cmp word [rsp + 0x50], ax
jne 0x140001981
mov rcx, r15
call fcn.140002034
movsxd rdx, dword [rsp + 0x8c]
lea r8, [rsp + 0x90]
add rdx, rdi
mov r9d, ebp
mov ecx, esi
call fcn.140001efc
mov rcx, r15
call fcn.140001fbc
cmp dword [rsp + 0x90], 0x4550
jne 0x140001981
mov ebp, dword [rsp + 0x118]
test ebp, ebp
je 0x140001981
cmp dword [rsp + 0x11c], ebx
je 0x140001981
mov r13d, dword [rsp + 0x11c]
mov r9d, esi
mov edx, r13d
mov r8d, 0x3000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rcx, r15
mov rsi, rax
call fcn.140002034
lea rax, [rdi + rbp]
mov qword [rsp + 0x40], rbp
mov rdx, rax
mov qword [rsp + 0x38], rax
mov r9d, r13d
lea ecx, [rbx + 4]
mov r8, rsi
call fcn.140001efc
mov rcx, r15
call fcn.140001fbc
mov eax, dword [rsi + 0x24]
mov r15, rsi
mov ecx, dword [rsi + 0x20]
sub r15, rbp
add rax, r15
add rcx, r15
mov qword [rsp + 0x28], rax
mov ebp, ebx
mov eax, dword [rsi + 0x1c]
add rax, r15
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x30], rax
cmp dword [rsi + 0x18], ebx
jbe 0x140001970
mov r14d, ebp
mov rdx, r12
mov ecx, dword [rcx + r14*4]
add rcx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400019ae
mov rcx, qword [rsp + 0x20]
inc ebp
cmp ebp, dword [rsi + 0x18]
jb 0x14000194d
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140048820
mov rbx, qword [rsp + 0x200]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
movzx eax, word [rax + r14*2]
mov ecx, dword [rcx + rax*4]
add rcx, rdi
cmp rcx, qword [rsp + 0x38]
jb 0x1400019da
mov rax, qword [rsp + 0x40]
add rax, r13
add rax, rdi
cmp rcx, rax
jbe 0x1400019dd
mov rbx, rcx
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rbx
jmp 0x140001983
Function at 0x1400019f4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14005aa00]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov rcx, qword [rbp + 8]
call fcn.140001fbc
xor eax, eax
mov dword [rbp - 0x30], 0x610046
mov word [rbp - 0x14], ax
lea rdx, section..data
lea rax, [rbp - 0x30]
mov dword [rbp - 0x2c], 0x740073
mov r9d, 0x38
mov qword [rbp - 0x38], rax
mov r8, rbx
mov dword [rbp - 0x28], 0x6f0042
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x24], 0x74006f
mov dword [rbp - 0x20], 0x70004f
mov dword [rbp - 0x1c], 0x690074
mov dword [rbp - 0x18], 0x6e006f
mov qword [rbp - 0x40], 0x1e001c
mov dword [rsp + 0x20], 7
call qword [0x14005adc8]
mov rcx, qword [rbp + 8]
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp - 0x20], rax
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x18], eax
mov word [rbp - 0x14], ax
call fcn.140002034
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140048820
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret
Function at 0x14000a080
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x1e8]
mov r10, r8
movsxd r9, dword [rcx + 0x1e0]
mov r11, rdx
mov rcx, r11
mov r8d, dword [rax + r9*4 - 4]
mov eax, r10d
sub eax, edx
neg r10
sbb edx, edx
and edx, eax
jmp fcn.14000aad0

Function at 0x14000a760
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r15, r9d
mov rsi, r8
test r8, r8
je 0x14000a787
and qword [r8], 0
call fcn.14000a89c
mov rbx, rax
test rax, rax
je 0x14000a880
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000a877
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000a877
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000a877
mov rax, qword [0x14005b2b0]
mov rbp, rdi
test rax, rax
je 0x14000a7ef
inc dword [rax + 0x3c8]
mov rdx, qword [0x14005b2c0]
lea rcx, [r15 + rdi]
call qword [0x140059010]
mov rdi, rax
test rax, rax
je 0x14000a877
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbp
je 0x14000a84e
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14005b2b0]
test rax, rax
je 0x14000a83c
dec dword [rax + 0x3c8]
mov rdx, qword [0x14005b2c0]
mov rcx, rdi
call qword [0x140059018]
jmp 0x14000a880
test r15d, r15d
jle 0x14000a861
lea rcx, [rdi + rbp]
mov r8, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14000a872
mov qword [rsi], rbp
mov rax, rdi
jmp 0x14000a882
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x14000aad0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp dword [0x14005b2e4], 0
lea rsi, [0x14005b2e0]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x14000ab37
xor r9d, r9d
mov r11, rsi
mov r8d, r9d
mov edx, 8
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov r8d, ecx
xor r8d, eax
sub rdx, 1
jne 0x14000ab05
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x14000aafd
not ebx
mov edx, ebx
test edi, edi
jle 0x14000ab59
movzx eax, byte [r10]
inc r10
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
sub edi, 1
jne 0x14000ab3f
jmp 0x14000ab93
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x14000ab93
mov r9b, 0x23
cmp r8b, r9b
jne 0x14000ab78
cmp byte [r10], r9b
jne 0x14000ab78
cmp byte [r10 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r8b
mov r8b, byte [r10]
xor rcx, rax
shr edx, 8
inc r10
xor edx, dword [rsi + rcx*4]
test r8b, r8b
jne 0x14000ab67
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret
Function at 0x140010b70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x14005b2b0]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x140010bd9
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140010be4
lea rdx, [0x14004bb54]
mov rcx, rbx
mov rdi, rax
call fcn.14000a89c
mov rbx, rax
test rax, rax
je 0x140010bd9
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14001fb4c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
xor r14d, r14d
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rsi, rdx
movsxd rdi, r9d
mov rbp, rcx
test r9d, r9d
jle 0x14001fd3d
lea rbx, [r8 + 0x20]
xor r13d, r13d
lea r8d, [r14 + 1]
mov r11d, 0x100
xorps xmm7, xmm7
movss xmm6, dword [rbx - 0x20]
comiss xmm6, xmm7
jbe 0x14001fbee
movsxd r10, dword [rsi + 0x24]
mov r9, qword [rsi + 8]
movsx ecx, r11w
movzx eax, byte [r10 + r9 + 7]
movzx edx, byte [r10 + r9 + 6]
imul edx, ecx
movsx ecx, r11w
add dx, ax
movzx eax, byte [r10 + r9 + 5]
movsx r8d, dx
movzx edx, byte [r10 + r9 + 4]
imul edx, ecx
add ax, dx
cwde
sub eax, r8d
mov r8d, 1
movd xmm0, eax
jmp 0x14001fc10
movsxd rdx, dword [rsi + 0x1c]
mov rax, qword [rsi + 8]
xorps xmm6, xmmword [0x14004bce0]
movzx ecx, byte [rdx + rax + 0x12]
movzx eax, byte [rdx + rax + 0x13]
shl ecx, 8
add ecx, eax
movd xmm0, ecx
mov al, byte [rbp + 0x20]
xor r15d, r15d
cvtdq2ps xmm0, xmm0
mov byte [rbx], al
mov al, byte [rbp + 0x24]
mov byte [rbx + 1], al
divss xmm6, xmm0
cmp dword [rbx - 0x10], r15d
jle 0x14001fd30
mov rcx, qword [rsp + 0xe0]
mov rax, r13
shl rax, 4
add rcx, 6
xor r12d, r12d
add rcx, rax
mov qword [rsp + 0x60], rcx
mov rax, qword [rbx - 0x18]
test rax, rax
jne 0x14001fc5e
mov edx, dword [rbx - 0x1c]
add edx, r15d
jmp 0x14001fc62
mov edx, dword [rax + r12]
mov rcx, rsi
call fcn.14001f2b8
mov edx, eax
xorps xmm3, xmm3
mov eax, dword [rbp + 0x24]
xorps xmm2, xmm2
mov rcx, rsi
cvtsi2ss xmm3, rax
mov eax, dword [rbp + 0x20]
cvtsi2ss xmm2, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
movss dword [rsp + 0x28], xmm7
mulss xmm3, xmm6
mulss xmm2, xmm6
movss dword [rsp + 0x20], xmm7
call fcn.14001f6f0
mov rcx, qword [rsp + 0x60]
mov r8d, 1
movzx eax, word [rbp + 0x20]
add r14d, r8d
sub ax, word [rsp + 0xd8]
add r13, r8
add ax, word [rbp + 0x1c]
add r15d, r8d
add ax, word [rsp + 0x50]
add r12, 4
sub ax, r8w
mov word [rcx - 2], ax
movzx eax, word [rbp + 0x24]
sub ax, word [rsp + 0x54]
add ax, word [rbp + 0x1c]
add ax, word [rsp + 0x58]
sub ax, r8w
mov word [rcx], ax
add rcx, 0x10
mov qword [rsp + 0x60], rcx
cmp r15d, dword [rbx - 0x10]
jl 0x14001fc4d
mov r11d, 0x100
add rbx, 0x28
sub rdi, r8
jne 0x14001fb9c
movaps xmm7, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov eax, r14d
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140020e9c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14005aa00]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.14000a0e0
mov rcx, qword [0x14005b738]
lea rdx, [rbp - 0x18]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rbp - 0x10]
sub ecx, dword [rbp - 0x18]
movd xmm1, ecx
mov ecx, dword [rbp - 0xc]
sub ecx, dword [rbp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rbp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x20]
xorps xmm1, xmm1
sub rax, qword [0x14005b740]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x14005b748]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x20]
mov qword [0x14005b740], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, 0x10
mov byte [rdi + 0x128], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, bl
mov byte [rdi + 0x129], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0x12b], 0
mov byte [rdi + 0x12a], al
call fcn.14000a0e0
cmp byte [rax + 0x3a7], 0
lea rbx, [rax + 0x110]
je 0x140020fc5
cvttss2si ecx, dword [rbx]
lea rdx, [rbp - 0x30]
cvttss2si eax, dword [rax + 0x114]
mov dword [rbp - 0x30], ecx
mov rcx, qword [0x14005b738]
mov dword [rbp - 0x2c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx], eax
mov dword [rbx + 4], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x14005b738]
jne 0x14002101a
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14002101a
mov rcx, qword [0x14005b738]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14002101a
movd xmm0, dword [rbp - 0x28]
movd xmm1, dword [rbp - 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
je 0x140021028
or eax, 0xffffffff
jmp 0x14002102d
call fcn.14000a11c
cmp dword [0x140059148], eax
je 0x140021040
mov dword [0x140059148], eax
call fcn.140021068
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140048820
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret