joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14038c450
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r8
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, 0xaaaaaaaa
lea rdi, [rsp + 0x44]
mov dword [rdi], eax
lea r8, [rsp + 0x40]
mov dword [r8], eax
lea rax, [rsp + 0x3c]
mov dword [rax], 4
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rdi]
xor ecx, 4
or ecx, eax
sete bl
jne 0x14038c4b0
mov eax, dword [rsp + 0x40]
mov dword [rsi], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140253b80
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x1403986d0
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x1403d47c0]
lea r15, [rsp + 0x160]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea r14, [rcx + 0x18]
mov rcx, r14
call fcn.140293c70
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.14039cf40
test al, al
je 0x140398796
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x1403987cb
mov rcx, r14
call fcn.140293c70
movsxd r14, dword [rsp + 0x19c]
add r14, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.14039cf40
test al, al
je 0x140398810
cmp dword [rbx], 0x4550
jne 0x14039884c
mov sil, 1
test rdi, rdi
je 0x1403987aa
mov qword [rdi], r14
jmp 0x1403987aa
mov ecx, 1
call fcn.140206de0
test al, al
jne 0x140398892
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140253b80
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.140206de0
test al, al
je 0x1403987a8
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.140110ed0
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1403988c4
mov ecx, 1
call fcn.140206de0
test al, al
je 0x1403987a8
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.140110ed0
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1403988be
mov ecx, 1
call fcn.140206de0
test al, al
je 0x1403987a8
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.140110ed0
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x1403988c4
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.140110ed0
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.140294040
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1403988da
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140294040
mov rcx, rdi
call fcn.1401113c0
jmp 0x1403987a8
Function at 0x140398900
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140448038]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x1403d47c0]
lea r15, [rsp + 0x160]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea r14, [rcx + 0x18]
mov rcx, r14
call fcn.140293c70
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.14039cf40
test al, al
je 0x1403989c6
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x1403989fb
mov rcx, r14
call fcn.140293c70
movsxd r14, dword [rsp + 0x19c]
add r14, rax
mov r8d, 0xf8
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.14039cf40
test al, al
je 0x140398a40
cmp dword [rbx], 0x4550
jne 0x140398a7c
mov sil, 1
test rdi, rdi
je 0x1403989da
mov qword [rdi], r14
jmp 0x1403989da
mov ecx, 1
call fcn.140206de0
test al, al
jne 0x140398ac2
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140253b80
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.140206de0
test al, al
je 0x1403989d8
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.140110ed0
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x140398af4
mov ecx, 1
call fcn.140206de0
test al, al
je 0x1403989d8
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.140110ed0
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x140398aee
mov ecx, 1
call fcn.140206de0
test al, al
je 0x1403989d8
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.140110ed0
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x140398af4
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.140110ed0
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.140294040
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x140398b0a
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.140294040
mov rcx, rdi
call fcn.1401113c0
jmp 0x1403989d8
Function at 0x180023b20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov rsi, rdx
xor edx, edx
mov rcx, rsi
lea r8d, [rdx + 2]
call fcn.18007c35c
test eax, eax
jne 0x180023c04
mov rcx, rsi
call fcn.180077dac
movsxd rbx, eax
test eax, eax
js 0x180023c04
jne 0x180023b65
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
lea eax, [rbx + 1]
mov qword [rsp + 0x30], rdi
movsxd rcx, eax
lea rdx, [0x1800a4670]
call fcn.1800715b4
mov rdi, rax
test rax, rax
jne 0x180023b97
lea eax, [rdi - 2]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
xor r8d, r8d
mov byte [rbx + rax], 0
xor edx, edx
mov rcx, rsi
call fcn.18007c35c
mov r9, rsi
mov r8, rbx
mov edx, 1
mov rcx, rdi
call fcn.180080de4
cmp rax, rbx
je 0x180023bdd
mov rcx, rdi
call fcn.180070de4
mov rdi, qword [rsp + 0x30]
mov eax, 0xfffffffd
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov r8, rax
mov rdx, rdi
call fcn.180025310
mov rcx, rdi
mov ebx, eax
call fcn.180070de4
mov rdi, qword [rsp + 0x30]
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov rbx, qword [rsp + 0x38]
mov eax, 0xfffffffd
add rsp, 0x20
pop rsi
ret
Function at 0x180032880
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1800328dd
lea rbx, [0x1800d2370]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800328c4
cmp r10, 2
jb 0x1800328c4
cmp byte [r9], r8b
jne 0x1800328c4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1800328a0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18003291f
lea rbx, [0x1800d2370]
cmp r8b, 0x23
jne 0x180032903
cmp byte [r9], r8b
jne 0x180032903
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1800328f0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180032a60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180032a7a
mov qword [r8], 0
lea rdx, [0x1800b33ec]
call fcn.180032930
mov rbx, rax
test rax, rax
jne 0x180032a9a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call fcn.180077dac
mov esi, eax
cmp eax, 0xffffffff
je 0x180032b7a
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.18007c35c
test eax, eax
jne 0x180032b7a
mov rcx, rbx
call fcn.180077dac
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180032b7a
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.18007c35c
test eax, eax
jne 0x180032b7a
cmp rdi, 0xffffffffffffffff
je 0x180032b7a
mov rax, qword [0x180109240]
test rax, rax
je 0x180032b0e
inc dword [rax + 0xf4]
mov rdx, qword [0x180109230]
mov rcx, rdi
call fcn.180031ab0
mov rsi, rax
test rax, rax
je 0x180032b7a
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.180080de4
mov rcx, rbx
cmp rax, rdi
je 0x180032b68
call fcn.18007c0e8
mov rax, qword [0x180109240]
test rax, rax
je 0x180032b57
dec dword [rax + 0xf4]
mov rdx, qword [0x180109230]
mov rcx, rsi
call fcn.180031ac0
jmp 0x180032b82
call fcn.18007c0e8
test r14, r14
je 0x180032b75
mov qword [r14], rdi
mov rax, rsi
jmp 0x180032b84
mov rcx, rbx
call fcn.18007c0e8
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180034e30
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1800d2370]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x180109240]
not ebx
cmp dword [rcx + 0x3ee4], ebx
jne 0x180034ebb
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.180048660
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x180034ed0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xd8]
lea r9, [0x1800d2370]
movss xmm2, dword [rcx + 0xf0]
movss xmm3, dword [rcx + 0xf4]
movsxd rcx, dword [rcx + 0xd0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x180041b30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x180109240]
mov edi, ecx
cmp byte [rbx + 0x4a25], 0
jne 0x180041b82
cmp byte [rbx + 0x4a26], 0
jne 0x180041b82
movsx r9d, word [rbx + 0x5b1a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.180032710
test dil, 1
je 0x180041ca8
jmp 0x180041c0b
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b1a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x1800f79b4]
mulss xmm1, dword [0x1800f7988]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x4788], rax
mov dword [rbx + 0x4774], 1
movss dword [rbx + 0x4780], xmm0
movss dword [rbx + 0x4784], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x1800f78c8]
or dword [rbx + 0x4770], 0x41
movss dword [rbx + 0x47d0], xmm0
call fcn.180032710
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x180041c60
lea r11, [0x1800d2370]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x180041c43
cmp byte [r8], r9b
jne 0x180041c43
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180041c30
not ecx
call fcn.18003a040
test rax, rax
je 0x180041ca8
cmp byte [rax + 0x96], 0
je 0x180041ca8
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b1a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b1a]
call fcn.180032710
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.18003c8f0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x180046f90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c00], 0
lea rbx, [rcx + 0x5c08]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x180047036
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x180046fea
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1800492c0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1800332f0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c00]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c10]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180109238]
cmovne rcx, rax
call fcn.18007f574
mov r14, qword [rsp + 0x30]
jmp 0x18004703e
mov rcx, rbx
call fcn.1800332f0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1800475c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180109240]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180047623
mov qword [rsp], rbx
lea rbx, [0x1800d2370]
nop dword [rax]
cmp r9b, 0x23
jne 0x180047603
cmp byte [r8], r9b
jne 0x180047603
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1800475f0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5b78]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x180047657
mov r10, qword [r10 + 0x5b80]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x18004765e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x180047644
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret

Function at 0x1800478e0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x180109240]
mov rbx, rcx
xor ecx, ecx
mov dword [rax + 0x5b64], ecx
test rbx, rbx
je 0x18004794d
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call fcn.180047960
lea rdx, [0x1800f51c0]
mov rcx, rbx
mov rdi, rax
call fcn.180032930
mov rbx, rax
test rax, rax
je 0x180047948
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call fcn.18007f574
mov rcx, rbx
call fcn.18007c0e8
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x18005c370
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x210
call fcn.18003f990
cmp byte [rax], 0
je 0x18005c3df
xor edx, edx
mov ecx, 0x210
call fcn.1800407c0
test al, al
je 0x18005c3df
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18005c3df
mov rbx, qword [0x180109240]
cmp byte [rbx + 0x37a9], 0
je 0x18005c3cb
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.180031fb0
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov ecx, 0x214
call fcn.18003f990
cmp byte [rax], 0
je 0x18005c448
xor edx, edx
mov ecx, 0x214
call fcn.1800407c0
test al, al
je 0x18005c448
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18005c448
mov rbx, qword [0x180109240]
cmp byte [rbx + 0x37a9], 0
je 0x18005c434
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.180031fb0
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov ecx, 0x212
call fcn.18003f990
cmp byte [rax], 0
je 0x18005c4af
xor edx, edx
mov ecx, 0x212
call fcn.1800407c0
test al, al
je 0x18005c4af
lea ecx, [rdx + 0x5b]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18005c4af
mov rbx, qword [0x180109240]
cmp byte [rbx + 0x37a9], 0
je 0x18005c49b
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.180031fb0
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov ecx, 0x216
call fcn.18003f990
cmp byte [rax], 0
je 0x18005c516
xor edx, edx
mov ecx, 0x216
call fcn.1800407c0
test al, al
je 0x18005c516
lea ecx, [rdx + 0x5c]
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18005c516
mov rbx, qword [0x180109240]
cmp byte [rbx + 0x37a9], 0
je 0x18005c502
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.180031fb0
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x1400110f5
Capabilities:
Write file on windows

Disassembly:
jmp 0x14001ca60
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, [0x1400350f5]
call fcn.140011965
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x14001cab7
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 0x14001cbc3
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 0x14001cb5c
cmp qword [rbp + 0x28], 0
jle 0x14001cb5c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x14001cafc
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.1400118cf
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 0x14001cbb2
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14001cbb2
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 0x14001153c
Capabilities:
Terminate process

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

Disassembly:
jmp 0x140020570
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140020590
xor al, al
jmp 0x140020611
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400205a3
xor al, al
jmp 0x140020611
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 0x1400205cd
xor al, al
jmp 0x140020611
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400205e1
xor al, al
jmp 0x140020611
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400205f3
xor al, al
jmp 0x140020611
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002060f
xor al, al
jmp 0x140020611
mov al, 1
add rsp, 0x38
ret