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

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
sub rsp, 0x40
cmp byte [rcx + 8], 0
mov r12, r9
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
je 0x1400962f5
test r9, r9
je 0x1400962d2
movsxd rcx, dword [rcx + 0x3d0]
xor edx, edx
mov rax, r9
div rcx
test rdx, rdx
jne 0x1400962d2
mov ecx, dword [rsp + 0x80]
mov qword [rsp + 0x60], rbp
xor ebp, ebp
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r15
cmp ecx, 1
jne 0x1400961f7
mov r15d, ebp
test rax, rax
je 0x1400961da
nop dword [rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.140095ad0
mov rcx, rdi
cmp byte [rbx + 8], bpl
je 0x140096318
mov eax, dword [rbx + 0x3d0]
mov edx, ebp
test eax, eax
jle 0x1400961a8
lea r8, [rbx + 0x3f8]
sub r8, rdi
movzx eax, byte [r8 + rcx]
inc edx
xor byte [rcx], al
lea rcx, [rcx + 1]
mov eax, dword [rbx + 0x3d0]
cmp edx, eax
jl 0x140096191
movsxd r8, eax
lea rcx, [rbx + 0x3f8]
mov rdx, rsi
call fcn.1401009c0
movsxd rcx, dword [rbx + 0x3d0]
xor edx, edx
mov rax, r12
inc r15d
div rcx
add rsi, rcx
add rdi, rcx
movsxd rcx, r15d
cmp rcx, rax
jb 0x140096160
mov r14, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r15, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
cmp ecx, 2
jne 0x14009628f
mov r15d, ebp
test rax, rax
je 0x1400961da
nop dword [rax + rax]
mov r8, rdi
lea rdx, [rbx + 0x3f8]
mov rcx, rbx
call fcn.140095750
mov rax, rdi
cmp byte [rbx + 8], bpl
je 0x14009633b
mov ecx, dword [rbx + 0x3d0]
mov edx, ebp
test ecx, ecx
jle 0x140096258
mov r8, rsi
sub r8, rdi
movzx ecx, byte [r8 + rax]
inc edx
xor byte [rax], cl
lea rax, [rax + 1]
mov ecx, dword [rbx + 0x3d0]
cmp edx, ecx
jl 0x140096241
movsxd r8, ecx
mov rdx, rsi
lea rcx, [rbx + 0x3f8]
call fcn.1401009c0
movsxd rcx, dword [rbx + 0x3d0]
xor edx, edx
mov rax, r12
inc r15d
div rcx
add rsi, rcx
add rdi, rcx
movsxd rcx, r15d
cmp rcx, rax
jb 0x140096210
jmp 0x1400961da
test rax, rax
je 0x1400961da
nop dword [rax + rax]
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.140095ad0
movsxd rcx, dword [rbx + 0x3d0]
xor edx, edx
mov rax, r12
inc ebp
div rcx
add rsi, rcx
add rdi, rcx
movsxd rcx, ebp
cmp rcx, rax
jb 0x1400962a0
jmp 0x1400961da
mov rdx, qword [str.Data_not_multiple_of_Block_Size]
lea rcx, [rsp + 0x20]
call fcn.140096360
lea rdx, [0x1401a6258]
lea rcx, [rsp + 0x20]
call fcn.1400ff7ec
int3
mov rdx, qword [str.Object_not_Initialized]
lea rcx, [rsp + 0x20]
call fcn.140096360
lea rdx, [0x1401a6258]
lea rcx, [rsp + 0x20]
call fcn.1400ff7ec
int3
mov rdx, qword [str.Object_not_Initialized]
lea rcx, [rsp + 0x20]
call fcn.140096360
lea rdx, [0x1401a6258]
lea rcx, [rsp + 0x20]
call fcn.1400ff7ec
int3
mov rdx, qword [str.Object_not_Initialized]
lea rcx, [rsp + 0x20]
call fcn.140096360
lea rdx, [0x1401a6258]
lea rcx, [rsp + 0x20]
call fcn.1400ff7ec
int3
Function at 0x1400963d0
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [rcx], 0x6a09e667
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov rax, rcx
mov dword [rcx + 4], 0xbb67ae85
mov dword [rcx + 8], 0x3c6ef372
mov dword [rcx + 0xc], 0xa54ff53a
mov dword [rcx + 0x10], 0x510e527f
mov dword [rcx + 0x14], 0x9b05688c
mov dword [rcx + 0x18], 0x1f83d9ab
mov dword [rcx + 0x1c], 0x5be0cd19
ret

Function at 0x140096420
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rax, r8
xor ecx, ecx
mov rdi, rdx
mov r8, r9
mov rdx, rax
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rcx
mov rcx, rbx
mov dword [rbx], 0x6a09e667
mov dword [rbx + 4], 0xbb67ae85
mov dword [rbx + 8], 0x3c6ef372
mov dword [rbx + 0xc], 0xa54ff53a
mov dword [rbx + 0x10], 0x510e527f
mov dword [rbx + 0x14], 0x9b05688c
mov dword [rbx + 0x18], 0x1f83d9ab
mov dword [rbx + 0x1c], 0x5be0cd19
call fcn.140096540
mov rdx, rdi
mov rcx, rbx
call fcn.140096630
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x1400995f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
movsxd rbx, edx
mov rdi, rcx
xor edx, edx
lea rcx, [rbp - 0x70]
mov r8d, 0x200
call fcn.140101070
mov r10d, 0x6f
mov dword [rbp + 0x1e0], 0x200
mov eax, 0x68
mov dword [rsp + 0x70], 0x740066
mov word [rbp - 0x76], ax
lea rdx, [rsp + 0x50]
lea rax, [rsp + 0x30]
mov dword [rbp - 0x7a], 0x700061
lea r8d, [r10 + 3]
mov dword [rsp + 0x74], 0x43005c
mov word [rsp + 0x68], r8w
lea r12d, [r10 - 0x22]
mov word [rbp - 0x7c], r8w
mov r9d, 0x20019
xor r8d, r8d
mov dword [rsp + 0x6a], 0x73006f
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x58], 0x410057
mov dword [rsp + 0x78], 0x790072
mov dword [rsp + 0x60], 0x4d005c
mov dword [rsp + 0x7c], 0x740070
mov dword [rsp + 0x64], 0x630069
mov dword [rbp - 0x80], 0x67006f
mov dword [rsp + 0x5c], 0x450052
mov dword [rsp + 0x50], 0x4f0053
mov dword [rsp + 0x54], 0x540046
mov dword [rbp - 0x74], 0x79
mov word [rsp + 0x6e], r10w
mov qword [rsp + 0x20], rax
call fcn.140052af0
test eax, eax
jne 0x1400997d5
mov rcx, qword [rsp + 0x30]
lea r9, [rbp + 0x1e8]
mov eax, 0x68
mov dword [rsp + 0x40], 0x6e0069
mov word [rsp + 0x3e], ax
lea rdx, [rsp + 0x38]
lea rax, [rbp + 0x1e0]
mov dword [rsp + 0x4c], 0x64
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rbp - 0x70]
mov dword [rsp + 0x44], 0x470065
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x3a], 0x630061
mov dword [rsp + 0x48], 0x690075
mov word [rsp + 0x38], r12w
call fcn.140052c10
test eax, eax
je 0x1400997b5
lea rax, [rsp + 0x30]
mov r9d, 0x20119
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call fcn.140052af0
test eax, eax
jne 0x1400997d5
mov rcx, qword [rsp + 0x30]
lea rax, [rbp + 0x1e0]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x1e8]
lea rax, [rbp - 0x70]
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rax
call fcn.140052c10
test eax, eax
jne 0x1400997d5
mov rdx, rbx
lea r8, [rbp - 0x70]
mov r9, 0xffffffffffffffff
mov rcx, rdi
call fcn.14012bb40
mov rcx, qword [rsp + 0x30]
call fcn.140052ea0
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x290
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009b5dd
Capabilities:
Encode data using xor

