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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1034
call fcn.004ba550
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edx
lea ebx, [ebp - 0x1040]
push 0x1000
push 0
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
xorps xmm0, xmm0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
push sym.__ZN3std3sys7windows4pipe8AnonPipe21alertable_io_internal8callback17h0a1bc856fd537a7aE_12
push eax
push 0x1000
push ebx
push edi
call sub.KERNEL32.dll_ReadFileEx
test eax, eax
je 0x442556
mov dword [ebp - 0x10], edi
nop word cs:[eax + eax]
nop
push 1
push 0xffffffffffffffff
call sub.KERNEL32.dll_SleepEx
cmp dword [ebp - 0x1c], 0
je 0x442480
cmp dword [ebp - 0x18], 0
jne 0x442565
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x40], 4
test ebx, ebx
mov dword [ebp - 0x3c], ebx
je 0x442565
cmp ebx, 0x1000
ja 0x44258d
xor edi, edi
nop dword [eax]
mov eax, ebx
sub eax, edi
jb 0x44257c
xorps xmm0, xmm0
lea edx, [ebp - 0x1c]
lea ecx, [ebp + edi - 0x1040]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], edx
push sym.__ZN3std3sys7windows4pipe8AnonPipe21alertable_io_internal8callback17h0a1bc856fd537a7aE_12
lea edx, [ebp - 0x30]
push edx
push eax
push ecx
push esi
call sub.KERNEL32.dll_WriteFileEx
test eax, eax
je 0x44255d
nop word [eax + eax]
push 1
push 0xffffffffffffffff
call sub.KERNEL32.dll_SleepEx
cmp dword [ebp - 0x1c], 0
je 0x442500
cmp dword [ebp - 0x18], 0
jne 0x442562
add edi, dword [ebp - 0x14]
cmp edi, ebx
jne 0x4424c0
xorps xmm0, xmm0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], eax
push sym.__ZN3std3sys7windows4pipe8AnonPipe21alertable_io_internal8callback17h0a1bc856fd537a7aE_12
lea eax, [ebp - 0x30]
push eax
push 0x1000
lea eax, [ebp - 0x1040]
push eax
mov edi, dword [ebp - 0x10]
push edi
call sub.KERNEL32.dll_ReadFileEx
test eax, eax
jne 0x442480
call sub.KERNEL32.dll_GetLastError
jmp 0x442565
call sub.KERNEL32.dll_GetLastError
mov edi, dword [ebp - 0x10]
push edi
call sub.KERNEL32.dll_CloseHandle
push esi
call sub.KERNEL32.dll_CloseHandle
add esp, 0x1034
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4c3d1c
push ebx
push edi
call sym.core::slice::index::slice_index_order_fail::hba371d894dfabb23
add esp, 0xc
jmp 0x4425a0
push 0x4c3d1c
push 0x1000
push ebx
call sym.core::slice::index::slice_end_index_len_fail::ha90cccd5bd71ac96
add esp, 0xc
ud2
Function at 0x445a00
Capabilities:
Generate random numbers via winapi
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov eax, dword [0x4be00c]
test eax, eax
je 0x445af4
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jbe 0x445a30
mov esi, eax
mov eax, dword [eax]
or eax, dword [esi + 4]
jne 0x445aef
mov eax, dword [0x4be00c]
test eax, eax
je 0x445b15
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x445b31
mov esi, eax
test eax, eax
jne 0x445a92
push 8
push 0x20
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x445b4d
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0x18], 0x4be00c
mov esi, eax
mov eax, dword [0x4be00c]
test eax, eax
je 0x445b3b
dec eax
push esi
push eax
call sub.KERNEL32.dll_TlsSetValue
mov eax, dword [ebp + 8]
test eax, eax
je 0x445ab1
mov ecx, dword [eax]
movups xmm0, xmmword [eax + 8]
mov dword [eax + 4], 0
mov dword [eax], 0
cmp ecx, 1
je 0x445ade
xorps xmm0, xmm0
mov eax, esp
movaps xmmword [esp], xmm0
push 2
push 0x10
push eax
push 0
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x445ad0
movaps xmm0, xmmword [esp]
jmp 0x445ade
lea ecx, [esp + 0x10]
call sym.std::sys::windows::rand::fallback_rng::he92dd41b7e25e7b5
movups xmm0, xmmword [esp + 0x10]
mov dword [esi + 4], 0
mov dword [esi], 1
movups xmmword [esi + 8], xmm0
add esi, 8
jmp 0x445b33
push 0x4be00c
call sym.std::sys::windows::thread_local_key::StaticKey::init::hc7a5c627984b4d1c
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
ja 0x445a23
jmp 0x445a30
push 0x4be00c
call sym.std::sys::windows::thread_local_key::StaticKey::init::hc7a5c627984b4d1c
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x445a4d
xor esi, esi
mov eax, esi
lea esp, [ebp - 4]
pop esi
pop ebp
ret
push 0x4be00c
call sym.std::sys::windows::thread_local_key::StaticKey::init::hc7a5c627984b4d1c
add esp, 4
jmp 0x445a8b
push 8
push 0x20
call sym.alloc::alloc::handle_alloc_error::h1460775c4f8d05ce
add esp, 8
ud2
Function at 0x445e40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x4be01c]
mov esi, ecx
test eax, eax
je 0x445e6f
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jbe 0x445e87
cmp dword [eax], 0
mov ebx, eax
je 0x445e87
add ebx, 4
jmp 0x445f47
push 0x4be01c
call sym.std::sys::windows::thread_local_key::StaticKey::init::hc7a5c627984b4d1c
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
ja 0x445e60
mov eax, dword [0x4be01c]
test eax, eax
je 0x445f29
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x445f45
mov edi, eax
test eax, eax
jne 0x445eee
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0x4be01c
push 4
push 0xc
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x445f60
mov edi, eax
mov eax, dword [ebp - 0x10]
movsd xmm0, qword [ebp - 0x18]
mov dword [edi + 8], eax
movsd qword [edi], xmm0
mov eax, dword [0x4be01c]
test eax, eax
je 0x445f51
dec eax
push edi
push eax
call sub.KERNEL32.dll_TlsSetValue
test esi, esi
je 0x445f03
mov eax, dword [esi]
mov dword [esi], 0
test eax, eax
je 0x445f05
mov eax, dword [esi + 4]
jmp 0x445f05
xor eax, eax
mov ecx, dword [edi + 4]
cmp dword [edi], 0
lea ebx, [edi + 4]
mov dword [edi], 1
mov dword [edi + 4], eax
je 0x445f47
test ecx, ecx
je 0x445f47
lock dec dword [ecx]
jne 0x445f47
call sym.alloc::sync::Arc_LT_T_GT_::drop_slow::hfa8090586ff41757
jmp 0x445f47
push 0x4be01c
call sym.std::sys::windows::thread_local_key::StaticKey::init::hc7a5c627984b4d1c
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x445ea4
xor ebx, ebx
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4be01c
call sym.std::sys::windows::thread_local_key::StaticKey::init::hc7a5c627984b4d1c
add esp, 4
jmp 0x445ee7
push 4
push 0xc
call sym.alloc::alloc::handle_alloc_error::h1460775c4f8d05ce
add esp, 8
ud2
Function at 0x446730
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0xc
mov eax, dword [0x4be02c]
test eax, eax
je 0x44675c
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jbe 0x446774
cmp dword [eax], 0
mov edi, eax
je 0x446774
add edi, 4
jmp 0x446839
push 0x4be02c
call sym.std::sys::windows::thread_local_key::StaticKey::init::hc7a5c627984b4d1c
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
ja 0x44674d
mov eax, dword [0x4be02c]
test eax, eax
je 0x44681b
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x446837
mov esi, eax
test eax, eax
jne 0x4467db
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0x4be02c
push 4
push 0xc
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x446851
mov esi, eax
mov eax, dword [ebp - 0xc]
movsd xmm0, qword [ebp - 0x14]
mov dword [esi + 8], eax
movsd qword [esi], xmm0
mov eax, dword [0x4be02c]
test eax, eax
je 0x446842
dec eax
push esi
push eax
call sub.KERNEL32.dll_TlsSetValue
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x446814
mov eax, dword [ecx + 4]
cmp dword [ecx], 0
mov dword [ecx], 0
je 0x446814
mov ecx, dword [esi + 4]
cmp dword [esi], 0
lea edi, [esi + 4]
mov dword [esi], 1
mov dword [esi + 4], eax
je 0x446839
test ecx, ecx
je 0x446839
lock dec dword [ecx]
jne 0x446839
call sym.alloc::sync::Arc_LT_T_GT_::drop_slow::h46374280ed8f60bc
jmp 0x446839
call sym.std::sync::mpmc::context::Context::new::h0a1164bb395fa27e
jmp 0x4467f0
push 0x4be02c
call sym.std::sys::windows::thread_local_key::StaticKey::init::hc7a5c627984b4d1c
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x446791
xor edi, edi
mov eax, edi
add esp, 0xc
pop esi
pop edi
pop ebp
ret
push 0x4be02c
call sym.std::sys::windows::thread_local_key::StaticKey::init::hc7a5c627984b4d1c
add esp, 4
jmp 0x4467d4
push 4
push 0xc
call sym.alloc::alloc::handle_alloc_error::h1460775c4f8d05ce
add esp, 8
ud2
Function at 0x4469d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [0x4be03c]
test eax, eax
je 0x4469f5
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jbe 0x446a0d
cmp byte [eax + 4], 0
je 0x446a0d
add eax, 5
pop esi
pop ebp
ret
push 0x4be03c
call sym.std::sys::windows::thread_local_key::StaticKey::init::hc7a5c627984b4d1c
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
ja 0x4469e9
mov eax, dword [0x4be03c]
test eax, eax
je 0x446a7a
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x446a92
mov esi, eax
test eax, eax
jne 0x446a55
push 4
push 8
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x446aa6
mov dword [eax], 0x4be03c
mov byte [eax + 4], 0
mov esi, eax
mov eax, dword [0x4be03c]
test eax, eax
je 0x446a97
dec eax
push esi
push eax
call sub.KERNEL32.dll_TlsSetValue
mov eax, dword [ebp + 8]
xor ecx, ecx
test eax, eax
je 0x446a6d
cmp byte [eax], 0
mov byte [eax], 0
movzx eax, byte [eax + 1]
cmove eax, ecx
mov ecx, eax
mov byte [esi + 4], 1
lea eax, [esi + 5]
mov byte [esi + 5], cl
pop esi
pop ebp
ret
push 0x4be03c
call sym.std::sys::windows::thread_local_key::StaticKey::init::hc7a5c627984b4d1c
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x446a22
xor eax, eax
pop esi
pop ebp
ret
push 0x4be03c
call sym.std::sys::windows::thread_local_key::StaticKey::init::hc7a5c627984b4d1c
add esp, 4
jmp 0x446a4e
push 4
push 8
call sym.alloc::alloc::handle_alloc_error::h1460775c4f8d05ce
add esp, 8
ud2

