joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000d810
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je 0x18000d847
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
mov rsi, rbx
mov r9, qword [rax]
test r9, r9
je 0x18000d868
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18000d86a
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18000d8c3
test ecx, ecx
jle 0x18000d89e
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r14, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x18000d8c3
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18000d8c3
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x30]
sub rsi, rbx
mov rbx, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x18000d8f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rdi, r8
mov r14, rdx
mov rbx, rcx
je 0x18000d927
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbp
mov rbp, rdi
mov qword [rsp + 0x38], rsi
mov rdx, qword [rax]
test rdx, rdx
je 0x18000d948
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18000d94a
xor ecx, ecx
movsxd rsi, ecx
test rdi, rdi
jle 0x18000d9db
test ecx, ecx
jle 0x18000d982
cmp rdi, rsi
mov rcx, r14
cmovl rsi, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rbx + 0x50]
add r14, rsi
sub rdi, rsi
sub dword [rax], esi
mov rcx, qword [rbx + 0x38]
movsxd rax, esi
add qword [rcx], rax
test rdi, rdi
jle 0x18000d9db
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x18000d9db
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000d9c7
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov r9, qword [rbx + 0x80]
mov r8, rdi
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
mov rsi, qword [rsp + 0x38]
sub rbp, rdi
mov rbx, qword [rsp + 0x40]
mov rax, rbp
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x18000de40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x18003b020]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18000de6d
xor eax, eax
jmp 0x18000dfc2
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x18000de98
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x18000de98
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x18000dfc2
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x18000dfb5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x18000dedb
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x18000df06
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18000dfba
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
js 0x18000dfb5
cmp eax, 1
jle 0x18000df75
cmp eax, 3
jne 0x18000dfb5
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x18000dfba
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x18000dfa3
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x18000dfb5
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov eax, edi
jne 0x18000dfba
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.180027d90
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x18000e880
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x18003b020]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18000e92c
cmp byte [rcx + 0x71], 0
je 0x18000e92c
mov rax, qword [rcx]
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18000e8ed
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x18000e8f1
sub eax, 1
je 0x18000e8f5
sub eax, 2
je 0x18000e92c
xor al, al
jmp 0x18000e92e
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18000e923
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x18000e8ed
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18000e92e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180027d90
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x18000ebf0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r11, qword [r8 + 0x18]
mov r14, r8
mov rbp, qword [r8 + 0x10]
mov r12, rdx
mov rdi, rcx
mov r10, r8
cmp r11, 0x10
jb 0x18000ec24
mov r10, qword [r8]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test rbp, rbp
je 0x18000ec54
movabs rcx, 0x100000001b3
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rcx
cmp r8, rbp
jb 0x18000ec40
mov rax, qword [rdi + 0x18]
mov rcx, qword [rdi + 0x30]
mov rdi, qword [rdi + 8]
and rcx, r9
add rcx, rcx
mov qword [rsp + 0x50], rsi
mov r15, qword [rax + rcx*8]
lea r13, [rax + rcx*8]
mov rbx, r15
cmp r15, rdi
jne 0x18000ec80
mov rax, rdi
jmp 0x18000ec87
mov rax, qword [r13 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x18000ed23
lea rcx, [rbx + 0x10]
mov rdx, r14
cmp r11, 0x10
jb 0x18000eca0
mov rdx, qword [r14]
cmp qword [rcx + 0x18], 0x10
mov r8, qword [rcx + 0x10]
jb 0x18000ecae
mov rcx, qword [rcx]
cmp r8, rbp
jne 0x18000ecc0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18000ecc5
mov r11, qword [r14 + 0x18]
mov rbx, qword [rbx]
jmp 0x18000ec76
mov rsi, rbx
cmp r15, rdi
jne 0x18000ecd2
mov rax, rdi
jmp 0x18000ecd9
mov rax, qword [r13 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x18000ed13
cmp qword [rbx + 0x28], 0x10
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jb 0x18000ecf0
mov rdx, qword [rdx]
cmp qword [r14 + 0x18], 0x10
mov rcx, r14
jb 0x18000ecfd
mov rcx, qword [r14]
cmp rbp, rax
jne 0x18000ed13
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18000ed13
mov rbx, qword [rbx]
jmp 0x18000ecc8
cmp rsi, rbx
je 0x18000ed23
mov qword [r12], rsi
mov qword [r12 + 8], rbx
jmp 0x18000ed2c
mov qword [r12], rdi
mov qword [r12 + 8], rdi
mov rsi, qword [rsp + 0x50]
mov rax, r12
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x18000faa0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [r8 + 0x28], 0x10
lea r11, [r8 + 0x10]
mov rdi, rcx
mov rsi, rdx
mov rcx, qword [r11 + 0x10]
jb 0x18000fac7
mov r11, qword [r11]
xor r9d, r9d
movabs r10, 0xcbf29ce484222325
test rcx, rcx
je 0x18000fb04
movabs rdx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + r11]
inc r9
xor r10, rax
imul r10, rdx
cmp r9, rcx
jb 0x18000faf0
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rdi + 0x18]
and rdx, r10
shl rdx, 4
add rcx, rdx
mov rax, qword [rcx]
cmp qword [rcx + 8], r8
jne 0x18000fb44
cmp rax, r8
jne 0x18000fb3a
mov rax, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x18000fb4f
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x18000fb4f
cmp rax, r8
jne 0x18000fb4f
mov rax, qword [r8]
mov qword [rcx], rax
mov rax, qword [r8 + 8]
mov rdx, r8
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
dec qword [rdi + 0x10]
call fcn.18000f090
mov qword [rsi], rbx
mov rax, rsi
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800110a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x48
mov qword [rax + 0x20], r12
mov rsi, r8
mov r12, qword [r8 + 0x18]
mov rbp, rcx
mov qword [rax - 0x28], r13
mov r10, r8
mov qword [rax - 0x30], r14
mov r14, qword [r8 + 0x10]
cmp r12, 0x10
jb 0x1800110d9
mov r10, qword [r8]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r14, r14
je 0x180011114
movabs rcx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + r10]
inc r8
xor r9, rax
imul r9, rcx
cmp r8, r14
jb 0x180011100
mov rax, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x30]
mov rdi, qword [rbp + 8]
and rcx, r9
shl rcx, 4
mov qword [rsp + 0x30], r15
mov r13, qword [rcx + rax]
add rax, 8
add rax, rcx
mov rbx, r13
mov qword [rsp + 0x80], rax
cmp r13, rdi
jne 0x18001114c
mov rax, rdi
jmp 0x180011152
mov rax, qword [rax]
mov rax, qword [rax]
cmp rbx, rax
je 0x1800111c8
lea rcx, [rbx + 0x10]
mov rdx, rsi
cmp r12, 0x10
jb 0x180011167
mov rdx, qword [rsi]
mov r15, qword [rcx + 0x18]
mov rbp, qword [rcx + 0x10]
cmp r15, 0x10
jb 0x180011178
mov rcx, qword [rcx]
cmp rbp, r14
jne 0x180011189
mov r8, rbp
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x180011196
mov rbx, qword [rbx]
mov rax, qword [rsp + 0x80]
jmp 0x180011142
lea rdx, [rbx + 0x10]
cmp r15, 0x10
jb 0x1800111a3
mov rdx, qword [rdx]
mov rcx, rsi
cmp r12, 0x10
jb 0x1800111af
mov rcx, qword [rsi]
cmp r14, rbp
jne 0x1800111c0
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800111c3
mov rbx, rdi
mov rax, rbx
jmp 0x1800111ce
mov rbx, rdi
mov rax, rdi
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x88]
cmp rax, rdi
jne 0x180011276
mov rbx, qword [rdi]
lea rax, [rsp + 0x80]
mov rdx, rbx
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x20], rax
mov rdi, qword [rbx + 8]
mov r8, rdi
call fcn.1800117b0
mov rbp, qword [rsp + 0x70]
mov rdx, rax
movabs rcx, 0x492492492492491
mov rax, qword [rbp + 0x10]
sub rcx, rax
cmp rcx, 1
jae 0x18001123d
lea rcx, str.list_T__too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
inc rax
mov rcx, rbp
mov qword [rbp + 0x10], rax
mov qword [rbx + 8], rdx
mov qword [rdi], rdx
mov r9, qword [rbp + 8]
mov rdx, qword [rsp + 0x78]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
call fcn.180011440
mov rax, qword [rsp + 0x78]
mov r15, qword [rsp + 0x30]
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov r15, qword [rsp + 0x78]
mov rax, r15
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov r15, qword [rsp + 0x30]
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180011e50
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
mov eax, 0x1040
call fcn.180029270
sub rsp, rax
mov rax, qword [0x18003b020]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov ecx, 0xfffffff5
mov ebx, 4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x1000
call sub.VCRUNTIME140.dll_memset
mov r8, qword [rsp + 0x1050]
lea r9, [rsp + 0x1058]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], 0
call fcn.180006ee0
lea rcx, [rsp + 0x30]
call fcn.180006e80
lea rcx, [0x18002dc1c]
call fcn.180006e80
mov ecx, 0xfa
call fcn.180012ca0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x180012a40
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x50
mov rdx, qword [0x180058c28]
movabs r8, 0x100000001b3
movabs rax, 0xcbf29ce484222325
movzx ecx, dl
xor rcx, rax
mov qword [rsp + 0x30], rdx
movzx eax, byte [0x180058c29]
imul rcx, r8
mov qword [rsp + 0x78], rdi
xor rcx, rax
movzx eax, byte [0x180058c2a]
imul rcx, r8
xor rcx, rax
movzx eax, byte [0x180058c2b]
imul rcx, r8
xor rcx, rax
movzx eax, byte [0x180058c2c]
imul rcx, r8
xor rcx, rax
movzx eax, byte [0x180058c2d]
imul rcx, r8
xor rcx, rax
movzx eax, byte [0x180058c2e]
imul rcx, r8
xor rcx, rax
movzx eax, byte [0x180058c2f]
imul rcx, r8
xor rcx, rax
mov rax, qword [0x180058c48]
imul rcx, r8
and rcx, qword [0x180058c60]
add rcx, rcx
mov r8, qword [rax + rcx*8]
lea r9, [rax + rcx*8]
mov rcx, qword [0x180058c38]
mov rbx, r8
nop
cmp r8, rcx
jne 0x180012b0a
mov rax, rcx
jmp 0x180012b11
mov rax, qword [r9 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x180012b2a
cmp qword [rbx + 0x10], rdx
je 0x180012b21
mov rbx, qword [rbx]
jmp 0x180012b00
cmp rbx, rcx
jne 0x180012bb2
mov rbx, qword [rcx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rdx, rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rdi, qword [rbx + 8]
mov r8, rdi
call fcn.180004390
mov rdx, qword [0x180058c40]
movabs rcx, 0x7fffffffffffffe
sub rcx, rdx
cmp rcx, 1
jae 0x180012b78
lea rcx, str.list_T__too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
inc rdx
lea rcx, [0x180058c30]
mov qword [0x180058c40], rdx
lea rdx, [rsp + 0x38]
mov qword [rbx + 8], rax
mov qword [rdi], rax
mov r9, qword [0x180058c38]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
call fcn.180003fa0
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x70], rsi
mov rsi, qword [rbx + 0x18]
test rsi, rsi
jne 0x180012c8c
mov rcx, rdx
call fcn.180003430
mov rdi, rax
test rax, rax
je 0x180012c88
mov rax, qword [0x180058c20]
movzx ecx, dil
mov rax, qword [rax + rcx*8]
test rax, rax
je 0x180012c88
mov ecx, dword [rax + 0x48]
lea r11d, [rax + 0x48]
xor ecx, r11d
mov r10d, esi
xor ecx, dword [rax + 0x4c]
jbe 0x180012c58
nop dword [rax]
nop word [rax + rax]
mov ecx, r10d
lea r9, [rax + 0x54]
shl ecx, 4
lea r8, [rsp + 0x68]
add r9, rcx
sub r8, r9
mov edx, dword [rcx + rax + 0x5c]
xor rdx, r9
mov ecx, edx
xor ecx, dword [r9]
mov dword [r8 + r9], ecx
mov ecx, dword [r9 + 4]
xor ecx, edx
mov dword [r8 + r9 + 4], ecx
cmp rdi, qword [rsp + 0x68]
je 0x180012c80
mov ecx, dword [rax + 0x48]
inc r10d
xor ecx, r11d
xor ecx, dword [rax + 0x4c]
cmp r10d, ecx
jb 0x180012c10
mov rdx, qword [rax + 8]
xor rdx, rax
mov ecx, edx
xor ecx, dword [rax]
mov dword [rsp + 0x60], ecx
mov ecx, dword [rax + 4]
xor ecx, edx
mov dword [rsp + 0x64], ecx
mov rax, qword [rsp + 0x60]
test rax, rax
jne 0x180012bf0
jmp 0x180012c88
mov ecx, r10d
mov rsi, qword [rax + rcx*8 + 0x10]
mov qword [rbx + 0x18], rsi
mov rdi, qword [rsp + 0x78]
mov rax, rsi
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rbx
ret
Function at 0x1800248c0
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
xor ebx, ebx
lea rdi, [0x180000000]
mov byte [0x180055894], bl
mov byte [0x180055895], bl
mov byte [0x180055896], bl
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x18005899c]
cmp eax, 0xa0
jbe 0x180024a75
mov ecx, 0x73
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18002496a
cmp dword [0x180057868], ebx
jne 0x180024945
mov eax, dword [0x18005786c]
mov dword [0x180057870], eax
mov eax, dword [0x180057860]
mov dword [0x1800568c0], eax
mov eax, 1
mov ecx, eax
mov edx, eax
jmp 0x180024953
mov eax, dword [0x1800568c0]
mov edx, ebx
mov ecx, dword [0x180057870]
mov dword [0x180057868], edx
mov dword [0x18005786c], ecx
mov dword [0x180057860], eax
jmp 0x180024a69
mov ecx, 8
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800249b5
mov ecx, dword [0x180057868]
test ecx, ecx
jle 0x180024a69
dec ecx
movsxd rax, ecx
mov dword [0x180057868], ecx
mov eax, dword [rdi + rax*4 + 0x57870]
mov dword [0x18005786c], eax
movsxd rax, ecx
mov eax, dword [rdi + rax*4 + 0x568c0]
mov dword [0x180057860], eax
jmp 0x180024a69
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800249eb
mov eax, dword [0x180057860]
cmp eax, 1
jle 0x1800249dd
dec eax
mov dword [0x180057860], eax
jmp 0x180024a69
mov eax, dword [0x180057864]
mov dword [0x180057860], eax
jmp 0x180024a69
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180024a20
mov eax, dword [0x180057860]
cmp eax, dword [0x180057864]
jge 0x180024a13
inc eax
mov dword [0x180057860], eax
jmp 0x180024a69
mov eax, 1
mov dword [0x180057860], eax
jmp 0x180024a69
mov ecx, 0x25
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180024a39
mov byte [0x180055895], 1
jmp 0x180024a69
mov ecx, 0x27
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180024a52
mov byte [0x180055896], 1
jmp 0x180024a69
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180024a75
mov byte [0x180055894], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x18005899c], eax
mov dword [0x180057864], ebx
call fcn.18001eac0
call fcn.180020190
jmp 0x1800248e1
Function at 0x1800260b0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r8, qword [rcx]
mov rbx, rcx
test r8, r8
je 0x180026116
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x180026107
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800260fd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800260d1
mov r8, qword [rbx]
mov rcx, qword [0x180058850]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180026128
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x180058d70]
mov r8b, byte [rbx + 0x20]
mov rdx, qword [rbx]
mov rdi, rdx
and r8b, 1
je 0x18002615f
lea rdi, [rdx - 5]
movzx eax, r8b
lea rcx, [rdx - 5]
test r8b, r8b
lea r9, [rsp + 0x30]
mov r8d, 0x40
cmove rcx, rdx
lea rbp, [rax*2 + 5]
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180026198
mov eax, 0xa
jmp 0x180026224
test esi, esi
je 0x1800261ba
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1800261db
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800261db
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800261d5
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800261db
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
mov al, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1800266b0
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x1800266c7
cmp r8b, 0x90
je 0x1800266c7
cmp r8b, 0xcc
jne 0x1800266e9
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x1800266e5
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x1800266e9
add edx, r10d
cmp edx, r9d
jb 0x1800266d5
mov eax, r10d
ret
xor eax, eax
ret