joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c0d3f4c0
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x1c0d3f746
push rbp
mov rbp, rsp
sub rsp, 0x38
test byte [rax], al
mov rcx, qword [rax + 0x1268]
lea rsi, [rax + 0x1278]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x1c0d3f73a
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1268], 0
cmp byte [0x1c0f1d612], 0
jne 0x1c0d3f51a
xor edx, edx
xor ebx, ebx
jmp 0x1c0d3f560
xor edx, edx
jmp 0x1c0d3f545
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1278]
mov rax, rcx
call fcn.1c0d2e880
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x1c0d3f51e
add rax, 0x1268
call fcn.1c0d3f440
add rsp, 0x38
pop rbp
ret
inc rdx
nop
cmp rdx, rcx
jge 0x1c0d3f6d4
mov rsi, qword [rax + rdx*8 + 0x1278]
cmp rsi, 0x1000
jb 0x1c0d3f55b
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
call fcn.1c0d22ae0
test rax, rax
jne 0x1c0d3f5ac
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x1c0d3f55b
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
mov r8, rcx
shr r8, 3
movzx r9d, byte [rsi + r8]
and ecx, 7
mov r10d, 1
shl r10d, cl
nop
add rsi, r8
test r10b, r9b
je 0x1c0d3f5ec
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x1c0d3f55b
nop
lock or byte [rsi], r10b
mov rcx, qword [rbx + 0x18]
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
nop
nop
nop
cmp r8, 0x40
jae 0x1c0d3f72d
lea r10, [0x1c0eef9f8]
mov r8, qword [r10 + r8*8]
test byte [r8], al
mov r10, rcx
shr r10, 0x10
and r10d, 0x3f
shr rcx, 0xd
and ecx, 7
mov r11d, 1
shl r11d, cl
shr r9, 0x16
and r9d, 0xfffff
mov r8, qword [r8 + r9*8]
test byte [r8], al
movzx r9d, byte [r8 + r10 + 0x11440]
lea r8, [r8 + r10]
lea r8, [r8 + 0x11440]
test r11b, r9b
jne 0x1c0d3f66f
lock or byte [r8], r11b
movzx r8d, byte [rbx + 0x6a]
test r8b, 1
je 0x1c0d3f6a5
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1250]
add r8, qword [rbx + 0x70]
mov qword [rax + 0x1250], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x1c0d3f55b
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x1c0d3f725
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1278], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x1c0d3f55b
cmp rbx, 0x200
ja 0x1c0d3f714
lea rdx, [rax + 0x1278]
lea rsi, [rax + 0x1240]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.1c0d350c0
mov rax, qword [rsp + 0x48]
add rax, 0x1268
call fcn.1c0d3f440
add rsp, 0x38
pop rbp
ret
mov rcx, rbx
mov edx, 0x200
nop dword [rax]
call fcn.1c0d72200
mov rax, r8
call fcn.1c0d72180
mov rax, r8
mov ecx, 0x40
call fcn.1c0d721a0
mov edx, 0x200
nop
call fcn.1c0d721e0
nop
mov qword [rsp + 8], rax
call fcn.1c0d76a80
mov rax, qword [rsp + 8]
jmp fcn.1c0d3f4c0
Function at 0x1c0d54380
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1c0d544e7
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x1c0d54392
cmp edx, ecx
jne 0x1c0d544d5
nop word [rax + rax]
test rsi, rsi
jne 0x1c0d544d5
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x1c0d543f4
nop
call fcn.1c0d73a20
xorps xmm15, xmm15
mov r14, qword [0x1c0f1d848]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.1c0d542a0
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x1c0d544d0
mov rdx, qword [0x1c0eca518]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x1c0d544c5
mov rcx, qword [0x1c0eca510]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x1c0ecb290]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x1c0ecb290], rax
nop
mov edx, 1
lea rsi, [0x1c0ecb298]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1228]
shr rdx, 0x3d
test dl, dl
jne 0x1c0d544b3
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1228], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x1c0e03a27]
mov ebx, 0x28
nop
call fcn.1c0d457e0
mov rax, rsi
mov rcx, rdx
call fcn.1c0d72180
call fcn.1c0d43e60
lea rax, [0x1c0e02bd3]
mov ebx, 0x23
call fcn.1c0d457e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.1c0d6fee0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.1c0d54380
Function at 0x1c0d5fc40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x1c0d5fdb7
movzx edx, byte [rax]
test edx, edx
jne 0x1c0d5fc74
nop dword [rax]
test r8b, r8b
jne 0x1c0d5fc74
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x1c0d5fc87
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x1c0d5fd77
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x1c0d5fd65
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x1c0d5fd57
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x1c0d5fcdd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x1c0d5fd20
mov eax, 1
cmp rax, rbx
ja 0x1c0d5fd0b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.1c0d72240
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x1c0d5fd4f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x1c0d5fd13
mov rcx, r11
mov eax, r12d
jmp 0x1c0d5fce2
mov rcx, rbx
call fcn.1c0d72180
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.1c0d72180
mov eax, r8d
mov rcx, rbx
call fcn.1c0d72240
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x1c0d5fdad
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x1c0d5fd70
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x1c0d5fc8d
mov eax, edx
mov rcx, rbx
call fcn.1c0d72180
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.1c0d72180
nop
int3
Function at 0x1c0d67340
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1c0d673ef
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x1c0d67440]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.1c0d6fda0
xorps xmm15, xmm15
mov r14, qword [0x1c0f1d848]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.1c0d6fee0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.1c0d67340
Function at 0x1c0d71cc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1c0d13d43
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.1c0d19820
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.1c0d6fee0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x1c0d13d20
cmp byte [0x1c0f1d60c], 0
je 0x1c0d71cd5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x1c0d6ef40
jmp 0x1c0d13d20

Function at 0x1c0d71ce0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x1c0f1d900]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x1c0f1d60c], 0
je 0x1c0d71d15
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x1c0f1dbc0]
aesenc xmm0, xmmword [0x1c0f1dbd0]
aesenc xmm0, xmmword [0x1c0f1dbe0]
movq rax, xmm0
ret
jmp 0x1c0d19a40

Function at 0x1c0d71d20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x1c0f1d900]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x1c0f1d60c], 0
je 0x1c0d71d56
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x1c0f1dbc0]
aesenc xmm0, xmmword [0x1c0f1dbd0]
aesenc xmm0, xmmword [0x1c0f1dbe0]
movq rax, xmm0
ret
jmp 0x1c0d19aa0

Function at 0x1c0d7bac0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1c0d7bb8a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.1c0d13c00
xorps xmm15, xmm15
mov r14, qword [0x1c0f1d848]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x1c0d7bb6f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x1c0de1480]
xor ebx, ebx
mov rcx, rdx
call fcn.1c0d58660
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.1c0d7c460
inc rbx
cmp rcx, rbx
jae 0x1c0d7bb5e
mov edi, 1
lea rsi, [0x1c0de1480]
call fcn.1c0d58740
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x1c0e21368]
lea rsi, [0x1c0e20c60]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.1c0d6fee0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.1c0d7bac0
Function at 0x1c0d86d60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1c0d86e5e
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rsi
nop dword [rax]
test r8, r8
je 0x1c0d86de2
cmp r8, rdi
ja 0x1c0d86e52
cmp rsi, rbx
je 0x1c0d86dc5
mov rdx, rbx
lea rdi, [rsi + r8]
lea rdi, [rdi - 1]
nop
nop
cmp rdi, rbx
jb 0x1c0d86dc2
mov rdi, rsi
lea r9, [rdx + r8]
lea r9, [r9 - 1]
cmp r9, rsi
jae 0x1c0d86e3f
mov rbx, rdx
mov rsi, rdi
nop
jmp 0x1c0d86dc5
mov rbx, rdx
test byte [rax], al
lea rdx, [r8 - 1]
cmp rcx, rdx
jbe 0x1c0d86e37
movzx ecx, byte [rax + 0x400]
movzx edx, byte [rax + 0x401]
xor edi, edi
jmp 0x1c0d86e20
add rsp, 0x10
pop rbp
ret
movzx r9d, byte [rsi + rdi]
inc ecx
movzx r10d, cl
mov r11d, dword [rax + r10*4]
add edx, r11d
movzx r12d, dl
mov r13d, dword [rax + r12*4]
mov dword [rax + r10*4], r13d
mov dword [rax + r12*4], r11d
lea r10d, [r11 + r13]
movzx r10d, r10b
xor r9d, dword [rax + r10*4]
mov byte [rbx + rdi], r9b
inc rdi
nop dword [rax]
cmp r8, rdi
jg 0x1c0d86de8
mov byte [rax + 0x400], cl
mov byte [rax + 0x401], dl
add rsp, 0x10
pop rbp
ret
mov rax, rdx
call fcn.1c0d72180
lea rax, [0x1c0de1000]
lea rbx, [0x1c0e20f88]
call fcn.1c0d45060
mov rcx, r8
mov rdx, rdi
call fcn.1c0d72200
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
call fcn.1c0d6fee0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
jmp fcn.1c0d86d60
Function at 0x1c0daff40
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x1c0daff57
inc rax
cmp rax, 4
jge 0x1c0daff6f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x1c0daff54
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x1c0daff80
inc rax
cmp rax, 4
jge 0x1c0daff8e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x1c0daffb7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x1c0daff9b
jmp 0x1c0daff7d

Function at 0x1c0dbf280
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1c0dc0100
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1c0dc0100
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1c0dbf2f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1c0f22144]
mov rbx, rcx
test esi, esi
jle 0x1c0dbf420
mov rax, qword [0x1c0f22148]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1c0dbf33b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1c0dbf3c5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1c0dbf320
mov rcx, rbx
call fcn.1c0dbfb50
mov rdi, rax
test rax, rax
je 0x1c0dbf442
mov rax, qword [0x1c0f22148]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1c0dbfc90
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1c0f22148]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1c0dbf427
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1c0dbf3be
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1c0dbf3d0
add dword [0x1c0f22144], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1c0f22148]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1c0dbf3be
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1c0dbf280
nop dword [rax]
xor esi, esi
jmp 0x1c0dbf348
mov rax, qword [0x1c0f22148]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1c0dbf280
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1c0dbf280
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x1c0dbf7c0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1c0f22180]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1c0f22160]
test rbx, rbx
je 0x1c0dbf81c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1c0dbf813
test eax, eax
jne 0x1c0dbf813
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1c0dbf7f8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x1c0dbfb50
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1c0ec30a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1c0dbfb70
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1c0dbfb78
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1c0dbfb70
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1c0dbfbcd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1c0dbfbc4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1c0dbfb70
add rax, 0x28
cmp rax, r9
jne 0x1c0dbfbb0
xor eax, eax
ret

Function at 0x1c0dbfbd0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1c0ec30a0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1c0dbfbef
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1c0dbfbf8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1c0dbfbef
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1c0dbfc90
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1c0ec30a0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1c0dbfcaf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1c0dbfcb8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x1400036b0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x680
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x670], rax
xor ebp, ebp
lea rdx, [rsp + 0x50]
mov ecx, 0x104
mov dword [rsp + 0x44], ebp
mov dword [rsp + 0x40], ebp
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x14000121d
lea r9, str.delays.tmp
lea r8, [rsp + 0x50]
lea rdx, str._s_s
lea rcx, [rsp + 0x260]
call qword [sym.imp.USER32.dll_wsprintfW]
mov esi, ebp
nop
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x260]
mov dword [rsp + 0x28], pe_nt_image_headers64
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000121d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0xfffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ecx, ecx
mov rbx, rax
call sub.api_ms_win_crt_time_l1_1_0.dll__time32
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, eax
mov r8d, 0xfffff
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0xff
sub ecx, eax
mov edx, ecx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rbp
mov r8d, 0xfffff
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [rsp + 0x40]
test eax, eax
je 0x14000120b
cmp edx, 0xfffff
jne 0x14000120b
xor edx, edx
mov r8d, 0xfffff
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], rbp
lea rcx, [rsp + 0x260]
mov dword [rsp + 0x28], 0x4000100
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000121d
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rbp
mov r8d, 0xfffff
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [rsp + 0x44]
test eax, eax
je 0x140001202
cmp edx, 0xfffff
jne 0x140001202
xor edx, edx
mov r8d, 0xfffff
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc rsi
cmp rsi, 0x7d0
jb 0x140001070
mov eax, 1
jmp 0x14000121f
lea rcx, str.___Read__d_Bytes_of__d__n
jmp 0x140001212
lea rcx, str.___Written__d_Bytes_of__d__n
mov r8d, 0xfffff
call fcn.140001bf0
xor eax, eax
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.140002210
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140001400
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x140
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rdi, qword [rcx + 0x20]
test rdi, rdi
je 0x1400014ff
mov ebp, 0x104
nop dword [rax + rax]
movzx eax, word [rdi + 0x48]
test ax, ax
je 0x1400014ff
cmp ax, bp
jae 0x1400014ff
mov rax, qword [rdi + 0x50]
xor ebx, ebx
cmp word [rax], bx
je 0x140001496
xor esi, esi
xor ecx, ecx
movzx ecx, word [rcx + rax]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
inc ebx
mov byte [rsp + rsi + 0x20], al
mov rax, qword [rdi + 0x50]
mov esi, ebx
lea rcx, [rbx + rbx]
cmp word [rcx + rax], 0
jne 0x140001475
mov eax, ebx
cmp rax, rbp
jae 0x140001530
mov byte [rsp + rbx + 0x20], 0
lea rcx, [rsp + 0x20]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
movsxd rdx, eax
test eax, eax
je 0x1400014f3
nop dword [rax]
movsx eax, byte [rsp + rcx + 0x20]
inc rcx
add eax, ebx
imul ebx, eax, 0x101
mov eax, ebx
shr eax, 6
xor ebx, eax
cmp rcx, rdx
jne 0x1400014c0
lea eax, [rbx + rbx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
cmp eax, 0xfd2ad9bd
je 0x14000152a
mov rdi, qword [rdi]
test rdi, rdi
jne 0x140001450
xor eax, eax
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140002210
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rax, qword [rdi + 0x20]
jmp 0x140001501
call fcn.140002338
int3
Function at 0x14000b5f0
Capabilities:
Parse pe header

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