joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14029e52c
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.140274764
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14029e5b6
cmp byte [rbp - 0x21], r15b
je 0x14029e5b1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14029e5ec
call fcn.140292440
test eax, eax
jne 0x14029e5d8
cmp byte [rbp - 0x21], r15b
je 0x14029e5d0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14029e5ec
cmp byte [rbp - 0x21], r15b
je 0x14029e5e9
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.140280b50
test eax, eax
jne 0x14029e68c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140274764
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14029e62b
cmp byte [rbp - 0x21], r15b
je 0x14029e660
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14029e660
call fcn.140292440
test eax, eax
jne 0x14029e64c
cmp byte [rbp - 0x21], r15b
je 0x14029e645
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14029e660
cmp byte [rbp - 0x21], r15b
je 0x14029e65d
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.140280b50
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14029e68c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14029e68f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14029e69d
mov rcx, rdi
call fcn.14028f620
cmp byte [rbp + 0x3f], r15b
je 0x14029e6ac
mov rcx, qword [rbp + 0x27]
call fcn.14028f620
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 0x1402a14e0
Capabilities:
Hash data using sha384
Hash data using sha512

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x70]
add rcx, 0x4ac
call fcn.1402cf930
mov rcx, qword [rbx + 0x70]
add rcx, 0x504
call fcn.1402d10b0
mov rcx, qword [rbx + 0x70]
xor edx, edx
add rcx, 0x560
call fcn.1402d2360
mov rcx, qword [rbx + 0x70]
mov edx, 1
add rcx, 0x5d0
add rsp, 0x20
pop rbx
jmp fcn.1402d3410
Function at 0x1402d5230
Capabilities:
Encrypt data using openssl rsa

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
lea rbx, [0x14036ec70]
mov r14, rdx
mov rcx, rbx
test rsi, rsi
je 0x1402d528e
cmp qword [0x14036ec70], 0
je 0x1402d528e
mov rdi, qword [rsi + 8]
cmp qword [rcx + 8], rdi
jne 0x1402d5281
mov rdx, qword [rsi + 0x10]
mov r8, rdi
mov rcx, qword [rcx]
call fcn.140260b10
test eax, eax
je 0x1402d52a9
add rbx, 0x28
mov rcx, rbx
cmp qword [rbx], 0
jne 0x1402d5268
mov eax, 0xffffffd2
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
test rbx, rbx
je 0x1402d528e
mov eax, dword [rbx + 0x20]
mov dword [r14], eax
xor eax, eax
jmp 0x1402d5293

