Function at 0x46e2e0
Capabilities:
Copy file
Delete file
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5019a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xeec
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [0x574900]
xor eax, eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], eax
call fcn.0040b6b0
mov edx, dword [eax + 0x20]
mov ecx, esi
push edx
call fcn.004707d0
mov eax, dword [esi + 0x128]
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0xef8]
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0xcf0]
push ecx
lea eax, [ebp - 0x8dc]
push edx
lea ecx, [ebp - 0x2bc]
push eax
push ecx
push edi
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 1
call fcn.004bfb6f
lea edx, [ebp - 0x2bc]
lea eax, [ebp - 0x6d4]
push edx
push eax
call fcn.004bf83f
lea ecx, [ebp - 0x8dc]
lea edx, [ebp - 0x6d4]
push ecx
push edx
call fcn.004bf815
lea eax, [ebp - 0xae8]
push edi
push eax
call fcn.004bf83f
lea ecx, [ebp - 0xae8]
push str..bak
push ecx
call fcn.004bf815
lea edx, [ebp - 0x2bc]
push 0x53e884
push edx
call fcn.004bf815
add esp, 0x3c
lea eax, [ebp - 0x2bc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
lea ecx, [ebp - 0x2bc]
mov ebx, eax
push ecx
call fcn.004bf93a
add esp, 4
cmp eax, 2
jb 0x46e3e3
cmp ebx, 3
je 0x46e3ea
mov dword [ebp - 0x1c], 0
mov edx, dword [esi + 0x28]
lea ecx, [ebp - 0xb4]
push edx
call fcn.00493b60
mov eax, dword [esi + 0x12c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46e43c
lea eax, [ebp - 0x4c8]
lea ecx, [ebp - 0x6d4]
push eax
push 0
push 0x53f388
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x46e453
push 0
lea edx, [ebp - 0x4c8]
push 0x1001
push edx
jmp 0x46e444
push 0
push 0x1001
push edi
lea ecx, [ebp - 0xb4]
call fcn.004dc98c
test eax, eax
jne 0x46e486
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 1
call fcn.00493be0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004dbec1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x128]
mov ebx, 1
cmp eax, 2
jne 0x46e49c
mov dword [esi + 0x128], ebx
mov eax, dword [esi + 0x40]
test eax, eax
jl 0x46e4a8
cmp eax, 3
jle 0x46e4aa
xor eax, eax
mov eax, dword [eax*4 + 0x53f32c]
push eax
mov dword [ebp - 0x34], eax
call fcn.004bf93a
add esp, 4
mov ecx, esi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x2c], ebx
call fcn.0046e6e0
mov dword [ebp - 0x24], ebx
xor ebx, ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x28], ebx
cmp ebx, dword [ebp - 0x40]
jge 0x46e5d5
push ebx
mov ecx, esi
call fcn.0046e840
mov edi, eax
test edi, edi
je 0x46e5c9
test dword [edi + 0xc], 0x1000000
jne 0x46e5c9
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x46e541
mov ebx, dword [ebp - 0x20]
cmp ebx, 4
jl 0x46e51d
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
push eax
push ecx
jmp 0x46e536
mov edx, dword [ebx*4 + 0x53f32c]
push edx
call fcn.004bf93a
add esp, 4
push eax
mov eax, dword [ebx*4 + 0x53f32c]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00493ca0
mov edx, dword [edi + 4]
mov eax, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x2c], 0
mov cl, byte [edi + 0x14]
mov dword [ebp - 0x18], edx
mov edx, dword [edi]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x18]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x68]
mov ebx, eax
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x46e599
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x46e599
mov ecx, esi
call fcn.00470570
mov ecx, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push ecx
push 0
push ebx
call fcn.004707e0
mov eax, dword [ebp - 0x14]
add esp, 0x14
mov ecx, dword [eax - 8]
push ecx
push eax
jmp 0x46e59e
mov edx, dword [ebp - 0x18]
push edx
push ebx
lea ecx, [ebp - 0xb4]
call fcn.00493ca0
mov ebx, dword [ebp - 0x24]
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x46e5bf
mov eax, dword [esi]
push ebx
push edi
mov ecx, esi
call dword [eax + 0x84]
mov dword [edi + 0x10], ebx
inc ebx
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp + 8]
inc ebx
mov dword [ebp - 0x28], ebx
jmp 0x46e4dc
lea ecx, [ebp - 0xb4]
call fcn.00494470
lea ecx, [ebp - 0xb4]
call fcn.004944a0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x46e606
push 0
lea ecx, [ebp - 0x4c8]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x46e623
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x46e61c
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x6c]
mov eax, dword [esi + 0x48]
mov dword [esi + 0x4c], eax
mov dword [ebp - 0x30], 1
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 1
call fcn.00493be0
jmp 0x46e64b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x3c]
test eax, eax
mov dword [esi + 0x128], ecx
je 0x46e668
lea edx, [ebp - 0x4c8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004dbec1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc