Function at 0x4fde70
Capabilities:
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x747597
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
cmp dword [ecx + 0x10], 0
jne 0x4fdead
xor al, al
jmp 0x4fe21d
push ecx
lea ecx, [ebp - 0x298]
mov byte [ebp - 0x321], 0
mov dword [ebp - 0x328], 0
call fcn.004609e0
push 0x7fe2cc
lea edx, [ebp - 0x298]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.0045b670
add esp, 4
push 0x20a
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
lea eax, [ebp - 0x238]
cmp dword [ebp - 0x224], 8
cmovae eax, dword [ebp - 0x238]
push 0
push 0
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHELL32.dll_PathYetAnotherMakeUniqueName]
test eax, eax
je 0x4fdf59
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4fdf37
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x238]
call fcn.0044bdc0
cmp dword [ebx + 0x14], 0x10
mov edi, ebx
jb 0x4fdf63
mov edi, dword [ebx]
lea eax, [ebp - 0x31c]
mov dword [ebp - 0x320], eax
test edi, edi
jne 0x4fdf7d
xor edx, edx
mov dword [ebp - 0x320], edx
jmp 0x4fdfbf
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4fdf82
sub esi, ecx
lea eax, [ebp - 0x31c]
push ecx
inc esi
lea ecx, [ebp - 0x320]
push eax
mov edx, esi
call fcn.00491ea0
mov ecx, dword [ebp - 0x320]
mov edx, esi
push esi
push edi
call fcn.004b4b50
push eax
call fcn.004b4ab0
mov edx, dword [ebp - 0x320]
add esp, 0x14
mov ecx, edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0xf
mov byte [ebp - 0x280], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4fdfe3
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x280]
call fcn.00460f20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x31c]
mov eax, dword [ebp - 0x320]
cmp eax, ecx
je 0x4fe016
push eax
call fcn.00715cee
add esp, 4
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
push 0x7fe2e8
cmovae eax, dword [ebp - 0x238]
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.00716f05
add esp, 0xc
test eax, eax
jne 0x4fe1c9
cmp dword [ebp - 0x328], eax
je 0x4fe1c9
sub esp, 0x18
mov ecx, esp
push 0xe
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
push 0x7fe2d8
mov byte [ecx], al
call fcn.00460f20
lea ecx, [ebp - 0x268]
call fcn.004fd8b0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x268]
push dword [ebp - 0x328]
cmp dword [ebp - 0x254], 0x10
push dword [ebp - 0x258]
cmovae eax, dword [ebp - 0x268]
push 1
push eax
call fcn.007182f7
add esp, 0x10
mov ecx, esp
push ebx
call fcn.00460ac0
lea ecx, [ebp - 0x250]
call fcn.004fd8b0
push dword [ebp - 0x328]
cmp dword [ebp - 0x23c], 0x10
lea eax, [ebp - 0x250]
push dword [ebp - 0x240]
cmovae eax, dword [ebp - 0x250]
push 1
push eax
call fcn.007182f7
push dword [ebp - 0x328]
call fcn.0071ed1c
add esp, 0x2c
push dword [ebp - 0x328]
call fcn.007178b2
add esp, 4
lea ecx, [ebp - 0x298]
cmp dword [ebp - 0x284], 8
lea eax, [ebp - 0x238]
cmovae ecx, dword [ebp - 0x298]
cmp dword [ebp - 0x224], 8
push 1
cmovae eax, dword [ebp - 0x238]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edx, dword [ebp - 0x23c]
test eax, eax
setne bl
cmp edx, 0x10
jb 0x4fe172
mov ecx, dword [ebp - 0x250]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4fe168
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fe239
push edx
push ecx
call fcn.006f4f2f
add esp, 8
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
cmp edx, 0x10
jb 0x4fe1cf
mov ecx, dword [ebp - 0x268]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4fe1bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fe23e
push edx
push ecx
call fcn.006f4f2f
add esp, 8
jmp 0x4fe1cf
mov bl, byte [ebp - 0x321]
mov edx, dword [ebp - 0x26c]
cmp edx, 0x10
jb 0x4fe205
mov ecx, dword [ebp - 0x280]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4fe1fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fe243
push edx
push ecx
call fcn.006f4f2f
add esp, 8
lea ecx, [ebp - 0x238]
call fcn.0044bf40
lea ecx, [ebp - 0x298]
call fcn.0044bf40
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4f1e
mov esp, ebp
pop ebp
ret
call fcn.00710a9c
call fcn.00710a9c
call fcn.00710a9c
int3