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

Disassembly:
mov rdx, qword [0x28a0d8230]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x28a081e40
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x28a081e48
ret
cmp word [r8 + 0x18], 0x20b
jne 0x28a081e40
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x28a081e9d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x28a081e94
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x28a081e40
add rax, 0x28
cmp rax, r9
jne 0x28a081e80
xor eax, eax
ret

Function at 0x28a081ea0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x28a0d8230]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x28a081ebf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x28a081ec8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x28a081ebf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x28a081f60
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x28a0d8230]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x28a081f7f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x28a081f88
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x28a082360
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor r11d, r11d
movsxd rax, dword [rdx + 0x3c]
mov ebx, dword [rax + rdx + 0x88]
add rbx, rdx
mov rdi, rcx
mov r10, rdx
mov esi, dword [rbx + 0x20]
mov ebp, dword [rbx + 0x18]
add rsi, rdx
cmp ebp, r11d
jbe 0x28a0823cc
mov ecx, dword [rsi + r11*4]
mov edx, 0xd
add rcx, r10
call fcn.28a082500
mov r8d, eax
lea rax, [r11 + 1]
cmp r8d, edi
jne 0x28a0823c7
mov edx, dword [rbx + 0x24]
add r11, r11
mov eax, dword [rbx + 0x1c]
add r11, r10
movzx edx, word [r11 + rdx]
lea rdx, [r10 + rdx*4]
mov eax, dword [rdx + rax]
add rax, r10
jmp 0x28a0823ce
mov r11, rax
jmp 0x28a082388
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x28a0823e0
Capabilities:
Access peb ldr_data

Disassembly:
push rdi
push rsi
push rbx
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
test r9, r9
je 0x28a082452
mov rbx, qword [r9 + 0x30]
test rbx, rbx
je 0x28a08244f
mov rsi, qword [r9 + 0x60]
test rsi, rsi
je 0x28a08244f
mov edi, dword [r9 + 0x58]
xor r11d, r11d
xor eax, eax
mov r10d, eax
movzx eax, byte [rsi + r11]
ror r10d, 0xd
cmp al, 0x60
jbe 0x28a082435
movzx r8d, al
sub r8d, 0x20
movsxd rdx, r8d
lea rax, [rdx + r10]
jmp 0x28a082438
add rax, r10
inc r11
cmp di, r11w
jne 0x28a082414
cmp ecx, eax
jne 0x28a08244a
mov r9, rbx
jmp 0x28a082452
mov r9, qword [r9]
jmp 0x28a0823f4
xor r9d, r9d
mov rax, r9
pop rbx
pop rsi
pop rdi
ret
Function at 0x28a082490
Capabilities:
Check for software breakpoints

Disassembly:
cmp byte [rcx - 1], 0xcc
je 0x28a0824ee
test r8d, r8d
jne 0x28a08249f
sub rcx, 0x20
mov r9b, byte [rcx]
cmp r9b, 0xe9
je 0x28a0824b2
mov r8b, byte [rcx + 3]
cmp r8b, 0xe9
jne 0x28a0824b9
inc edx
xor r8d, r8d
jmp fcn.28a082490
xor eax, eax
cmp r9b, 0x4c
jne 0x28a0824f0
cmp byte [rcx + 1], 0x8b
jne 0x28a0824f0
cmp byte [rcx + 2], 0xd1
jne 0x28a0824ee
cmp r8b, 0xb8
jne 0x28a0824ee
cmp byte [rcx + 6], 0
jne 0x28a0824f0
movzx eax, byte [rcx + 5]
shl eax, 8
mov r8d, eax
movzx eax, byte [rcx + 4]
or eax, r8d
add eax, edx
jmp 0x28a0824f0
xor eax, eax
ret

Function at 0x28a082570
Capabilities:
Resolve function by hash

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xa8
call fcn.28a081460
mov ecx, 0x3cfa685d
call fcn.28a0823e0
mov r12, rax
test rax, rax
je 0x28a0827bd
mov r13, qword [0x28a0d81d0]
mov rdx, r12
mov ecx, 0x8c394d89
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x98], 0
movsxd rax, dword [r13]
mov qword [rsp + 0x90], rax
call fcn.28a082360
mov rdx, r12
mov ecx, 0xd33bcabd
mov rdi, rax
call fcn.28a082360
mov rdx, r12
mov ecx, 0xae06c1b2
mov r15, rax
call fcn.28a082360
mov rdx, r12
mov ecx, 0x4d1deb74
mov r14, rax
call fcn.28a082360
mov rcx, rdi
mov r8d, 1
xor edx, edx
mov r11, rax
call fcn.28a082490
mov rcx, r15
mov r8d, 1
xor edx, edx
movzx esi, ax
call fcn.28a082490
mov rcx, r14
mov r8d, 1
xor edx, edx
movzx r10d, ax
call fcn.28a082490
xor edx, edx
mov r8d, 1
mov rcx, r11
mov word [rsp + 0x7c], ax
call fcn.28a082490
mov rcx, rdi
movzx ebx, ax
call fcn.28a082460
mov rcx, r15
lea r15, [rsp + 0x90]
mov r12, rax
call fcn.28a082460
mov rcx, r14
lea r14, [rsp + 0x88]
mov r8, rax
call fcn.28a082460
mov rcx, r11
mov rdi, rax
call fcn.28a082460
or rcx, 0xffffffffffffffff
mov r9, r15
mov rdx, r14
mov qword [rsp + 0x38], r8
xor r8d, r8d
mov rbp, rax
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
call fcn.28a081370
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x28a0827bd
movsxd r8, dword [r13]
mov rdx, qword [0x28a0d81c0]
call fcn.28a082520
movsxd r8, dword [r13]
mov rcx, qword [0x28a0d81c0]
xor edx, edx
call fcn.28a082550
mov qword [rsp + 0x30], r12
mov r8, r15
mov rdx, r14
lea rax, [rsp + 0x84]
mov dword [rsp + 0x28], esi
mov r9d, 0x20
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x20], rax
call fcn.28a081372
mov dword [rsp + 0x58], ebx
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x60], rbp
lea rcx, [rsp + 0x98]
mov edx, 0x1f03ff
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.28a081376
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
movzx r9d, word [rsp + 0x7c]
mov rcx, qword [rsp + 0x98]
mov dword [rsp + 0x7c], r9d
call fcn.28a081374
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
mov r9d, dword [rsp + 0x7c]
or rcx, 0xffffffffffffffff
call fcn.28a081374
nop
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x140001070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x100
xor r10d, r10d
movsxd rdi, r8d
mov eax, r10d
lea rdx, [rsp]
mov rbx, rcx
mov r9d, pe_nt_image_headers64
nop dword [rax + rax]
mov byte [rdx], al
lea rdx, [rdx + 1]
inc eax
cmp eax, r9d
jl 0x1400010a0
mov edx, r10d
lea rsi, [0x1400053f0]
mov r8, r10
nop word [rax + rax]
movzx r11d, byte [rsp + r8]
mov rax, r8
and eax, 0xf
movzx eax, byte [rax + rsi]
add edx, eax
add edx, r11d
and edx, 0x800000ff
jge 0x1400010e6
dec edx
or edx, 0xffffff00
inc edx
movsxd rax, edx
lea rcx, [rsp]
add rcx, rax
movzx eax, byte [rcx]
mov byte [rsp + r8], al
inc r8
mov byte [rcx], r11b
sub r9, 1
jne 0x1400010c0
mov eax, r10d
mov r11, rdi
test edi, edi
jle 0x140001172
nop dword [rax]
inc eax
and eax, 0x800000ff
jge 0x140001122
dec eax
or eax, 0xffffff00
inc eax
movsxd rcx, eax
lea r8, [rsp]
add r8, rcx
movzx r9d, byte [r8]
lea ecx, [r10 + r9]
and ecx, 0x800000ff
jge 0x140001146
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd r10, ecx
lea rdx, [rsp]
movzx ecx, byte [rdx + r10]
mov byte [r8], cl
mov byte [rdx + r10], r9b
movzx edx, byte [r8]
add rdx, r9
movzx ecx, dl
movzx edx, byte [rsp + rcx]
xor byte [rbx], dl
inc rbx
sub r11, 1
jne 0x140001110
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140001190
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r8d, 0x10
lea rcx, [0x1400050d0]
call fcn.140001070
mov r8d, 0x20
lea rcx, [0x1400053d0]
call fcn.140001070
mov r8d, 0x10
lea rcx, [0x1400050f0]
call fcn.140001070
mov r8d, 0x10
lea rcx, [0x140005110]
call fcn.140001070
mov r8d, 0x10
lea rcx, [0x1400050c0]
call fcn.140001070
mov r8d, 0x10
lea rcx, [0x140005080]
call fcn.140001070
mov r8d, 0x20
lea rcx, [0x1400050a0]
call fcn.140001070
mov r8d, 0x10
lea rcx, [0x140005090]
call fcn.140001070
mov r8d, 0x10
lea rcx, [0x140005100]
call fcn.140001070
mov r8d, 0x10
lea rcx, [0x1400050e0]
call fcn.140001070
lea rcx, [0x1400050d0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x1400053d0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], 0
xor edx, edx
mov rcx, rax
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x2b0
call rbx
test rax, rax
jne 0x1400012b1
lea ecx, [rax + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8d, 0x2b0
mov qword [rsp + 0x50], rdi
lea rcx, [0x140005120]
call fcn.140001070
lea rcx, [0x1400050d0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x1400050f0]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov edx, 0x2b0
mov r8d, 0x3000
lea r9d, [rcx + 4]
call rax
mov rdx, rax
lea rcx, str.Allocated_Memory:__p_n
mov rdi, rax
call fcn.140001010
lea rdx, [0x140005110]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8d, 0x2b0
lea rdx, [0x140005120]
mov rcx, rdi
call rax
lea rdx, [0x1400050c0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov edx, 0x2b0
mov r8d, 0x20
mov rcx, rdi
call rax
lea rdx, [0x140005090]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
xor r8d, r8d
mov rcx, rdi
mov rdx, rax
call rbx
lea rcx, [0x140005100]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x1400050e0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov rdi, qword [rsp + 0x50]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400013d0
add rsp, 0x40
pop rbx
ret

Function at 0x140001c90
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001cda
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001cda
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001cda
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001cda
cmp dword [rcx + 0x84], 0xe
jbe 0x140001cda
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001cdc
xor al, al
add rsp, 0x28
ret
Function at 0x14012f947
Capabilities:
Write file on windows

Disassembly:
jmp 0x1403267b0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x140529702]
call fcn.140135801
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140326807
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140326913
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x1403268ac
cmp qword [rbp + 0x28], 0
jle 0x1403268ac
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14032684c
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.140135171
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x140326902
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140326902
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x14012fe15
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x140384700
push rdi
sub rsp, 0x70
lea rdi, [rsp + 0x20]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1404efd40]
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 [0x140505fc8], 0
je 0x14038475b
mov eax, 1
jmp 0x1403848db
mov dword [rsp + 0x20], 0
jmp 0x14038476f
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 0x1403847a1
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + rax*8 + 0x38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140505fc8], rax
cmp qword [0x140505fc8], 0
je 0x14038479f
jmp 0x1403847a1
jmp 0x140384765
cmp qword [0x140505fc8], 0
jne 0x1403847c3
lea rdx, str.OSMesa:_Library_not_found
mov ecx, 0x10006
call fcn.1401327fa
xor eax, eax
jmp 0x1403848db
lea rdx, str.OSMesaCreateContextExt
mov rcx, qword [0x140505fc8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140505fd0], rax
lea rdx, str.OSMesaCreateContextAttribs
mov rcx, qword [0x140505fc8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140505fd8], rax
lea rdx, str.OSMesaDestroyContext
mov rcx, qword [0x140505fc8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140505fe0], rax
lea rdx, str.OSMesaMakeCurrent
mov rcx, qword [0x140505fc8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140505fe8], rax
lea rdx, str.OSMesaGetColorBuffer
mov rcx, qword [0x140505fc8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140505ff0], rax
lea rdx, str.OSMesaGetDepthBuffer
mov rcx, qword [0x140505fc8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140505ff8], rax
lea rdx, str.OSMesaGetProcAddress
mov rcx, qword [0x140505fc8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140506000], rax
cmp qword [0x140505fd0], 0
je 0x1403848bc
cmp qword [0x140505fe0], 0
je 0x1403848bc
cmp qword [0x140505fe8], 0
je 0x1403848bc
cmp qword [0x140505ff0], 0
je 0x1403848bc
cmp qword [0x140505ff8], 0
je 0x1403848bc
cmp qword [0x140506000], 0
jne 0x1403848d6
lea rdx, str.OSMesa:_Failed_to_load_required_entry_points
mov ecx, 0x10008
call fcn.1401327fa
call fcn.14012fd6b
xor eax, eax
jmp 0x1403848db
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14042aeb0]
call fcn.1401345d2
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140132205
add rsp, 0x70
pop rdi
ret
Function at 0x140130437
Capabilities:
Create thread

