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

Disassembly:
sub rsp, 8
test r8, r8
je 0x14009cc82
cmp r8, 4
jb 0x14009cb62
mov r9, r8
shr r9, 2
imul rax, r9, 0xfffffffffffffffc
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rdx]
add rdx, 4
xor dword [rcx], eax
add rcx, 4
sub r9, 1
jne 0x14009cb50
xor r10d, r10d
test r8, r8
je 0x14009cc82
cmp r8, 8
jb 0x14009cc64
lea r9, [rcx - 1]
lea rax, [rdx - 1]
add r9, r8
add rax, r8
cmp rcx, rax
ja 0x14009cb94
cmp r9, rdx
jae 0x14009cc64
cmp r8, 0x40
jb 0x14009cc23
mov r9, r8
mov qword [rsp], rbx
and r9d, 0x3f
mov r11, r8
sub r11, r9
mov rbx, rdx
lea rax, [rcx + 0x10]
sub rbx, rcx
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x10]
add r10, 0x40
movdqu xmm1, xmmword [rax + rbx - 0x10]
lea rax, [rax + 0x40]
xorps xmm1, xmm0
movdqu xmm0, xmmword [rax + rbx - 0x40]
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm2, xmmword [rax - 0x40]
movdqu xmm1, xmmword [rax + rbx - 0x30]
xorps xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [rax + rbx - 0x20]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
cmp r10, r11
jb 0x14009cbc0
mov rbx, qword [rsp]
cmp r9, 8
jb 0x14009cc5f
mov r9, r8
and r9, 0xfffffffffffffff8
mov r11, rdx
lea rax, [r10 + rcx]
sub r11, rcx
nop dword [rax]
nop dword [rax + rax]
movq xmm0, qword [rax]
add r10, 8
movq xmm1, qword [r11 + rax]
lea rax, [rax + 8]
xorps xmm1, xmm0
movq qword [rax - 8], xmm1
cmp r10, r9
jb 0x14009cc40
cmp r10, r8
jae 0x14009cc82
sub rdx, rcx
lea r9, [r10 + rcx]
sub r8, r10
nop
movzx eax, byte [rdx + r9]
xor byte [r9], al
lea r9, [r9 + 1]
sub r8, 1
jne 0x14009cc70
add rsp, 8
ret
Function at 0x1400ab9f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor eax, eax
mov r10, rcx
test rcx, rcx
je 0x1400aba5c
movzx ecx, byte [rcx]
test cl, cl
je 0x1400aba5c
mov r11d, 0x100
nop word [rax + rax]
movsx r9d, cl
lea r10, [r10 + 1]
or r9d, r11d
mov r8d, eax
mov edx, r9d
mov ecx, 0x20
shr edx, 2
add r11d, 0x100
xor edx, r9d
imul r9d, r9d
and edx, 0xf
sub ecx, edx
shr r8, cl
mov ecx, edx
mov edx, eax
mov eax, r8d
shl edx, cl
movzx ecx, byte [r10]
or eax, edx
xor eax, r9d
test cl, cl
jne 0x1400aba10
mov ecx, eax
shr ecx, 0x10
xor eax, ecx
ret

