joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140231ee0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
movsxd r9, dword [rcx + 0xc]
mov r10, rcx
movsxd rbx, r8d
test r8d, r8d
jle 0x140231f2e
mov r11, r9
xor edi, edi
mov al, byte [rdi + rdx]
mov rcx, qword [r10]
xor byte [rcx + r11], al
lea ecx, [r9 + 1]
xor r9d, r9d
lea rax, [r11 + 1]
cmp ecx, dword [r10 + 8]
cmovl r9d, ecx
xor r11d, r11d
inc rdi
cmp ecx, dword [r10 + 8]
cmovl r11, rax
cmp rdi, rbx
jl 0x140231efe
add dword [r10 + 0x10], r8d
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
mov dword [r10 + 0xc], r9d
ret
Function at 0x14023b880
Capabilities:
Resolve dns

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1e8
mov rsi, rcx
mov r14, qword [rdx]
mov rbx, qword [rdx + 8]
movzx edi, word [rdx + 0x10]
mov rax, qword [0x1402fea48]
cmp rax, 3
jne 0x1400f7fb9
cmp rbx, 0x17f
ja 0x1400f7fcb
lea rcx, [rsp + 0x68]
mov rdx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x68], 0
lea r8, [rbx + 1]
cmp rbx, 0xe
ja 0x1400f7f09
lea rcx, [rbx + 1]
xor eax, eax
xor edx, edx
nop
cmp byte [rsp + rdx + 0x68], 0
je 0x1400f7f1c
inc rdx
cmp rcx, rdx
jne 0x1400f7ef0
mov rdx, r8
test rax, rax
jne 0x1400f7f26
jmp 0x1400f7f82
lea rdx, [rsp + 0x68]
xor ecx, ecx
call fcn.14004ac40
test rax, rax
jne 0x1400f7f26
jmp 0x1400f7f82
mov eax, 1
test rax, rax
je 0x1400f7f82
cmp rdx, rbx
jne 0x1400f7f82
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x68]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x28]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1400f7f96
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400f7fa9
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400f7fac
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], di
xor eax, eax
mov qword [rsi], rax
add rsp, 0x1e8
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14023b820
cmp rbx, 0x17f
jbe 0x1400f7ec8
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9d, edi
add rsp, 0x1e8
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x14023b880
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov ebx, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.14003f8f0
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x14023b8e0
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
cmp qword [rsp + 0x38], 0
je 0x14023b96f
mov rcx, qword [0x1402fea40]
xor edx, edx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.kernel32.dll_HeapFree]
mov rdi, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x14023b93f
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14023b952
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bx
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test r14, r14
je 0x14023b96f
mov rcx, qword [0x1402fea40]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400110aa
Capabilities:
Terminate process

Disassembly:
jmp 0x140022530
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rcx, [0x1400415ca]
call fcn.140011a5a
mov dword [rbp + 4], 0
jmp 0x140022560
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
movsxd rax, dword [rbp + 4]
mov qword [rbp + 0x138], rax
mov rcx, qword [rbp + 0x160]
call fcn.140011203
mov rcx, qword [rbp + 0x138]
cmp rcx, rax
jae 0x1400225ce
movsxd rax, dword [rbp + 4]
mov rdx, rax
mov rcx, qword [rbp + 0x160]
call fcn.14001127b
mov rcx, qword [rax]
call fcn.140011825
mov dword [rbp + 0x24], eax
mov r8d, dword [rbp + 0x24]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x48], rax
xor edx, edx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140022558
mov dword [rbp + 0x124], 0
mov rcx, qword [rbp + 0x160]
call fcn.140011537
mov eax, dword [rbp + 0x124]
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret

Function at 0x1400115d2
Capabilities:
Terminate process

Disassembly:
jmp 0x140025100
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 0x140011767
Capabilities:
Parse pe header