Disassembly:
jmp 0x140294110
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x16
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x1404efd40]
xor rax, rbp
mov qword [rbp + 0x100], rax
lea rcx, [0x14052972b]
call fcn.140135801
mov edx, 8
lea rcx, [rbp + 8]
call fcn.140130e19
mov rdx, qword [rbp + 0x138]
lea rcx, [rbp + 8]
call fcn.14013236d
nop
lea rax, [0x1401333a3]
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x130]
add rax, 8
mov qword [rbp + 0xf8], rax
lea rcx, [rbp + 8]
call fcn.14013356f
mov rcx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll__beginthreadex]
mov rcx, qword [rbp + 0x130]
mov qword [rcx], rax
mov rax, qword [rbp + 0x130]
cmp qword [rax], 0
je 0x1402941ea
lea rcx, [rbp + 8]
call fcn.140131c60
jmp 0x140294203
mov rax, qword [rbp + 0x130]
mov dword [rax + 8], 0
mov ecx, 6
call fcn.140130653
nop
lea rcx, [rbp + 8]
call fcn.140131aa8
lea rcx, [rbp - 0x30]
lea rdx, [0x1403facc0]
call fcn.1401345d2
mov rcx, qword [rbp + 0x100]
xor rcx, rbp
call fcn.140132205
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret

Function at 0x140130559
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1402e4960
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 [0x1404efd40]
xor rax, rbp
mov qword [rbp + 0x3f8], rax
lea rcx, [0x1405296d5]
call fcn.140135801
xor edx, edx
mov ecx, 2
call fcn.14013210b
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 0x1402e49db
xor eax, eax
jmp 0x1402e4a3b
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140132ef8
test eax, eax
jne 0x1402e49f0
xor eax, eax
jmp 0x1402e4a3b
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.1401348a7
test eax, eax
je 0x1402e4a2f
mov rcx, qword [rbp + 0x420]
call fcn.140131328
mov rdx, rax
lea rcx, [rbp + 0x5c]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x1402e4a2d
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x38]
jmp 0x1402e4a3b
jmp 0x1402e49f0
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1403f1350]
call fcn.1401345d2
mov rax, rdi
mov rcx, qword [rbp + 0x3f8]
xor rcx, rbp
call fcn.140132205
lea rsp, [rbp + 0x408]
pop rdi
pop rbp
ret
Function at 0x140130662
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x1402e57f0
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 [0x1404efd40]
xor rax, rbp
mov qword [rbp + 0x9f8], rax
lea rcx, [0x1405296d5]
call fcn.140135801
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.14013210b
mov qword [rbp + 0x38], rax
cmp qword [rbp + 0x38], 0xffffffffffffffff
jne 0x1402e58cc
mov r9, qword [rbp + 0xa30]
lea r8, str.Failed_to_get__s__invalid_handle_value
mov edx, 0xff
lea rcx, [rbp + 0x60]
call fcn.140130ca7
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 0x1402e596a
mov dword [rbp + 0x280], 0x438
lea rdx, [rbp + 0x280]
mov rcx, qword [rbp + 0x38]
call fcn.14013306a
test eax, eax
je 0x1402e5959
mov rdx, qword [rbp + 0xa30]
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x1402e5945
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 0x1402e5959
lea rdx, [rbp + 0x280]
mov rcx, qword [rbp + 0x38]
call fcn.14012ff00
test eax, eax
jne 0x1402e58ea
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, [0x1403f12b0]
call fcn.1401345d2
mov rax, rdi
mov rcx, qword [rbp + 0x9f8]
xor rcx, rbp
call fcn.140132205
lea rsp, [rbp + 0xa00]
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401316b1
Capabilities:
Log keystrokes via polling

Disassembly:
jmp 0x1402ed400
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1405296ec]
call fcn.140135801
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp + 8], rax
mov rax, qword [0x1404fae68]
cmp qword [rbp + 8], rax
je 0x1402ed453
mov rax, qword [0x1404fae70]
cmp qword [rbp + 8], rax
je 0x1402ed453
xor edx, edx
mov rcx, qword [0x1404fae70]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1402ed4e0
mov edx, 5
mov rcx, qword [0x1404fae70]
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x1404fae38]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 1
test eax, eax
je 0x1402ed4e0
movzx eax, byte [0x140462bc9]
test eax, eax
jne 0x1402ed490
mov dword [rbp + 0xd4], 1
jmp 0x1402ed49a
mov dword [rbp + 0xd4], 0
movzx eax, byte [rbp + 0xd4]
mov byte [0x140462bc9], al
movzx eax, byte [0x140462bc9]
test eax, eax
jne 0x1402ed4be
mov dword [rbp + 0xd4], 1
jmp 0x1402ed4c8
mov dword [rbp + 0xd4], 0
mov r8d, dword [rbp + 0xd4]
mov edx, 0x2000d
mov rcx, qword [0x1404faee8]
call fcn.14013615c
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140131c74
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14037ecd0
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 0x14037ed05
mov r8d, 0x46
lea rdx, [0x1404e95b0]
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 0x140131eea
Capabilities:
Log keystrokes

Disassembly:
jmp 0x140379110
push rdi
sub rsp, 0x220
lea rdi, [rsp + 0x40]
mov ecx, 0x78
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1404efd40]
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, [0x140505672]
call fcn.140133dc6
mov dword [rsp + 0x40], 0x20
jmp 0x140379175
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x15c
jg 0x140379379
movsxd rax, dword [rsp + 0x40]
lea rcx, [0x1405053b8]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x168], eax
cmp dword [rsp + 0x168], 0xffffffff
jne 0x1403791a6
jmp 0x14037916b
cmp dword [rsp + 0x40], 0x140
jl 0x140379282
cmp dword [rsp + 0x40], 0x14e
jg 0x140379282
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 0x14037929b
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 0x140379315
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 0x140379324
jmp 0x14037916b
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 5
lea rcx, [0x140505672]
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 0x14037916b
mov rcx, rsp
lea rdx, [0x140429630]
call fcn.1401345d2
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.140132205
add rsp, 0x220
pop rdi
ret