Disassembly:
xchg edi, eax
or bl, byte [rsi - 0x68f25de7]
or edx, dword [rdi - 0x5deb65eb]
or al, 0x99
invalid
push rcx
push rcx
push r10
push r12
push rsp
and eax, 0x43597970
jne 0x14009b5c3
je 0x14009b58c
jb 0x14009b57e
invalid
jnp 0x14009b50d
jle 0x14009b50c
xchg byte [rdi - 0x57865d7b], ah
sub dword [rdx - 0x5c825c7f], 0x7b
movabs eax, dword [0xad83a488a782a479]
sub byte [rcx - 0x5584537c], 0x7a
stosd dword [rdi], eax
movsb byte [rdi], byte [rsi]
sub dword [rbp - 0x537b5680], 0x7b
stosb byte [rdi], al
jp 0x14009b534
jns 0x14009b535
jns 0x14009b53a
lodsd eax, dword [rsi]
and byte [rbp - 0x5c7f577e], 0x84
test eax, 0xaf79b085
jl 0x14009b53c
test byte [rax - 0x58824f87], ch
xchg ebx, eax
mov byte [rdx - 0x617e6281], dl
mov bl, byte [rbx - 0x6b756377]
mov dl, byte [rsi - 0x6274607c]
pushfq
mov dl, byte [rdx + rcx*4 - 0x74607b6a]
popfq
mov edx, dword [rbx - 0x66776c77]
test byte [rdx*2 + 0x547a4a7b], ch
sub al, 0x55
jnp 0x14009b62b
jp 0x14009b637
jbe 0x14009b64b
push bp
xor dword [rbp + 0x50], esp
and dword [rdi + rsi*2 + 0x65], ecx
jp 0x14009b626
pop rdi
and cl, byte [rbx + 0x65]
cmp esp, dword [rsi + 0x44]
ja 0x14009b5cd
invalid
xchg ch, cl
or bl, 0x80
ror dword [rcx + 0x7ecb85d3], cl
iretd
leave
and cl, ah
mov ebp, 0xc624cb1e
and eax, ecx
sbb eax, edi
sbb eax, ecx
invalid

Function at 0x14009c191
Capabilities:
Authenticate hmac

Disassembly:
imul ebx, dword [rdx + rcx*2 + 0x40], 0x62
jge 0x14009c213
jns 0x14009c210
invalid
invalid
xor byte [rax + 0x23], dl
jns 0x14009c23f
push r12w
je 0x14009c28c
push 0x75433049
jne 0x14009c26a
invalid
xor al, 0x4c
push rbx
fimul dword [r8 + 0x5b]

Function at 0x14009c1e8
Capabilities:
Authenticate hmac

Disassembly:
jrcxz 0x14009c261
fbstp tbyte [rax + 0x2c]
imul ebp, dword [rax + 0x76], 0x49
pop rdx
push 0x2e78674d
invalid
pop r14
pop rbp
outsd dx, dword [rsi]
xor al, 0x4c
pop rsi
jne 0x14009c2a9
jae 0x14009c2a9
jno 0x14009c26c
js 0x14009c2c1
push 0x5c
jge 0x14009c2bc
cmp al, 0x7a
xor ah, byte [rdi - 0x7c]
test byte [eax + 0x7f], ch
jno 0x14009c1d9
xchg byte [ebx - 0x77], ch
jb 0x14009c1e9
jae 0x14009c2dc
push 0xffffffffffffff88
jne 0x14009c1e4
mov byte [rbp - 0x80], dh
jl 0x14009c295
jge 0x14009c28e
jp 0x14009c2be
js 0x14009c2a5
js 0x14009c2a5
jbe 0x14009c2d1
jne 0x14009c2e3
sub esp, dword [rdx]
and dword [rax + 0x5f], eax
invalid
invalid

Function at 0x14009c228
Capabilities:
Authenticate hmac