Disassembly:
jmp 0x140025c30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140025c50
xor al, al
jmp 0x140025cd1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140025c63
xor al, al
jmp 0x140025cd1
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 0x140025c8d
xor al, al
jmp 0x140025cd1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140025ca1
xor al, al
jmp 0x140025cd1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140025cb3
xor al, al
jmp 0x140025cd1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140025ccf
xor al, al
jmp 0x140025cd1
mov al, 1
add rsp, 0x38
ret
Function at 0x140011825
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1400223e0
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 [0x14003a040]
xor rax, rbp
mov qword [rbp + 0x3f8], rax
lea rcx, [0x140041497]
call fcn.140011a5a
xor edx, edx
mov ecx, 2
call fcn.1400114c9
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
je 0x14002248d
mov dword [rbp + 0x30], 0x238
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.140011668
test eax, eax
je 0x14002248d
mov rdx, qword [rbp + 0x420]
lea rcx, [rbp + 0x5c]
call qword [sym.imp.ucrtbased.dll__wcsicmp]
test eax, eax
jne 0x14002247c
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x38]
jmp 0x1400224b8
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call fcn.14001192e
test eax, eax
jne 0x140022458
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x3f4], eax
mov edx, dword [rbp + 0x3f4]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140033630]
call fcn.1400118d4
mov rax, rdi
mov rcx, qword [rbp + 0x3f8]
xor rcx, rbp
call fcn.1400114ec
lea rsp, [rbp + 0x408]
pop rdi
pop rbp
ret
Function at 0x140001ccc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001d16
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001d16
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], reloc.KERNEL32.dll_UnhandledExceptionFilter
jne 0x140001d16
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001d16
cmp dword [rcx + 0x84], 0xe
jbe 0x140001d16
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001d18
xor al, al
add rsp, 0x28
ret
Function at 0x180006280
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xe0
mov rbx, rdx
mov ecx, 0xb0
lea rdx, [0x18011cd00]
call fcn.1800fbd24
mov rdi, rax
test rax, rax
je 0x1800064a2
lea rcx, [rax + 1]
xor edx, edx
mov r8d, 0xaf
call sub.VCRUNTIME140.dll_memset
lea rcx, [rdi + 8]
mov byte [rdi], 1
mov edx, 2
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [rdi + 0x58]
call qword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0xa0]
mov qword [0x180230a28], rdi
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
lea r8, [0x180197b08]
xor edx, edx
mov ecx, 0xfde9
movups xmmword [rdi + 0xa0], xmm0
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.180005020
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [0x18020f720]
mov dword [0x180234e98], eax
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x18000634f
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
test rbx, rbx
je 0x18000636f
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x180230c30], xmm0
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [0x180230c40], xmm1
jmp 0x18000638f
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [0x180230c30], xmm0
movups xmmword [0x180230c40], xmm0
movups xmmword [0x180230c50], xmm0
lea rcx, [0x18020f720]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [0x180230e60], xmm0
movups xmmword [0x180230e70], xmm0
movups xmmword [0x180230e80], xmm0
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp qword [0x180234fa0], 0
jne 0x1800064ab
mov rdi, qword [0x180230a28]
lea rax, [0x18020c5d8]
mov qword [0x1802350c0], rax
mov ecx, 8
lea rax, [0x1802350c0]
mov byte [0x1802350e0], 0
mov qword [0x180234fa0], rax
lea rax, [0x180006960]
mov qword [0x1802350d0], rax
lea rax, [0x180006970]
mov qword [0x1802350d8], rax
mov eax, 1
xchg byte [rdi], al
call fcn.1800fb934
lea rcx, [rsp + 0x38]
xor ebx, ebx
mov qword [rsp + 0x28], rcx
lea r8, [0x180006b10]
xor ecx, ecx
mov dword [rsp + 0x20], ebx
mov r9, rax
mov qword [rax], rdi
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180006492
cmp dword [rdi + 0xa8], ebx
jne 0x18000648b
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rdi + 0xa0], xmm1
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 6
mov dword [rsp + 0x38], ebx
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xor ebx, ebx
mov qword [0x180230a28], rbx
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rdi
ret
Function at 0x180006c30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov edx, dword [rcx]
mov r9d, 0x138
mov r10, rcx
cmp edx, r9d
jne 0x180006ca2
lea r8, [rcx + 0x10]
movabs r11, 0xb5026f5aa96619e9
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r8 - 8]
xor edx, dword [r8]
lea r8, [r8 + 8]
btr edx, 0x1f
xor rdx, qword [r8 - 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x180006c60
mov edx, dword [r10]
jmp 0x180006da3
cmp edx, 0x270
jb 0x180006da3
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [rcx + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
mov rdx, qword [rbx + 8]
lea r8, [rbx + 8]
xor rdx, rax
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx + 0x4e0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x180006cd0
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov rax, qword [rbx]
nop
mov rdx, rax
lea r8, [rbx + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx - 0xea0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x180006d20
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
mov rdi, qword [rsp]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
xor edx, edx
mov qword [r10 + 0x9c0], rcx
mov dword [r10], edx
mov eax, edx
xorps xmm0, xmm0
mov rcx, qword [r10 + rax*8 + 8]
lea eax, [rdx + 1]
mov dword [r10], eax
movabs rdx, 0x38eb3ffff6d3
mov rax, rcx
shr rax, 0x1d
and rax, qword [r10 + 0x1388]
xor rcx, rax
mov rax, rcx
and rax, rdx
shl rax, 0x11
xor rcx, rax
mov rax, rcx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rdx, rcx
shr rdx, 0x2b
xor rdx, rcx
js 0x180006e09
cvtsi2sd xmm0, rdx
mulsd xmm0, qword [0x18019f348]
add rsp, 8
ret
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mulsd xmm0, qword [0x18019f348]
add rsp, 8
ret
Function at 0x1800072b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, qword [0x180234fa0]
mov rbx, r8
lea rsi, [rdi + 0x164]
lea rcx, [rdi + 0x16c]
mov dword [rsi], 1
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + 0x168], ebx
add rbx, 8
je 0x18000738b
mov rax, qword [rdi]
test rax, rax
je 0x18000733b
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x18000733b
test rsi, rsi
je 0x18000733b
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov r8d, ebx
mov qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x18000733b
cmp dword [rsp + 0x40], ebx
je 0x18000738b
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x18000735a
mov eax, dword [rdi + 8]
dec eax
test eax, 0xfffffffd
jne 0x18000735a
mov ecx, dword [rdi + 0x60]
lea rdx, [rdi + 0x64]
call r8
mov rbx, qword [rdi]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
xor al, al
mov byte [rbx], 0
mov dword [rdi + 8], 0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x48]
mov al, 1
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18000c260
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, 0xffffffff
test edx, edx
je 0x18000c29e
mov r9d, edx
lea r10, [0x18017e450]
nop dword [rax]
nop word [rax + rax]
movzx r8d, word [rcx]
lea rcx, [rcx + 2]
mov edx, eax
shr eax, 8
xor r8, rdx
movzx edx, r8b
xor eax, dword [r10 + rdx*4]
sub r9, 1
jne 0x18000c280
not eax
ret
Function at 0x180014e60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test rcx, rcx
je 0x180014ec0
mov r8, qword [rcx]
test r8, r8
je 0x180014ec0
mov r8, qword [r8 + 0x10]
mov eax, 0xffffffff
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180014e80
test ecx, ecx
je 0x180014ebd
mov r9d, ecx
lea r10, [0x18017e450]
nop dword [rax + rax]
movsx edx, byte [r8]
lea r8, [r8 + 1]
mov ecx, eax
shr eax, 8
xor rdx, rcx
movzx ecx, dl
xor eax, dword [r10 + rcx*4]
sub r9, 1
jne 0x180014ea0
not eax
ret
xor eax, eax
ret

Function at 0x1800157a0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
test rcx, rcx
jne 0x1800157ad
xor eax, eax
jmp 0x180015826
mov r9, qword [rcx]
test r9, r9
jne 0x1800157b9
xor eax, eax
jmp 0x180015826
mov r9, qword [r9 + 0x10]
test r9, r9
jne 0x1800157c6
xor eax, eax
jmp 0x180015826
mov r10, r9
mov qword [rsp + 8], r9
xor edx, edx
mov r8d, 0xffffffff
lea r11, [0x18017e450]
mov dword [rsp], edx
mov ecx, r8d
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [r9 + rax], 0
jne 0x1800157f0
cmp edx, eax
jae 0x18001581c
movsx eax, byte [r10]
xor rax, rcx
movzx ecx, al
shr r8d, 8
xor r8d, dword [r11 + rcx*4]
inc r10
mov qword [rsp + 8], r10
inc edx
jmp 0x1800157dd
not r8d
mov eax, r8d
jmp 0x180015826
add rsp, 0x18
ret

Function at 0x180015fb0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x18020f4ad], 0
mov rbx, rcx
je 0x180016021
mov ecx, dword [0x18020f5a0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180016021
cmp dword [0x18020f4c4], 1
jne 0x180016021
lea rcx, [rbx + 0xb0]
cmp rcx, 0x40000
jbe 0x180016021
lea rax, [rcx + 8]
movabs rdx, 0x7fffffff0000
cmp rax, rdx
jae 0x180016021
mov rcx, qword [rcx]
add rcx, 0x1fc
cmp rcx, 0x40000
jbe 0x180016021
lea rax, [rcx + 4]
cmp rax, rdx
jae 0x180016021
mov dword [rcx], 0x3c23d70a
add rsp, 0x20
pop rbx
ret
Function at 0x180023650
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x28
cmp byte [0x18020f640], 0
jne 0x1800236b0
lea rcx, [rsp + 0x30]
mov byte [0x18020f640], 1
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm0, qword [rsp + 0x38]
cvtsi2ss xmm1, qword [rsp + 0x30]
movss dword [0x18020f5cc], xmm0
movss dword [0x18020f68c], xmm1
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsp + 0x30]
subss xmm0, dword [0x18020f68c]
divss xmm0, dword [0x18020f5cc]
add rsp, 0x28
ret
Function at 0x1800255c0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x70
call fcn.180016ff0
mov rcx, rax
call fcn.180016f00
mov rbx, rax
test rax, rax
je 0x1800257d8
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.180015e00
cmp dword [rsp + 0x20], 0
je 0x1800257d8
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1800257d8
cmp eax, 0xfffffffe
jne 0x18002569c
mov rcx, rbx
call fcn.180016030
cmp byte [0x18020f495], 0
je 0x1800257d8
add rbx, 0xb0
cmp rbx, 0x40000
jbe 0x1800257d8
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x1800257d8
mov rdx, qword [rbx]
mov r8, rdx
lea r9, [rdx + 0x3a0]
cmp r9, 0x40000
jbe 0x18002566f
lea rax, [r9 + 1]
cmp rax, rcx
jae 0x18002566f
mov byte [r9], 1
lea rdx, [r8 + 0x3a4]
cmp rdx, 0x40000
jbe 0x1800257d8
lea rax, [rdx + 4]
cmp rax, rcx
jae 0x1800257d8
mov dword [rdx], 0x3f800000
add rsp, 0x70
pop rbx
ret
cmp eax, 3
jne 0x180025704
mov rcx, rbx
call fcn.180016030
cmp byte [0x18020f499], 0
je 0x1800256f7
lea rdx, [rbx + 0xb0]
cmp rdx, 0x40000
jbe 0x1800256f7
lea rax, [rdx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x1800256f7
mov rdx, qword [rdx]
add rdx, 0x1fc
cmp rdx, 0x40000
jbe 0x1800256f7
lea rax, [rdx + 4]
cmp rax, rcx
jae 0x1800256f7
mov dword [rdx], 0x3c23d70a
mov rcx, rbx
add rsp, 0x70
pop rbx
jmp fcn.180015fb0
cmp eax, 2
jne 0x18002575d
mov rcx, rbx
call fcn.180016030
mov rcx, rbx
call fcn.180015fb0
cmp byte [0x18020f48f], 0
je 0x1800257d8
add rbx, 0xb0
cmp rbx, 0x40000
jbe 0x1800257d8
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x1800257d8
mov rdx, qword [rbx]
add rdx, 0x290
jmp 0x1800257c3
cmp eax, 0xffffffff
jne 0x1800257d8
mov rcx, rbx
call fcn.180016030
cmp byte [0x18020f4a2], 0
je 0x1800257d8
add rbx, 0xb0
cmp rbx, 0x40000
jbe 0x1800257d8
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x1800257d8
mov rdx, qword [rbx]
mov r8, rdx
lea r9, [rdx + 0x3a0]
cmp r9, 0x40000
jbe 0x1800257bc
lea rax, [r9 + 4]
cmp rax, rcx
jae 0x1800257bc
mov dword [r9], 0x3f800000
lea rdx, [r8 + 0x3b0]
cmp rdx, 0x40000
jbe 0x1800257d8
lea rax, [rdx + 1]
cmp rax, rcx
jae 0x1800257d8
mov byte [rdx], 1
add rsp, 0x70
pop rbx
ret
Function at 0x1800257e0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x30
movss xmm0, dword [0x18020f610]
mov qword [rsp + 0x40], rbx
movaps xmmword [rsp + 0x20], xmm6
xorps xmm6, xmm6
ucomiss xmm0, xmm6
jne 0x180025848
call fcn.180016ff0
mov rbx, rax
test rax, rax
je 0x180025840
mov rax, qword gs:[0x58]
mov ecx, dword [0x18020f374]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x180245800], eax
jg 0x180025a10
mov rax, qword [0x1802456c0]
movss xmm6, dword [rax + rbx]
movss dword [0x18020f610], xmm6
call fcn.180016ff0
mov rcx, qword [0x18020f450]
movabs rdi, 0x7fffffff0000
movaps xmm6, xmmword [rsp + 0x20]
add rcx, 0x34556d8
cmp rcx, 0x40000
jbe 0x18002589d
lea rax, [rcx + 8]
cmp rax, rdi
jae 0x18002589d
mov rbx, qword [rcx]
add rbx, 0xb8
cmp rbx, 0x40000
jbe 0x18002589d
lea rax, [rbx + 8]
cmp rax, rdi
jae 0x18002589d
mov rbx, qword [rbx]
jmp 0x18002589f
xor ebx, ebx
cmp byte [0x18020f505], 0
je 0x1800258d7
mov ecx, dword [0x18020f59c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800258d7
lea rcx, [rbx + 0x18]
cmp rcx, 0x40000
jbe 0x1800258f9
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x1800258f9
mov dword [rcx], 0x41200000
jmp 0x1800258f9
add rbx, 0x18
cmp rbx, 0x40000
jbe 0x1800258f9
lea rax, [rbx + 4]
cmp rax, rdi
jae 0x1800258f9
movss xmm0, dword [0x1801b772c]
movss dword [rbx], xmm0
cmp byte [0x18020f572], 0
mov rbx, qword [rsp + 0x40]
je 0x180025942
call fcn.180016ff0
lea rcx, [rax + 0x8c8]
cmp rcx, 0x40000
jbe 0x180025942
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x180025929
mov edx, dword [rcx]
jmp 0x18002593d
cmp rcx, 0x40000
jbe 0x180025942
xor edx, edx
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x180025942
or edx, 4
mov dword [rcx], edx
cmp byte [0x18020f565], 0
je 0x1800259ad
call fcn.180016ff0
mov rcx, qword [0x18020f450]
add rcx, 0x340d378
cmp rcx, 0x40000
jbe 0x1800259ad
lea rax, [rcx + 8]
cmp rax, rdi
jae 0x1800259ad
mov rcx, qword [rcx]
add rcx, 0xb8
cmp rcx, 0x40000
jbe 0x1800259ad
lea rax, [rcx + 8]
cmp rax, rdi
jae 0x1800259ad
mov rcx, qword [rcx]
cmp rcx, 0x40000
jbe 0x1800259ad
lea rax, [rcx + 4]
cmp rax, rdi
jae 0x1800259ad
movss xmm0, dword [0x1801b76bc]
movss dword [rcx], xmm0
cmp byte [0x18020f583], 0
je 0x180025a0a
mov ecx, dword [0x18020f5b0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180025a0a
call fcn.180016ff0
add rax, 0x8d0
cmp rax, 0x40000
jbe 0x180025a0a
lea rcx, [rax + 8]
cmp rcx, rdi
jae 0x180025a0a
mov rcx, qword [rax]
add rcx, 0x38
cmp rcx, 0x40000
jbe 0x180025a0a
lea rax, [rcx + 0xc]
cmp rax, rdi
jae 0x180025a0a
mov dword [rcx], 0
mov qword [rcx + 4], 0x3fc00000
add rsp, 0x30
pop rdi
ret
lea rcx, [0x180245800]
call fcn.1800fb824
cmp dword [0x180245800], 0xffffffff
jne 0x180025834
mov ecx, 0xc566d10
call fcn.18000f9c0
lea rcx, [0x180245800]
mov qword [0x1802456c0], rax
call fcn.1800fb7c4
jmp 0x180025834
Function at 0x180028450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1800284c8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1800284c8
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1800284b5
nop
cmp rbx, rcx
jae 0x1800284c8
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1800284a0
cmp rbx, rcx
jae 0x1800284c8
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x1800284ca
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret