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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140053490
sub rsp, rax
mov rax, qword [0x1400c0200]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14006f974
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14007521f
mov rax, rbp
jmp 0x140075327
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xc65b0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140074e0c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xc65b0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140075323
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140075323
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140074e0c
test rax, rax
js 0x140075323
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140075323
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140075315
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140075315
cmp byte [rcx], 0xd
jne 0x1400752fb
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14007530a
cmp byte [rcx + 1], 0xa
jne 0x14007530a
inc rcx
jmp 0x14007530a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0xc0d00]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400752dd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140075327
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140052ab0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140078198
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14007821f
mov rsi, rbx
cmp word [rax], bp
je 0x1400781de
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400781c8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400781c4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14006e5e0
mov rdi, rax
test rax, rax
je 0x14007820c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400550b0
mov rbp, rdi
xor ecx, ecx
call fcn.14006e5a4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14007b348
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14006fe80
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14007b3e9
cmp ebx, dword [rsp + 0x30]
je 0x14007b3e2
test esi, esi
je 0x14007b3e2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14007b3bd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14007b3ca
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14007b3a7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14007b3ce
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14007b3eb
mov eax, 1
jmp 0x14007b3eb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14007d22c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400c65b0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14007d283
cmp word [rdx], r13w
jne 0x14007d283
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14007d288
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14007d3ad
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14007d3ce
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14007d2c1
mov rdx, r9
mov word [rbx], cx
jmp 0x14007d2e8
cmp r9, r8
jae 0x14007d2f8
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14007d2a2
jmp 0x14007d3ad
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14007d3a2
cmp dword [rsp + 0x80], esi
je 0x14007d3a2
lea r8, [0x1400c65b0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14007d37a
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14007d34a
mov word [rbx], r13w
jmp 0x14007d3aa
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14007d357
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14007d3aa
cmp word [rsp + 0x70], r13w
jne 0x14007d387
cmp rbx, r14
je 0x14007d344
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140074e14
cmp word [rsp + 0x70], r13w
je 0x14007d3ad
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400c65b0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14007d3a7
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14007d3ad
Function at 0x140080508
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.140074e14
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140074e14
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140080658
cmp rax, 0xffffffffffffffff
je 0x140080658
xor edi, edi
test rbp, rbp
jle 0x140080603
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14006e52c
mov rbx, rax
test rax, rax
jne 0x140080590
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400805f9
mov edx, 0x8000
mov ecx, r14d
call fcn.14006c8b4
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.14007489c
cmp eax, 0xffffffff
je 0x1400805d9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400805a0
mov edx, r15d
mov ecx, r14d
call fcn.14006c8b4
jmp 0x1400805f9
cmp byte [rsi + 0x38], dil
je 0x1400805f0
cmp dword [rsi + 0x34], 5
jne 0x1400805f0
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400805f9
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14006e5a4
jmp 0x14008066c
jns 0x14008066c
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140074e14
cmp rax, 0xffffffffffffffff
jne 0x140080624
cmp byte [rsi + 0x30], dil
je 0x14008066c
mov edi, dword [rsi + 0x2c]
jmp 0x14008066c
mov ecx, r14d
call fcn.140078db8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14008066c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14008066c
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140080665
mov eax, dword [rsi + 0x2c]
jmp 0x14008066a
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140074e14
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
Function at 0x1800031b0
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov ebx, dword [rcx + 0x20]
xor r14d, r14d
mov rbp, qword [rcx + 0x18]
mov r8d, ebx
shl rbp, 6
mov rsi, rdx
add rbp, rbx
mov rdi, rcx
shl rbp, 3
shr ebx, 2
and r8d, 3
jne 0x1800031f6
mov dword [rcx + rbx*4 + 0x24], r14d
lea rdx, [rcx + rbx*4]
mov eax, 0x80
mov ecx, 3
inc ebx
sub ecx, r8d
shl ecx, 3
shl eax, cl
or dword [rdx + 0x24], eax
cmp ebx, 0xe
je 0x18000323a
and ebx, 0xf
jne 0x18000322e
lea rdx, [rdi + 0x24]
mov r8, rdi
mov rcx, rdi
call fcn.180002b80
inc qword [rdi + 0x18]
mov dword [rdi + rbx*4 + 0x24], r14d
inc ebx
cmp ebx, 0xe
jne 0x180003216
lea eax, [rbx + 1]
mov rcx, rbp
shr rcx, 0x20
lea rdx, [rdi + 0x24]
mov dword [rdi + rbx*4 + 0x24], ecx
mov r8, rdi
mov rcx, rdi
mov dword [rdi + rax*4 + 0x24], ebp
call fcn.180002b80
inc qword [rdi + 0x18]
mov ecx, dword [rdi]
mov eax, ecx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
shr eax, 0x18
mov byte [rsi], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 1], al
mov eax, ecx
shr eax, 8
mov byte [rsi + 2], al
mov byte [rsi + 3], cl
mov ecx, dword [rdi + 4]
mov eax, ecx
shr eax, 0x18
mov byte [rsi + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 5], al
mov eax, ecx
shr eax, 8
mov byte [rsi + 6], al
mov byte [rsi + 7], cl
mov ecx, dword [rdi + 8]
mov eax, ecx
shr eax, 0x18
mov byte [rsi + 8], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 9], al
mov eax, ecx
shr eax, 8
mov byte [rsi + 0xa], al
mov byte [rsi + 0xb], cl
mov ecx, dword [rdi + 0xc]
mov eax, ecx
shr eax, 0x18
mov byte [rsi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [rsi + 0xe], al
mov byte [rsi + 0xf], cl
mov ecx, dword [rdi + 0x10]
mov eax, ecx
shr eax, 0x18
mov byte [rsi + 0x10], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 0x11], al
mov eax, ecx
shr eax, 8
mov byte [rsi + 0x12], al
mov byte [rsi + 0x13], cl
mov rsi, qword [rsp + 0x40]
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
mov dword [rdi + 0x10], 0xc3d2e1f0
mov qword [rdi + 0x18], r14
mov dword [rdi + 0x20], r14d
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x180003579
Capabilities:
Encrypt data using rc4 prga

Disassembly:
test r8, r8
je 0x180003646
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rax, qword [0x180083008]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov ebx, dword [rcx + 0x20]
mov rsi, r8
and ebx, 0x3f
mov r14, rdx
mov rdi, rcx
nop dword [rax]
movzx eax, byte [r14]
lea r14, [r14 + 1]
mov byte [rbx + rdi + 0x28], al
dec rsi
inc qword [rdi + 0x20]
inc ebx
cmp ebx, 0x40
jne 0x18000361e
xor ebx, ebx
lea r8, [rsp + 0x20]
lea rax, [rdi + 0x2a]
lea r9d, [rbx + 0x10]
nop dword [rax]
movzx ecx, byte [rax - 1]
lea r8, [r8 + 4]
movzx edx, byte [rax - 2]
lea rax, [rax + 4]
shl edx, 8
add edx, ecx
movzx ecx, byte [rax - 4]
shl edx, 8
add edx, ecx
movzx ecx, byte [rax - 3]
shl edx, 8
add edx, ecx
mov dword [r8 - 4], edx
sub r9, 1
jne 0x1800035e0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.180003340
test rsi, rsi
jne 0x1800035b0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.18004d010
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x180004160
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push r12
push r13
push r15
mov r10d, dword [r9]
xor r12d, r12d
and r10d, 7
mov r13, r9
mov ebx, r8d
mov r15, rcx
mov r11d, r12d
cmp rdx, 5
jae 0x18000418e
xor eax, eax
pop r15
pop r13
pop r12
pop rbx
ret
mov qword [rsp + 0x28], rbp
add ebx, 5
mov qword [rsp + 0x30], rsi
or rbp, 0xffffffffffffffff
mov qword [rsp + 0x38], rdi
lea rdi, [rdx - 4]
mov qword [rsp + 0x40], r14
add rdi, r15
mov r14d, dword [rsp + 0x48]
lea r9, [0x180000000]
nop dword [rax]
lea r8, [r11 + r15]
cmp r8, rdi
jae 0x1800041e2
nop dword [rax]
movzx eax, byte [r8]
and al, 0xfe
cmp al, 0xe8
je 0x1800041e2
inc r8
cmp r8, rdi
jb 0x1800041d0
mov r11, r8
sub r11, r15
mov rax, r11
sub rax, rbp
cmp r8, rdi
jae 0x18000430b
cmp rax, 3
jbe 0x18000421f
mov r10d, r12d
movzx ecx, byte [r8 + 4]
mov rbp, r11
lea eax, [rcx - 1]
cmp al, 0xfd
ja 0x18000426a
and r10d, 3
add r10d, r10d
or r10d, 1
inc r11
jmp 0x1800041c0
lea ecx, [rax - 1]
shl r10d, cl
and r10d, 7
je 0x180004200
movzx eax, byte [r10 + r9 + 0x6d418]
mov ecx, 4
sub ecx, eax
movsxd rax, ecx
movzx ecx, byte [rax + r8]
cmp byte [r10 + r9 + 0x6d410], r12b
je 0x180004254
inc cl
test cl, 0xfe
jne 0x180004200
and r10d, 3
mov rbp, r11
add r10d, r10d
or r10d, 1
inc r11
jmp 0x1800041c0
movzx eax, byte [r8 + 3]
lea rsi, [r9 + 0x6d418]
movzx edx, cl
shl edx, 8
or edx, eax
movzx eax, byte [r8 + 2]
shl edx, 8
or edx, eax
movzx eax, byte [r8 + 1]
shl edx, 8
or edx, eax
mov eax, r10d
add rsi, rax
test r14d, r14d
je 0x1800042a5
lea eax, [r11 + rdx]
add eax, ebx
jmp 0x1800042ac
mov eax, edx
sub eax, r11d
sub eax, ebx
test r10d, r10d
je 0x1800042dc
movzx r9d, byte [rsi]
mov edx, eax
shl r9d, 3
neg r9d
lea ecx, [r9 + 0x18]
shr edx, cl
inc dl
test dl, 0xfe
jne 0x1800042dc
lea ecx, [r9 + 0x20]
mov edx, 1
shl edx, cl
dec edx
xor edx, eax
jmp 0x180004298
mov ecx, eax
mov byte [r8 + 1], al
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [r8 + 4], cl
mov ecx, eax
shr ecx, 0x10
mov byte [r8 + 3], cl
mov ecx, eax
shr ecx, 8
mov byte [r8 + 2], cl
add r11, 5
jmp 0x1800041b5
mov r14, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
cmp rax, 3
ja 0x180004332
lea ecx, [rax - 1]
shl r10d, cl
and r10d, 7
mov r12d, r10d
mov dword [r13], r12d
mov rax, r11
pop r15
pop r13
pop r12
pop rbx
ret
Function at 0x180013560
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x180083008]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rsi, rdx
mov rdi, rcx
cmp rcx, 0xffffffffffffffff
je 0x180013713
test rdx, rdx
je 0x180013713
mov qword [rsp + 0x1e0], rbx
xor r9d, r9d
xor ebx, ebx
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800136d0
xor eax, eax
mov dword [rsp + 0x30], ebx
lea r9, [rsp + 0x30]
mov qword [rsp + 0x60], rax
lea r8d, [rbx + 0x40]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov rcx, rdi
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800136d0
cmp dword [rsp + 0x30], 0x40
jne 0x1800136fe
movsxd rdx, dword [rbp - 0x64]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800136d0
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0xf8
call fcn.18004fc80
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rbx
mov r8d, 0xf8
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800136d0
cmp dword [rsp + 0x30], 0xf8
jne 0x1800136fe
movzx eax, word [rbp - 0x5a]
lea r9d, [rbx + 1]
dec eax
xor r8d, r8d
cdqe
mov rcx, rdi
lea rdx, [rax + rax*4]
shl rdx, 3
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800136d0
xor eax, eax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea r8d, [rbx + 0x28]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rcx, rdi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1800136f7
call fcn.18000ebe0
mov rbx, qword [rsp + 0x1e0]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.18004d010
add rsp, 0x1b0
pop rdi
pop rsi
pop rbp
ret
cmp dword [rsp + 0x30], 0x28
je 0x180013705
mov eax, 0x80004005
jmp 0x1800136d5
mov ecx, dword [rsp + 0x4c]
add ecx, dword [rsp + 0x48]
mov dword [rsi], ecx
xor eax, eax
jmp 0x1800136d5
mov eax, 0x80070057
jmp 0x1800136dd
Function at 0x180013720
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
push rsi
push r14
sub rsp, 0x48
mov r14, r8
mov rsi, rdx
test r8, r8
je 0x180013853
test rcx, rcx
je 0x180013853
cmp word [rcx], 0
je 0x180013853
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x40], rdi
xor edi, edi
test rdx, rdx
je 0x180013761
mov dword [rdx], edi
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov edx, 0x80000000
mov qword [rsp + 0x68], rbp
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180013824
xor eax, eax
mov dword [rsp + 0x70], edi
lea r9, [rsp + 0x70]
mov dword [r14], eax
mov rdx, r14
mov qword [rsp + 0x20], rdi
mov rcx, rbx
lea r8d, [rax + 4]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180013824
movzx eax, word [r14]
cmp ax, word [0x18007721c]
jne 0x18001382b
lea rdx, [rsp + 0x78]
mov dword [rsp + 0x78], edi
mov rcx, rbx
call fcn.180013560
test eax, eax
jne 0x180013829
mov ebp, dword [rsp + 0x78]
xor r9d, r9d
mov edx, ebp
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180013824
xor eax, eax
mov dword [r14], eax
test rsi, rsi
je 0x180013804
mov dword [rsi], ebp
lea r9, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov r8d, 4
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18001382b
call fcn.18000ebe0
mov edi, eax
mov rbp, qword [rsp + 0x68]
cmp rbx, 0xffffffffffffffff
je 0x18001383f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x40]
add rsp, 0x48
pop r14
pop rsi
ret
mov eax, 0x80070057
add rsp, 0x48
pop r14
pop rsi
ret
Function at 0x1800186d0
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r15, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
mov ecx, 0xc0
call fcn.18004d044
mov qword [rsp + 0x78], rax
mov rcx, rax
call fcn.180013e70
mov rsi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x18001872a
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 8]
nop
mov r8, qword [rbp + 0x58]
mov rdx, rbp
mov rcx, rsi
call fcn.180023d70
mov ebx, eax
test eax, eax
jne 0x18001882e
mov r8, qword [r14 + 0xa8]
mov rdx, qword [r14 + 0xb0]
mov rcx, rsi
call fcn.180013f30
mov r8, r15
mov rdx, rbp
mov rcx, rsi
call fcn.180023f40
mov ebx, eax
test eax, eax
jne 0x18001882e
cmp dword [rbp + 8], eax
je 0x180018791
mov qword [rsp + 0x20], rdi
mov r9, rsi
mov r8, r15
mov rdx, qword [rbp + 0x58]
mov rcx, r14
call fcn.180018d50
mov ebx, eax
jmp 0x1800187e2
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x78], 0
xor edi, edi
cmp dword [rbp + 0x54], edi
jbe 0x18001881b
nop word [rax + rax]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x30]
mov edx, edi
mov rcx, r14
call fcn.180018860
mov ebx, eax
test eax, eax
js 0x1800187e2
cmp eax, 1
je 0x1800187e2
inc edi
cmp edi, dword [rbp + 0x54]
jb 0x1800187b0
jmp 0x18001881b
test ebx, ebx
js 0x1800187eb
cmp ebx, 1
jne 0x18001881b
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x180018802
mov qword [rsi + 0x50], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, [rsi + 0x88]
cmp qword [rcx + 0x18], 8
jb 0x180018813
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x180018825
mov rcx, rsi
call fcn.180024a90
mov ebx, eax
mov rcx, r14
call fcn.180016de0
nop
test rsi, rsi
je 0x18001883c
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x10]
mov eax, ebx
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x180019410
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x418
mov rax, qword [0x180083008]
xor rax, rsp
mov qword [rsp + 0x400], rax
or r9d, 0xffffffff
mov r10, rdx
xor r11d, r11d
lea rdx, [rsp]
mov ecx, r11d
nop word [rax + rax]
mov eax, ecx
shr eax, 1
test cl, 1
je 0x18001944e
xor eax, 0xedb88320
test al, 1
je 0x18001945b
shr eax, 1
xor eax, 0xedb88320
jmp 0x18001945d
shr eax, 1
test al, 1
je 0x18001946a
shr eax, 1
xor eax, 0xedb88320
jmp 0x18001946c
shr eax, 1
test al, 1
je 0x180019479
shr eax, 1
xor eax, 0xedb88320
jmp 0x18001947b
shr eax, 1
test al, 1
je 0x180019488
shr eax, 1
xor eax, 0xedb88320
jmp 0x18001948a
shr eax, 1
test al, 1
je 0x180019497
shr eax, 1
xor eax, 0xedb88320
jmp 0x180019499
shr eax, 1
test al, 1
je 0x1800194a6
shr eax, 1
xor eax, 0xedb88320
jmp 0x1800194a8
shr eax, 1
test al, 1
je 0x1800194b5
shr eax, 1
xor eax, 0xedb88320
jmp 0x1800194b7
shr eax, 1
mov dword [rdx], eax
inc ecx
add rdx, 4
cmp ecx, 0x100
jl 0x180019440
test r8, r8
je 0x1800194f7
test r10b, 7
je 0x1800194f7
movzx ecx, byte [r10]
inc r10
movzx eax, r9b
xor rcx, rax
mov eax, r9d
shr eax, 8
mov r9d, dword [rsp + rcx*4]
xor r9d, eax
sub r8, 1
jne 0x1800194d0
cmp r8, 8
jb 0x180019596
mov qword [rsp + 0x410], rbx
mov rbx, r8
shr rbx, 3
imul rax, rbx, 0xfffffffffffffff8
add r8, rax
nop word [rax + rax]
xor r9d, dword [r10]
movzx eax, r9b
shr r9d, 8
mov ecx, dword [rsp + rax*4]
xor ecx, r9d
movzx eax, cl
shr ecx, 8
mov edx, dword [rsp + rax*4]
xor edx, ecx
movzx eax, dl
shr edx, 8
mov ecx, dword [rsp + rax*4]
xor ecx, edx
movzx eax, cl
shr ecx, 8
mov edx, dword [rsp + rax*4]
xor edx, dword [r10 + 4]
add r10, 8
xor edx, ecx
movzx eax, dl
shr edx, 8
mov ecx, dword [rsp + rax*4]
xor ecx, edx
movzx eax, cl
shr ecx, 8
mov edx, dword [rsp + rax*4]
xor edx, ecx
movzx eax, dl
shr edx, 8
mov ecx, dword [rsp + rax*4]
xor ecx, edx
movzx eax, cl
shr ecx, 8
mov r9d, dword [rsp + rax*4]
xor r9d, ecx
sub rbx, 1
jne 0x180019520
mov rbx, qword [rsp + 0x410]
test r8, r8
je 0x1800195c1
nop dword [rax + rax]
movzx edx, byte [r11 + r10]
mov ecx, r9d
movzx eax, r9b
inc r11
xor rdx, rax
shr ecx, 8
mov r9d, dword [rsp + rdx*4]
xor r9d, ecx
cmp r11, r8
jb 0x1800195a0
mov eax, r9d
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.18004d010
add rsp, 0x418
ret
Function at 0x1800195e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x418
mov rax, qword [0x180083008]
xor rax, rsp
mov qword [rsp + 0x400], rax
mov r10d, edx
lea r9, [rsp]
mov r11, rcx
xor r8d, r8d
nop word [rax + rax]
mov eax, r8d
shr eax, 1
test r8b, 1
je 0x180019620
xor eax, 0xedb88320
test al, 1
je 0x18001962d
shr eax, 1
xor eax, 0xedb88320
jmp 0x18001962f
shr eax, 1
test al, 1
je 0x18001963c
shr eax, 1
xor eax, 0xedb88320
jmp 0x18001963e
shr eax, 1
test al, 1
je 0x18001964b
shr eax, 1
xor eax, 0xedb88320
jmp 0x18001964d
shr eax, 1
test al, 1
je 0x18001965a
shr eax, 1
xor eax, 0xedb88320
jmp 0x18001965c
shr eax, 1
test al, 1
je 0x180019669
shr eax, 1
xor eax, 0xedb88320
jmp 0x18001966b
shr eax, 1
test al, 1
je 0x180019678
shr eax, 1
xor eax, 0xedb88320
jmp 0x18001967a
shr eax, 1
test al, 1
je 0x180019687
shr eax, 1
xor eax, 0xedb88320
jmp 0x180019689
shr eax, 1
mov dword [r9], eax
inc r8d
add r9, 4
cmp r8d, 0x100
jl 0x180019610
or r8d, 0xffffffff
test edx, edx
je 0x1800196d2
nop dword [rax + rax]
movzx eax, byte [r11]
lea r11, [r11 + 1]
movzx edx, r8b
mov ecx, r8d
xor rdx, rax
shr ecx, 8
mov r8d, dword [rsp + rdx*4]
xor r8d, ecx
sub r10d, 1
jne 0x1800196b0
not r8d
mov eax, r8d
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.18004d010
add rsp, 0x418
ret