Function at 0x1402d5360
Capabilities:
Encrypt data using openssl rsa

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x20
mov rsi, rcx
lea rbx, [0x14036ea40]
mov r14, r8
mov r15, rdx
mov rcx, rbx
test rsi, rsi
je 0x1402d53c6
cmp qword [0x14036ea40], 0
je 0x1402d53c6
mov rdi, qword [rsi + 8]
cmp qword [rcx + 8], rdi
jne 0x1402d53b9
mov rdx, qword [rsi + 0x10]
mov r8, rdi
mov rcx, qword [rcx]
call fcn.140260b10
test eax, eax
je 0x1402d53e6
add rbx, 0x28
mov rcx, rbx
cmp qword [rbx], 0
jne 0x1402d53a0
mov eax, 0xffffffd2
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
test rbx, rbx
je 0x1402d53c6
mov eax, dword [rbx + 0x20]
mov dword [r15], eax
mov eax, dword [rbx + 0x24]
mov dword [r14], eax
xor eax, eax
jmp 0x1402d53cb
Function at 0x1402ddd30
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0xd8
mov rax, qword [0x140398b38]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov r13, qword [rsp + 0x148]
mov rsi, rcx
mov rcx, qword [rcx]
mov rbp, r9
mov qword [rsp + 0x28], r9
mov rdi, r8
mov rbx, rdx
call fcn.1402cc360
mov dword [rsp + 0x20], 0
mov r8, rdi
mov rdx, rbx
movzx r14d, al
mov rcx, rsi
mov byte [rsp + 0x23], 1
call fcn.1402cc5d0
mov edi, eax
test eax, eax
jne 0x1402ddfc0
mov qword [rsp + 0xd0], r12
mov r12d, dword [rsp + 0x140]
test r12d, r12d
je 0x1402ddf98
mov qword [rsp + 0xc8], r15
mov r15d, dword [rsp + 0x138]
nop word [rax + rax]
mov r8, qword [rsp + 0x130]
mov rdx, rbp
mov rcx, rsi
call fcn.1402cc850
mov edi, eax
test eax, eax
jne 0x1402ddf90
lea r8d, [rax + 4]
mov rcx, rsi
lea rdx, [rsp + 0x20]
call fcn.1402cc850
mov edi, eax
test eax, eax
jne 0x1402ddf90
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1402cc380
mov edi, eax
test eax, eax
jne 0x1402ddf90
mov rcx, rsi
call fcn.1402cc570
mov edi, eax
test eax, eax
jne 0x1402ddf90
mov r8, r14
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140260c10
mov ebx, 1
cmp r15d, ebx
jbe 0x1402ddf4c
nop dword [rax]
nop word [rax + rax]
mov r8, r14
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.1402cc850
mov edi, eax
test eax, eax
jne 0x1402ddf90
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.1402cc380
mov edi, eax
test eax, eax
jne 0x1402ddf90
mov rcx, rsi
call fcn.1402cc570
mov edi, eax
test eax, eax
jne 0x1402ddf90
xor eax, eax
mov rdx, r14
mov ecx, r14d
cmp r14d, 0x40
jb 0x1402ddf2a
mov r8d, 0xffffffc0
and rcx, r8
nop word [rax + rax]
movdqu xmm0, xmmword [rsp + rax + 0x30]
movdqu xmm1, xmmword [rsp + rax + 0x70]
pxor xmm1, xmm0
movdqu xmmword [rsp + rax + 0x30], xmm1
movdqu xmm0, xmmword [rsp + rax + 0x40]
movdqu xmm1, xmmword [rsp + rax + 0x80]
pxor xmm1, xmm0
movdqu xmmword [rsp + rax + 0x40], xmm1
movdqu xmm0, xmmword [rsp + rax + 0x50]
movdqu xmm1, xmmword [rsp + rax + 0x90]
pxor xmm1, xmm0
movdqu xmmword [rsp + rax + 0x50], xmm1
movdqu xmm0, xmmword [rsp + rax + 0x60]
movdqu xmm1, xmmword [rsp + rax + 0xa0]
pxor xmm1, xmm0
movdqu xmmword [rsp + rax + 0x60], xmm1
add rax, 0x40
cmp rax, rcx
jl 0x1402ddec0
cmp rax, rdx
jge 0x1402ddf41
nop
movzx ecx, byte [rsp + rax + 0x70]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rax, rdx
jl 0x1402ddf30
inc ebx
cmp ebx, r15d
jb 0x1402dde60
mov eax, r12d
lea rdx, [rsp + 0x30]
cmp r12d, r14d
mov rcx, r13
cmovae eax, r14d
mov r8d, eax
mov ebx, eax
call fcn.140260c10
sub r12d, ebx
mov edx, 4
add r13, rbx
lea eax, [rdx - 1]
add byte [rsp + rax + 0x20], 1
jne 0x1402ddf82
add edx, 0xffffffff
jne 0x1402ddf73
mov rbp, qword [rsp + 0x28]
test r12d, r12d
jne 0x1402dddd0
mov r15, qword [rsp + 0xc8]
mov edx, 0x40
lea rcx, [rsp + 0x30]
call fcn.1402cc010
mov edx, 0x40
lea rcx, [rsp + 0x70]
call fcn.1402cc010
mov r12, qword [rsp + 0xd0]
mov eax, edi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14025e930
add rsp, 0xd8
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1402eaa50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
movzx r10d, byte [r8 + 1]
mov rbx, rcx
movzx ecx, byte [r8 + 5]
mov r11d, edx
movzx eax, byte [r8]
mov r14, r9
movzx edi, byte [r8 + 4]
movzx edx, byte [r8 + 3]
shl eax, 8
shl edi, 8
or eax, r10d
movzx r10d, byte [r8 + 2]
or edi, ecx
movzx ecx, byte [r8 + 6]
shl eax, 8
shl edi, 8
or eax, r10d
or edi, ecx
shl eax, 8
movzx ecx, byte [r8 + 7]
or eax, edx
shl edi, 8
or edi, ecx
test r11d, r11d
mov r11d, reloc.WS2_32.dll_recv
jne 0x1402eab23
lea rsi, [rbx + 0x44]
nop dword [rax]
nop word [rax + rax]
xor eax, dword [rsi]
lea rsi, [rsi - 4]
mov ecx, eax
mov r10d, eax
shr ecx, 8
movzx r9d, cl
shr ecx, 8
mov edx, ecx
shr rdx, 8
movzx ecx, cl
mov r8d, dword [rbx + rdx*4 + 0x48]
add r8d, dword [rbx + rcx*4 + 0x448]
xor r8d, dword [rbx + r9*4 + 0x848]
movzx ecx, al
mov eax, r8d
add eax, dword [rbx + rcx*4 + 0xc48]
xor eax, edi
mov edi, r10d
sub r11, 1
jne 0x1402eaad0
xor r10d, dword [rbx]
xor eax, dword [rbx + 4]
jmp 0x1402eab82
mov rsi, rbx
nop word [rax + rax]
xor eax, dword [rsi]
lea rsi, [rsi + 4]
mov ecx, eax
mov r10d, eax
shr ecx, 8
movzx r9d, cl
shr ecx, 8
mov edx, ecx
shr rdx, 8
movzx ecx, cl
mov r8d, dword [rbx + rdx*4 + 0x48]
add r8d, dword [rbx + rcx*4 + 0x448]
xor r8d, dword [rbx + r9*4 + 0x848]
movzx ecx, al
mov eax, r8d
add eax, dword [rbx + rcx*4 + 0xc48]
xor eax, edi
mov edi, r10d
sub r11, 1
jne 0x1402eab30
xor r10d, dword [rbx + 0x44]
xor eax, dword [rbx + 0x40]
mov rbx, qword [rsp + 8]
mov ecx, r10d
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
shr ecx, 0x18
mov byte [r14], cl
mov ecx, r10d
shr ecx, 0x10
mov byte [r14 + 1], cl
mov ecx, r10d
shr ecx, 8
mov byte [r14 + 2], cl
mov ecx, eax
shr ecx, 0x18
mov byte [r14 + 4], cl
mov ecx, eax
shr ecx, 0x10
mov byte [r14 + 5], cl
mov ecx, eax
mov byte [r14 + 7], al
xor eax, eax
shr ecx, 8
mov byte [r14 + 6], cl
mov byte [r14 + 3], r10b
mov r14, qword [rsp + 0x20]
ret
Function at 0x1400faa5a
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x1402ebbd0
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1404ceb80]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, str.libOSMesa.dll
mov qword [rsp + 0x38], rax
lea rax, str.OSMesa.dll
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
cmp qword [0x1404e3788], 0
je 0x1402ebc2b
mov eax, 1
jmp 0x1402ebdab
mov dword [rsp + 0x20], 0
jmp 0x1402ebc3f
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
cmp qword [rsp + rax*8 + 0x38], 0
je 0x1402ebc71
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + rax*8 + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1404e3788], rax
cmp qword [0x1404e3788], 0
je 0x1402ebc6f
jmp 0x1402ebc71
jmp 0x1402ebc35
cmp qword [0x1404e3788], 0
jne 0x1402ebc93
lea rdx, str.OSMesa:_Library_not_found
mov ecx, 0x10006
call fcn.1400fc7a6
xor eax, eax
jmp 0x1402ebdab
lea rdx, str.OSMesaCreateContextExt
mov rcx, qword [0x1404e3788]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404e3790], rax
lea rdx, str.OSMesaCreateContextAttribs
mov rcx, qword [0x1404e3788]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404e3798], rax
lea rdx, str.OSMesaDestroyContext
mov rcx, qword [0x1404e3788]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404e37a0], rax
lea rdx, str.OSMesaMakeCurrent
mov rcx, qword [0x1404e3788]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404e37a8], rax
lea rdx, str.OSMesaGetColorBuffer
mov rcx, qword [0x1404e3788]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404e37b0], rax
lea rdx, str.OSMesaGetDepthBuffer
mov rcx, qword [0x1404e3788]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404e37b8], rax
lea rdx, str.OSMesaGetProcAddress
mov rcx, qword [0x1404e3788]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404e37c0], rax
cmp qword [0x1404e3790], 0
je 0x1402ebd8c
cmp qword [0x1404e37a0], 0
je 0x1402ebd8c
cmp qword [0x1404e37a8], 0
je 0x1402ebd8c
cmp qword [0x1404e37b0], 0
je 0x1402ebd8c
cmp qword [0x1404e37b8], 0
je 0x1402ebd8c
cmp qword [0x1404e37c0], 0
jne 0x1402ebda6
lea rdx, str.OSMesa:_Failed_to_load_required_entry_points
mov ecx, 0x10008
call fcn.1400fc7a6
call fcn.1400fa9e2
xor eax, eax
jmp 0x1402ebdab
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140378a70]
call fcn.1400fdd81
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400fc355
add rsp, 0x70
pop rdi
ret
Function at 0x1400fafaf
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140264340
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x428
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x448]
mov rax, qword [0x1404ceb80]
xor rax, rbp
mov qword [rbp + 0x3f8], rax
lea rcx, [0x1404fe479]
call fcn.1400fea60
xor edx, edx
mov ecx, 2
call fcn.1400fc2ba
mov qword [rbp + 8], rax
lea rax, [rbp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rbp + 0x30], 0x238
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x1402643bb
xor eax, eax
jmp 0x14026441b
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400fcc9c
test eax, eax
jne 0x1402643d0
xor eax, eax
jmp 0x14026441b
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1400fdf98
test eax, eax
je 0x14026440f
mov rcx, qword [rbp + 0x420]
call fcn.1400fb923
mov rdx, rax
lea rcx, [rbp + 0x5c]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x14026440d
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x38]
jmp 0x14026441b
jmp 0x1402643d0
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14034d830]
call fcn.1400fdd81
mov rax, rdi
mov rcx, qword [rbp + 0x3f8]
xor rcx, rbp
call fcn.1400fc355
lea rsp, [rbp + 0x408]
pop rdi
pop rbp
ret
Function at 0x1400fb07c
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x140264990
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0xa20
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x1c0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa48]
mov rax, qword [0x1404ceb80]
xor rax, rbp
mov qword [rbp + 0x9f8], rax
lea rcx, [0x1404fe479]
call fcn.1400fea60
mov rax, qword [rbp + 0xa20]
mov qword [rax], 0
mov rax, qword [rbp + 0xa20]
mov qword [rax + 8], 0
mov rax, qword [rbp + 0xa20]
mov qword [rax + 0x10], 0
mov edx, dword [rbp + 0xa28]
mov ecx, 0x18
call fcn.1400fc2ba
mov qword [rbp + 0x38], rax
cmp qword [rbp + 0x38], 0xffffffffffffffff
jne 0x140264a6c
mov r9, qword [rbp + 0xa30]
lea r8, str.Failed_to_get__s__invalid_handle_value
mov edx, 0xff
lea rcx, [rbp + 0x60]
call fcn.1400fb4aa
mov r9d, 0x10
lea r8, str.ERROR
lea rdx, [rbp + 0x60]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rax, qword [rbp + 0xa20]
jmp 0x140264b0a
mov dword [rbp + 0x280], 0x438
lea rdx, [rbp + 0x280]
mov rcx, qword [rbp + 0x38]
call fcn.1400fcda0
test eax, eax
je 0x140264af9
mov rdx, qword [rbp + 0xa30]
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x140264ae5
mov rax, qword [rbp + 0x298]
mov qword [rbp + 0x9d8], rax
mov rax, qword [rbp + 0x2a8]
mov qword [rbp + 0x9e0], rax
mov eax, dword [rbp + 0x2a0]
mov qword [rbp + 0x9e8], rax
lea rax, [rbp + 0x9d8]
mov rdi, qword [rbp + 0xa20]
mov rsi, rax
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
jmp 0x140264af9
lea rdx, [rbp + 0x280]
mov rcx, qword [rbp + 0x38]
call fcn.1400fab04
test eax, eax
jne 0x140264a8a
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0xa20]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14034d790]
call fcn.1400fdd81
mov rax, rdi
mov rcx, qword [rbp + 0x9f8]
xor rcx, rbp
call fcn.1400fc355
lea rsp, [rbp + 0xa00]
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400fbb94
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x140266720
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1404fe492]
call fcn.1400fea60
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp + 8], rax
mov rax, qword [0x1404d9480]
cmp qword [rbp + 8], rax
je 0x140266773
mov rax, qword [0x1404d9488]
cmp qword [rbp + 8], rax
je 0x140266773
xor edx, edx
mov rcx, qword [0x1404d9488]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x140266800
mov edx, 5
mov rcx, qword [0x1404d9488]
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x1404d944c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x140266800
movzx eax, byte [0x1403a2d19]
test eax, eax
jne 0x1402667b0
mov dword [rbp + 0xd4], 1
jmp 0x1402667ba
mov dword [rbp + 0xd4], 0
movzx eax, byte [rbp + 0xd4]
mov byte [0x1403a2d19], al
movzx eax, byte [0x1403a2d19]
test eax, eax
jne 0x1402667de
mov dword [rbp + 0xd4], 1
jmp 0x1402667e8
mov dword [rbp + 0xd4], 0
mov r8d, dword [rbp + 0xd4]
mov edx, 0x2000d
mov rcx, qword [0x1404d9490]
call fcn.1400ff118
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x1400fbfa9
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1402e61a0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [rsp + 0x30]
cmp dword [rax], 1
je 0x1402e61d5
mov r8d, 0x46
lea rdx, [0x1404c83f0]
lea rcx, str.tls__win32.allocated__GLFW_TRUE
call qword [sym.imp.ucrtbased.dll__wassert]
xor eax, eax
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x20
pop rdi
ret

