joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140156f80
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jb 0x140156fac
call fcn.140118d70
mov qword [rsi], 0
test r15, r15
je 0x140156fe2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140157030
cmp r12, 2
jb 0x140156fda
mov qword [rsi], r15
call fcn.140118d70
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
cmp byte [rdi + 0x1f], 0
jns 0x14015701c
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
call fcn.140145f60
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 rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, [rdi + 8]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
jmp 0x140156ff9
call fcn.140118d70
mov r14, qword [rsi]
cmp qword [0x1402c5c40], 0
je 0x140157064
mov rcx, qword [0x1402c5c40]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402a3e88]
mov qword [rsi], 0
jmp 0x140156fcc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140288eef]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1401570a5
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14015709f
call qword [0x1402a3e88]
mov rcx, rax
xor edx, edx
call fcn.1400445d0
jmp 0x140157042
xor ecx, ecx
mov dl, 1
jmp 0x140157098
xor ecx, ecx
jmp 0x140157096
Function at 0x1401593a0
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 [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x14026f080]
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, [0x1402819f8]
lea r15, [rsp + 0x30]
mov rcx, r15
mov r9d, 0x5f
call fcn.14012cb80
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140159990
test esi, esi
js 0x140159476
lea r9, [rsp + 0x30]
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 0x140159482
mov esi, dword [rsp + 0x30]
test esi, esi
js 0x14015947d
lea rcx, [rsp + 0x50]
call fcn.1401594a0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140191d80
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov esi, 0xffffffff
jmp 0x14015944b
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x26
setne sil
neg esi
jmp 0x14015944b
Function at 0x1401783f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
test r8, r8
je 0x14017850a
mov rcx, qword [rcx + 8]
movsxd r9, dword [rcx + 0x3c]
cmp dword [rcx + r9 + 0x84], 0
je 0x14017850a
add r9, rcx
xor eax, eax
cmp word [r9 + 0x14], 0x78
jb 0x140178503
add r9, 0x88
je 0x140178503
mov eax, dword [r9]
test rax, rax
je 0x14017850a
add rax, rcx
je 0x14017850a
cmp rdx, 0xffff
jbe 0x1401784fd
mov r10d, dword [rax + 0x20]
lea r9, [rcx + r10]
test r10, r10
cmove r9, r10
mov r10d, dword [rax + 0x18]
lea r10, [r9 + r10*4]
lea r11, [rdx + 1]
mov rsi, r9
jmp 0x140178496
xor ebp, ebp
lea rdi, [rsi + rdi*2]
movzx ebp, bpl
movzx ebx, byte [rbx]
lea r14, [rdi + 4]
cmp ebp, ebx
cmovg rsi, r14
cmovs r10, rdi
cmp bpl, bl
je 0x1401784e2
cmp rsi, r10
je 0x14017850a
mov rdi, r10
sub rdi, rsi
mov rbx, rdi
sar rbx, 2
shr rdi, 0x3f
add rdi, rbx
and rdi, 0xfffffffffffffffe
mov r14d, dword [rsi + rdi*2]
lea rbx, [rcx + r14]
test r14, r14
cmove rbx, r14
mov bpl, byte [rdx]
test bpl, bpl
je 0x140178476
mov r14, r11
cmp bpl, byte [rbx]
jne 0x140178478
inc rbx
mov bpl, byte [r14]
inc r14
test bpl, bpl
jne 0x1401784cd
jmp 0x140178476
mov edx, dword [rax + 0x24]
add rcx, rdx
test rdx, rdx
cmove rcx, rdx
sub rdi, r9
sar rdi, 1
movzx edx, word [rcx + rdi]
add dx, word [rax + 0x10]
mov word [r8], dx
mov al, 1
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
xor eax, eax
jmp 0x140178503
Function at 0x140178e30
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jae 0x140178faf
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
pmovzxdq xmm3, qword [0x140276ef0]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp rdx, 0x10
jb 0x140178f12
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x140178ee8
pmovzxdq xmm1, qword [0x140276ef0]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
pxor xmm3, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
pclmulqdq xmm0, xmmword [0x140276ee0], 0x10
pblendw xmm0, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm3
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x140276ed0]
nop word cs:[rax + rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm3
pclmulqdq xmm7, xmm4, 0
movdqa xmm8, xmm2
pclmulqdq xmm8, xmm4, 0
movdqa xmm9, xmm1
pclmulqdq xmm9, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
movdqu xmm10, xmmword [rcx]
pxor xmm10, xmm6
pxor xmm0, xmm10
movdqu xmm6, xmmword [rcx + 0x10]
pxor xmm6, xmm7
pxor xmm3, xmm6
movdqu xmm6, xmmword [rcx + 0x20]
pxor xmm6, xmm8
pxor xmm2, xmm6
movdqu xmm6, xmmword [rcx + 0x30]
pxor xmm6, xmm9
pxor xmm1, xmm6
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x140178fd0
jmp 0x140178e82
Function at 0x140184d40
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
movaps xmm0, xmmword [0x14026f080]
lea r15, [rsp + 0x30]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, [0x140281aaf]
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x290]
mov rcx, r14
mov r9d, 0x1de
call fcn.14012cb80
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.14011ac90
mov qword [rsp + 0x70], 0xa
mov al, byte [0x1402c585a]
test al, al
jne 0x140184f18
lea rcx, [rsp + 0x290]
mov r8d, 0x208
mov dl, 0xaa
call fcn.1401cdd90
cmp byte [rbx + 0x17], 0
mov rax, rbx
jns 0x140184df2
mov rax, qword [rbx]
xor ecx, ecx
movzx edx, word [rax + rcx*2]
mov word [rsp + rcx*2 + 0x290], dx
test dx, dx
je 0x140184e1b
inc rcx
cmp rcx, 0x104
jne 0x140184df4
mov word [rsp + 0x496], 0
lea rcx, [rsp + 0x290]
call fcn.14012aea0
lea rcx, [rsp + 0x80]
mov r8d, 0x208
mov dl, 0xaa
call fcn.1401cdd90
cmp byte [rdi + 0x17], 0
mov rax, rdi
jns 0x140184e49
mov rax, qword [rdi]
xor ecx, ecx
movzx edx, word [rax + rcx*2]
mov word [rsp + rcx*2 + 0x80], dx
test dx, dx
je 0x140184e72
inc rcx
cmp rcx, 0x104
jne 0x140184e4b
mov word [rsp + 0x286], 0
lea rcx, [rsp + 0x80]
call fcn.14012aea0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x140184e8b
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x140184e97
mov rcx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x140184ee9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x140184ec3
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x140184ecc
mov rbx, qword [rbx]
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
test rsi, rsi
je 0x140184eec
test eax, eax
jne 0x140184eec
jmp 0x140184f44
mov dil, 1
lea rcx, [rsp + 0x30]
call fcn.1401594a0
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140191d80
mov eax, edi
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
movzx ecx, al
lea r9, [rsp + 0x80]
mov qword [r9], r14
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0x78]
mov qword [r8], rax
lea rdx, [rsp + 0x70]
call fcn.1401f5c00
jmp 0x140184dd1
mov ecx, ebp
call fcn.140012320
cmp eax, 0xfffffffc
jne 0x140184f55
call fcn.1401f5a80
mov dword [rsi], eax
xor edi, edi
jmp 0x140184eec
Function at 0x140186920
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov ebx, ecx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x1402c5ca0]
mov ecx, dword [0x1402c2670]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140186b0c
mov rsi, qword [0x1402c5c98]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140186b4e
movzx ebx, bl
dec ebx
or ebx, 1
test byte [0x1402c5c54], 1
mov eax, 1
mov ecx, 8
cmovne ecx, eax
xor ebp, ebp
add ebx, dword [0x1402c5c58]
mov dword [0x1402c5c58], ebx
cmovne ebp, ecx
mov eax, dword [0x1402c5c5c]
cmp ebp, eax
je 0x140186aeb
test eax, eax
je 0x140186a7c
mov rax, qword [0x1402b5770]
lea rcx, [0x140118bd0]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x140186b6c
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x140186bbf
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402c5cb8]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1402c5ca8]
xor edx, edx
cmp rax, rcx
setns dl
movabs r8, 0x7fffffffffffffff
add r8, rdx
sub rax, rcx
cmovo rax, r8
movabs rdx, 0x8000000000000001
lea r8, [rax + rdx]
mov rcx, qword [0x1402c5c60]
cmp r8, 2
jb 0x140186ba4
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x1402c5c60], rax
mov ecx, dword [0x1402c5c5c]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [0x1402c5c5c], ebp
test ebx, ebx
je 0x140186aeb
mov rax, qword [0x1402b5770]
lea rcx, [0x140118bd0]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x140186b5b
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x140186b7d
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402c5cb8]
mov qword [0x1402c5ca8], rax
mov ecx, dword [0x1402c5c5c]
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140191d80
mov al, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x1402c5ca0]
call fcn.14018f730
cmp dword [0x1402c5ca0], 0xffffffff
jne 0x14018695e
mov ecx, 8
call fcn.14018f5b8
mov qword [rax], 0
mov qword [0x1402c5c98], rax
lea rcx, [0x1402c5ca0]
call fcn.14018f6c4
jmp 0x14018695e
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x140186976
mov rcx, rdi
call qword [0x1402a3e88]
mov rax, qword [rdi]
jmp 0x140186ad8
mov rcx, rdi
call qword [0x1402a3e88]
mov rax, qword [rdi]
jmp 0x140186a10
mov rcx, qword [0x1402c5cb8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140186ad8
add rdx, rcx
cmp rdx, 2
setae dl
cmp rcx, rax
sete cl
or cl, dl
jne 0x140186a69
int3
mov rcx, qword [0x1402c5cb8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140186a0b
Function at 0x140190ff4
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 0x14019106c
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x14019106c
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 0x14019106c
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140191060
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x14019107e
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14019104e
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 0x14019106e

Function at 0x1401918cc
Capabilities:
Parse pe header

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

Function at 0x1401a30dc
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 0x1401a3113
call fcn.14018f5fc
mov dword [rax], Ordinal_26
call fcn.1401bbce4
xor eax, eax
jmp 0x1401a31a1
mov rdx, r9
mov rcx, r8
call fcn.1401a31c4
mov rbx, rax
test rax, rax
je 0x1401a319e
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1401a3230]
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 0x1401a318b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1401a62c0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1401a3172
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1401a3181
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14018db50
jmp 0x1401a319e
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1401a319b
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 0x1401a3304
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1401a344c
Function at 0x1401a344c
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1401a344c
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 0x1401a34bb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401a34bb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401a34bb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401a34bb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401a34bb
cmp dword [rcx + 0x84], 0xe
jbe 0x1401a34bb
cmp dword [rcx + 0xf8], 0
je 0x1401a34bb
mov ecx, ebx
call fcn.1401a3384
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.1401a35e0
nop
cmp dword [rbp + 0x20], 0
je 0x1401a3509
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401a3418
int3
Function at 0x1401a3730
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.1401a86a0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1401a86a0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401a3880
cmp rax, 0xffffffffffffffff
je 0x1401a3880
xor edi, edi
test rbp, rbp
jle 0x1401a382b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14018dbf0
mov rbx, rax
test rax, rax
jne 0x1401a37b8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401a3821
mov edx, 0x8000
mov ecx, r14d
call fcn.1401aa498
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.1401addf0
cmp eax, 0xffffffff
je 0x1401a3801
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1401a37c8
mov edx, r15d
mov ecx, r14d
call fcn.1401aa498
jmp 0x1401a3821
cmp byte [rsi + 0x38], dil
je 0x1401a3818
cmp dword [rsi + 0x34], 5
jne 0x1401a3818
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], Ordinal_14
cmp byte [rsi + 0x30], dil
je 0x1401a3821
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14018db50
jmp 0x1401a3894
jns 0x1401a3894
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1401a86a0
cmp rax, 0xffffffffffffffff
jne 0x1401a384c
cmp byte [rsi + 0x30], dil
je 0x1401a3894
mov edi, dword [rsi + 0x2c]
jmp 0x1401a3894
mov ecx, r14d
call fcn.1401a737c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401a3894
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, Ordinal_14
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], Ordinal_14
jmp 0x1401a3894
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1401a388d
mov eax, dword [rsi + 0x2c]
jmp 0x1401a3892
mov eax, Ordinal_26
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1401a86a0
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 0x1401a6d98
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 [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x140264dc0]
mov rbp, rcx
call fcn.1401b5b34
xor edi, edi
test rax, rax
je 0x1401a6e7e
mov ebx, edi
call fcn.14018f5fc
mov r14d, dword [rax]
call fcn.14018f5fc
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.140190b8c
mov rsi, rax
test rax, rax
je 0x1401a6e0f
call fcn.14018f5fc
mov dword [rax], r14d
jmp 0x1401a6e39
call fcn.14018f5fc
cmp dword [rax], 0x22
jne 0x1401a6e76
call fcn.14018f5fc
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.140190b8c
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1401a6e76
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1401a6e3d
cmp rax, 3
je 0x1401a6e58
mov rcx, rsi
call fcn.1401a6cf4
test al, al
je 0x1401a6e69
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1401a6e69
mov dil, 1
mov rcx, rbx
call fcn.14018db50
mov al, dil
jmp 0x1401a6e80
mov rcx, rbx
call fcn.14018db50
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140191d80
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 0x1401aa07c
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, [0x1402c35c0]
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 0x1401aa0d3
cmp word [rdx], r13w
jne 0x1401aa0d3
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1401aa0d8
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1401aa1fd
mov r11d, Ordinal_14
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1401aa21e
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1401aa111
mov rdx, r9
mov word [rbx], cx
jmp 0x1401aa138
cmp r9, r8
jae 0x1401aa148
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 0x1401aa0f2
jmp 0x1401aa1fd
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 0x1401aa1f2
cmp dword [rsp + 0x80], esi
je 0x1401aa1f2
lea r8, [0x1402c35c0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1401aa1ca
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1401aa19a
mov word [rbx], r13w
jmp 0x1401aa1fa
mov ecx, Ordinal_14
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 0x1401aa1a7
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1401aa1fa
cmp word [rsp + 0x70], r13w
jne 0x1401aa1d7
cmp rbx, r14
je 0x1401aa194
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1401a86a0
cmp word [rsp + 0x70], r13w
je 0x1401aa1fd
mov ecx, Ordinal_14
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, [0x1402c35c0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1401aa1f7
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1401aa1fd