joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402d72c0
Capabilities:
Decompress data using ucl

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov esi, dword [r9]
lea edi, [rdx + r8]
xor ebp, ebp
mov r11, rcx
mov r14, r9
mov ecx, ebp
mov r10d, ebp
lea r15d, [rbp + 1]
cmp esi, edi
jb 0x1402d730b
mov dword [r9], ebp
mov eax, 0xffffff32
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
mov qword [rsp + 0x18], rbx
test cl, 0x7f
je 0x1402d7319
add ecx, ecx
jmp 0x1402d7329
mov eax, edx
inc edx
movzx ecx, byte [rax + r11]
lea ecx, [rcx*2 + 1]
bt ecx, 8
jae 0x1402d7350
cmp edx, edi
jae 0x1402d7540
cmp r10d, esi
jae 0x1402d751a
cmp r10d, edx
ja 0x1402d7513
inc r10d
inc edx
jmp 0x1402d7310
mov r9d, 1
test cl, 0x7f
je 0x1402d7361
lea r8d, [rcx + rcx]
jmp 0x1402d7372
mov eax, edx
inc edx
movzx ecx, byte [rax + r11]
lea r8d, [rcx*2 + 1]
mov eax, r8d
shr eax, 8
and eax, 1
lea r9d, [rax + r9*2]
cmp edx, edi
jae 0x1402d7540
cmp r9d, 0x1000002
ja 0x1402d7539
test r8b, 0x7f
je 0x1402d739f
add r8d, r8d
jmp 0x1402d73b0
mov eax, edx
inc edx
movzx ecx, byte [rax + r11]
lea r8d, [rcx*2 + 1]
bt r8d, 8
jb 0x1402d73f6
test r8b, 0x7f
je 0x1402d73d2
lea ecx, [r8 + r8]
mov eax, ecx
shr eax, 8
and eax, 1
dec r9d
lea r9d, [rax + r9*2]
jmp 0x1402d7356
mov eax, edx
inc edx
movzx ecx, byte [rax + r11]
lea ecx, [rcx*2 + 1]
mov eax, ecx
shr eax, 8
and eax, 1
dec r9d
lea r9d, [rax + r9*2]
jmp 0x1402d7356
cmp r9d, 2
jne 0x1402d742b
mov ebx, r15d
test r8b, 0x7f
je 0x1402d7411
add r8d, r8d
mov r9d, r8d
shr r9d, 8
jmp 0x1402d745f
mov eax, edx
inc edx
movzx ecx, byte [rax + r11]
lea r8d, [rcx*2 + 1]
mov r9d, r8d
shr r9d, 8
jmp 0x1402d745f
cmp edx, edi
jae 0x1402d7540
mov eax, edx
inc edx
shl r9d, 8
movzx ecx, byte [rax + r11]
lea ebx, [r9 - 0x300]
add ebx, ecx
cmp ebx, 0xffffffff
je 0x1402d7521
mov r9d, ebx
shr ebx, 1
inc ebx
not r9d
mov r15d, ebx
and r9d, 1
test r8b, 0x7f
je 0x1402d746f
lea ecx, [r8 + r8]
jmp 0x1402d747f
mov eax, edx
inc edx
movzx ecx, byte [rax + r11]
lea ecx, [rcx*2 + 1]
mov eax, ecx
shr eax, 8
and eax, 1
lea r8d, [rax + r9*2]
test r8d, r8d
jne 0x1402d74eb
mov r8d, 1
test cl, 0x7f
je 0x1402d749f
add ecx, ecx
jmp 0x1402d74af
mov eax, edx
inc edx
movzx ecx, byte [rax + r11]
lea ecx, [rcx*2 + 1]
mov eax, ecx
shr eax, 8
and eax, 1
lea r8d, [rax + r8*2]
cmp edx, edi
jae 0x1402d7540
cmp r8d, esi
jae 0x1402d751a
test cl, 0x7f
je 0x1402d74d1
add ecx, ecx
jmp 0x1402d74e1
mov eax, edx
inc edx
movzx ecx, byte [rax + r11]
lea ecx, [rcx*2 + 1]
bt ecx, 8
jae 0x1402d7496
add r8d, 2
cmp ebx, 0x500
mov eax, ebp
seta al
add r8d, eax
add r8d, r10d
cmp r8d, esi
ja 0x1402d751a
cmp ebx, r10d
ja 0x1402d7539
lea r10d, [r8 + 1]
cmp r10d, edx
jbe 0x1402d7310
mov eax, 0xffffff32
jmp 0x1402d7545
mov eax, 0xffffff36
jmp 0x1402d7545
mov dword [r14], r10d
cmp edx, edi
je 0x1402d7535
mov ebp, 0xffffff37
mov eax, 0xffffff33
cmovb ebp, eax
mov eax, ebp
jmp 0x1402d7548
mov eax, 0xffffff35
jmp 0x1402d7545
mov eax, 0xffffff37
mov dword [r14], r10d
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
Function at 0x1402d8d80
Capabilities:
Decompress data using ucl

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov esi, dword [r9]
xor r14d, r14d
mov r12, r9
mov rbp, r8
mov edi, edx
mov rbx, rcx
mov r10d, r14d
mov eax, r14d
lea r15d, [r14 + 1]
mov r11d, r14d
test r10b, 0x7f
je 0x1402d8dc3
add r10d, r10d
jmp 0x1402d8dd3
mov ecx, eax
inc eax
movzx edx, byte [rcx + rbx]
lea r10d, [rdx*2 + 1]
bt r10d, 8
jae 0x1402d8dfe
cmp eax, edi
jae 0x1402d8fd4
cmp r11d, esi
jae 0x1402d8faa
mov ecx, eax
mov edx, r11d
inc r11d
inc eax
movzx ecx, byte [rcx + rbx]
mov byte [rdx + rbp], cl
jmp 0x1402d8db8
mov r8d, 1
test r10b, 0x7f
je 0x1402d8e0f
add r10d, r10d
jmp 0x1402d8e1f
mov ecx, eax
inc eax
movzx edx, byte [rcx + rbx]
lea r10d, [rdx*2 + 1]
mov ecx, r10d
shr ecx, 8
and ecx, 1
lea r8d, [rcx + r8*2]
cmp eax, edi
jae 0x1402d8fd4
cmp r8d, 0x1000002
ja 0x1402d8fcd
test r10b, 0x7f
je 0x1402d8e4c
add r10d, r10d
jmp 0x1402d8e5c
mov ecx, eax
inc eax
movzx edx, byte [rcx + rbx]
lea r10d, [rdx*2 + 1]
bt r10d, 8
jae 0x1402d8e04
cmp r8d, 2
je 0x1402d8e93
cmp eax, edi
jae 0x1402d8fd4
mov ecx, eax
inc eax
shl r8d, 8
movzx edx, byte [rcx + rbx]
add edx, r8d
cmp edx, 0x2ff
je 0x1402d8fb1
lea r15d, [rdx - 0x2ff]
mov r9d, r15d
test r10b, 0x7f
je 0x1402d8ea1
add r10d, r10d
jmp 0x1402d8eb1
mov ecx, eax
inc eax
movzx edx, byte [rcx + rbx]
lea r10d, [rdx*2 + 1]
mov r8d, r10d
shr r8d, 8
and r8d, 1
test r10b, 0x7f
je 0x1402d8ec7
add r10d, r10d
jmp 0x1402d8ed7
mov ecx, eax
inc eax
movzx edx, byte [rcx + rbx]
lea r10d, [rdx*2 + 1]
mov ecx, r10d
shr ecx, 8
and ecx, 1
lea r8d, [rcx + r8*2]
test r8d, r8d
jne 0x1402d8f4f
mov r8d, 1
nop
test r10b, 0x7f
je 0x1402d8efb
add r10d, r10d
jmp 0x1402d8f0b
mov ecx, eax
inc eax
movzx edx, byte [rcx + rbx]
lea r10d, [rdx*2 + 1]
mov ecx, r10d
shr ecx, 8
and ecx, 1
lea r8d, [rcx + r8*2]
cmp eax, edi
jae 0x1402d8fd4
cmp r8d, esi
jae 0x1402d8faa
test r10b, 0x7f
je 0x1402d8f34
add r10d, r10d
jmp 0x1402d8f44
mov ecx, eax
inc eax
movzx edx, byte [rcx + rbx]
lea r10d, [rdx*2 + 1]
bt r10d, 8
jae 0x1402d8ef0
add r8d, 2
mov ecx, r14d
cmp r9d, 0xd00
seta cl
add r8d, ecx
lea ecx, [r8 + r11]
cmp ecx, esi
ja 0x1402d8faa
cmp r9d, r11d
ja 0x1402d8fcd
mov ecx, r9d
mov r9d, r11d
sub r9, rcx
mov edx, r11d
add r9, rbp
inc r11d
movzx ecx, byte [r9]
inc r9
mov byte [rdx + rbp], cl
nop dword [rax + rax]
movzx ecx, byte [r9]
lea r9, [r9 + 1]
mov byte [r11 + rbp], cl
inc r11d
add r8d, 0xffffffff
jne 0x1402d8f90
jmp 0x1402d8db8
mov eax, 0xffffff36
jmp 0x1402d8fd9
mov dword [r12], r11d
cmp eax, edi
je 0x1402d8fc8
mov ecx, 0xffffff33
mov r14d, 0xffffff37
cmovb r14d, ecx
mov eax, r14d
jmp 0x1402d8fdd
mov eax, 0xffffff35
jmp 0x1402d8fd9
mov eax, 0xffffff37
mov dword [r12], r11d
mov rbx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
Function at 0x1402d9340
Capabilities:
Decompress data using ucl

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov ebp, dword [r9]
xor r15d, r15d
mov rdi, rcx
mov r13, r9
mov r14, r8
mov esi, edx
mov ecx, r15d
mov r11d, r15d
lea r12d, [r15 + 1]
mov r10d, r15d
mov ebx, r15d
nop dword [rax]
test ecx, ecx
je 0x1402d9390
dec ecx
mov eax, r11d
shr eax, cl
and eax, 1
jmp 0x1402d93a6
mov eax, r10d
mov ecx, 0x1f
add r10d, 4
mov r11d, dword [rax + rdi]
mov eax, r11d
shr eax, 0x1f
test eax, eax
je 0x1402d93cf
cmp r10d, esi
jae 0x1402d95b6
cmp ebx, ebp
jae 0x1402d958b
mov eax, r10d
mov edx, ebx
inc ebx
inc r10d
movzx eax, byte [rax + rdi]
mov byte [rdx + r14], al
jmp 0x1402d9380
mov edx, 1
test ecx, ecx
je 0x1402d93e4
dec ecx
mov eax, r11d
shr eax, cl
and eax, 1
jmp 0x1402d93fa
mov eax, r10d
mov ecx, 0x1f
add r10d, 4
mov r11d, dword [rax + rdi]
mov eax, r11d
shr eax, 0x1f
lea edx, [rax + rdx*2]
cmp r10d, esi
jae 0x1402d95b6
cmp edx, 0x1000002
ja 0x1402d95af
test ecx, ecx
je 0x1402d9422
dec ecx
mov eax, r11d
shr eax, cl
and eax, 1
jmp 0x1402d9438
mov eax, r10d
mov ecx, 0x1f
add r10d, 4
mov r11d, dword [rax + rdi]
mov eax, r11d
shr eax, 0x1f
test eax, eax
je 0x1402d93d4
cmp edx, 2
je 0x1402d946f
cmp r10d, esi
jae 0x1402d95b6
mov eax, r10d
inc r10d
shl edx, 8
movzx r8d, byte [rax + rdi]
add r8d, edx
cmp r8d, 0x2ff
je 0x1402d9592
lea r12d, [r8 - 0x2ff]
mov r9d, r12d
test ecx, ecx
je 0x1402d949c
dec ecx
mov edx, r11d
shr edx, cl
and edx, 1
test ecx, ecx
jne 0x1402d94b2
mov eax, r10d
mov ecx, 0x1f
add r10d, 4
mov r11d, dword [rax + rdi]
mov eax, r11d
shr eax, 0x1f
jmp 0x1402d94bc
mov eax, r10d
mov ecx, 0x1f
add r10d, 4
mov r11d, dword [rax + rdi]
mov edx, r11d
shr edx, 0x1f
dec ecx
mov eax, r11d
shr eax, cl
and eax, 1
lea r8d, [rax + rdx*2]
test r8d, r8d
jne 0x1402d953a
mov r8d, 1
nop dword [rax + rax]
test ecx, ecx
je 0x1402d94e0
dec ecx
mov eax, r11d
shr eax, cl
and eax, 1
jmp 0x1402d94f6
mov eax, r10d
mov ecx, 0x1f
add r10d, 4
mov r11d, dword [rax + rdi]
mov eax, r11d
shr eax, 0x1f
lea r8d, [rax + r8*2]
cmp r10d, esi
jae 0x1402d95b6
cmp r8d, ebp
jae 0x1402d958b
test ecx, ecx
je 0x1402d951c
dec ecx
mov eax, r11d
shr eax, cl
and eax, 1
jmp 0x1402d9532
mov eax, r10d
mov ecx, 0x1f
add r10d, 4
mov r11d, dword [rax + rdi]
mov eax, r11d
shr eax, 0x1f
test eax, eax
je 0x1402d94d0
add r8d, 2
mov eax, r15d
cmp r9d, 0xd00
seta al
add r8d, eax
lea eax, [r8 + rbx]
cmp eax, ebp
ja 0x1402d958b
cmp r9d, ebx
ja 0x1402d95af
mov eax, r9d
mov r9d, ebx
sub r9, rax
mov edx, ebx
add r9, r14
inc ebx
movzx eax, byte [r9]
inc r9
mov byte [rdx + r14], al
movzx eax, byte [r9]
lea r9, [r9 + 1]
mov byte [rbx + r14], al
inc ebx
add r8d, 0xffffffff
jne 0x1402d9572
jmp 0x1402d9380
mov eax, 0xffffff36
jmp 0x1402d95bb
mov dword [r13], ebx
cmp r10d, esi
je 0x1402d95aa
mov eax, 0xffffff33
mov r15d, 0xffffff37
cmovb r15d, eax
mov eax, r15d
jmp 0x1402d95bf
mov eax, 0xffffff35
jmp 0x1402d95bb
mov eax, 0xffffff37
mov dword [r13], ebx
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x1402e30a8
Capabilities:
Parse pe header

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

Function at 0x1402e4afc
Capabilities:
Read 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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1402e4b2a
xor eax, eax
jmp 0x1402e4c10
cmp qword [rcx + 0x68], 0
je 0x1402e4b3b
call fcn.1402e4c2c
jmp 0x1402e4c10
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1402e4b52
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1402e4b54
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1402e4b86
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14031e5f0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1402e4c0a
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x1402e4bbd
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1402e4be6
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14030bb90
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1402e4c0a
cmp rsi, rbx
ja 0x1402e4bc4
test rsi, rsi
je 0x1402e4c0a
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14030bb90
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1402f4c38
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.1402f4b9c
mov rax, qword [rbp - 0x58]
mov edi, 0xfde9
cmp dword [rax + 0xc], edi
jne 0x1402f4c83
xor ebx, ebx
cmp byte [rbp - 0x48], bl
je 0x1402f4cb7
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1402f4cb7
call fcn.14030ede8
xor ebx, ebx
test eax, eax
jne 0x1402f4ca5
cmp byte [rbp - 0x48], bl
je 0x1402f4c9e
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, 1
jmp 0x1402f4cb7
cmp byte [rbp - 0x48], bl
je 0x1402f4cb5
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, ebx
mov r9d, edi
mov qword [rbp - 0x30], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], bl
call fcn.1402f4a20
mov esi, eax
test eax, eax
je 0x1402f4cf3
call fcn.1402f4e48
or edi, 0xffffffff
mov dword [rax], esi
jmp 0x1402f4d4c
mov r9d, edi
mov qword [rbp - 0x60], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x50], rbx
mov rcx, r14
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], bl
call fcn.1402f4a20
mov edi, eax
test eax, eax
je 0x1402f4d2f
call fcn.1402f4e48
mov dword [rax], edi
or edi, 0xffffffff
jmp 0x1402f4d3e
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call fcn.14030fa24
mov edi, eax
cmp byte [rbp - 0x38], bl
je 0x1402f4d4c
mov rcx, qword [rbp - 0x50]
call fcn.14030e594
cmp byte [rbp - 8], bl
je 0x1402f4d5a
mov rcx, qword [rbp - 0x20]
call fcn.14030e594
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1402f54e8
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x14045f040]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x140324578]
mov rbp, rcx
call fcn.14030fe30
xor edi, edi
test rax, rax
je 0x1402f55ce
mov ebx, edi
call fcn.1402f4e48
mov r14d, dword [rax]
call fcn.1402f4e48
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.14030fd7c
mov rsi, rax
test rax, rax
je 0x1402f555f
call fcn.1402f4e48
mov dword [rax], r14d
jmp 0x1402f5589
call fcn.1402f4e48
cmp dword [rax], 0x22
jne 0x1402f55c6
call fcn.1402f4e48
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.14030fd7c
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1402f55c6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1402f558d
cmp rax, 3
je 0x1402f55a8
mov rcx, rsi
call fcn.1402f5444
test al, al
je 0x1402f55b9
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1402f55b9
mov dil, 1
mov rcx, rbx
call fcn.1402f44a4
mov al, dil
jmp 0x1402f55d0
mov rcx, rbx
call fcn.1402f44a4
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1402e2560
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140302700
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14030256b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14030256b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14030256b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14030256b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14030256b
cmp dword [rcx + 0x84], 0xe
jbe 0x14030256b
cmp dword [rcx + 0xf8], 0
je 0x14030256b
mov ecx, ebx
call fcn.14030261c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1403023f8
nop
cmp dword [rbp + 0x20], 0
je 0x1403025b9
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1403025c4
int3
xor r8d, r8d
xor edx, edx
jmp 0x1403024fc
Function at 0x140304a7c
Capabilities:
Timestomp file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x14045f040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
movsxd rbx, ecx
mov rdi, rdx
cmp ebx, 0xfffffffe
jne 0x1403048c3
call fcn.1402f4e48
mov dword [rax], 9
jmp 0x140304a55
xor esi, esi
test ecx, ecx
js 0x140304a45
cmp ebx, dword [0x140463340]
jae 0x140304a45
mov rcx, rbx
lea rdx, [0x140462f40]
and ecx, 0x3f
mov rax, rbx
shr rax, 6
lea rcx, [rcx + rcx*8]
mov rax, qword [rdx + rax*8]
test byte [rax + rcx*8 + 0x38], 1
je 0x140304a45
test rdi, rdi
jne 0x14030491a
lea rcx, [rbp + 0x27]
call fcn.1403036b0
mov rax, qword [rbp + 0x27]
lea rdi, [rbp + 0x1f]
mov qword [rbp + 0x1f], rax
lea rdx, [rdi + 8]
lea rcx, [rbp - 9]
call fcn.140312a3c
test eax, eax
je 0x14030493b
call fcn.1402f4e48
mov dword [rax], 0x16
jmp 0x140304a55
movzx eax, word [rbp + 0xb]
lea r8, [rbp + 0x2f]
mov r14d, 0x76c
mov word [rbp - 0xb], si
add ax, r14w
lea rdx, [rbp - 0x19]
mov word [rbp - 0x19], ax
xor ecx, ecx
movzx eax, word [rbp + 7]
inc ax
mov word [rbp - 0x17], ax
movzx eax, word [rbp + 3]
mov word [rbp - 0x13], ax
movzx eax, word [rbp - 1]
mov word [rbp - 0x11], ax
movzx eax, word [rbp - 5]
mov word [rbp - 0xf], ax
movzx eax, word [rbp - 9]
mov word [rbp - 0xd], ax
call qword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
test eax, eax
je 0x14030492b
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x14030492b
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.140312a3c
test eax, eax
jne 0x14030492b
movzx eax, word [rbp + 0xb]
lea r8, [rbp + 0x2f]
add ax, r14w
mov word [rbp - 0xb], si
mov word [rbp - 0x19], ax
lea rdx, [rbp - 0x19]
movzx eax, word [rbp + 7]
xor ecx, ecx
inc ax
mov word [rbp - 0x17], ax
movzx eax, word [rbp + 3]
mov word [rbp - 0x13], ax
movzx eax, word [rbp - 1]
mov word [rbp - 0x11], ax
movzx eax, word [rbp - 5]
mov word [rbp - 0xf], ax
movzx eax, word [rbp - 9]
mov word [rbp - 0xd], ax
call qword [sym.imp.KERNEL32.dll_TzSpecificLocalTimeToSystemTime]
test eax, eax
je 0x14030492b
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0x2f]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x14030492b
mov ecx, ebx
call fcn.140304808
mov rcx, rax
lea r9, [rbp - 0x29]
lea r8, [rbp - 0x21]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
je 0x14030492b
xor eax, eax
jmp 0x140304a58
call fcn.1402f4e48
mov dword [rax], 9
call fcn.140303280
or eax, 0xffffffff
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1402e2560
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
jmp 0x140304880
Function at 0x140309c14
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, [0x140462f40]
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 0x140309c6b
cmp word [rdx], r13w
jne 0x140309c6b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140309c70
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140309d95
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140309db6
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140309ca9
mov rdx, r9
mov word [rbx], cx
jmp 0x140309cd0
cmp r9, r8
jae 0x140309ce0
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 0x140309c8a
jmp 0x140309d95
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 0x140309d8a
cmp dword [rsp + 0x80], esi
je 0x140309d8a
lea r8, [0x140462f40]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140309d62
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140309d32
mov word [rbx], r13w
jmp 0x140309d92
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 0x140309d3f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140309d92
cmp word [rsp + 0x70], r13w
jne 0x140309d6f
cmp rbx, r14
je 0x140309d2c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140304fa4
cmp word [rsp + 0x70], r13w
je 0x140309d95
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, [0x140462f40]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140309d8f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140309d95
Function at 0x140312adc
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.140304fa4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140304fa4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140312c2c
cmp rax, 0xffffffffffffffff
je 0x140312c2c
xor edi, edi
test rbp, rbp
jle 0x140312bd7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14030e630
mov rbx, rax
test rax, rax
jne 0x140312b64
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140312bcd
mov edx, 0x8000
mov ecx, r14d
call fcn.140307728
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.14030afcc
cmp eax, 0xffffffff
je 0x140312bad
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140312b74
mov edx, r15d
mov ecx, r14d
call fcn.140307728
jmp 0x140312bcd
cmp byte [rsi + 0x38], dil
je 0x140312bc4
cmp dword [rsi + 0x34], 5
jne 0x140312bc4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140312bcd
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14030e594
jmp 0x140312c40
jns 0x140312c40
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140304fa4
cmp rax, 0xffffffffffffffff
jne 0x140312bf8
cmp byte [rsi + 0x30], dil
je 0x140312c40
mov edi, dword [rsi + 0x2c]
jmp 0x140312c40
mov ecx, r14d
call fcn.140304808
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140312c40
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 0x140312c40
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140312c39
mov eax, dword [rsi + 0x2c]
jmp 0x140312c3e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140304fa4
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