Function at 0x1400fc14d
Capabilities:
Log keystrokes

Disassembly:
jmp 0x1402e05e0
push rdi
sub rsp, 0x220
lea rdi, [rsp + 0x40]
mov ecx, 0x78
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1404ceb80]
xor rax, rsp
mov qword [rsp + 0x210], rax
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov r8d, 0x6d1
xor edx, edx
lea rcx, [0x1404e2e32]
call fcn.1400fd750
mov dword [rsp + 0x40], 0x20
jmp 0x1402e0645
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x15c
jg 0x1402e0849
movsxd rax, dword [rsp + 0x40]
lea rcx, [0x1404e2b78]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x168], eax
cmp dword [rsp + 0x168], 0xffffffff
jne 0x1402e0676
jmp 0x1402e063b
cmp dword [rsp + 0x40], 0x140
jl 0x1402e0752
cmp dword [rsp + 0x40], 0x14e
jg 0x1402e0752
mov dword [rsp + 0x1b8], 0x60
mov dword [rsp + 0x1bc], 0x61
mov dword [rsp + 0x1c0], 0x62
mov dword [rsp + 0x1c4], 0x63
mov dword [rsp + 0x1c8], 0x64
mov dword [rsp + 0x1cc], 0x65
mov dword [rsp + 0x1d0], 0x66
mov dword [rsp + 0x1d4], 0x67
mov dword [rsp + 0x1d8], 0x68
mov dword [rsp + 0x1dc], 0x69
mov dword [rsp + 0x1e0], 0x6e
mov dword [rsp + 0x1e4], 0x6f
mov dword [rsp + 0x1e8], 0x6a
mov dword [rsp + 0x1ec], 0x6d
mov dword [rsp + 0x1f0], 0x6b
mov eax, dword [rsp + 0x40]
sub eax, 0x140
cdqe
mov eax, dword [rsp + rax*4 + 0x1b8]
mov dword [rsp + 0x164], eax
jmp 0x1402e076b
mov edx, 1
mov ecx, dword [rsp + 0x168]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [rsp + 0x164], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0x178]
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x164]
call qword [sym.imp.USER32.dll_ToUnicode]
mov dword [rsp + 0x16c], eax
cmp dword [rsp + 0x16c], 0xffffffff
jne 0x1402e07e5
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0x178]
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x164]
call qword [sym.imp.USER32.dll_ToUnicode]
mov dword [rsp + 0x16c], eax
cmp dword [rsp + 0x16c], 1
jge 0x1402e07f4
jmp 0x1402e063b
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 5
lea rcx, [0x1404e2e32]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [rsp + 0x178]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x1402e063b
mov rcx, rsp
lea rdx, [0x1403771f0]
call fcn.1400fdd81
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.1400fc355
add rsp, 0x220
pop rdi
ret
Function at 0x1400fc90e
Capabilities:
Terminate process

