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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov r8, qword [r8]
xor r14d, r14d
mov rsi, rdx
mov dword [rbp - 0x29], r14d
mov rdi, rcx
mov r10, r8
cmp qword [r8 + 0x18], 8
mov rdx, qword [r8 + 0x10]
jb 0x14019dc74
mov r10, qword [r8]
movabs r9, 0xcbf29ce484222325
mov rcx, r14
add rdx, rdx
je 0x14019dca4
movzx eax, byte [rcx + r10]
movabs r11, 0x100000001b3
xor r9, rax
inc rcx
imul r9, r11
cmp rcx, rdx
jb 0x14019dc86
lea rdx, [rbp - 0x21]
mov rcx, rsi
call fcn.14016bddc
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x14019dce5
cmp rbx, qword [rsi + 8]
je 0x14019dce5
lea rdx, [rbx + 0x30]
lea rcx, [rbp + 0x1f]
call fcn.14000edb4
movsd xmm0, qword [rbx + 0x50]
lea rax, [rbp + 0x1f]
movsd qword [rbp + 0x3f], xmm0
mov ebx, 0x34
mov byte [rbp + 0x47], 1
jmp 0x14019dcf2
mov byte [rbp + 0x17], r14b
lea rax, [rbp - 0x11]
mov ebx, 0x18
mov byte [rdi + 0x28], r14b
cmp byte [rax + 0x28], r14b
je 0x14019dd26
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
movups xmmword [rdi], xmm0
mov qword [rax + 0x18], 7
movups xmmword [rdi + 0x10], xmm1
mov word [rax], r14w
mov rax, qword [rax + 0x20]
mov qword [rdi + 0x20], rax
mov byte [rdi + 0x28], 1
test bl, 8
je 0x14019dd61
and ebx, 0xfffffff7
cmp byte [rbp + 0x17], r14b
je 0x14019dd61
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14019dd4f
mov rcx, qword [rbp - 0x11]
lea rdx, [rdx*2 + 2]
call fcn.1400131d4
movdqa xmm0, xmmword [0x140207870]
movdqu xmmword [rbp - 1], xmm0
mov word [rbp - 0x11], r14w
test bl, 4
je 0x14019dd87
cmp byte [rbp + 0x47], r14b
je 0x14019dd87
mov rdx, qword [rbp + 0x37]
cmp rdx, 8
jb 0x14019dd87
mov rcx, qword [rbp + 0x1f]
lea rdx, [rdx*2 + 2]
call fcn.1400131d4
lea r11, [rsp + 0xa0]
mov rax, rdi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14019eec0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14023ab58]
xor rax, rsp
mov qword [rbp + 0x60], rax
xor esi, esi
mov rax, rdx
cmp qword [rdx + 0x18], 8
mov rbx, rcx
mov qword [rsp + 0x30], rsi
jb 0x14019eeff
mov rax, qword [rdx]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rcx
mov r14d, 0x1c
mov rcx, rax
mov edx, r14d
xor r9d, r9d
mov r8d, 0x6000
call qword [sym.imp.DNSAPI.dll_DnsQuery_W]
cmp eax, 0x25e5
jne 0x14019ef55
movups xmm0, xmmword [rsp + 0x38]
mov byte [rsp + 0x50], sil
movsd xmm1, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x50]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
mov dword [rbx + 0x18], ecx
mov byte [rbx + 0x30], sil
jmp 0x14019efcc
test eax, eax
je 0x14019ef7a
movups xmm0, xmmword [rsp + 0x38]
mov byte [rsp + 0x50], sil
movsd xmm1, qword [rsp + 0x48]
mov eax, dword [rsp + 0x50]
movups xmmword [rbx], xmm0
movsd qword [rbx + 0x10], xmm1
mov dword [rbx + 0x18], eax
jmp 0x14019ef4f
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x58], rdi
mov byte [rsp + 0x60], sil
jmp 0x14019ef9a
cmp word [rdi + 0x10], r14w
je 0x14019eff3
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rdi
test rdi, rdi
jne 0x14019ef8b
movups xmm0, xmmword [rsp + 0x38]
mov byte [rsp + 0x50], sil
movsd xmm1, qword [rsp + 0x48]
mov eax, dword [rsp + 0x50]
movups xmmword [rbx], xmm0
mov byte [rbx + 0x30], sil
movsd qword [rbx + 0x10], xmm1
mov dword [rbx + 0x18], eax
lea rcx, [rsp + 0x58]
call fcn.14019f584
mov rax, rbx
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1401d2140
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
xor edx, edx
lea rcx, [rbp - 0x1e]
lea r8d, [rdx + 0x7e]
call fcn.1401d4210
cmp dword [rdi + 0x28], 0xffff0000
jne 0x14019f026
cmp dword [rdi + 0x24], esi
jne 0x14019f026
cmp dword [rdi + 0x20], esi
jne 0x14019f026
mov eax, 2
mov word [rbp - 0x20], ax
mov eax, dword [rdi + 0x2c]
mov dword [rbp - 0x1c], eax
jmp 0x14019f04c
mov eax, 0x17
lea rcx, [rbp - 0x18]
add rdi, 0x20
mov word [rbp - 0x20], ax
sub rcx, rdi
lea edx, [rax - 0x13]
mov eax, dword [rdi]
mov dword [rcx + rdi], eax
lea rdi, [rdi + 4]
sub rdx, 1
jne 0x14019f03d
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x38]
call fcn.1400c48fc
lea rdx, [rbp - 0x60]
mov rcx, rbx
movups xmm1, xmmword [rax]
movups xmmword [rsp + 0x68], xmm1
movsd xmm0, qword [rax + 0x10]
movsd qword [rsp + 0x78], xmm0
movsd qword [rbp - 0x50], xmm0
mov byte [rbp - 0x68], sil
movups xmmword [rbp - 0x60], xmm1
mov byte [rbp - 0x30], sil
call fcn.14019f68c
movsx rax, byte [rbp - 0x68]
add rax, 1
je 0x14019efc2
cmp rax, 1
je 0x14019efc2
lea rcx, [rbp - 0x78]
call fcn.1400260e4
lea rcx, [rsp + 0x78]
call fcn.14002633c
jmp 0x14019efc2
Function at 0x1401b37e8
Capabilities:
Encode data using xor
Hash data using fnv

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, 0x40
mov r15, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
lea r12, [rcx + 8]
mov qword [rax - 0x28], r12
and qword [rax - 0x20], 0
mov ecx, 0x70
call fcn.1401d2778
mov rdi, rax
mov qword [rsp + 0x38], rax
lea r14, [rax + 0x10]
mov rdx, qword [rbx]
mov rcx, r14
call fcn.14001e81c
and qword [r14 + 0x58], 0
mov rcx, qword [r15 + 0x38]
test rcx, rcx
je 0x1401b38a2
cmp rcx, r15
jne 0x1401b3899
mov rax, qword [rcx]
movabs r10, 0xfd00af42385ac270
lea rdx, [r14 + 0x20]
mov rax, qword [rax + 8]
call qword [case.0x14003356e.0]
mov qword [r14 + 0x58], rax
mov rcx, qword [r15 + 0x38]
test rcx, rcx
je 0x1401b38a2
mov rax, qword [rcx]
cmp rcx, r15
setne dl
movabs r10, 0xed1dae5b305f0370
mov rax, qword [rax + 0x20]
call qword [case.0x14003356e.0]
jmp 0x1401b389d
mov qword [r14 + 0x58], rcx
and qword [r15 + 0x38], 0
mov r8, qword [r14 + 0x10]
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x1401b38b3
mov rdx, qword [r14]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
add r8, r8
je 0x1401b38e1
movzx eax, byte [rcx + rdx]
xor rbx, rax
movabs r9, 0x100000001b3
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x1401b38c4
mov r9, rbx
mov r8, r14
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.14004b208
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1401b3928
mov qword [rsi], rax
mov byte [rsi + 8], 0
test rdi, rdi
je 0x1401b3a21
mov rcx, r14
call fcn.14015d070
mov edx, 0x70
mov rcx, rdi
call fcn.1400131d4
jmp 0x1401b3a21
mov rdx, qword [rbp + 0x10]
movabs rax, 0x249249249249249
cmp rdx, rax
je 0x1401b3a43
lea rcx, [rdx + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1401b3952
cvtsi2ss xmm0, rcx
jmp 0x1401b3967
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x1401b397a
cvtsi2ss xmm1, rcx
jmp 0x1401b398f
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
seta al
test al, al
je 0x1401b39c6
mov rcx, rbp
call fcn.140158740
mov r9, rbx
mov r8, r14
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.14004b208
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x20], xmm0
mov rdx, qword [rbp + 0x10]
mov r8, qword [rsp + 0x20]
mov r9, qword [r8 + 8]
lea rax, [rdx + 1]
mov qword [rbp + 0x10], rax
mov qword [rdi], r8
mov qword [rdi + 8], r9
mov qword [r9], rdi
mov qword [r8 + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, rbx
add rax, rax
mov rdx, qword [rcx + rax*8]
cmp rdx, qword [r12]
jne 0x1401b3a03
mov qword [rcx + rax*8], rdi
jmp 0x1401b3a15
cmp rdx, r8
jne 0x1401b3a0e
mov qword [rcx + rax*8], rdi
jmp 0x1401b3a1a
cmp qword [rcx + rax*8 + 8], r9
jne 0x1401b3a1a
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
lea rcx, str.unordered_map_set_too_long
call fcn.140056c84
int3
Function at 0x1401c7974
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
and dword [rax + 0x10], 0
mov r12, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
ja 0x1401c7b69
mov rsi, qword [r12 + 8]
lea rax, [rdx - 1]
and dword [rsp + 0x58], 0
lea rdi, [r12 + 0x18]
or rax, 1
mov ebx, 1
bsr rcx, rax
mov r8, rsi
inc ecx
shl rbx, cl
mov rcx, rdi
lea rdx, [rbx + rbx]
call fcn.140093a90
mov qword [r12 + 0x38], rbx
lea rax, [rbx - 1]
mov qword [r12 + 0x30], rax
mov r11, qword [r12 + 8]
mov r11, qword [r11]
mov rbx, r11
cmp r11, rsi
je 0x1401c7b16
mov rbx, qword [rbx]
lea r15, [r11 + 0x10]
cmp qword [r15 + 0x18], 8
mov r8, r15
mov r9, qword [r15 + 0x10]
jb 0x1401c7a24
mov r8, qword [r15]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
add r9, r9
je 0x1401c7a53
movzx eax, byte [rdx + r8]
movabs r10, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r10
cmp rdx, r9
jb 0x1401c7a35
mov r14, qword [r12 + 0x30]
mov rbp, qword [rdi]
and r14, rcx
add r14, r14
cmp qword [rbp + r14*8], rsi
jne 0x1401c7a77
mov qword [rbp + r14*8], r11
mov qword [rbp + r14*8 + 8], r11
jmp 0x1401c7b0a
mov rdi, qword [rbp + r14*8 + 8]
mov rcx, r15
lea rdx, [rdi + 0x10]
call fcn.140026d34
test al, al
je 0x1401c7abc
mov r8, qword [rdi]
cmp r8, r11
je 0x1401c7ab5
mov rdx, qword [r11 + 8]
mov qword [rdx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], r11
mov qword [r8 + 8], rcx
mov qword [rbx + 8], rdx
mov qword [r11 + 8], rax
mov qword [rbp + r14*8 + 8], r11
jmp 0x1401c7b05
mov r13, rdi
jmp 0x1401c7ad8
mov rdi, qword [rdi + 8]
mov rcx, r15
mov r13, rdi
lea rdx, [rdi + 0x10]
call fcn.140026d34
test al, al
jne 0x1401c7b43
cmp qword [rbp + r14*8], rdi
jne 0x1401c7ac1
mov rdx, qword [r11 + 8]
mov qword [rdx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], r13
mov rax, qword [r13 + 8]
mov qword [rax], r11
mov qword [r13 + 8], rcx
mov qword [rbx + 8], rdx
mov qword [r11 + 8], rax
mov qword [rbp + r14*8], r11
lea rdi, [r12 + 0x18]
mov r11, rbx
cmp rbx, rsi
jne 0x1401c7a0c
and qword [rsp + 0x58], 0
lea rcx, [rsp + 0x58]
call fcn.1401c7b78
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r8, qword [rdi]
mov rdx, qword [r11 + 8]
mov qword [rdx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], r11
mov qword [r8 + 8], rcx
mov qword [rbx + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1401c7b05
lea rcx, str.invalid_hash_bucket_count
call fcn.140056c84
int3
Function at 0x1401c7c04
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, r8
mov rbp, rdx
mov r13, rcx
cmp rdx, r8
je 0x1401c7d33
mov rax, qword [rcx + 8]
mov rbx, rdx
mov r15, qword [rcx + 0x18]
lea rcx, [rdx + 0x10]
cmp qword [rcx + 0x18], 8
mov rsi, qword [rdx + 8]
mov r9, qword [rcx + 0x10]
mov qword [rsp + 0x78], rax
jb 0x1401c7c50
mov rcx, qword [rcx]
xor eax, eax
movabs rdx, 0xcbf29ce484222325
mov r8d, eax
movabs r10, 0x100000001b3
add r9, r9
je 0x1401c7c82
movzx eax, byte [r8 + rcx]
inc r8
xor rdx, rax
imul rdx, r10
cmp r8, r9
jb 0x1401c7c6e
mov r14, qword [r13 + 0x30]
and r14, rdx
add r14, r14
mov rax, qword [r15 + r14*8]
mov qword [rsp + 0x80], rax
mov rax, qword [r15 + r14*8 + 8]
mov qword [rsp + 0x88], rax
mov r12, rbx
mov rbx, qword [rbx]
lea rcx, [r12 + 0x30]
mov rax, qword [rcx]
movabs r10, 0x8cedbeef125f9b70
mov rax, qword [rax]
xor edx, edx
call qword [case.0x14003356e.0]
mov rdx, qword [r12 + 0x28]
cmp rdx, 8
jb 0x1401c7ce5
mov rcx, qword [r12 + 0x10]
lea rdx, [rdx*2 + 2]
call fcn.1400131d4
xor eax, eax
mov qword [r12 + 0x28], 7
mov edx, 0xb8
mov qword [r12 + 0x20], rax
mov rcx, r12
mov word [r12 + 0x10], ax
call fcn.1400131d4
mov rax, qword [rsp + 0x88]
dec qword [r13 + 0x10]
cmp r12, rax
je 0x1401c7d4b
cmp rbx, rdi
jne 0x1401c7ca5
cmp qword [rsp + 0x80], rbp
jne 0x1401c7d2c
mov qword [r15 + r14*8], rbx
mov qword [rsi], rbx
mov qword [rbx + 8], rsi
mov rbx, qword [rsp + 0x70]
mov rax, rdi
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r12, qword [rsp + 0x78]
cmp qword [rsp + 0x80], rbp
jne 0x1401c7d63
mov qword [r15 + r14*8], r12
mov rax, r12
jmp 0x1401c7d66
mov rax, rsi
mov qword [r15 + r14*8 + 8], rax
cmp rbx, rdi
je 0x1401c7d2c
lea rcx, [rbx + 0x10]
cmp qword [rcx + 0x18], 8
mov r9, qword [rcx + 0x10]
jb 0x1401c7d82
mov rcx, qword [rcx]
xor eax, eax
movabs rdx, 0xcbf29ce484222325
mov r8d, eax
add r9, r9
je 0x1401c7db9
movabs r12, 0x100000001b3
movzx eax, byte [r8 + rcx]
inc r8
xor rdx, rax
imul rdx, r12
cmp r8, r9
jb 0x1401c7da0
mov r12, qword [rsp + 0x78]
mov r14, qword [r13 + 0x30]
and r14, rdx
add r14, r14
mov rax, qword [r15 + r14*8 + 8]
mov qword [rsp + 0x80], rax
mov rbp, rbx
mov rbx, qword [rbx]
lea rcx, [rbp + 0x30]
mov rax, qword [rcx]
movabs r10, 0x8cedbeef125f9b70
mov rax, qword [rax]
xor edx, edx
call qword [case.0x14003356e.0]
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x1401c7e0d
mov rcx, qword [rbp + 0x10]
lea rdx, [rdx*2 + 2]
call fcn.1400131d4
xor eax, eax
mov qword [rbp + 0x28], 7
mov edx, 0xb8
mov qword [rbp + 0x20], rax
mov rcx, rbp
mov word [rbp + 0x10], ax
call fcn.1400131d4
mov rax, qword [rsp + 0x80]
dec qword [r13 + 0x10]
cmp rbp, rax
je 0x1401c7e48
cmp rbx, rdi
je 0x1401c7d28
jmp 0x1401c7dd0
mov qword [r15 + r14*8], r12
mov qword [r15 + r14*8 + 8], r12
jmp 0x1401c7d6b
Function at 0x1401d1f7c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.1401d2528
test al, al
je 0x1401d20dd
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.1401d24ec
mov bl, al
mov ecx, dword [0x14023d950]
cmp ecx, 1
je 0x1401d20e8
test ecx, ecx
jne 0x1401d2009
mov dword [0x14023d950], 1
lea rdx, [0x1401f88d8]
lea rcx, [0x1401f88a8]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x1401d1fea
mov eax, 0xff
jmp 0x1401d20cd
lea rdx, [0x1401f88a0]
lea rcx, [0x1401f7688]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x14023d950], 2
jmp 0x1401d2011
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.1401d2698
call fcn.1401d2ba4
mov rbx, rax
cmp qword [rax], 0
je 0x1401d204e
mov rcx, rax
call fcn.1401d2600
test al, al
je 0x1401d204e
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [case.0x14003356e.0]
call fcn.1401d2bac
mov rbx, rax
cmp qword [rax], 0
je 0x1401d2070
mov rcx, rax
call fcn.1401d2600
test al, al
je 0x1401d2070
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_wide_environment
mov rdi, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv
mov rbx, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call main
mov ebx, eax
call fcn.1401d2d10
test al, al
je 0x1401d20f2
test sil, sil
jne 0x1401d20a7
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.1401d26bc
mov eax, ebx
jmp 0x1401d20cd
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.1401d2bbc
nop
mov ecx, 7
call fcn.1401d2bbc
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.1401d2ab4
add rsp, 0x28
jmp 0x1401d1f7c
Function at 0x1400012b0
Capabilities:
Inspect section memory permissions

Disassembly:
sub rsp, 0x18
mov r8, qword [rdx]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
mov eax, r9d
mov qword [rsp + 0x30], rsi
mov esi, dword [rdx + 8]
mov qword [rsp + 0x10], rdi
mov qword [rsp + 8], r14
mov r14d, 1
mov qword [rsp], r15
mov qword [rcx], r9
mov byte [rcx + 8], r9b
mov qword [rcx + 0xc], r9
bt r8, 0x11
jb 0x1400012f7
mov dword [rcx + 4], r14d
mov eax, r14d
bt r8, 0x12
jb 0x140001304
or eax, 2
mov dword [rcx + 4], eax
bt r8, 0x1a
jae 0x140001311
or eax, 4
mov dword [rcx + 4], eax
mov rbx, r8
mov rdi, r8
and ebx, r14d
and edi, 0x200000
mov r11d, 4
test rbx, rbx
je 0x140001333
mov dword [rcx], r11d
mov edx, r11d
jmp 0x140001346
mov edx, r9d
test rdi, rdi
je 0x140001346
mov dword [rcx], 0x40000000
mov edx, 0x40000000
mov r15d, 0x80000000
test r8, 0x801
je 0x14000137a
mov qword [rsp + 0x28], rbp
or edx, r15d
mov ebp, 0x80200001
mov dword [rcx], edx
mov rax, r8
and rax, rbp
cmp rax, rbp
mov rbp, qword [rsp + 0x28]
jne 0x14000137a
bts edx, 0x1e
mov dword [rcx], edx
test r15, r8
je 0x140001396
lea rdx, [rcx + 0xc]
mov eax, r14d
bt r8, 8
jb 0x140001392
mov eax, 2
mov dword [rdx], eax
jmp 0x1400013d1
bt r8, 0xb
jb 0x1400013c2
test rbx, rbx
je 0x1400013a8
mov dword [rcx + 0xc], r11d
jmp 0x1400013d1
test rdi, rdi
je 0x1400013d1
mov rax, r8
and eax, 0x100
neg rax
sbb eax, eax
add eax, 2
mov dword [rcx + 0xc], eax
jmp 0x1400013d1
test rbx, rbx
setne r9b
add r9d, 3
mov dword [rcx + 0xc], r9d
mov rdi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x20]
test r8b, 0x10
je 0x1400013ee
bt r8, 8
cmovb r11d, r14d
mov dword [rcx + 0xc], r11d
mov r14, qword [rsp + 8]
test r8b, 0x20
je 0x140001400
mov dword [rcx + 0x10], 0x20000000
bt r8, 0x1b
jae 0x14000140b
or dword [rcx + 0x10], r15d
mov r15, qword [rsp]
bt r8, 0xe
jae 0x14000141d
or dword [rcx + 0x10], 0x40000000
bt r8, 9
jae 0x14000142b
or dword [rcx + 0x10], 0x200000
test r8b, 0x40
je 0x14000144b
or dword [rcx + 0x10], 0x2000010
cmp dword [rcx + 0xc], 0
jne 0x14000144b
or dword [rcx], 0x12019f
mov dword [rcx + 0xc], 3
mov al, 1
test r8b, 2
je 0x140001459
or dword [rcx + 0x10], 0x20
xor al, al
test r8b, r8b
jns 0x140001467
or dword [rcx + 0x10], 0x4000
xor al, al
bt r8, 0xa
jae 0x140001474
or dword [rcx + 0x10], 2
xor al, al
test r8b, 8
je 0x140001483
or dword [rcx + 0x10], 0x800
xor al, al
bt r8, 0x1c
jae 0x140001490
or dword [rcx + 0x10], 4
xor al, al
bt r8, 0x14
jae 0x1400014a0
or dword [rcx + 0x10], 0x1000
jmp 0x1400014ab
test al, al
je 0x1400014ab
or dword [rcx + 0x10], 0x80
bt r8, 0x17
jb 0x1400014c1
test r8b, 0x40
jne 0x1400014c8
or dword [rcx + 0x10], 0x10000000
jmp 0x1400014c8
or dword [rcx + 0x10], 0x8000000
bt r8, 0x10
jae 0x1400014d6
or dword [rcx + 0x10], 0x100000
test r8b, 4
jne 0x1400014e3
or dword [rcx + 0x10], 0x1000000
bt r8, 0x19
jae 0x1400014f1
or dword [rcx + 0x10], 0x800000
bt r8, 0x1d
jae 0x1400014ff
or dword [rcx + 0x10], 0x4000100
test sil, sil
mov rax, rcx
mov rsi, qword [rsp + 0x30]
js 0x140001510
or dword [rcx + 0x10], 1
add rsp, 0x18
ret
Function at 0x140001bb0
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140009040]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor ecx, ecx
call qword [sym.imp.MSVCP140.dll_public:_static_bool___cdecl_std::ios_base::sync_with_stdio_bool_]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rcx]
movsxd rdx, dword [rax + 4]
mov qword [rdx + rcx + 0x50], 0
lea rax, str.test1.txt
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 9
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.140001630
nop
lea rcx, [rsp + 0x20]
call fcn.140001550
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, str.testik.txt
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0xa
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.1400018d0
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov r9, rax
cmp rbx, 0x989680
jne 0x140001c7b
imul rcx, r9, 0x64
jmp 0x140001cf4
cmp rbx, 0x16e3600
jne 0x140001cd9
movabs r10, 0xb2f4fc0794908cf3
mov rax, r10
imul r9
add rdx, r9
sar rdx, 0x18
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
imul r8, rdx, 0x3b9aca00
imul rcx, rdx, 0x16e3600
sub r9, rcx
imul rcx, r9, 0x3b9aca00
mov rax, r10
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rcx, rdx
shr rcx, 0x3f
add rcx, rdx
add rcx, r8
jmp 0x140001cf4
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rcx, rax
sub rcx, qword [rsp + 0x20]
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_long___int64_____ptr64]
mov rcx, rax
call fcn.140002eb0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140001d77
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d72
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003ad0
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400037a0
add rsp, 0x80
pop rbx
ret
Function at 0x140002130
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.0x140002151
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 0x14000217e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140002180
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400021d9
test ecx, ecx
jle 0x1400021b9
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 0x1400021d9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400021d9
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