joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005660
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x28], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 4], 0
mov qword [rbp - 0x30], rdx
mov r14, qword [rdx]
mov edi, 8
lea r15, [rbp - 4]
xor ebx, ebx
xor esi, esi
jmp 0x1400056bd
mov r13, r12
mov qword [rbp - 0x18], r13
mov rbx, r13
mov esi, r12d
lea r8d, [rbx*8]
mov dword [rsp + 0x20], 3
mov rcx, r14
mov rdx, rdi
mov r9, r15
call sub.PSAPI.DLL_EnumProcessModulesEx
test eax, eax
je 0x14000576c
mov r12d, dword [rbp - 4]
cmp r12d, esi
jbe 0x1400057b8
cmp rbx, r12
jae 0x1400056b0
mov rsi, r12
sub rsi, rbx
mov rax, qword [rbp - 0x20]
sub rax, rbx
mov r13, rbx
cmp rax, rsi
jae 0x140005721
lea rcx, [rbp - 0x28]
mov rdx, rbx
mov r8, rsi
call fcn.1400211e0
mov rdi, qword [rbp - 0x28]
mov r13, qword [rbp - 0x18]
lea rcx, [rdi + r13*8]
cmp rsi, 2
jb 0x140005754
mov r8, rbx
not r8
add r8, r12
shl r8, 3
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [r12 + r13]
sub rax, rbx
lea rcx, [rdi + rax*8]
add rcx, 0xfffffffffffffff8
add r13, rsi
dec r13
cmp rbx, r12
je 0x1400056b3
mov qword [rcx], 0
inc r13
jmp 0x1400056b3
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp - 0x10]
mov qword [rcx + 8], rax
mov qword [rcx], 0
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1400057a3
shl rdx, 3
mov r8d, 8
mov rcx, rdi
call fcn.140003550
mov rax, qword [rbp - 0x10]
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov r14, r12
shr r14, 3
cmp rbx, r14
jb 0x140005888
cmp r12d, 8
jae 0x1400057da
mov eax, 8
xor ecx, ecx
jmp 0x14000585f
mov r15, r14
shl r15, 4
movzx eax, byte [0x1400b3151]
mov edx, 8
mov rcx, r15
call fcn.140003540
test rax, rax
je 0x14000589c
cmp r14d, 1
jne 0x14000580c
xor ecx, ecx
mov r10, qword [rbp - 0x30]
jmp 0x140005845
mov edx, r14d
and edx, 0xfffffffe
lea r8, [rax + 0x18]
xor ecx, ecx
mov r10, qword [rbp - 0x30]
nop dword [rax]
mov r9, qword [rdi + rcx*8]
mov qword [r8 - 0x18], r10
mov qword [r8 - 0x10], r9
mov r9, qword [rdi + rcx*8 + 8]
mov qword [r8 - 8], r10
mov qword [r8], r9
add rcx, 2
add r8, 0x20
cmp rdx, rcx
jne 0x140005820
test r14b, 1
je 0x14000585c
mov rdx, qword [rdi + rcx*8]
shl rcx, 4
mov qword [rax + rcx], r10
mov qword [rax + rcx + 8], rdx
mov rcx, r14
mov rdx, qword [rbp - 0x10]
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], rcx
mov qword [rdx], 4
mov rdx, qword [rbp - 0x20]
test rdx, rdx
jne 0x140005791
jmp 0x1400057a3
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinproc_0.6.4_srcprocessmod.rs
mov rcx, r14
mov rdx, rbx
call fcn.1400223c0
jmp 0x1400058a9
mov ecx, 8
mov rdx, r15
call fcn.140021e50
ud2
Function at 0x1400086b0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x140008740
jmp 0x14000872f
jae 0x140008800
cmp r8, 0x201
jae 0x140008740
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140008798
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x14000876f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.140021500
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x1400087c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140008868
mov r8d, r14d
cmp r15, r8
jne 0x140008720
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000888b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14000872f
jmp 0x140008740
cmp rsi, r8
jb 0x1400088a5
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.14000a780
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x140008851
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140003550
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x140008839
jmp 0x140008851
lea rcx, str.internal_error:_entered_unreachable_code_rustc_5680fa18feaa87f3ff04063800aec256c3d4b4belibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.140021f70
jmp 0x1400088ba
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.1400223c0
ud2
Function at 0x14000b180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x14000b1b0
test ecx, ecx
jne 0x14000b200
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x14000b1bc
test ecx, ecx
jne 0x14000b200
mov rcx, rdi
call fcn.14000b060
movzx eax, al
test bpl, bpl
jne 0x14000b207
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x14000b1f3.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x14000b378]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x14000b1f3.2
xor eax, eax
test bpl, bpl
je 0x14000b1cc
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x14000b359
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x14000b23a
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x14000b2b9
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x14000b280
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x14000b29b
inc rax
dec rdi
cmp rax, 1
jne 0x14000b260
jmp 0x14000b2b9
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x14000b29b
cmp ebx, 0x5c
je 0x14000b29b
inc rax
dec rdi
cmp rax, 1
jne 0x14000b280
jmp 0x14000b2b9
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x14000b367
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x14000b2e3
mov al, 9
cmp rdx, 2
je 0x14000b2e7
cmp rdx, 1
jne 0x14000b2f7
cmp byte [r8], 0x2e
jne 0x14000b2f7
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x14000b2f7
mov al, 0xa
jmp 0x14000b2f7
cmp byte [r8], 0x2e
jne 0x14000b2f7
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x14000b1f3.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x14000b1f3.2
mov ecx, 2
jmp case.0x14000b1f3.2
lea r8, str.library_std_srcpath.rs
call fcn.140022340
ud2
lea r8, str.library_std_srcpath.rs
call fcn.140022340
ud2
Function at 0x14000f860
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x1400a7dd8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000f8a4
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14000f90a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14000f941
test eax, eax
js 0x14000f91b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000f934
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.14000a550
mov rcx, rax
call fcn.140006480
mov ecx, 7
int 0x29
ud2

