joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140269e10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov ebp, dword [rcx + 0x80]
movsxd rdx, edx
mov rbx, rcx
mov rcx, qword [rcx + 0x78]
mov rsi, rdx
imul rdx, rdx, 0x38
call fcn.1402a6900
test rax, rax
mov r8, rax
jne 0x140269e46
mov eax, 7
jmp 0x140269ee2
movsxd rdi, ebp
mov ecx, esi
imul rdi, rdi, 0x38
sub ecx, ebp
movsxd rcx, ecx
imul rcx, rcx, 0x38
lea rdx, [rax + rdi]
xor eax, eax
mov rdi, rdx
rep stosb byte [rdi], al
mov qword [rbx + 0x78], r8
mov rdi, rdx
cmp ebp, esi
jge 0x140269ee0
mov rax, qword [rbx + 0x50]
mov ecx, dword [rbx + 0x20]
cmp qword [rax], 0
mov dword [rdi + 0x18], ecx
je 0x140269e87
mov rax, qword [rbx + 0x60]
test rax, rax
jg 0x140269e8d
mov eax, dword [rbx + 0xb8]
mov qword [rdi], rax
mov eax, dword [rbx + 0x3c]
mov dword [rdi + 0x1c], eax
call fcn.14027e220
mov dword [rdi + 0x20], 1
test rax, rax
mov qword [rdi + 0x10], rax
je 0x140269e3c
mov rax, qword [rbx + 0x128]
test rax, rax
je 0x140269ed2
mov edx, dword [rax + 0x58]
mov dword [rdi + 0x24], edx
mov edx, dword [rax + 0x60]
mov dword [rdi + 0x28], edx
mov edx, dword [rax + 0x64]
mov dword [rdi + 0x2c], edx
mov eax, dword [rax + 0x88]
mov dword [rdi + 0x30], eax
inc ebp
add rdi, 0x38
mov dword [rbx + 0x80], ebp
jmp 0x140269e6a
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp dword [rcx + 0x80], edx
jge 0x14029e013
cmp byte [rcx + 0xa], 0
je 0x14029e013
jmp 0x140269e10
xor eax, eax
ret

Function at 0x1402717a0
Capabilities:
Reference sql statements