Disassembly:
mov cl, 0x85
mov dl, 0x8b
mov bh, 0x85
mov bh, 0x84
mov bl, 0x8a
mov cl, 0x86
mov ecx, 0xba8bb791
test byte [rdi + 0x5e], al
pop r14
Function at 0x14009c23a
Capabilities:
Authenticate hmac

Disassembly:
jrcxz 0x14009c261
fbstp tbyte [rax + 0x2c]
imul ebp, dword [rax + 0x76], 0x49
pop rdx
push 0x2e78674d
invalid
pop r14
pop rbp
outsd dx, dword [rsi]
xor al, 0x4c
pop rsi
jne 0x14009c2a9
jae 0x14009c2a9
jno 0x14009c26c
js 0x14009c2c1
push 0x5c
jge 0x14009c2bc
cmp al, 0x7a
xor ah, byte [rdi - 0x7c]
test byte [eax + 0x7f], ch
jno 0x14009c1d9
xchg byte [ebx - 0x77], ch
jb 0x14009c1e9
jae 0x14009c2dc
push 0xffffffffffffff88
jne 0x14009c1e4
mov byte [rbp - 0x80], dh
jl 0x14009c295
jge 0x14009c28e
jp 0x14009c2be
js 0x14009c2a5
js 0x14009c2a5
jbe 0x14009c2d1
jne 0x14009c2e3
sub esp, dword [rdx]
and dword [rax + 0x5f], eax
invalid
invalid

Function at 0x1400a6e7c
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1400a6f1d
call fcn.1400bd7c4
test al, al
jne 0x1400a6f1d
xor esi, esi
or rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x1400a6ea6
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.1400c9b34
test rax, rax
je 0x1400a6eeb
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.1400c9b34
mov rsi, rax
test rax, rax
je 0x1400a6eeb
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
jmp 0x1400a6f12
mov cl, byte [rbx]
call fcn.1400b8dec
imul rdi, rdi, 0x21
movsx rcx, al
xor rdi, rcx
inc rbx
cmp rbx, rsi
jb 0x1400a6efd
movzx eax, dil
jmp 0x1400a6f1f
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b2db0
Capabilities:
Write file on windows

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 r14
sub rsp, 0x30
cmp byte [rcx + 0xad6], 0
mov rbp, r9
mov r14, r8
movsxd rsi, edx
mov rdi, rcx
je 0x1400b2e71
cmp qword [rcx + 0x270], 0
je 0x1400b2e26
call fcn.1400a12f8
mov dl, 1
mov rcx, rdi
mov bl, al
call fcn.1400a16b4
mov rcx, qword [rdi + 0x1d8]
mov r9, rbp
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, rdi
mov edx, esi
call qword [rdi + 0x270]
mov dl, bl
mov rcx, rdi
call fcn.1400a16b4
jmp 0x1400b2e71
mov ecx, esi
test edx, edx
je 0x1400b2e36
sub ecx, 1
je 0x1400b2e36
cmp ecx, 1
jne 0x1400b2e71
mov r9, qword [rdi + 0x1d0]
lea rax, [0x140175778]
mov edx, 2
lea rcx, [rsi + rsi*2]
add rcx, rax
lea r8d, [rdx - 1]
call fcn.14012c648
mov r9, qword [rdi + 0x1d0]
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call fcn.14012c648
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x1400b66bc
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.14014ac48
cdqe
add rsp, 0x28
ret
Function at 0x1400da8d4
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx + 0x18]
lea eax, [rdx - 0xc8]
xor esi, esi
mov edi, r8d
mov rbx, rcx
cmp eax, 0x64
jb 0x1400da910
lea rdx, str.Couldnt_set_desired_mode
call fcn.1400b2e8c
lea eax, [rsi + 0x11]
jmp 0x1400da96a
cmp edx, 0xc8
je 0x1400da927
mov r8d, edx
lea rdx, str.Got_a__03d_response_code_instead_of_the_assumed_200
call fcn.1400b2f60
cmp edi, 0x13
jne 0x1400da939
mov rdx, rbp
mov rcx, rbx
call fcn.1400da604
jmp 0x1400da966
cmp edi, 0x14
jne 0x1400da948
mov rcx, rbx
call fcn.1400d95a0
jmp 0x1400da966
cmp edi, 0x15
jne 0x1400da953
lea r8d, [rdi - 8]
jmp 0x1400da95c
cmp edi, 0x16
jne 0x1400da968
lea r8d, [rdi - 8]
mov dl, 1
mov rcx, rbx
call fcn.1400da158
mov esi, eax
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400fa350
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ecx, dword [rcx + 0x20]
mov r14, rdx
add rcx, 0x18
mov ebp, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [fcn.1401103e0]
xor esi, esi
mov rdi, rax
test rax, rax
je 0x1400fa459
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400fa3d2
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + 8]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + 0x10]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
test rbp, rbp
je 0x1400fa44e
mov rsi, rbp
mov al, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + 8]
mov al, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
mov r8d, 1
mov byte [rsp + 0x40], al
inc r14
mov rcx, qword [rdi + 0x10]
call qword [rbx + 8]
sub rbp, 1
jne 0x1400fa3e2
jmp 0x1400fa44e
mov rcx, qword [rdi + 8]
lea rdx, [0x1401822d0]
mov r8d, 1
call qword [rbx + 8]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1401822d1]
mov r8d, 1
call qword [rbx + 8]
inc rsi
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jb 0x1400fa423
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x1400fc2b4
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x1400fc30c
mov r8b, byte [r10]
mov al, r8b
mov r9b, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
and r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10], cl
inc r10
sub rdx, 1
jne 0x1400fc2bc
ret
Function at 0x1401107f8
Capabilities:
Parse pe header

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 r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x140110530
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140110530
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140110530
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140110530
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140110530
cmp dword [rcx + 0x84], 0xe
jbe 0x140110530
cmp dword [rcx + 0xf8], esi
je 0x140110530
mov ecx, r14d
call fcn.140110700
mov ecx, 2
call fcn.14014d934
nop
cmp byte [0x1401a9bb8], 0
jne 0x1401105fa
mov r15d, 1
mov eax, r15d
xchg dword [0x1401a9ba8], eax
test ebx, ebx
jne 0x1401105a3
mov rdi, qword [0x1401a8138]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x1401a9bb0]
cmp rcx, rax
je 0x14011059a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [0x14016b440]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x1401a9f20]
jmp 0x1401105af
cmp ebx, r15d
jne 0x1401105b5
lea rcx, [0x1401a9f38]
call fcn.140147db8
nop
test ebx, ebx
jne 0x1401105cc
lea rdx, [0x14016b5d0]
lea rcx, [0x14016b5b0]
call fcn.14014843c
lea rdx, [0x14016b5e0]
lea rcx, [0x14016b5d8]
call fcn.14014843c
movzx eax, byte [0x1401a9bb8]
test esi, esi
cmove eax, r15d
mov byte [0x1401a9bb8], al
jmp 0x1401105fa
mov ecx, 2
call fcn.14014d988
test esi, esi
jne 0x140110611
mov ecx, r14d
call fcn.14011062c
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1401104c0
Function at 0x1401528d4
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x1401524fc
call fcn.14010f248
mov dword [rax], 0x16
call fcn.14010f09c
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1401524e4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1401524e4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14015252e
lock or dword [rax + 0x14], 0x10
jmp 0x1401524e4
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14015254b
mov rcx, qword [rbp + 0x10]
call fcn.140161164
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14015085c
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14014ac48
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1401525a2
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x1401524e4
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14015260e
mov rcx, qword [rbp + 0x10]
call fcn.14015085c
cmp eax, 0xffffffff
je 0x1401525f5
mov rcx, qword [rbp + 0x10]
call fcn.14015085c
cmp eax, 0xfffffffe
je 0x1401525f5
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14015085c
movsxd rdi, eax
lea rsi, [0x1401aa9c0]
mov rcx, rbx
sar rdi, 6
call fcn.14015085c
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1401525fc
lea rax, [0x1401a8540]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14015260e
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x140152644
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x140152640
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x140152640
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x1401524e7
jmp 0x1401524b4
Function at 0x14015dfe8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14015e008
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14010f1d8
or eax, 0xffffffff
jmp 0x14015e00a
xor eax, eax
add rsp, 0x28
ret
Function at 0x140003f98
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x80
mov rbp, qword [0x1401fab98]
lea rdx, [rax - 0x68]
xor edi, edi
movabs rsi, 0x1000000000
mov rcx, rsi
mov ebx, 0x103fffff
add rbp, 0x400000
lea r8d, [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp rax, 0x30
jne 0x140004086
mov rcx, qword [rsp + 0x20]
add rcx, qword [rsp + 0x38]
test dword [rsp + 0x40], 0x10000
je 0x140077608
mov rax, rcx
sub rax, rsi
cmp rax, rbx
jbe 0x140077608
mov rbx, rax
mov rdi, rsi
cmp rax, rbp
jb 0x140077608
test rdi, rdi
je 0x140004086
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x78]
lea edx, [rcx - 1]
add rcx, 0x3fffff
add rcx, rdi
not rdx
and rdx, rcx
sub rdi, rdx
add rbx, rdi
cmp rbx, 0x10000000
jb 0x140004086
mov rcx, qword [0x1401fab98]
mov rax, rdx
cmp rbx, rcx
cmovb rcx, rbx
mov qword [0x1401fab98], rcx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor eax, eax
jmp 0x14000406d
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp rax, 0x30
je 0x140003fe9
jmp 0x14000401f

Function at 0x140004cfc
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, dword [0x1401fb368]
xor ebx, ebx
test esi, esi
je 0x140004d3d
mov edi, ebx
mov rcx, qword [0x1401fb360]
mov rcx, qword [rdi + rcx]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x140077c20
inc ebx
add rdi, 8
cmp ebx, esi
jb 0x140004d19
lea rcx, [0x1401fc800]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR:_ResumeThread_failed:__d_n
call fcn.1400084a0
xor ecx, ecx
call fcn.14005e418
int3
Function at 0x140004d5c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov rbp, rdx
mov rsi, rdx
xor ebx, ebx
shr rbp, 0x20
mov rdi, r9
mov qword [rax - 0x30], rbx
mov r12, r8
mov dword [rax - 0x38], esi
mov r9d, ebp
xor edx, edx
lea r8d, [rbx + 4]
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r15, rax
test rax, rax
je 0x140004dfb
test rbp, rbp
jne 0x140077c3c
mov ebx, esi
mov eax, ebx
xor r9d, r9d
mov qword [rsp + 0x28], r12
xor r8d, r8d
mov edx, 0xf001f
mov qword [rsp + 0x20], rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
mov rcx, r15
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rbx, r12
jne 0x140004dfb
mov al, 1
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
xor al, al
jmp 0x140004de4
xor r9d, r9d
lea r8, [rsp + 0x68]
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140004dfb
cmp rsi, qword [rsp + 0x68]
jne 0x140004dfb
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140004dfb
jmp 0x140004db1

Function at 0x140004e08
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x500
mov rax, qword [0x1401f7030]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
lea rcx, [0x1401fc800]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov ebx, dword [0x1401fb368]
xor edi, edi
test ebx, ebx
je 0x140004e6b
xor esi, esi
mov rcx, qword [0x1401fb360]
mov rcx, qword [rsi + rcx]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x140077c7a
inc edi
add rsi, 8
cmp edi, ebx
jb 0x140004e47
xor edi, edi
test ebx, ebx
je 0x140004eb5
xor esi, esi
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [0x1401fb360]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x50], 0x100001
mov rcx, qword [rsi + rcx]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140077c96
inc edi
add rsi, 8
cmp edi, ebx
jb 0x140004e73
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.14005a600
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR:_SuspendThread_failed:__d_n
call fcn.1400084a0
xor ecx, ecx
call fcn.14005e418
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.ERROR:_GetThreadContext_failed:__d_n
call fcn.1400084a0
xor ecx, ecx
call fcn.14005e418
int3