Function at 0x1400abb10
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x20
call fcn.140186ae0
sub rsp, rax
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x1400abba3
movzx eax, byte [rcx]
test al, al
je 0x1400abba3
mov qword [rsp + 0x30], rsi
mov esi, 0x100
nop
movsx ecx, al
call fcn.1400abbe0
mov r9d, eax
mov edx, ebx
or r9d, esi
lea rdi, [rdi + 1]
mov eax, ebx
mov r8d, r9d
shr r8d, 2
mov ecx, 0x20
xor r8d, r9d
add esi, 0x100
and r8d, 0xf
imul r9d, r9d
sub ecx, r8d
shr rdx, cl
mov ecx, r8d
shl eax, cl
mov ebx, edx
or ebx, eax
movzx eax, byte [rdi]
xor ebx, r9d
test al, al
jne 0x1400abb40
mov rsi, qword [rsp + 0x30]
mov eax, ebx
shr eax, 0x10
xor eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x14012ddd0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x38
call fcn.140186ae0
sub rsp, rax
mov r10, rcx
test r9, r9
jne 0x14012de10
lea r9, str.crypto_asn1_a_int.c
mov dword [rsp + 0x20], 0x9a
mov edx, 0xe2
mov ecx, 0xd
mov r8d, 0xde
call fcn.1400a4980
xor eax, eax
add rsp, 0x38
ret
movzx r11d, byte [r8]
and r11d, 0x80
test rdx, rdx
je 0x14012de23
mov dword [rdx], r11d
cmp r9, 1
jne 0x14012de45
test r10, r10
je 0x14012de3b
movzx eax, byte [r8]
test r11d, r11d
je 0x14012de39
neg al
mov byte [rcx], al
mov eax, 1
add rsp, 0x38
ret
movzx ecx, byte [r8]
test cl, cl
jne 0x14012de57
mov eax, 1
jmp 0x14012df0a
xor eax, eax
cmp cl, 0xff
jne 0x14012df45
xor edx, edx
lea rcx, [r9 - 1]
mov eax, 1
cmp r9, rax
jbe 0x14012deff
cmp rcx, 8
jb 0x14012def0
and ecx, 7
mov rdx, r9
sub rdx, rcx
xorps xmm3, xmm3
xorps xmm2, xmm2
nop dword [rax + rax]
movd xmm1, dword [r8 + rax]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
orps xmm3, xmm1
movd xmm1, dword [r8 + rax + 4]
punpcklbw xmm1, xmm0
add rax, 8
punpcklwd xmm1, xmm0
orps xmm2, xmm1
cmp rax, rdx
jb 0x14012de90
orps xmm2, xmm3
movdqa xmm0, xmm2
psrldq xmm0, 8
orps xmm2, xmm0
movdqa xmm0, xmm2
psrldq xmm0, 4
orps xmm2, xmm0
movd edx, xmm2
cmp rax, r9
jae 0x14012deff
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
inc rax
or edx, ecx
cmp rax, r9
jb 0x14012def0
xor eax, eax
test edx, edx
setne al
test edx, edx
je 0x14012df45
movzx ecx, byte [r8 + 1]
and ecx, 0x80
cmp r11d, ecx
jne 0x14012df45
lea r9, str.crypto_asn1_a_int.c
mov dword [rsp + 0x20], 0xbb
mov edx, 0xe2
mov ecx, 0xd
mov r8d, 0xdd
call fcn.1400a4980
xor eax, eax
add rsp, 0x38
ret
mov qword [rsp + 0x30], rbx
mov rbx, r9
sub rbx, rax
test r10, r10
je 0x14012df8d
neg r11d
sbb r11d, r11d
add r9, r8
movzx r11d, r11b
mov edx, r11d
and edx, 1
test rbx, rbx
je 0x14012df8d
mov r8, rbx
movzx ecx, byte [r9 - 1]
lea r9, [r9 - 1]
dec r8
xor ecx, r11d
add edx, ecx
mov byte [r10 + r8], dl
shr edx, 8
test r8, r8
jne 0x14012df70
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
Function at 0x14017e340
Capabilities:
Hash data using sha256

