joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140155fb0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x14036e038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x1402eb060]
lea r12, [rsp + 0x60]
movaps xmmword [r12 + 0x30], xmm0
movaps xmmword [r12 + 0x20], xmm0
movaps xmmword [r12 + 0x10], xmm0
movaps xmmword [r12], xmm0
lea rdx, str.Read
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x42
call fcn.140162be0
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.140159400
mov ebp, 0xffffffff
test r14, r14
js 0x1401560ac
test esi, esi
js 0x1401560ac
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.140172590
test al, al
jne 0x1401560f2
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1401560da
mov ebp, dword [rsp + 0x2c]
test ebp, ebp
js 0x1401560ed
lea rcx, [rsp + 0x30]
call fcn.1401728f0
lea rcx, [rsp + 0x60]
call fcn.140159480
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1401b0080
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebp, ebp
cmp eax, 0x26
setne bpl
neg ebp
jmp 0x1401560a2
int3
mov r9d, esi
lea rdx, str.File::Read
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14026d340
jmp 0x140156064

Function at 0x140156110
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14036e038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x1402eb060]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.ReadAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x5f
call fcn.140162be0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140159400
test esi, esi
js 0x140156215
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.140172590
test al, al
jne 0x140156221
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14015623d
mov esi, dword [rsp + 0x2c]
test esi, esi
js 0x14015621c
lea rcx, [rsp + 0x30]
call fcn.1401728f0
lea rcx, [rsp + 0x50]
call fcn.140159480
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401b0080
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x1401561ea
int3
mov r9d, esi
lea rdx, str.File::ReadAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14026d340
jmp 0x1401561b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x1401561e0
Function at 0x140156250
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x14036e038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x1402eb060]
lea r12, [rsp + 0x60]
movaps xmmword [r12 + 0x30], xmm0
movaps xmmword [r12 + 0x20], xmm0
movaps xmmword [r12 + 0x10], xmm0
movaps xmmword [r12], xmm0
lea rdx, str.Write
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x7f
call fcn.140162be0
mov rcx, r12
mov rdx, r15
xor r8d, r8d
call fcn.140159400
mov ebp, 0xffffffff
test r14, r14
js 0x140156349
test esi, esi
js 0x140156349
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.140172590
test al, al
jne 0x140156377
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
lea r14, [rsp + 0x2c]
mov dword [r14], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor ebp, ebp
cmp eax, 1
sbb ebp, ebp
or ebp, dword [r14]
lea rcx, [rsp + 0x30]
call fcn.1401728f0
lea rcx, [rsp + 0x60]
call fcn.140159480
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1401b0080
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r9d, esi
lea rdx, str.File::Write
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14026d340
jmp 0x140156300

Function at 0x1401563a0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14036e038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x1402eb060]
lea r14, [rsp + 0x50]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.WriteAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, ILFree
call fcn.140162be0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140159400
test esi, esi
js 0x1401564a6
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.140172590
test al, al
jne 0x1401564ad
lea r14, [rsp + 0x2c]
mov dword [r14], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, esi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [r14]
lea rcx, [rsp + 0x30]
call fcn.1401728f0
lea rcx, [rsp + 0x50]
call fcn.140159480
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401b0080
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14015647b
mov r9d, esi
lea rdx, str.File::WriteAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14026d340
jmp 0x140156440
Function at 0x140165d70
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.140155f80
mov qword [rsi], 0
test rax, rax
je 0x140165dd7
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x140165dbd
call fcn.140162c00
mov rcx, qword [rsi]
call fcn.140151f40
mov qword [rsi], 0
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140165dcf
mov qword [rsi], rbx
call fcn.140162c00
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.140163570
lea rcx, [rsi + 0x20]
call fcn.1401725b0
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x14016b3e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
je 0x14016b3f5
mov r8d, r8d
add rsp, 0x28
jmp fcn.14016abd0
test r8d, r8d
jne 0x14016b3ff
call fcn.1400e14e0
xor eax, eax
add rsp, 0x28
ret

Function at 0x14016cad0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x14016cb68
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x14016cb33
call fcn.140162c00
mov rcx, qword [rsi]
call fcn.140151f40
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14016cb45
mov qword [rsi], rdi
call fcn.140162c00
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 0
inc rax
cmp rax, 1
jbe 0x14016cb6c
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov byte [rsi + 8], 0
int3

Function at 0x14016cc10
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14036e038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140384798]
mov ecx, dword [0x14037f078]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14016cc70
mov rsi, qword [0x140384790]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401b0080
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140384798]
call fcn.1401aead0
cmp dword [0x140384798], 0xffffffff
jne 0x14016cc4c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1401b21d0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.1401ae97c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1403847e0]
mov ecx, dword [0x14037f078]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14016cd30
lea r8, [0x1403847b0]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.1400bdf30
mov qword [0x140384790], rsi
lea rcx, [0x140384798]
call fcn.1401aeb68
jmp 0x14016cc4c
lea rcx, [0x1403847e0]
call fcn.1401aead0
cmp dword [0x1403847e0], 0xffffffff
jne 0x14016cd01
xorps xmm0, xmm0
movups xmmword [0x1403847d0], xmm0
movups xmmword [0x1403847c0], xmm0
movups xmmword [0x1403847b0], xmm0
lea rcx, [0x1403847b0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1403847e0]
call fcn.1401aeb68
jmp 0x14016cd01
Function at 0x14016e190
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
cmp rdx, r9
mov r10, r9
cmovb r10, rdx
xor eax, eax
test r10, r10
je 0x14016e1ef
xor r11d, r11d
mov rsi, qword [r8 + r11*8]
mov rdi, qword [rcx + r11*8]
mov rbx, rdi
xor rbx, rsi
lea r14, [rbx - 1]
mov r15, rdi
sub r15, rsi
xor r15, rdi
or r15, rbx
not rbx
and r14, rbx
sar r14, 0x3f
xor r15, rdi
sar r15, 0x3f
or r15, 1
xor rax, r15
and rax, r14
xor rax, r15
inc r11
cmp r10, r11
jne 0x14016e1ab
cmp rdx, r9
jb 0x14016e1fe
ja 0x14016e222
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ecx, ecx
or rcx, qword [r8 + rdx*8]
inc rdx
cmp r9, rdx
jne 0x14016e200
mov rdx, rcx
not rdx
dec rcx
and rcx, rdx
sar rcx, 0x3f
not ecx
or eax, ecx
jmp 0x14016e1f6
xor r8d, r8d
or r8, qword [rcx + r9*8]
inc r9
cmp rdx, r9
jne 0x14016e225
mov rcx, r8
not rcx
dec r8
and r8, rcx
sar r8, 0x3f
xor eax, 1
and eax, r8d
xor eax, 1
jmp 0x14016e1f6
Function at 0x14016e3d0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rdx
movsxd rdx, dword [rdx + 8]
test rdx, rdx
je 0x14016e510
mov rsi, rcx
mov rax, qword [rdi]
xor ecx, ecx
xor r8d, r8d
or r8, qword [rax + rcx*8]
inc rcx
cmp rdx, rcx
jne 0x14016e3f2
test r8, r8
je 0x14016e510
test edx, edx
jle 0x14016e557
mov rax, qword [rdi]
test byte [rax], 1
je 0x14016e557
cmp dword [rdi + 0x10], 0
jne 0x14016e5d7
cmp edx, 0x401
jae 0x14016e597
lea rbx, [rsi + 0x18]
cmp rbx, rdi
je 0x14016e475
mov rcx, rbx
call fcn.1400c33e0
test eax, eax
je 0x14016e577
movsxd r8, dword [rdi + 8]
test r8, r8
je 0x14016e548
shl r8, 3
mov rcx, qword [rbx]
mov rdx, qword [rdi]
call fcn.1401b1b20
mov eax, dword [rdi + 8]
mov dword [rsi + 0x20], eax
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x28], eax
mov rdi, rbx
test rdi, rdi
je 0x14016e577
mov eax, dword [rsi + 0x20]
test eax, eax
jle 0x14016e54f
mov rcx, qword [rbx]
mov edx, eax
cmp qword [rcx + rdx*8 - 8], 0
jne 0x14016e4a5
lea edx, [rax - 1]
cmp eax, 1
mov eax, edx
jg 0x14016e48c
jmp 0x14016e535
mov dword [rsi + 0x20], eax
mov rax, qword [rbx]
mov rax, qword [rax]
mov r9d, 1
mov edx, 0x40
xor ecx, ecx
movabs r8, 0x8000000000000000
mov r10d, r9d
and r10d, 1
neg r10
mov r11, rax
and r11, r10
mov rdi, r11
xor rdi, r9
shr rdi, 1
and r11, r9
add r11, rdi
and r10, r8
shr rcx, 1
or rcx, r10
mov r9, r11
dec rdx
jne 0x14016e4c5
mov qword [rsi + 0x30], rcx
mov qword [rsi + 0x38], 0
mov esi, 1
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov dword [rsp + 0x20], 0xaa
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x69
call fcn.14028f7e0
jmp 0x14016e506
mov dword [rsi + 0x20], 0
mov dword [rsi + 0x28], 0
jmp 0x14016e4a8
xor eax, eax
jmp 0x14016e469
jne 0x14016e4a8
jmp 0x14016e53c
mov dword [rsp + 0x20], 0xae
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x68
jmp 0x14016e52e
mov dword [rsp + 0x20], ILCreateFromPathW
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x44
jmp 0x14016e52e
mov r8d, 0x400
xor ecx, ecx
or rcx, qword [rax + r8*8]
inc r8
cmp rdx, r8
jne 0x14016e59f
test rcx, rcx
je 0x14016e431
mov dword [rsp + 0x20], 0xb6
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x66
jmp 0x14016e52e
mov dword [rsp + 0x20], 0xb2
lea r9, str....._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
xor esi, esi
mov ecx, 3
xor edx, edx
mov r8d, 0x6d
jmp 0x14016e52e
Function at 0x14016ee50
Capabilities:
Hash data using sha256

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
mov rsi, r8
mov r8, rdx
mov rdx, rcx
mov rax, qword [0x14036e038]
xor rax, rsp
mov qword [rsp + 0x98], rax
xorps xmm0, xmm0
lea rdi, [rsp + 0x28]
movups xmmword [rdi + 0x5c], xmm0
movups xmmword [rdi + 0x50], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x20], xmm0
movaps xmm0, xmmword [0x1403149e0]
movups xmmword [rdi], xmm0
movaps xmm0, xmmword [0x1403149f0]
movups xmmword [rdi + 0x10], xmm0
mov dword [rdi + 0x6c], 0x20
mov rcx, rdi
call fcn.14016ff90
mov r14d, dword [rdi + 0x6c]
mov ebx, dword [rdi + 0x20]
mov ebp, dword [rdi + 0x24]
lea rdi, [rsp + 0x50]
mov eax, dword [rdi + 0x40]
lea rcx, [rax + 1]
mov byte [rsp + rax + 0x50], 0x80
cmp rax, 0x38
jae 0x14016efd1
cmp rcx, 0x38
je 0x14016eef6
mov r8d, 0x38
sub r8, rcx
add rcx, rdi
xor edx, edx
call fcn.1401b21d0
bswap ebp
mov dword [rsp + 0x88], ebp
bswap ebx
mov dword [rsp + 0x8c], ebx
mov ecx, 2
call fcn.14016df20
bt eax, 0x1d
jb 0x14016f02b
mov ecx, 1
call fcn.14016df20
mov ebx, eax
bt eax, 0x1c
jae 0x14016f003
xor ecx, ecx
call fcn.14016df20
bt eax, 0x1e
jae 0x14016f003
lea rcx, [rsp + 0x28]
mov r8d, 1
mov rdx, rdi
call fcn.140014f40
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi], xmm0
mov dword [rdi + 0x40], 0
cmp r14d, 0x20
ja 0x14016efa1
cmp r14d, 4
jb 0x14016efa1
shr r14d, 2
xor eax, eax
nop word cs:[rax + rax]
mov ecx, dword [rsp + rax*4 + 0x28]
bswap ecx
mov dword [rsi + rax*4], ecx
inc rax
cmp r14, rax
jne 0x14016ef90
lea rcx, [rsp + 0x28]
mov edx, 0x70
call fcn.1401742c0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401b0080
mov rax, rsi
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
cmp eax, 0x3f
je 0x14016efe9
mov r8d, 0x3f
sub r8, rax
add rcx, rdi
xor edx, edx
call fcn.1401b21d0
lea rcx, [rsp + 0x28]
mov r8d, 1
mov rdx, rdi
call fcn.1400c9ab0
xor ecx, ecx
jmp 0x14016eee3
lea rcx, [rsp + 0x28]
mov r8d, 1
mov rdx, rdi
bt ebx, 9
jb 0x14016f021
call fcn.140012a80
jmp 0x14016ef56
call fcn.140014000
jmp 0x14016ef56
mov ecx, 1
call fcn.14016df20
bt eax, 9
jae 0x14016ef1c
lea rcx, [rsp + 0x28]
mov r8d, 1
mov rdx, rdi
call fcn.140013c40
jmp 0x14016ef56
Function at 0x1401743a0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1401743c9
xor eax, eax
xor r9d, r9d
nop word [rax + rax]
movzx r10d, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x1401743b0
movzx eax, r9b
ret
xor eax, eax
ret