Disassembly:
push r12
push rbp
push rdi
push rsi
sub rsp, 0x58
mov r12d, dword [rsp + 0xa0]
mov byte [rcx + 0x1c], 1
mov ebp, r8d
mov rsi, rdx
mov rdi, r9
mov qword [rsp + 0x28], r9
mov r9, rdx
mov dword [rsp + 0x20], r8d
mov r8, rdx
mov dword [rsp + 0x30], r12d
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
mov qword [rsp + 0x48], rcx
call fcn.14029d3e0
test ebp, ebp
mov rcx, qword [rsp + 0x48]
jne 0x140271810
mov r9, rdi
mov r8, rsi
mov dword [rsp + 0xa0], r12d
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
add rsp, 0x58
pop rsi
pop rdi
pop rbp
pop r12
jmp fcn.14029d3e0
add rsp, 0x58
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140274ba0
Capabilities:
Reference sql statements

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rax, str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
movsxd r12, edx
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov rsi, r8
cmp qword [rcx + r12*8 + 0x28], 0
lea rax, str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
mov rbp, r12
mov rdi, r9
mov qword [rsp + 0x48], rax
lea r13, [r12 + 4]
jne 0x140274bf7
mov rdx, qword [rsp + r12*8 + 0x40]
mov r9, qword [rcx + 0x10]
mov r8, qword [rcx + 8]
call fcn.140274ff0
mov qword [rbx + r13*8 + 8], rax
cmp dword [rbx + 0x40], 0
jne 0x140274cb0
mov r12, qword [rbx + r12*8 + 0x28]
mov r8, rsi
mov edx, 1
mov rcx, r12
call fcn.1402c13d0
mov rcx, r12
call fcn.1402c6e70
cmp eax, 0x65
jne 0x140274c53
test ebp, ebp
mov r9, rdi
mov r8, rsi
lea rdx, str.__rowid
mov rcx, rbx
lea rax, str.__parent
cmovne rax, rdx
lea rdx, str.Mapping___lld_____lld__missing_from__s_table
mov qword [rsp + 0x20], rax
call fcn.140274aa0
jmp 0x140274c9f
cmp eax, 0x64
jne 0x140274c9f
xor edx, edx
mov rcx, r12
call fcn.1402c2240
cmp rdi, rax
mov r9, rax
je 0x140274c9f
test ebp, ebp
mov qword [rsp + 0x30], rdi
mov r8, rsi
mov rcx, rbx
lea rdx, str.__rowid
mov qword [rsp + 0x28], rsi
lea rax, str.__parent
cmovne rax, rdx
lea rdx, str.Found___lld_____lld__in__s_table__expected___lld_____lld_
mov qword [rsp + 0x20], rax
call fcn.140274aa0
mov rcx, r12
call fcn.1402c5f30
cmp dword [rbx + 0x40], 0
jne 0x140274cb0
mov dword [rbx + 0x40], eax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x1402965d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rbx
cmp ecx, 0x7f
mov r9d, edx
jg 0x1402965ee
lea eax, [rcx - 0x41]
cmp eax, 0x19
ja 0x140296695
add ecx, 0x20
jmp 0x140296695
cmp ecx, 0xffff
jg 0x140296687
or r8d, 0xffffffff
xor r11d, r11d
mov ebx, 0xa2
lea r10, [0x1403f6e00]
mov esi, 2
lea eax, [rbx + r11]
cdq
idiv esi
movsxd rdx, eax
movzx edx, word [r10 + rdx*4]
cmp ecx, edx
jl 0x14029662e
lea r11d, [rax + 1]
mov r8d, eax
jmp 0x140296631
lea ebx, [rax - 1]
cmp ebx, r11d
jge 0x140296612
movsxd rax, r8d
movzx edx, word [r10 + rax*4]
movzx r8d, byte [r10 + rax*4 + 3]
add r8d, edx
cmp ecx, r8d
jge 0x140296672
mov al, byte [r10 + rax*4 + 2]
xor edx, ecx
mov r8d, eax
and r8d, 1
test r8d, edx
jne 0x140296672
lea rdx, [0x1403fa5e0]
shr al, 1
and eax, 0x7f
add cx, word [rdx + rax*2]
movzx ecx, cx
test r9d, r9d
je 0x140296695
xor edx, edx
cmp r9d, 2
sete dl
pop rbx
pop rsi
jmp fcn.14026fdf0
lea eax, [rcx - 0x10400]
cmp eax, 0x27
ja 0x140296695
add ecx, 0x28
mov eax, ecx
pop rbx
pop rsi
ret

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

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov ebp, dword [rcx + 0x80]
movsxd rdx, edx
mov rbx, rcx
mov rcx, qword [rcx + 0x78]
mov rsi, rdx
imul rdx, rdx, 0x38
call fcn.1402a6900
test rax, rax
mov r8, rax
jne 0x140269e46
mov eax, 7
jmp 0x140269ee2
movsxd rdi, ebp
mov ecx, esi
imul rdi, rdi, 0x38
sub ecx, ebp
movsxd rcx, ecx
imul rcx, rcx, 0x38
lea rdx, [rax + rdi]
xor eax, eax
mov rdi, rdx
rep stosb byte [rdi], al
mov qword [rbx + 0x78], r8
mov rdi, rdx
cmp ebp, esi
jge 0x140269ee0
mov rax, qword [rbx + 0x50]
mov ecx, dword [rbx + 0x20]
cmp qword [rax], 0
mov dword [rdi + 0x18], ecx
je 0x140269e87
mov rax, qword [rbx + 0x60]
test rax, rax
jg 0x140269e8d
mov eax, dword [rbx + 0xb8]
mov qword [rdi], rax
mov eax, dword [rbx + 0x3c]
mov dword [rdi + 0x1c], eax
call fcn.14027e220
mov dword [rdi + 0x20], 1
test rax, rax
mov qword [rdi + 0x10], rax
je 0x140269e3c
mov rax, qword [rbx + 0x128]
test rax, rax
je 0x140269ed2
mov edx, dword [rax + 0x58]
mov dword [rdi + 0x24], edx
mov edx, dword [rax + 0x60]
mov dword [rdi + 0x28], edx
mov edx, dword [rax + 0x64]
mov dword [rdi + 0x2c], edx
mov eax, dword [rax + 0x88]
mov dword [rdi + 0x30], eax
inc ebp
add rdi, 0x38
mov dword [rbx + 0x80], ebp
jmp 0x140269e6a
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp dword [rcx + 0x80], edx
jge 0x14029e013
cmp byte [rcx + 0xa], 0
je 0x14029e013
jmp 0x140269e10
xor eax, eax
ret
Function at 0x1402cfff0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rsi, qword [rsp + 0xc0]
mov ebp, r8d
mov r8, qword [rsi + 0x18]
mov r14, rcx
mov r12d, edx
mov ecx, ebp
mov qword [rsp + 0xa8], r9
call fcn.1402ba110
mov ebx, eax
mov eax, 0x12
cmp dword [r8 + 0x88], ebx
jl 0x1402d01c9
cmp ebx, 0xfa0
mov r13b, byte [rsi + 0x16]
jle 0x1402d0178
cmp qword [r14 + 0x38], 0
jne 0x1402d0178
test byte [r14 + 8], 0x10
jne 0x1402d007f
mov edx, 0x20
mov rcx, r8
call fcn.1402850a0
test rax, rax
mov qword [r14 + 0x70], rax
jne 0x1402d007a
mov eax, 7
jmp 0x1402d01c9
or byte [r14 + 8], 0x10
mov rdi, qword [r14 + 0x70]
cmp qword [rdi], 0
jne 0x1402d0098
mov rcx, qword [rdi]
test rcx, rcx
je 0x1402d00cd
call fcn.1402a67f0
jmp 0x1402d00cd
cmp dword [rdi + 0x10], r12d
jne 0x1402d0089
mov eax, dword [rsp + 0xb0]
cmp dword [rdi + 0x14], eax
jne 0x1402d0089
mov eax, dword [rsp + 0xb8]
cmp dword [rdi + 0x18], eax
jne 0x1402d0089
mov rcx, qword [r14 + 0x30]
mov r15, qword [rdi + 8]
call fcn.1402806a0
cmp r15, rax
jne 0x1402d0089
mov r15, qword [rdi]
jmp 0x1402d013f
lea ecx, [rbx + 3]
movsxd rcx, ecx
call fcn.1402a67c0
test rax, rax
mov r15, rax
mov qword [rdi], rax
je 0x1402d0070
mov rcx, qword [r14 + 0x30]
xor eax, eax
mov r9, r15
mov r8d, ebx
mov edx, dword [rsp + 0xa8]
mov dword [rsp + 0x20], eax
call fcn.140229a20
test eax, eax
jne 0x1402d01c9
mov eax, ebx
mov byte [r15 + rax], 0
mov byte [r15 + rax + 1], 0
mov byte [r15 + rax + 2], 0
mov eax, dword [rsp + 0xb0]
mov rcx, qword [r14 + 0x30]
mov dword [rdi + 0x10], r12d
mov dword [rdi + 0x14], eax
mov eax, dword [rsp + 0xb8]
mov dword [rdi + 0x18], eax
call fcn.1402806a0
mov qword [rdi + 8], rax
inc qword [r15 - 8]
lea rax, [fcn.1402a67f0]
and ebp, 1
mov r8d, ebx
mov qword [rsp + 0x20], rax
je 0x1402d0168
movzx r9d, r13b
mov rdx, r15
mov rcx, rsi
call fcn.1402b8f80
jmp 0x1402d01bd
xor r9d, r9d
mov rdx, r15
mov rcx, rsi
call fcn.1402b8f80
jmp 0x1402d01c3
mov rcx, qword [r14 + 0x30]
mov r9, rsi
mov r8d, ebx
mov edx, dword [rsp + 0xa8]
call fcn.1402b8af0
test eax, eax
jne 0x1402d01c9
mov rcx, qword [rsi + 8]
mov r8, rsi
mov edx, ebp
mov dword [rsp + 0x3c], eax
call fcn.1402ba030
dec r13b
mov eax, dword [rsp + 0x3c]
jne 0x1402d01c3
and ebp, 1
je 0x1402d01c3
mov rdx, qword [rsi + 8]
movsxd rbx, ebx
mov byte [rdx + rbx], 0
or word [rsi + 0x14], 0x200
and word [rsi + 0x14], 0xbfff
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1402d17a0
Capabilities:
Create thread

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
xor ebp, ebp
xor r13d, r13d
movzx r12d, byte [rcx + 0x5b]
mov rbx, rcx
mov edi, r12d
mov byte [rcx + 0x58], 1
dec r12d
cmp r13d, r12d
jge 0x1402d18a2
movzx eax, byte [rbx + 0x5a]
lea eax, [r13 + rax + 1]
cdq
idiv r12d
movsxd rdx, edx
lea rbp, [rdx + 1]
imul rdx, rdx, 0x60
imul rbp, rbp, 0x60
lea rsi, [rbx + rdx]
add rbp, rbx
cmp dword [rsi + 0x68], 0
jne 0x1402d1801
cmp qword [rsi + 0x60], 0
je 0x1402d1812
inc r13d
jmp 0x1402d17c3
mov rcx, rbp
call fcn.1402d1940
test eax, eax
je 0x1402d17f5
jmp 0x1402d18c8
lea rcx, [rbx + 0x60]
mov rax, rbp
mov rdx, qword [rbp + 0x28]
lea rdi, [rbp + 0x20]
sub rax, rcx
movabs rcx, 0xaaaaaaaaaaaaaaab
lea rsi, [rbx + 0x38]
sar rax, 5
imul rax, rcx
mov ecx, 6
mov byte [rbx + 0x5a], al
xor eax, eax
test rdx, rdx
rep movsd dword [rdi], dword [rsi]
mov qword [rbx + 0x38], rax
mov qword [rbx + 0x48], rax
je 0x1402d1864
mov qword [rbx + 0x40], rdx
mov rcx, rdx
call fcn.14029ce50
mov dword [rbx + 0x54], eax
jmp 0x1402d187d
cmp qword [rbx + 0x40], 0
je 0x1402d187d
movsxd rcx, dword [rbx + 0x54]
call fcn.14029ccf0
test rax, rax
mov qword [rbx + 0x40], rax
je 0x1402d189b
lea rdx, [0x1402d18e0]
mov r8, rbp
mov rcx, rbp
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.1402ad9f0
mov eax, 7
jmp 0x1402d18c8
jne 0x1402d1812
lea rdx, [rbx + 0x38]
movzx ecx, dil
imul rcx, rcx, 0x60
add rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp fcn.1402d19b0
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x1402dd130
Capabilities:
Encode data using xor

Disassembly:
push rbx
xor r9d, r9d
xor r11d, r11d
movsxd rax, dword [rcx + 0xc]
lea r10d, [rax + 1]
add rax, qword [rcx]
mov bl, byte [rdx + r9]
xor byte [rax], bl
movsxd rax, r10d
cmp dword [rcx + 8], r10d
cmovle rax, r11
inc r9
cmp r8d, r9d
jg 0x1402dd13b
add dword [rcx + 0x10], r8d
mov dword [rcx + 0xc], eax
pop rbx
ret
Function at 0x140028d04
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c388
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c388
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028e54
cmp rax, 0xffffffffffffffff
je 0x140028e54
xor edi, edi
test rbp, rbp
jle 0x140028dff
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001f014
mov rbx, rax
test rax, rax
jne 0x140028d8c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028df5
mov edx, 0x8000
mov ecx, r14d
call fcn.140019c38
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001d070
cmp eax, 0xffffffff
je 0x140028dd5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028d9c
mov edx, r15d
mov ecx, r14d
call fcn.140019c38
jmp 0x140028df5
cmp byte [rsi + 0x38], dil
je 0x140028dec
cmp dword [rsi + 0x34], 5
jne 0x140028dec
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028df5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a574
jmp 0x140028e68
jns 0x140028e68
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c388
cmp rax, 0xffffffffffffffff
jne 0x140028e20
cmp byte [rsi + 0x30], dil
je 0x140028e68
mov edi, dword [rsi + 0x2c]
jmp 0x140028e68
mov ecx, r14d
call fcn.140018768
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028e68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140028e68
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028e61
mov eax, dword [rsi + 0x2c]
jmp 0x140028e66
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c388
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140029f60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029f88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029f88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140001bec
Capabilities:
Parse pe header

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

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x1400071c1
add rsp, 0x20
pop r15
pop rdi
pop rbx
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 + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400071ee
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400071f0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140007249
test ecx, ecx
jle 0x140007229
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140007249
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140007249
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add eax, 0x3cfce911
out 4, eax
out dx, eax
ret 0xb5fe
Function at 0x140007270
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140007292
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400072a1
add rsp, 0x30
pop r14
pop rsi
pop rbp
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 + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400072c4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400072c6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140007302
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000739e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000733d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000737e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000739e
cmp rbx, rax
ja 0x140007350
test rbx, rbx
je 0x14000739e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
xor esi, dword ss:[rdx]
invalid
jg 0x1401f6a01
add dword [rax - 0x7a], ecx
xchg byte [rax], al
add eax, 0x9a00
or al, 0x8c
invalid
Function at 0x1400077d0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140117080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400077fd
xor eax, eax
jmp 0x140007969
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140007837
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140007837
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140007969
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000795c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000787a
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 rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400078a5
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 0x140007961
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
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
je 0x140007914
sub eax, 1
je 0x140007914
cmp eax, 2
jne 0x14000795c
movsx ecx, byte [rsp + 0x50]
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 0x140007961
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140007942
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 0x14000795c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140007961
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400da920
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140009420
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140117080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400094f3
cmp byte [rcx + 0x71], 0
je 0x1400094f3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1400094ef
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 0x1400094b4
sub eax, 1
je 0x1400094b8
cmp eax, 2
jne 0x1400094ef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400da920
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400094e6
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 0x1400094ef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000949c
xor al, al
jmp 0x14000949c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400da920
add rsp, 0x60
pop rbx
ret
Function at 0x140017ee0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x140117080]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebx, ebx
cmp byte [0x1403f5cc8], bl
je 0x140017ef7
mov eax, dword [reloc.WS2_32.dll_accept]
test eax, eax
je 0x140017f33
sub eax, 1
je 0x140017f1b
cmp eax, 1
jne 0x140017f50
mov byte [0x1403f22b0], al
jmp 0x140017f50
mov ecx, dword [0x1403f22a0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x1403f22b0]
jmp 0x140017f50
mov ecx, dword [0x1403f22a0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140017f50
cmp byte [0x1403f22b0], bl
sete byte [0x1403f22b0]
cmp byte [0x1403f22c8], bl
je 0x140017ef7
cmp byte [0x1403f22b0], bl
je 0x140017ef7
cmp byte [0x1403f5cc8], bl
je 0x140017efd
xorps xmm0, xmm0
mov dword [rsp + 0x20], ebx
xorps xmm1, xmm1
mov dword [rsp + 0x34], 6
mov r8d, Ordinal_41
lea rdx, [rsp + 0x20]
mov ecx, 1
movdqu xmmword [rsp + 0x24], xmm0
movdqu xmmword [rsp + 0x38], xmm1
call qword [sym.imp.USER32.dll_SendInput]
mov ecx, dword [0x1403f5cd8]
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140017ef7