Disassembly:
jmp 0x1402ee7d0
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 0x1400fcec7
Capabilities:
Write file on windows

Disassembly:
jmp 0x140137280
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1404fe114]
call fcn.1400fea60
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fwrite]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x1400fd133
Capabilities:
Read file on windows

Disassembly:
jmp 0x140137210
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1404fe114]
call fcn.1400fea60
mov r9, qword [rbp + 0xf8]
mov r8, qword [rbp + 0xf0]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.ucrtbased.dll_fread]
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1400fd156
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x140138e70
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x198
lea rbp, [rsp + 0x20]
lea rcx, [0x1404fe114]
call fcn.1400fea60
mov eax, dword [rbp + 0x1a0]
not eax
mov dword [rbp + 0x1a0], eax
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x190]
mov qword [rbp + 0x28], rax
lea rax, [0x140302160]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x198], 0
je 0x140138fa8
mov rax, qword [rbp + 0x198]
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x198]
dec rax
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x158], 0
je 0x140138f09
mov dword [rbp + 0x160], 1
jmp 0x140138f13
mov dword [rbp + 0x160], 0
cmp dword [rbp + 0x160], 0
je 0x140138fa3
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x64], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x64]
cmp eax, 0x23
jne 0x140138f7d
cmp qword [rbp + 0x198], 2
jb 0x140138f7d
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140138f7d
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x140138f7d
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x64]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x140138ed4
jmp 0x140139035
mov rax, qword [rbp + 0x28]
movzx eax, byte [rax]
mov byte [rbp + 0x84], al
mov rax, qword [rbp + 0x28]
inc rax
mov qword [rbp + 0x28], rax
movzx eax, byte [rbp + 0x84]
test eax, eax
je 0x140139035
movzx eax, byte [rbp + 0x84]
cmp eax, 0x23
jne 0x14013900c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14013900c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14013900c
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 8
mov ecx, dword [rbp + 4]
and ecx, 0xff
movzx edx, byte [rbp + 0x84]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x48]
xor eax, dword [rdx + rcx*4]
mov dword [rbp + 4], eax
jmp 0x140138fa8
mov eax, dword [rbp + 4]
not eax
lea rsp, [rbp + 0x178]
pop rdi
pop rbp
ret