Function at 0x14017b850
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
mov rcx, qword [rdx + 8]
test rcx, rcx
js 0x14017b88c
je 0x14017b88b
mov rdx, qword [rdx]
xor r8d, r8d
lea r9, [0x1403178b0]
nop word [rax + rax]
movzx r10d, byte [rdx + r8]
movzx r11d, al
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc r8
cmp rcx, r8
jne 0x14017b870
ret
int3
Function at 0x140186e70
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x14036e038]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x1400f1390]
mov qword [rsp + 0x20], rax
lea rcx, [0x140388710]
lea rdx, [0x1400f11e0]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140186f04
cmp dword [0x140388718], 0
jne 0x140186f00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x14038871c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x140186f00
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401b0080
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x140186ee8
call fcn.1401c8ad0
int3

Function at 0x140187570
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x14037eb88]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1401875a6
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x1401875a6
add rax, rcx
mov rax, qword [rax]
add rsp, 0x20
pop rsi
ret
xor eax, eax
jmp 0x1401875a0
Function at 0x14019aab0
Capabilities:
Access peb ldr_data

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov rax, qword [0x14036e038]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov byte [rcx], 0
mov eax, dword [0x14037f078]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x228]
mov qword [rsi + 8], rcx
mov rcx, qword [rax + 0x228]
mov qword [rax + 0x228], rsi
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x38], 0
mov dword [rsi + 0x40], 0
mov byte [rsi + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x58], r8
mov qword [rsi + 0x60], r9
mov rax, qword [str.0_8_]
movzx eax, byte [rax + 0x7f]
test al, al
setne byte [rsi + 0x30]
jne 0x14019ab4d
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401b0080
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
lea rbx, [rsi + 0x20]
lea rdi, [rsp + 0x20]
mov rcx, rdx
mov rdx, rdi
call fcn.140157c90
mov rax, qword [rdi]
mov qword [rbx], rax
jmp 0x14019ab35
Function at 0x1401af404
Capabilities:
Parse pe header

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