Function at 0x446ac0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [0x4be04c]
mov esi, ecx
test eax, eax
je 0x446ae9
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jbe 0x446b01
cmp byte [eax + 4], 0
je 0x446b01
add eax, 5
pop esi
pop edi
pop ebp
ret
push 0x4be04c
call sym.std::sys::windows::thread_local_key::StaticKey::init::hc7a5c627984b4d1c
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
ja 0x446adc
mov eax, dword [0x4be04c]
test eax, eax
je 0x446b6c
dec eax
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
je 0x446b84
mov edi, eax
test eax, eax
jne 0x446b49
push 4
push 8
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x446b99
mov dword [eax], 0x4be04c
mov byte [eax + 4], 0
mov edi, eax
mov eax, dword [0x4be04c]
test eax, eax
je 0x446b8a
dec eax
push edi
push eax
call sub.KERNEL32.dll_TlsSetValue
xor ecx, ecx
test esi, esi
je 0x446b5e
cmp byte [esi], 0
mov byte [esi], 0
movzx eax, byte [esi + 1]
cmove eax, ecx
mov ecx, eax
mov byte [edi + 4], 1
lea eax, [edi + 5]
mov byte [edi + 5], cl
pop esi
pop edi
pop ebp
ret
push 0x4be04c
call sym.std::sys::windows::thread_local_key::StaticKey::init::hc7a5c627984b4d1c
add esp, 4
push eax
call sub.KERNEL32.dll_TlsGetValue
cmp eax, 1
jne 0x446b16
xor eax, eax
pop esi
pop edi
pop ebp
ret
push 0x4be04c
call sym.std::sys::windows::thread_local_key::StaticKey::init::hc7a5c627984b4d1c
add esp, 4
jmp 0x446b42
push 4
push 8
call sym.alloc::alloc::handle_alloc_error::h1460775c4f8d05ce
add esp, 8
ud2
Function at 0x447e30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, ecx
lea ecx, [ebp - 0x1c]
push dword [ebp + 8]
call sym.std::sys::windows::to_u16s::inner::h9d168abf2ff990f4
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x447e5d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x447e85
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x1c]
push 1
call sym.std::sys::windows::path::get_long_path::hfebcc933216f3672
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x447e96
movsd xmm0, qword [ebp - 0x28]
movsd qword [esi], xmm0
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
push 0
push edi
call sub.KERNEL32.dll_CreateDirectoryW
test eax, eax
je 0x447eb1
mov byte [esi], 4
test ebx, ebx
jne 0x447eca
jmp 0x447e8e
call sub.KERNEL32.dll_GetLastError
mov byte [esi], 0
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
test ebx, ebx
je 0x447e8e
add ebx, ebx
push 2
push ebx
push edi
call sym.___rust_dealloc
add esp, 0x2c
jmp 0x447e91

Function at 0x448200
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push dword [ebp + 0x10]
call sym.std::sys::windows::to_u16s::inner::h9d168abf2ff990f4
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x448231
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x448259
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x1c]
push 1
call sym.std::sys::windows::path::get_long_path::hfebcc933216f3672
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x44826c
movsd xmm0, qword [ebp - 0x28]
movsd qword [esi], xmm0
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
push edi
call sub.KERNEL32.dll_DeleteFileW
test eax, eax
je 0x448285
mov byte [esi], 4
test ebx, ebx
jne 0x44829e
jmp 0x448262
call sub.KERNEL32.dll_GetLastError
mov byte [esi], 0
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
test ebx, ebx
je 0x448262
add ebx, ebx
push 2
push ebx
push edi
call sym.___rust_dealloc
add esp, 0xc
jmp 0x448262
Function at 0x4482b0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push dword [ebp + 0x10]
call sym.std::sys::windows::to_u16s::inner::h9d168abf2ff990f4
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x4482e1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x448309
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x1c]
push 1
call sym.std::sys::windows::path::get_long_path::hfebcc933216f3672
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x44831c
movsd xmm0, qword [ebp - 0x28]
movsd qword [esi], xmm0
mov eax, esi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x1c]
push eax
call sym.std::sys::windows::to_u16s::inner::h9d168abf2ff990f4
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x448354
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x44837c
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
push 1
call sym.std::sys::windows::path::get_long_path::hfebcc933216f3672
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x44839c
movsd xmm0, qword [ebp - 0x28]
movsd qword [esi], xmm0
test ebx, ebx
je 0x448312
add ebx, ebx
push 2
push ebx
push edi
call sym.___rust_dealloc
add esp, 0xc
jmp 0x448312
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
push 1
mov dword [ebp - 0x30], eax
push eax
push edi
call sub.KERNEL32.dll_MoveFileExW
test eax, eax
je 0x4483ba
mov byte [esi], 4
jmp 0x4483cf
call sub.KERNEL32.dll_GetLastError
mov byte [esi], 0
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x448385
add eax, eax
push 2
push eax
push dword [ebp - 0x30]
call sym.___rust_dealloc
add esp, 0xc
jmp 0x448385
Function at 0x448410
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push dword [ebp + 0x10]
call sym.std::sys::windows::to_u16s::inner::h9d168abf2ff990f4
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x448441
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x448469
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x1c]
push 1
call sym.std::sys::windows::path::get_long_path::hfebcc933216f3672
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x44847c
movsd xmm0, qword [ebp - 0x28]
movsd qword [esi], xmm0
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
push edi
call sub.KERNEL32.dll_RemoveDirectoryW
test eax, eax
je 0x448495
mov byte [esi], 4
test ebx, ebx
jne 0x4484ae
jmp 0x448472
call sub.KERNEL32.dll_GetLastError
mov byte [esi], 0
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
test ebx, ebx
je 0x448472
add ebx, ebx
push 2
push ebx
push edi
call sym.___rust_dealloc
add esp, 0xc
jmp 0x448472
Function at 0x44a0e0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push dword [ebp + 0x10]
call sym.std::sys::windows::to_u16s::inner::h9d168abf2ff990f4
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x44a111
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x44a139
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x1c]
push 1
call sym.std::sys::windows::path::get_long_path::hfebcc933216f3672
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x44a14c
movsd xmm0, qword [ebp - 0x28]
movsd qword [esi], xmm0
mov eax, esi
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
push dword [ebp + 0x14]
push edi
call sub.KERNEL32.dll_SetFileAttributesW
test eax, eax
je 0x44a168
mov byte [esi], 4
test ebx, ebx
jne 0x44a181
jmp 0x44a142
call sub.KERNEL32.dll_GetLastError
mov byte [esi], 0
mov byte [esi + 3], 0
mov word [esi + 1], 0
mov dword [esi + 4], eax
test ebx, ebx
je 0x44a142
add ebx, ebx
push 2
push ebx
push edi
call sym.___rust_dealloc
add esp, 0xc
jmp 0x44a142
Function at 0x44a420
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ecx, esp
push dword [ebp + 0x10]
call sym.std::sys::windows::to_u16s::inner::h9d168abf2ff990f4
add esp, 4
cmp dword [esp], 0
je 0x44a457
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
jmp 0x44a485
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 8], edx
lea ecx, [esp + 0x10]
mov edx, esp
push 1
call sym.std::sys::windows::path::get_long_path::hfebcc933216f3672
add esp, 4
cmp dword [esp + 0x10], 0
je 0x44a4a3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov dword [esi], 1
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], ecx
mov ecx, esp
push eax
call sym.std::sys::windows::to_u16s::inner::h9d168abf2ff990f4
add esp, 4
cmp dword [esp], 0
je 0x44a4e4
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
jmp 0x44a512
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 8], edx
mov edx, esp
lea ecx, [esp + 0x10]
push 1
call sym.std::sys::windows::path::get_long_path::hfebcc933216f3672
add esp, 4
cmp dword [esp + 0x10], 0
je 0x44a541
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov dword [esi], 1
test edi, edi
je 0x44a499
add edi, edi
push 2
push edi
push ebx
call sym.___rust_dealloc
add esp, 0xc
jmp 0x44a499
mov eax, dword [esp + 0x14]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
push 0
push 0
lea ecx, [esp + 8]
push ecx
push sym.__ZN3std3sys7windows2fs4copy8callback17h94ad7584781cc4c5E_52
mov dword [esp + 0x30], eax
push eax
push ebx
call sub.KERNEL32.dll_CopyFileExW
test eax, eax
je 0x44a58e
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov dword [esi], 0
jmp 0x44a5aa
call sub.KERNEL32.dll_GetLastError
mov byte [esi + 4], 0
mov byte [esi + 7], 0
mov word [esi + 5], 0
mov dword [esi + 8], eax
mov dword [esi], 1
mov eax, dword [esp + 0x24]
test eax, eax
je 0x44a526
add eax, eax
push 2
push eax
push dword [esp + 0x28]
call sym.___rust_dealloc
add esp, 0xc
jmp 0x44a526