Function at 0x101df480
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10251a54
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push ebx
push esi
push edi
mov eax, dword [0x1037c990]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
mov eax, dword [eax - 0xc]
xor ebx, ebx
cmp eax, ebx
jne 0x101df4d4
push ebx
push 0x5f8
push str..FilePath.cpp
push 0x80070057
call fcn.100048f0
cmp dword [ebp + 0x14], ebx
je 0x101df4f3
cmp dword [ebp + 0x18], ebx
jne 0x101df50d
push ebx
push 0x5fc
push str..FilePath.cpp
push 0x80070057
call fcn.100048f0
cmp dword [ebp + 0x18], ebx
je 0x101df50d
push ebx
push 0x600
push str..FilePath.cpp
push 0x80070057
call fcn.100048f0
lea ecx, [ebp - 0x50]
call fcn.10056ab0
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 1
mov ebx, dword [ebp + 0x10]
mov cl, bl
and cl, 1
movzx edx, cl
push edx
lea ecx, [ebp - 0x34]
call fcn.101f5ff0
mov byte [ebp - 4], 2
mov byte [ebp - 4], 3
mov eax, ebx
shr eax, 1
test al, 1
je 0x101df555
mov ecx, edi
call fcn.101dc6d0
test al, al
je 0x101df555
mov ecx, edi
call fcn.101dd850
mov dword [ebp - 4], 2
jmp 0x101df574
push edi
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.101dc330
mov byte [ebp - 4], 5
shr ebx, 2
mov ecx, esi
test bl, 1
je 0x101df649
push 0
lea edx, [ebp - 0x6c]
push edx
call fcn.101df020
mov byte [ebp - 4], 6
push 4
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
call edi
test eax, eax
jne 0x101df5bc
push eax
push eax
call fcn.100563c0
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp + 0xc]
push edx
mov ecx, esi
call fcn.101dc330
mov byte [ebp - 4], 7
mov eax, dword [eax]
push 4
mov ecx, dword [ebp - 0x14]
push ecx
push eax
call edi
test eax, eax
sete bl
mov byte [ebp - 4], 6
lea ecx, [ebp + 0xc]
call fcn.10004720
test bl, bl
je 0x101df5f8
push 0
push 0
call fcn.100563c0
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6c]
call fcn.10056b10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.10004720
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.101f6080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10056b10
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea edx, [ebp - 0x20]
push edx
call fcn.101dc200
mov byte [ebp - 4], 8
mov eax, dword [eax]
xor ecx, ecx
cmp byte [ebp + 0xc], cl
setne cl
push ecx
push 0
mov edx, dword [ebp + 0x18]
push edx
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push eax
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileExW]
call edi
test eax, eax
sete bl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.10004720
test bl, bl
je 0x101df60b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 5
je 0x101df6a7
cmp ebx, 0x20
jne 0x101df8e2
mov eax, dword [ebp + 0x10]
shr eax, 1
test al, 1
je 0x101df8e2
cmp byte [ebp + 0xc], 0
jne 0x101df8e2
mov ecx, dword [ebp + 8]
call fcn.101dc6d0
test al, al
je 0x101df8e2
push SysReAllocString
mov ecx, esi
call fcn.101dd4d0
test al, al
jne 0x101df71d
add esi, 0x18
push esi
push str.Source_file
lea eax, [ebp + 0xc]
push eax
call fcn.10002820
mov byte [ebp - 4], 9
push str._failed_access_test
push eax
lea ecx, [ebp + 0x18]
push ecx
call fcn.100029d0
add esp, 0x18
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
push eax
push 0x639
push str..FilePath.cpp
push ebx
call fcn.10054b00
mov byte [ebp - 4], 0xb
push 1
lea edx, [ebp - 0x88]
push edx
mov ecx, dword [ebp + 8]
call fcn.101df020
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x50]
call fcn.10056770
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x88]
call fcn.10056b10
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.101dc200
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
push 0
push 0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp - 0x14]
push ecx
push eax
call edi
test eax, eax
sete bl
mov byte [ebp - 4], 0xb
lea ecx, [ebp + 0xc]
call fcn.10004720
test bl, bl
je 0x101df790
push 0
push 0
call fcn.100563c0
mov edx, dword [ebp - 0x38]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x101df7a2
lea ecx, [ebp - 0x50]
call fcn.101de8b0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.10004720
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.101f6080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10056b10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
test ebx, ebx
jle 0x101df8f2
and ebx, 0xffff
or ebx, 0x80070000
push 0
push 0x677
push str..FilePath.cpp
push ebx
call fcn.100048f0
push str.While_copying
lea ecx, [ebp + 0xc]
call fcn.100044a0
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x18]
add edx, 0x18
push edx
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.100549c0
mov byte [ebp - 4], 0x16
push str._to
push eax
lea ecx, [ebp + 0x10]
push ecx
call fcn.100029d0
mov byte [ebp - 4], 0x17
mov edx, dword [ebp + 8]
push edx
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.101da4e0
add esp, 0x24
mov byte [ebp - 4], 0x18
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.101d3e00
push str.While_copying
lea ecx, [ebp + 0xc]
call fcn.100044a0
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x18]
add edx, 0x18
push edx
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.100549c0
mov byte [ebp - 4], 0x1a
push str._to
push eax
lea ecx, [ebp + 0x10]
push ecx
call fcn.100029d0
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp + 8]
push edx
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.101da4e0
add esp, 0x24
mov byte [ebp - 4], 0x1c
mov ecx, dword [eax + 0x18]
push ecx
push 0x681
push str..FilePath.cpp
mov edx, dword [ebp - 0x2c]
push edx
call fcn.100942f0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x101dfa21
lea ecx, [ebp + 8]
push ecx
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.101dc200
mov edi, eax
mov bl, 0x1d
mov byte [ebp - 4], bl
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.101dc330
mov byte [ebp - 4], 0x1e
mov edi, dword [edi]
mov eax, dword [eax]
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.10004720
mov byte [ebp - 4], 0x14
lea ecx, [ebp + 8]
call fcn.10004720
push 0
push 0
call fcn.1023215b
int3