Function at 0x1401af88c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1401af904
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1401af904
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1401af904
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1401af8f8
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1401af916
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1401af8e6
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1401af906

Function at 0x1401c2648
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1401c267f
call fcn.1401c5a04
mov dword [rax], 0x16
call fcn.1401c8c8c
xor eax, eax
jmp 0x1401c270d
mov rdx, r9
mov rcx, r8
call fcn.1401c2730
mov rbx, rax
test rax, rax
je 0x1401c270a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1401c27a0]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1401c26f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401c5a44
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1401c26de
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1401c26ed
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14016a480
jmp 0x1401c270a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1401c2707
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1401c2cfc
Capabilities:
Clear file content

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, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1401c7a1c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1401c7a1c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401c2e4c
cmp rax, 0xffffffffffffffff
je 0x1401c2e4c
xor edi, edi
test rbp, rbp
jle 0x1401c2df7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14016a520
mov rbx, rax
test rax, rax
jne 0x1401c2d84
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401c2ded
mov edx, 0x8000
mov ecx, r14d
call fcn.1401c8ba8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1401cd424
cmp eax, 0xffffffff
je 0x1401c2dcd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1401c2d94
mov edx, r15d
mov ecx, r14d
call fcn.1401c8ba8
jmp 0x1401c2ded
cmp byte [rsi + 0x38], dil
je 0x1401c2de4
cmp dword [rsi + 0x34], 5
jne 0x1401c2de4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], ntohl
cmp byte [rsi + 0x30], dil
je 0x1401c2ded
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14016a480
jmp 0x1401c2e60
jns 0x1401c2e60
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1401c7a1c
cmp rax, 0xffffffffffffffff
jne 0x1401c2e18
cmp byte [rsi + 0x30], dil
je 0x1401c2e60
mov edi, dword [rsi + 0x2c]
jmp 0x1401c2e60
mov ecx, r14d
call fcn.1401c68bc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401c2e60
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, ntohl
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], ntohl
jmp 0x1401c2e60
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1401c2e59
mov eax, dword [rsi + 0x2c]
jmp 0x1401c2e5e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1401c7a1c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret