joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4470c0
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x447227
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x4470d2
cmp edx, ecx
jne 0x447215
nop word [rax + rax]
test rsi, rsi
jne 0x447215
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x447134
nop
call fcn.00469540
xorps xmm15, xmm15
mov r14, qword [0x005e9ca0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00446fe0
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x447210
mov rdx, qword [0x00564e58]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x447205
mov rcx, qword [0x00564e50]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x00566090]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x00566090], rax
nop
mov edx, 1
lea rsi, [0x00566098]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1248]
shr rdx, 0x3d
test dl, dl
jne 0x4471f3
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1248], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x004c34ed]
mov ebx, 0x28
nop
call fcn.00437020
mov rax, rsi
mov rcx, rdx
call fcn.00467c20
call fcn.00435900
lea rax, [0x004c2825]
mov ebx, 0x23
call fcn.00437020
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00465940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004470c0
Function at 0x454100
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x454277
movzx edx, byte [rax]
test edx, edx
jne 0x454134
nop dword [rax]
test r8b, r8b
jne 0x454134
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x454147
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x454237
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x454225
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x454217
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x45419d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x4541e0
mov eax, 1
cmp rax, rbx
ja 0x4541cb
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.00467ce0
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x45420f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x4541d3
mov rcx, r11
mov eax, r12d
jmp 0x4541a2
mov rcx, rbx
call fcn.00467c20
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00467c20
mov eax, r8d
mov rcx, rbx
call fcn.00467ce0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x45426d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x454230
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x45414d
mov eax, edx
mov rcx, rbx
call fcn.00467c20
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00467c20
nop
int3

Function at 0x45a120
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45a1d5
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.00457da0
nop
test bl, bl
je 0x45a1cf
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x0045a220]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.00465820
xorps xmm15, xmm15
mov r14, qword [0x005e9ca0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00465940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0045a120
Function at 0x45d120
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45d1cf
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x0045d220]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00465820
xorps xmm15, xmm15
mov r14, qword [0x005e9ca0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00465940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.0045d120
Function at 0x467740
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x403dc3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.00409be0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00465940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x403da0
cmp byte [0x005e9a8a], 0
je 0x467755
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x464980
jmp 0x403da0

Function at 0x467760
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005e9d80]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005e9a8a], 0
je 0x467795
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x005ea0a0]
aesenc xmm0, xmmword [0x005ea0b0]
aesenc xmm0, xmmword [0x005ea0c0]
movq rax, xmm0
ret
jmp 0x409e00

Function at 0x4677a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005e9d80]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x005e9a8a], 0
je 0x4677d6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005ea0a0]
aesenc xmm0, xmmword [0x005ea0b0]
aesenc xmm0, xmmword [0x005ea0c0]
movq rax, xmm0
ret
jmp 0x409e60

Function at 0x469580
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x4695b4
mov rcx, 0x28
jmp 0x4695bf
shl rcx, 3
add rcx, 0x1480
mov qword [0x005e9ca0], rcx
pop rbp
ret
Function at 0x476220
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4762ea
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403320
xorps xmm15, xmm15
mov r14, qword [0x005e9ca0]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4762cf
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004a3f80]
xor ebx, ebx
mov rcx, rdx
call fcn.0044d120
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00477000
inc rbx
cmp rcx, rbx
jae 0x4762be
mov edi, 1
lea rsi, [0x004a3f80]
call fcn.0044d200
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x004e11d8]
lea rsi, [0x004e0d38]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00465940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00476220

Function at 0x4856c0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x485dff
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4856ed
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x485971
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x48599d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x004e2180]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004a3e80]
lea rbx, [0x004e10c0]
call fcn.00436460
inc rax
cmp rax, r8
jge 0x4859c2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4859f7
lea rdi, [0x004a3f00]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4856e3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4859db
jmp 0x4859b0
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00465940
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004856c0

Function at 0x485fa0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x485fb7
inc rax
cmp rax, 4
jge 0x485fcf
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x485fb4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x485fe0
inc rax
cmp rax, 4
jge 0x485fee
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x486017
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x485ffb
jmp 0x485fdd
Function at 0x140901058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1409011df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140901089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14090106f
add dl, dl
jne 0x140901096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409010f6
xor eax, eax
add dl, dl
jne 0x1409010a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409011ad
add dl, dl
jne 0x1409010b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409010c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409010d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409010dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409010ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14090107e
mov eax, 1
add dl, dl
jne 0x140901106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140901113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409010fb
sub eax, ebx
mov ebx, 1
jne 0x14090114c
mov ecx, 1
add dl, dl
jne 0x14090112e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14090113b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140901123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14090107e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140901168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140901175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14090115d
cmp eax, 0x7d00
jae 0x14090119b
cmp eax, 0x500
jb 0x140901196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14090107e
cmp eax, 0x7f
ja 0x14090119e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14090107e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409011d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14090107e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001100f
Capabilities:
Check os version
Parse pe header
Resolve function by parsing pe exports

Disassembly:
jmp 0x140012400
push rbp
push rdi
sub rsp, 0x1a8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250a5]
call fcn.1400113de
mov rax, qword gs:[0x60]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x14001243c
mov rax, qword [rbp + 8]
cmp dword [rax + 0x118], 0xa
je 0x140012443
xor eax, eax
jmp 0x1400125a1
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
sub rax, 0x10
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rax + 0x30]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x140012474
xor eax, eax
jmp 0x1400125a1
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140012491
xor eax, eax
jmp 0x1400125a1
mov rax, qword [rbp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
cmp dword [rax], 0x4550
je 0x1400124c0
xor eax, eax
jmp 0x1400125a1
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x88]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x1400124f9
xor eax, eax
jmp 0x1400125a1
mov rax, qword [rbp + 0x48]
mov qword [0x140020460], rax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x18]
mov dword [0x140020458], eax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [0x140020448], rax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [0x140020440], rax
mov rax, qword [rbp + 0xa8]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [0x140020450], rax
cmp qword [0x140020460], 0
je 0x140012596
cmp dword [0x140020458], 0
je 0x140012596
cmp qword [0x140020448], 0
je 0x140012596
cmp qword [0x140020440], 0
je 0x140012596
cmp qword [0x140020450], 0
jne 0x14001259c
xor eax, eax
jmp 0x1400125a1
mov eax, 1
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140011131
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140012e10
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250a5]
call fcn.1400113de
mov dword [rbp + 4], 0
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0
jmp 0x140012e58
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x170]
cmp dword [rbp + 0x44], eax
jge 0x140012f5e
mov eax, dword [rbp + 4]
inc eax
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rbp + 4], eax
movsxd rax, dword [rbp + 4]
mov rcx, qword [rbp + 0x160]
movzx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x24]
add ecx, eax
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
mov dword [rbp + 0x24], eax
movsxd rax, dword [rbp + 4]
mov rcx, qword [rbp + 0x160]
movzx eax, byte [rcx + rax]
mov byte [rbp + 0x64], al
movsxd rax, dword [rbp + 0x24]
movsxd rcx, dword [rbp + 4]
mov rdx, qword [rbp + 0x160]
mov r8, qword [rbp + 0x160]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
movsxd rax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0x160]
movzx edx, byte [rbp + 0x64]
mov byte [rcx + rax], dl
movsxd rax, dword [rbp + 0x44]
mov qword [rbp + 0x138], rax
movsxd rcx, dword [rbp + 4]
mov rdx, qword [rbp + 0x160]
movzx ecx, byte [rdx + rcx]
movsxd rdx, dword [rbp + 0x24]
mov r8, qword [rbp + 0x160]
movzx edx, byte [r8 + rdx]
add ecx, edx
mov eax, ecx
cdq
and edx, 0xff
add eax, edx
and eax, 0xff
sub eax, edx
cdqe
mov rcx, qword [rbp + 0x160]
movzx eax, byte [rcx + rax]
mov rcx, qword [rbp + 0x168]
mov rdx, qword [rbp + 0x138]
movzx ecx, byte [rcx + rdx]
xor ecx, eax
mov eax, ecx
movsxd rcx, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x168]
mov byte [rdx + rcx], al
jmp 0x140012e50
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x140011226
Capabilities:
Terminate process

Disassembly:
jmp 0x140015190
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400112c1
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400164d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400164f0
xor al, al
jmp 0x140016571
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140016503
xor al, al
jmp 0x140016571
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001652d
xor al, al
jmp 0x140016571
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140016541
xor al, al
jmp 0x140016571
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140016553
xor al, al
jmp 0x140016571
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001656f
xor al, al
jmp 0x140016571
mov al, 1
add rsp, 0x38
ret
Function at 0x14001139d
Capabilities:
Terminate process

Disassembly:
jmp 0x140012620
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400250a5]
call fcn.1400113de
lea rcx, str.NTDLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtOpenProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140020a80], rax
cmp qword [0x140020a80], 0
jne 0x140012680
lea rcx, str.____Couldnt_Find_Address_Of_NtOpenProcess_Function__n
call fcn.1400111b8
mov ecx, 0xffffffff
call qword [sym.imp.ucrtbased.dll_exit]
lea rcx, str.NTDLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtProtectVirtualMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140020a88], rax
cmp qword [0x140020a88], 0
jne 0x1400126c5
lea rcx, str.____Couldnt_Find_Address_Of_NtProtectVirtualMemory_Function__n
call fcn.1400111b8
mov ecx, 0xffffffff
call qword [sym.imp.ucrtbased.dll_exit]
lea rcx, str.NTDLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtWriteVirtualMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140020a90], rax
cmp qword [0x140020a90], 0
jne 0x14001270a
lea rcx, str.____Couldnt_Find_Address_Of_NtWriteVirtualMemory_Function__n
call fcn.1400111b8
mov ecx, 0xffffffff
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x140002160
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x14026f968], 0
jne 0x140002175
xor edx, edx
mov ecx, 0x10001
jmp fcn.1400049f0
jmp fcn.140004760

Function at 0x140002870
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
lea ecx, [rdi + 0x10]
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
mov eax, 1
test ecx, 0x80000000
lea ecx, [rax + 0x10]
cmovne edi, eax
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400028a7
or edi, 2
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1400028ba
or edi, 4
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x5b
movsx ebx, ax
call qword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
or ecx, ebx
jns 0x1400028dd
or edi, 8
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400028f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
lea ecx, [rdi + 0x10]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
mov eax, 1
test ecx, 0x80000000
lea ecx, [rax + 0x10]
cmovne edi, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140002927
or edi, 2
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000293a
or edi, 4
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x5b
movsx ebx, ax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
or ecx, ebx
jns 0x14000295d
or edi, 8
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140004760
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14014b540]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400047fa
nop dword [rax + rax]
cmp dword [rsp + 0x38], 0x12
jne 0x1400047c5
mov rbx, qword [0x140273b28]
test rbx, rbx
je 0x1400047db
mov rcx, rbx
call fcn.140001b40
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1400047b3
jmp 0x1400047db
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x1400047a0
mov rdi, qword [0x140273b30]
test rdi, rdi
je 0x14000491d
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], rsi
call fcn.1400028f0
mov ecx, 0xa0
mov ebp, eax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0xa1
movzx ebx, ax
shr ebx, 0xf
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx esi, ax
shr esi, 0xf
test ebx, ebx
jne 0x140004867
cmp byte [rdi + 0x1e0], 1
jne 0x140004867
xor r9d, r9d
xor r8d, r8d
mov edx, 0x154
mov rcx, rdi
mov dword [rsp + 0x20], ebp
call fcn.140001100
test esi, esi
mov rsi, qword [rsp + 0x98]
jne 0x140004893
cmp byte [rdi + 0x1e4], 1
jne 0x140004893
xor r9d, r9d
xor r8d, r8d
mov edx, 0x158
mov rcx, rdi
mov dword [rsp + 0x20], ebp
call fcn.140001100
cmp dword [rdi + 0x80], 0x34003
mov rbp, qword [rsp + 0x90]
jne 0x14000491d
mov rcx, qword [rdi + 0x2c0]
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x6c]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
cmp dword [rdi + 0x2e0], eax
jne 0x1400048e0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
cmp dword [rdi + 0x2e4], eax
je 0x14000491d
mov eax, ecx
mov rcx, qword [rdi + 0x2c0]
mov dword [rsp + 0x60], r8d
cdq
mov dword [rdi + 0x2e0], r8d
sub eax, edx
lea rdx, [rsp + 0x60]
sar eax, 1
mov dword [rsp + 0x64], eax
mov dword [rdi + 0x2e4], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400c76a0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret

Function at 0x1400051f0
Capabilities:
Set thread local storage value

Disassembly:
cmp dword [0x14026f968], 0
jne 0x140005205
xor edx, edx
mov ecx, 0x10001
jmp fcn.1400049f0
test rcx, rcx
je 0x14000521f
cmp dword [rcx + 0x1f0], 0
jne 0x14000521f
xor edx, edx
mov ecx, 0x1000a
jmp fcn.1400049f0
jmp fcn.140007390