Disassembly:
push rdi
sub rsp, 0xd0
mov rax, qword [0x140362e80]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov edi, ecx
cmp cl, 1
jne 0x14017e4d9
mov ecx, 0xc8
mov qword [rsp + 0xe0], rbx
call fcn.140197a50
mov rbx, rax
test rax, rax
je 0x14017e4ff
mov rcx, qword [0x140362e48]
lea rdx, [rsp + 0xa0]
mov dword [rsp + 0x30], 0x6a09e667
mov dword [rsp + 0x34], 0xbb67ae85
mov dword [rsp + 0x38], 0x3c6ef372
movups xmm0, xmmword [rcx]
mov eax, dword [rcx + 0x38]
movups xmm1, xmmword [rcx + 0x10]
mov dword [rsp + 0x88], eax
movzx eax, word [rcx + 0x3c]
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rcx + 0x20]
mov word [rsp + 0x8c], ax
movzx eax, byte [rcx + 0x3e]
movaps xmmword [rsp + 0x60], xmm1
movsd xmm1, qword [rcx + 0x30]
lea rcx, [rsp + 0x30]
movaps xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x3c], 0xa54ff53a
mov dword [rsp + 0x40], 0x510e527f
mov dword [rsp + 0x44], 0x9b05688c
mov dword [rsp + 0x48], 0x1f83d9ab
mov dword [rsp + 0x4c], 0x5be0cd19
mov qword [rsp + 0x90], 0x3f
movsd qword [rsp + 0x80], xmm1
mov byte [rsp + 0x8e], al
call fcn.140183370
xor eax, eax
lea r8, [0x140228888]
nop dword [rax + rax]
movzx ecx, byte [rax + r8]
cmp byte [rsp + rax + 0xa0], cl
jne 0x14017e4b3
inc rax
cmp rax, 0x20
jb 0x14017e440
movups xmm0, xmmword [0x1402289c0]
xor edx, edx
mov rcx, rbx
movups xmmword [rbx + 0xa0], xmm0
movups xmm1, xmmword [0x1402289d0]
movups xmmword [rbx + 0xb0], xmm1
call fcn.14017ebd0
mov dword [rbx], 1
mov rax, rbx
shr edi, 0xa
and edi, 1
mov dword [rbx + 0xc0], edi
mov rbx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140185d60
add rsp, 0xd0
pop rdi
ret
mov ecx, 2
call fcn.1401958d8
mov rcx, rax
lea r8, str.self_test_failed
lea rdx, str._libsecp256k1__internal_consistency_check_failed:__s_n
call fcn.1400b50e0
call fcn.1401a3150
int3
mov ecx, 2
call fcn.1401958d8
mov rcx, rax
lea r8, str.Invalid_flags
lea rdx, str._libsecp256k1__illegal_argument:__s_n
call fcn.1400b50e0
call fcn.1401a3150
int3
mov ecx, 2
call fcn.1401958d8
mov rcx, rax
lea r8, str.Out_of_memory
lea rdx, str._libsecp256k1__internal_consistency_check_failed:__s_n
call fcn.1400b50e0
call fcn.1401a3150
int3
Function at 0x14017f210
Capabilities:
Decompress data using quicklz

