joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400834c0
Capabilities:
Hash data using sha256

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rdi
sub rsp, 0x120
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x1401f90e8]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rbx, r8
mov rdi, rcx
cmp r8, 0x40
ja 0x14008353b
lea rcx, [rsp + 0x90]
call sub.VCRUNTIME140.dll_memcpy
mov r8d, 0x40
lea rcx, [rsp + 0x90]
sub r8, rbx
add rcx, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
movdqu xmm0, xmmword [rsp + 0xc0]
movdqu xmm1, xmmword [rsp + 0xb0]
jmp 0x1400835a9
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x6a09e667
mov dword [rsp + 0x24], 0xbb67ae85
mov dword [rsp + 0x28], 0x3c6ef372
mov dword [rsp + 0x2c], 0xa54ff53a
mov dword [rsp + 0x30], 0x510e527f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov dword [rsp + 0x3c], 0x5be0cd19
mov qword [rsp + 0x80], 0
call fcn.140088ea0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x20]
call fcn.1400867f0
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqa xmm9, xmmword [0x140092bb0]
lea rcx, [rdi + 0x68]
mov dword [rcx], 0x6a09e667
lea rax, [rsp + 0x90]
mov dword [rcx + 4], 0xbb67ae85
lea rdx, [rcx + 0x20]
mov dword [rcx + 8], 0x3c6ef372
movdqa xmm8, xmm9
xorps xmm8, xmmword [rsp + 0x90]
movdqa xmm7, xmm9
xorps xmm7, xmmword [rsp + 0xa0]
movdqa xmm6, xmm9
mov dword [rcx + 0xc], 0xa54ff53a
xorps xmm6, xmm1
mov dword [rcx + 0x10], 0x510e527f
xorps xmm9, xmm0
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
mov qword [rcx + 0x60], 0x40
movdqu xmmword [rsp + 0x90], xmm8
movdqu xmmword [rsp + 0xa0], xmm7
movdqu xmmword [rsp + 0xb0], xmm6
movdqu xmmword [rsp + 0xc0], xmm9
movups xmm0, xmmword [rax]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x50], xmm1
call fcn.140086b40
movdqa xmm3, xmmword [str.jjjjjjjjjjjjjjjjC:Userskabal.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.16.20_srcdigest.rs]
lea rdx, [rdi + 0x20]
mov dword [rdi], 0x6a09e667
movdqa xmm2, xmm3
mov dword [rdi + 4], 0xbb67ae85
movdqa xmm1, xmm3
mov dword [rdi + 8], 0x3c6ef372
movdqa xmm0, xmm3
mov dword [rdi + 0xc], 0xa54ff53a
xorps xmm2, xmm8
mov dword [rdi + 0x10], 0x510e527f
xorps xmm1, xmm7
mov dword [rdi + 0x14], 0x9b05688c
xorps xmm0, xmm6
mov dword [rdi + 0x18], 0x1f83d9ab
xorps xmm3, xmm9
mov dword [rdi + 0x1c], 0x5be0cd19
mov rcx, rdi
mov qword [rdi + 0x60], 0x40
movups xmmword [rdx], xmm2
movups xmmword [rdx + 0x10], xmm1
movups xmmword [rdx + 0x20], xmm0
movups xmmword [rdx + 0x30], xmm3
call fcn.140086b40
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1400896e0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop rdi
ret
Function at 0x140083730
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x1401f90e8]
xor rax, rsp
mov qword [rbp + 0x17], rax
movups xmm1, xmmword [rdx + 0x10]
mov eax, dword [rdx + 0x20]
mov ebx, 0xffffffff
xorps xmm0, xmm0
mov dword [rbp - 0x41], eax
mov eax, dword [rcx + 0x20]
mov r15, rdx
movups xmmword [rsp + 0x34], xmm0
mov r13, rcx
mov dword [rsp + 0x30], 0
movups xmmword [rbp - 0x75], xmm0
mov dword [rbp - 0x11], 1
lea r12d, [rbx + 0x15]
movups xmmword [rbp - 0xd], xmm0
mov dword [rbp - 0x19], eax
movups xmmword [rbp + 3], xmm0
movups xmm0, xmmword [rdx]
movups xmmword [rbp - 0x51], xmm1
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbp - 0x61], xmm0
movups xmm0, xmmword [rcx]
movups xmmword [rbp - 0x29], xmm1
movups xmmword [rbp - 0x39], xmm0
nop word [rax + rax]
mov esi, dword [rbp - 0x61]
mov r9d, 1
mov eax, dword [rbp - 0x39]
xor r10d, r10d
xor r11d, r11d
mov edi, r9d
lea r14d, [r9 + 0x1d]
nop dword [rax]
mov r8d, ebx
mov edx, eax
sar r8d, 0x1f
and edx, 1
neg edx
mov ecx, r8d
xor ecx, esi
sub ecx, r8d
and ecx, edx
add eax, ecx
mov ecx, r8d
xor ecx, r9d
sub ecx, r8d
and ecx, edx
add r11d, ecx
mov ecx, r8d
xor ecx, r10d
sub ecx, r8d
and r8d, edx
and ecx, edx
xor ebx, r8d
add edi, ecx
dec ebx
mov ecx, r8d
and ecx, eax
shr eax, 1
add esi, ecx
mov ecx, r8d
and ecx, r11d
and r8d, edi
add r9d, ecx
add r10d, r8d
add r9d, r9d
add r10d, r10d
sub r14, 1
jne 0x1400837e0
mov dword [rsp + 0x20], r9d
lea r8, [rsp + 0x20]
mov r9, r15
mov dword [rsp + 0x24], r10d
lea rdx, [rbp - 0x11]
mov dword [rsp + 0x28], r11d
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x2c], edi
call fcn.140083b60
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x61]
call fcn.140083f90
sub r12, 1
jne 0x1400837c0
mov edx, dword [rbp - 0x41]
lea rcx, [rsp + 0x30]
mov r8, r15
call fcn.1400838e0
movups xmm0, xmmword [rsp + 0x30]
mov eax, dword [rbp - 0x69]
movups xmm1, xmmword [rbp - 0x79]
movups xmmword [r13], xmm0
movups xmmword [r13 + 0x10], xmm1
mov dword [r13 + 0x20], eax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400896e0
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400864f0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movzx eax, byte [rdx + 0x1d]
movzx r13d, byte [rdx + 0x1c]
shl r13d, 8
or r13d, eax
movzx eax, byte [rdx + 0x1e]
shl r13d, 8
or r13d, eax
movzx eax, byte [rdx + 0x1f]
shl r13d, 8
or r13d, eax
mov dword [rcx], r13d
movzx eax, byte [rdx + 0x19]
movzx r12d, byte [rdx + 0x18]
shl r12d, 8
or r12d, eax
movzx eax, byte [rdx + 0x1a]
shl r12d, 8
or r12d, eax
movzx eax, byte [rdx + 0x1b]
shl r12d, 8
or r12d, eax
mov dword [rcx + 4], r12d
movzx eax, byte [rdx + 0x15]
movzx r15d, byte [rdx + 0x14]
shl r15d, 8
or r15d, eax
movzx eax, byte [rdx + 0x16]
shl r15d, 8
or r15d, eax
movzx eax, byte [rdx + 0x17]
shl r15d, 8
or r15d, eax
mov dword [rcx + 8], r15d
movzx eax, byte [rdx + 0x11]
movzx r14d, byte [rdx + 0x10]
shl r14d, 8
or r14d, eax
movzx eax, byte [rdx + 0x12]
shl r14d, 8
or r14d, eax
movzx eax, byte [rdx + 0x13]
shl r14d, 8
or r14d, eax
mov dword [rcx + 0xc], r14d
movzx eax, byte [rdx + 0xd]
movzx ebp, byte [rdx + 0xc]
shl ebp, 8
or ebp, eax
movzx eax, byte [rdx + 0xe]
shl ebp, 8
or ebp, eax
movzx eax, byte [rdx + 0xf]
shl ebp, 8
or ebp, eax
mov dword [rcx + 0x10], ebp
movzx eax, byte [rdx + 9]
movzx esi, byte [rdx + 8]
shl esi, 8
or esi, eax
movzx eax, byte [rdx + 0xa]
shl esi, 8
or esi, eax
movzx eax, byte [rdx + 0xb]
shl esi, 8
or esi, eax
mov dword [rcx + 0x14], esi
movzx eax, byte [rdx + 5]
movzx ebx, byte [rdx + 4]
shl ebx, 8
or ebx, eax
movzx eax, byte [rdx + 6]
shl ebx, 8
or ebx, eax
movzx eax, byte [rdx + 7]
shl ebx, 8
or ebx, eax
mov dword [rcx + 0x18], ebx
movzx edi, byte [rdx]
movzx eax, byte [rdx + 1]
shl edi, 8
or edi, eax
movzx eax, byte [rdx + 2]
shl edi, 8
or edi, eax
movzx eax, byte [rdx + 3]
shl edi, 8
or edi, eax
mov dword [rcx + 0x1c], edi
call fcn.140084bf0
mov r9, qword [rsp + 0x60]
imul edx, eax, 0x2fc9bebf
imul r8d, eax, 0x402da173
imul ecx, eax, 0x50b75fc4
mov r10d, eax
add rdx, r13
mov dword [r9], edx
shr rdx, 0x20
add r8, rdx
imul edx, eax, 0x45512319
mov rax, qword [rsp + 0x70]
add r8, r12
mov dword [r9 + 4], r8d
shr r8, 0x20
add rcx, r8
add rcx, r15
mov dword [r9 + 8], ecx
shr rcx, 0x20
add rdx, rcx
add rdx, r14
mov dword [r9 + 0xc], edx
shr rdx, 0x20
add rdx, rbp
add rdx, r10
mov dword [r9 + 0x10], edx
shr rdx, 0x20
add rdx, rsi
mov dword [r9 + 0x14], edx
shr rdx, 0x20
add rdx, rbx
mov dword [r9 + 0x18], edx
shr rdx, 0x20
add edx, edi
mov dword [r9 + 0x1c], edx
test rax, rax
je 0x1400866cd
mov dword [rax], r10d
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400869e0
Capabilities:
Hash data using sha256

Disassembly:
push rbx
push rbp
push rsi
push r14
sub rsp, 0x58
mov rax, qword [0x1401f90e8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov r14, rcx
mov dword [rcx], 0x6a09e667
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
mov qword [rcx + 0x60], 0
call fcn.140088ea0
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.1400867f0
movups xmm0, xmmword [rsp + 0x20]
mov ebx, 0x20
mov dword [r14], 0x6a09e667
movups xmm1, xmmword [rsp + 0x30]
mov qword [r14 + 0x60], rbx
lea rsi, [rsp + 0x20]
mov dword [r14 + 4], 0xbb67ae85
mov dword [r14 + 8], 0x3c6ef372
mov dword [r14 + 0xc], 0xa54ff53a
mov dword [r14 + 0x10], 0x510e527f
mov dword [r14 + 0x14], 0x9b05688c
mov dword [r14 + 0x18], 0x1f83d9ab
mov dword [r14 + 0x1c], 0x5be0cd19
movups xmmword [r14 + 0x20], xmm0
movups xmmword [r14 + 0x30], xmm1
mov rax, qword [r14 + 0x60]
mov rcx, rax
add rax, rbx
mov qword [r14 + 0x60], rax
and ecx, 0x3f
mov eax, 0x40
sub rax, rcx
cmp rbx, rax
jb 0x140086b0f
mov qword [rsp + 0x50], rdi
mov edi, 0x40
mov rdx, rsi
sub rdi, rcx
add rcx, 0x20
add rcx, r14
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [r14 + 0x20]
mov rcx, r14
add rsi, rdi
sub rbx, rdi
call fcn.140086b40
xor ecx, ecx
cmp rbx, 0x40
jae 0x140086ad1
mov rdi, qword [rsp + 0x50]
test rbx, rbx
je 0x140086b21
add rcx, 0x20
mov r8, rbx
add rcx, r14
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400896e0
add rsp, 0x58
pop r14
pop rsi
pop rbp
pop rbx
ret

Function at 0x140089bc8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140089c12
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140089c12
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140089c12
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140089c12
cmp dword [rcx + 0x84], 0xe
jbe 0x140089c12
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140089c14
xor al, al
add rsp, 0x28
ret
Function at 0x140001d30
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.0x140001d51
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 0x140001d7e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140001d80
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140001dd9
test ecx, ecx
jle 0x140001db9
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 0x140001dd9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140001dd9
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 byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140001e00
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 0x140001e22
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140001e31
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 0x140001e54
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140001e56
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140001e92
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 0x140001f2e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140001ecd
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 0x140001f0e
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 0x140001f2e
cmp rbx, rax
ja 0x140001ee0
test rbx, rbx
je 0x140001f2e
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
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140002390
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400023bd
xor eax, eax
jmp 0x140002529
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400023f7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400023f7
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 0x140002529
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000251c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000243a
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 0x140002465
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 0x140002521
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 0x1400024d4
sub eax, 1
je 0x1400024d4
cmp eax, 2
jne 0x14000251c
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 0x140002521
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140002502
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 0x14000251c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140002521
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400034b0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400029d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140002aa3
cmp byte [rcx + 0x71], 0
je 0x140002aa3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140002a9f
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 0x140002a64
sub eax, 1
je 0x140002a68
cmp eax, 2
jne 0x140002a9f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400034b0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140002a96
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 0x140002a9f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140002a4c
xor al, al
jmp 0x140002a4c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400034b0
add rsp, 0x60
pop rbx
ret

Function at 0x140003e30
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003e7a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003e7a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003e7a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003e7a
cmp dword [rcx + 0x84], 0xe
jbe 0x140003e7a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003e7c
xor al, al
add rsp, 0x28
ret
Function at 0x140016680
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
mov rbx, rdx
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [rax + 1]
test edi, edi
js 0x14001671d
mov rdx, qword [rbx]
mov r8d, 1
mov eax, dword [rdx - 0xc]
sub r8d, dword [rdx - 8]
sub eax, edi
or r8d, eax
jge 0x1400166c9
mov edx, edi
mov rcx, rbx
call fcn.1400165e0
mov rdx, qword [rbx]
mov rcx, qword [rsi]
mov r8d, edi
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor esi, esi
mov edi, eax
cmp eax, 0xffffffff
jne 0x1400166f3
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400166ea
mov eax, esi
jmp 0x1400166f7
movsxd rdx, dword [rcx - 0xc]
call fcn.140036b68
test eax, eax
js 0x14001671d
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14001671d
mov dword [rcx - 0x10], eax
mov ecx, eax
mov rax, qword [rbx]
mov rbx, qword [rsp + 0x30]
mov word [rax + rcx*2], si
mov eax, edi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, 0x80070057
call fcn.140016650
int3

Function at 0x14001a900
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
mov r8, qword [rsp + 0x60]
mov rax, r9
mov r10, qword [r8 + 0x18]
test r10, r10
jne 0x14001a926
cmp qword [r8 + 0x48], r10
lea r10, [0x1400542c8]
je 0x14001a926
mov r10, qword [r8 + 0x38]
mov r9, qword [r9 + 0x18]
test r9, r9
jne 0x14001a940
cmp qword [rax + 0x48], r9
lea r9, [0x1400542c8]
je 0x14001a940
mov r9, qword [rax + 0x38]
mov r8, qword [rdx + 0x18]
test r8, r8
jne 0x14001a95a
cmp qword [rdx + 0x48], r8
lea r8, [0x1400542c8]
je 0x14001a95a
mov r8, qword [rdx + 0x38]
mov rax, qword [rcx + 0x18]
xor edx, edx
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], r10
mov rcx, qword [rax + 0x80]
mov rcx, qword [rcx]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
add rsp, 0x38
ret
Function at 0x14001e880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rbx, r8
mov edi, edx
test r8, r8
je 0x14001ea50
mov rax, qword [rcx]
call qword [rax]
mov rbp, rax
test edi, edi
je 0x14001e8f0
cmp edi, 3
je 0x14001e8f0
sub edi, 1
je 0x14001e8df
cmp edi, 1
jne 0x14001ea50
movzx edx, bx
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadIconW]
jmp 0x14001ea52
movzx edx, bx
mov rcx, rbp
call qword [sym.imp.USER32.dll_LoadCursorW]
jmp 0x14001ea52
movzx edx, bx
mov r8d, 0xa
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov r15, rax
test rax, rax
je 0x14001ea50
xor ebx, ebx
mov esi, ebx
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
test rax, rax
je 0x14001ea50
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r12, rax
test rax, rax
je 0x14001e9b6
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.14001c630
test rax, rax
je 0x14001e98f
mov rsi, qword [rsp + 0x50]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001e9b6
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov qword [rsp + 0x70], rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeResource]
test rsi, rsi
je 0x14001ea50
cmp edi, 3
jne 0x14001ea4b
lea r8, [rsp + 0x30]
lea edx, [rdi + 0x1d]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x14001ea3d
mov edx, dword [rsp + 0x38]
test edx, edx
je 0x14001ea3d
lea ecx, [rdx + 1]
and ecx, 0xfffffffe
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8d, [rdi + 0x1e]
call qword [sym.imp.COMCTL32.dll_ImageList_Create]
mov rdi, rax
test rax, rax
je 0x14001ea3d
mov r8d, 0xff00ff
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
test eax, eax
jns 0x14001ea3a
mov rcx, rdi
call qword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, rbx
jmp 0x14001ea52
mov rbx, rdi
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, rbx
jmp 0x14001ea52
mov rax, rsi
jmp 0x14001ea52
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret