Function at 0x4344f0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4742be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x27c
push ebx
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 8]
push esi
mov dword [ebx], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x80]
mov esi, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x10], 1
call fcn.00405f50
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.00432880
cmp dword [eax + 0x14], 0x10
jb 0x434570
mov eax, dword [eax]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0x288]
push 0x104
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call edi
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x50]
call fcn.00406110
push dword [ebp + 0x10]
lea ecx, [ebp - 0x68]
call fcn.00405f50
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.00432880
cmp dword [eax + 0x14], 0x10
jb 0x4345d5
mov eax, dword [eax]
push 0x104
lea ecx, [ebp - 0x288]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0
call edi
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406110
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x50]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x3c], 8
push ecx
cmovae eax, dword [ebp - 0x50]
push eax
call edi
test eax, eax
jne 0x434725
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x434725
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x434688
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov dword [ebp - 0x30], str.Could_not_rename_file.
mov dword [ebp - 0x2c], 0x16
jb 0x434660
mov eax, dword [esi]
mov dword [ebp - 0x38], eax
lea ecx, [ebp + 0xc]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
push 5
call fcn.00424090
mov dword [ebp - 0x10], 3
mov byte [ebp - 4], 5
jmp 0x4346e4
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x50]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x3c], 8
push ecx
cmovae eax, dword [ebp - 0x50]
push eax
call edi
test eax, eax
jne 0x434725
cmp dword [esi + 0x14], 0x10
mov eax, esi
mov dword [ebp - 0x38], str.Could_not_rename_file.
mov dword [ebp - 0x34], 0x16
jb 0x4346be
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
lea ecx, [ebp + 0xc]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
push 5
call fcn.00424090
mov dword [ebp - 0x10], 5
mov byte [ebp - 4], 6
mov eax, dword [ebx]
mov esi, dword [ebp + 0xc]
cmp eax, esi
je 0x43471c
push eax
call fcn.0044c595
add esp, 4
test esi, esi
jne 0x4346fe
xor eax, eax
jmp 0x43471a
mov edi, dword [esi]
add edi, 5
push edi
call fcn.0044c7e5
push edi
push esi
push eax
mov dword [ebp + 8], eax
call fcn.0044df90
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [ebx], eax
push esi
call fcn.0044c595
add esp, 4
mov edx, dword [ebp - 0x14]
pop edi
cmp edx, 8
jb 0x434760
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x434756
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434848
push edx
push ecx
call fcn.0044c564
add esp, 8
mov edx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 0x10
jb 0x4347a8
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43479e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434848
push edx
push ecx
call fcn.0044c564
add esp, 8
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp edx, 8
jb 0x4347f0
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4347e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434848
push edx
push ecx
call fcn.0044c564
add esp, 8
mov edx, dword [ebp - 0x6c]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp edx, 0x10
jb 0x434834
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43482a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434848
push edx
push ecx
call fcn.0044c564
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00450fe0
int3