Disassembly:
mov eax, dword [rdx]
mov r9, rcx
and eax, 0x3ffffff
mov dword [rcx], eax
mov r8d, dword [rdx + 4]
mov eax, dword [rdx]
and r8d, 0xfffff
shr eax, 0x1a
shl r8d, 6
or r8d, eax
mov dword [rcx + 4], r8d
mov ecx, dword [rdx + 8]
mov eax, dword [rdx + 4]
and ecx, 0x3fff
shl ecx, 0xc
shr eax, 0x14
or ecx, eax
mov dword [r9 + 8], ecx
movzx ecx, byte [rdx + 0xc]
mov eax, dword [rdx + 8]
shr eax, 0xe
shl ecx, 0x12
or ecx, eax
mov dword [r9 + 0xc], ecx
mov ecx, dword [rdx + 0x10]
mov eax, dword [rdx + 0xc]
and ecx, 3
shr eax, 8
shl ecx, 0x18
or ecx, eax
mov dword [r9 + 0x10], ecx
mov eax, dword [rdx + 0x10]
shr eax, 2
and eax, 0x3ffffff
mov dword [r9 + 0x14], eax
mov ecx, dword [rdx + 0x14]
mov eax, dword [rdx + 0x10]
and ecx, 0x3fffff
shr eax, 0x1c
shl ecx, 4
or ecx, eax
mov dword [r9 + 0x18], ecx
movzx ecx, word [rdx + 0x18]
mov eax, dword [rdx + 0x14]
shr eax, 0x16
shl ecx, 0xa
or ecx, eax
mov dword [r9 + 0x1c], ecx
mov eax, dword [rdx + 0x1c]
movzx ecx, word [rdx + 0x1a]
and eax, 0x3ff
shl eax, 0x10
or ecx, eax
mov dword [r9 + 0x20], ecx
mov eax, dword [rdx + 0x1c]
shr eax, 0xa
mov dword [r9 + 0x24], eax
ret
Function at 0x1401818a0
Capabilities:
Hash data using sha256

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rdi
sub rsp, 0x100
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
mov rax, qword [0x140362e80]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rbx, r8
mov rdi, rcx
cmp r8, 0x40
ja 0x14018190f
lea rcx, [r11 - 0x78]
call fcn.1401baf30
mov r8d, 0x40
lea rcx, [rsp + 0x90]
sub r8, rbx
add rcx, rbx
xor edx, edx
call fcn.1401bb5d0
movdqu xmm0, xmmword [rsp + 0xc0]
movdqu xmm1, xmmword [rsp + 0xb0]
jmp 0x14018197d
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.140185ca0
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x20]
call fcn.140183370
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqa xmm7, xmmword [0x1401e2a70]
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 xmm6, xmm7
xorps xmm6, xmmword [rsp + 0x90]
movdqa xmm5, xmm7
xorps xmm5, xmmword [rsp + 0xa0]
movdqa xmm4, xmm7
mov dword [rcx + 0xc], 0xa54ff53a
xorps xmm4, xmm1
mov dword [rcx + 0x10], 0x510e527f
xorps xmm7, 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], xmm6
movdqu xmmword [rsp + 0xa0], xmm5
movdqu xmmword [rsp + 0xb0], xmm4
movdqu xmmword [rsp + 0xc0], xmm7
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.140183730
movdqa xmm3, xmmword [0x1401df100]
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, xmm6
mov dword [rdi + 0x10], 0x510e527f
xorps xmm1, xmm5
mov dword [rdi + 0x14], 0x9b05688c
xorps xmm0, xmm4
mov dword [rdi + 0x18], 0x1f83d9ab
xorps xmm3, xmm7
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.140183730
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140185d60
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140181af0
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 [0x140362e80]
xor rax, rsp
mov qword [rbp + 0x17], rax
movups xmm1, xmmword [rdx + 0x10]
mov eax, dword [rdx + 0x20]
mov r15, rdx
xorps xmm0, xmm0
mov dword [rbp - 0x41], eax
mov eax, dword [rcx + 0x20]
mov r13, rcx
movups xmmword [rsp + 0x34], xmm0
mov dword [rsp + 0x30], 0
mov ebx, 0xffffffff
movups xmmword [rbp - 0x75], xmm0
mov dword [rbp - 0x11], 1
mov r12d, 0x14
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 dword [rax + rax]
mov esi, dword [rbp - 0x61]
mov r9d, 1
mov eax, dword [rbp - 0x39]
xor r10d, r10d
xor r11d, r11d
mov edi, r9d
mov r14d, 0x1e
nop dword [rax + 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 0x140181ba0
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.140181f20
lea r8, [rsp + 0x20]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x61]
call fcn.140182340
sub r12, 1
jne 0x140181b80
mov edx, dword [rbp - 0x41]
lea rcx, [rsp + 0x30]
mov r8, r15
call fcn.140181ca0
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.140185d60
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 0x140183170
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.140182e60
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 0x14018334d
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 0x140186cb4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x1401bf240]
test rax, rax
je 0x140186cfe
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140186cfe
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140186cfe
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140186cfe
cmp dword [rcx + 0x84], 0xe
jbe 0x140186cfe
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140186d00
xor al, al
add rsp, 0x28
ret

Function at 0x140199bbc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401999b8
Function at 0x140001f70
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.0x140001f91
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 0x140001fbe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140001fc0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140002019
test ecx, ecx
jle 0x140001ff9
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 0x140002019
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140002019
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 0x140002040
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140002071
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140002088
mov rbp, qword [rsp + 0x40]
mov rsi, 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], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400020ab
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400020ad
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400020e9
mov qword [rsp + 0x38], 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 + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000217e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140002124
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 0x14000215e
nop dword [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 0x14000217e
cmp rbx, rax
ja 0x140002130
test rbx, rbx
je 0x14000217e
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
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
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