Function at 0x14001ea90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14001eb0a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14001eb00
cmp r10, r11
jb 0x14001eba3
cmp r10, rdx
ja 0x14001ebb7
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x14001eb02
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14001eae0
jmp 0x14001eb77
ja 0x14001eb0a
mov r11, r10
cmp rax, r8
jne 0x14001eab2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14001eb7b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14001eb50
mov r8, r10
sub ecx, r9d
jns 0x14001eb6e
jmp 0x14001eb7d
cmp r10, rdx
je 0x14001eb89
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001eb7d
xor al, 1
cmp r8, rdx
jne 0x14001eb30
jmp 0x14001eb7d
xor eax, eax
jmp 0x14001eb7d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuelibrarycore_src_nummod.rsfrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140021f70
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140022440
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400223c0
ud2
Function at 0x14000ba20
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push rbp
push rdi
sub rsp, 0x438
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rax, rdx
mov qword [rcx + 0x10], 0
mov rdi, rcx
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
lea rdx, [0x1401e52c0]
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov rcx, rax
call fcn.1401a7abc
mov rbp, rax
test rax, rax
je 0x14000bba7
mov r9, rbp
mov qword [rsp + 0x430], rsi
mov edx, 1
lea rcx, [rsp + 0x20]
mov r8d, 0x400
call fcn.1401a7d58
mov rsi, rax
test eax, eax
je 0x14000bb8b
mov qword [rsp + 0x460], rbx
mov ecx, dword [rdi + 0x10]
lea eax, [rsi*8]
mov r9d, ecx
shr r9d, 3
and r9d, 0x3f
lea ecx, [rcx + rsi*8]
mov dword [rdi + 0x10], ecx
cmp ecx, eax
mov ecx, dword [rdi + 0x14]
jae 0x14000bad7
inc ecx
mov eax, esi
mov ebx, 0x40
shr eax, 0x1d
sub ebx, r9d
add eax, ecx
mov dword [rdi + 0x14], eax
cmp esi, ebx
jb 0x14000bb41
mov eax, r9d
lea rcx, [rdi + 0x18]
add rcx, rax
mov r8d, ebx
lea rdx, [rsp + 0x20]
call fcn.14019f8d0
lea rdx, [rdi + 0x18]
mov rcx, rdi
call fcn.14000ad90
lea eax, [rbx + 0x3f]
cmp eax, esi
jae 0x14000bb3c
nop word [rax + rax]
mov eax, ebx
lea rdx, [rsp + 0x20]
add rdx, rax
mov rcx, rdi
call fcn.14000ad90
add ebx, 0x40
lea eax, [rbx + 0x3f]
cmp eax, esi
jb 0x14000bb20
xor r9d, r9d
jmp 0x14000bb43
xor ebx, ebx
mov eax, ebx
lea rdx, [rsp + 0x20]
add rdx, rax
lea rcx, [rdi + 0x18]
mov eax, r9d
sub esi, ebx
add rcx, rax
mov r8d, esi
call fcn.14019f8d0
mov r9, rbp
lea rcx, [rsp + 0x20]
mov edx, 1
mov r8d, 0x400
call fcn.1401a7d58
mov esi, eax
test eax, eax
jne 0x14000bab3
mov rbx, qword [rsp + 0x460]
mov rcx, rdi
call fcn.14000ab00
mov rcx, rbp
call fcn.1401a78bc
mov rsi, qword [rsp + 0x430]
lea rax, [rdi + 0x68]
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1401813e0
add rsp, 0x438
pop rdi
pop rbp
ret
Function at 0x14000bff0
Capabilities:
Hash data with md5

Disassembly:
push rsi
sub rsp, 0xf0
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rsp + 0xe0], rax
cmp dword [rcx + 0x30], 1
mov rsi, rcx
ja 0x14000c1e2
mov rcx, qword [rcx + 0x18]
mov edx, 0x78b
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14000c1cc
mov qword [rsp + 0x108], rbx
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x110], rbp
mov qword [rsp + 0x118], rdi
lea edi, [rax + 1]
movsxd rcx, edi
mov eax, 2
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.1401812cc
mov rcx, qword [rsi + 0x18]
mov r9d, edi
mov r8, rax
mov edx, 0x78b
mov rbp, rax
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
call fcn.14000ca20
xor edi, edi
mov r9d, ebx
mov r8d, 0xfde9
mov qword [rsp + 0x20], rdi
mov rdx, rbp
mov rcx, rax
call fcn.14002c0e0
mov ecx, dword [rsi + 0x30]
test ecx, ecx
jne 0x14000c11f
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x30], 0x67452301
mov dword [rsp + 0x34], 0xefcdab89
mov dword [rsp + 0x38], 0x98badcfe
mov dword [rsp + 0x3c], 0x10325476
nop
inc rbx
cmp byte [rax + rbx], dil
jne 0x14000c0e0
mov r8, rbx
lea rcx, [rsp + 0x30]
mov rdx, rax
call fcn.14000b660
lea rcx, [rsp + 0x30]
call fcn.14000ab00
mov rcx, qword [rsi + 0x18]
lea r8, [rsp + 0x98]
mov edx, 0x78d
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x14000c1aa
cmp ecx, 1
jne 0x14000c1aa
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], dil
jne 0x14000c130
mov r8, rbx
lea rcx, [rsp + 0xc0]
mov rdx, rax
call fcn.14000d7a0
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x82
call fcn.14019fd40
lea rbx, [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rsp + rdi + 0xc0]
lea rdx, [0x1401e45b8]
mov rcx, rbx
call qword [sym.imp.USER32.dll_wsprintfW]
inc rdi
add rbx, 4
cmp rdi, 0x20
jb 0x14000c170
mov rcx, qword [rsi + 0x18]
lea r8, [rsp + 0x30]
mov edx, 0x78d
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, rbp
call fcn.1401812c4
mov rdi, qword [rsp + 0x118]
mov rbp, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x108]
jmp 0x14000c1e2
mov rcx, qword [rsi + 0x18]
lea r8, [0x1401e3e40]
mov edx, 0x78d
call qword [sym.imp.USER32.dll_SetDlgItemTextA]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.1401813e0
add rsp, 0xf0
pop rsi
ret
Function at 0x140017e90
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x220
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov rdi, rcx
mov rbx, rdx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetKeyboardState]
sar rbx, 0x10
lea r9, [rsp + 0x30]
xor esi, esi
movzx edx, bl
lea r8, [rsp + 0x40]
mov dword [rsp + 0x20], esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToAscii]
movzx edi, word [rsp + 0x30]
lea rdx, str.return_value___d
mov r8d, edi
lea rcx, [rsp + 0x140]
mov ebx, eax
call qword [sym.imp.USER32.dll_wsprintfW]
cmp ebx, 1
cmovne edi, esi
movzx eax, di
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.1401813e0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14001dd20
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp dword [rcx + 0xa0], 2
mov rbx, rcx
je 0x14001df74
cmp byte [rcx + 0x110], 0
jne 0x14001df74
xor bpl, bpl
call fcn.14000c990
lea rdi, [rbx + 0xb0]
mov r14, rax
cmp qword [rdi + 0x18], 8
mov rcx, rdi
jb 0x14001dd7d
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001dd94
xor edx, edx
mov rcx, r14
call fcn.1400ea9c0
mov bpl, 1
xor sil, sil
cmp dword [rbx + 0xa0], 4
je 0x14001de17
cmp qword [rdi + 0x18], 8
mov rcx, rdi
jb 0x14001ddad
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001de0a
xor edi, edi
mov dword [rbx + 0xa0], 4
mov byte [rbx + 0xac], al
mov byte [rbx + 0x48], 1
mov qword [rbx + 0xa4], rdi
cmp byte [rbx + 8], dil
je 0x14001ddec
mov rcx, qword [rbx]
lea r8d, [rax + 0x70]
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.1400956b0
mov sil, 1
test bpl, bpl
je 0x14001de01
mov edx, 1
mov rcx, r14
call fcn.1400ea9c0
movzx eax, sil
jmp 0x14001df76
cmp dword [rbx + 0xa0], 4
jne 0x14001dec1
cmp qword [rdi + 0x18], 8
mov rcx, rdi
jb 0x14001de24
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001dec1
cmp qword [rdi + 0x18], 8
jb 0x14001de3c
mov rdi, qword [rdi]
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14001ddef
movzx eax, byte [rsp + 0x20]
lea rcx, [rbx + 0x150]
and al, 1
mov dword [rbx + 0xa0], 8
mov byte [rbx + 0xac], al
mov rax, qword [rsp + 0x34]
mov qword [rbx + 0xa4], rax
call fcn.140021230
test al, al
je 0x14001ddec
cmp byte [rbx + 8], 0
je 0x14001dea1
mov rcx, qword [rbx]
mov r8d, 0x70
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.1400956b0
lea rcx, [rbx + 0x150]
call fcn.140160290
test eax, eax
je 0x14001ddec
mov ecx, eax
call fcn.14016039c
jmp 0x14001ddec
cmp qword [rdi + 0x18], 8
jb 0x14001decb
mov rdi, qword [rdi]
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x14001ddef
movzx eax, byte [rsp + 0x20]
xor edi, edi
and al, 1
cmp al, byte [rbx + 0xac]
je 0x14001deff
mov byte [rbx + 0xac], al
mov edi, InitCommonControls
lea rdx, [rsp + 0x34]
lea rcx, [rbx + 0xa4]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
je 0x14001df2e
mov rax, qword [rsp + 0x34]
or edi, 0x60
mov qword [rbx + 0xa4], rax
mov dword [rbx + 0xa0], 8
test edi, edi
je 0x14001df74
lea rcx, [rbx + 0x150]
call fcn.140021230
test al, al
je 0x14001df74
cmp byte [rbx + 8], 0
je 0x14001df59
mov rcx, qword [rbx]
mov r8d, edi
mov rdx, rbx
mov rcx, qword [rcx]
call fcn.1400956b0
lea rcx, [rbx + 0x150]
call fcn.140160290
test eax, eax
je 0x14001df70
mov ecx, eax
call fcn.14016039c
mov al, 1
jmp 0x14001df76
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401813e0
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x14001e410
Capabilities:
Delete file

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x80
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rdx
xor esi, esi
mov dil, 1
lea rdx, [r11 - 0x58]
mov rcx, rbx
call fcn.14001eec0
nop
cmp qword [rsp + 0x40], rsi
je 0x14001e507
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x1401e5030]
movdqu xmmword [rsp + 0x60], xmm1
mov word [rsp + 0x50], si
lea rcx, [rbx + 0xe0]
lea rax, [rsp + 0x50]
cmp rcx, rax
je 0x14001e495
xor r8d, r8d
lea rdx, [rsp + 0x50]
call fcn.140006d70
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14001e4d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e4d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e584
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne dil
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14001e545
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e540
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e57e
call fcn.1401812c4
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], si
movzx eax, dil
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401813e0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1401a2d8c
nop
call fcn.1401a2d8c
nop
int3
Function at 0x14001e590
Capabilities:
Check if file exists
Delete file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1402a98a8]
xor rax, rsp
mov qword [rbp + 0x47], rax
add rdx, 0xb0
cmp qword [rdx + 0x18], 8
jb 0x14001e5ce
mov rdx, qword [rdx]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x37], xmm0
movdqa xmm1, xmmword [0x1401e5030]
movdqu xmmword [rbp + 0x37], xmm1
xor edi, edi
mov word [rbp + 0x27], di
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x14001e5f0
lea rcx, [rbp + 0x27]
call fcn.140006d70
nop
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rbp + 0x27]
call fcn.14001d160
lea rcx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rcx, qword [rbp + 0x27]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14001e630
xor bl, bl
jmp 0x14001e671
mov qword [rbp - 0x11], 3
mov qword [rbp + 7], 0x40
mov qword [rbp - 0x19], rdi
lea rax, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae rax, qword [rbp + 0x27]
mov qword [rbp - 9], rax
mov qword [rbp - 1], rdi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xf], xmm0
lea rcx, [rbp - 0x19]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete bl
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x14001e6ad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e6a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e6e2
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rbp + 0x37], xmm0
mov word [rbp + 0x27], di
movzx eax, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1401813e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1401a2d8c
int3
Function at 0x14001ff60
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rcx, [rdx + 0xb0]
mov rbx, r8
cmp qword [rcx + 0x18], 8
mov rdi, rdx
jb 0x14001ff81
mov rcx, qword [rcx]
mov r8d, 0xb
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14001ff9f
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call fcn.140020c00
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret