Function at 0x464425
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x4f371c
call fcn.004eadec
sub esp, 0x494
mov eax, dword [0x516ad4]
push ebx
push esi
push edi
xor ebx, ebx
push 0x522254
lea edi, [ebp - 0x47c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x48c], ebx
call fcn.004031b3
push 0x4fcd68
mov eax, edi
push eax
mov dword [ebp - 4], ebx
call fcn.0040328b
push ebx
mov ebx, dword [ebp - 0x47c]
call fcn.004217ba
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
and dword [ebp - 0x478], 0
test esi, esi
pop ecx
mov dword [ebp - 0x488], esi
jle 0x464661
mov eax, dword [ebp - 0x478]
mov ecx, dword [ebp + 8]
call fcn.0045d964
mov ebx, dword [eax]
mov eax, dword [0x51a438]
mov dword [ebp - 0x484], eax
mov dword [ebp - 0x494], eax
mov byte [ebp - 4], 2
push dword [ebp - 0x478]
lea eax, [ebp - 0x484]
push dword [ebp - 0x47c]
push str._s_03d.ttbl
push eax
call fcn.004060d6
add esp, 0x10
push 0x4fdb78
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x498]
push eax
call fcn.004033e6
mov edi, eax
lea eax, [ebp - 0x494]
call fcn.00403223
mov eax, dword [ebp - 0x498]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x464511
push eax
call fcn.004013aa
mov esi, dword [ebp - 0x494]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call edi
cmp dword [ebx + 0x2c], 0
jne 0x4645ae
lea eax, [ebp - 0x4a0]
mov ecx, ebx
call fcn.0045e702
mov eax, dword [eax]
push dword [ebp - 0x484]
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
test eax, eax
mov eax, dword [ebp - 0x4a0]
setne byte [ebp - 0x47d]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
pop ecx
pop ecx
je 0x464568
push eax
call fcn.004013aa
cmp byte [ebp - 0x47d], 0
je 0x464617
lea eax, [ebp - 0x49c]
mov ecx, ebx
call fcn.0043f5e2
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov eax, dword [ebp - 0x49c]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x4645a3
push eax
call fcn.004013aa
push esi
lea eax, [ebx + 0x14]
call fcn.00403266
jmp 0x464617
push 1
push esi
push ebx
call fcn.00462310
test eax, eax
jne 0x464617
push esi
call edi
lea eax, [ebp - 0x490]
mov ecx, ebx
call fcn.0045e702
mov edi, dword [ebp - 0x490]
cmp dword [edi - 8], 0
je 0x464606
mov eax, edi
call fcn.0040408d
test eax, eax
je 0x464606
push dword [ebp - 0x484]
push edi
call dword [sym.imp.MSVCRT.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
je 0x464606
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push esi
lea eax, [ebx + 0x14]
call fcn.00403266
lea eax, [edi - 0xc]
cmp eax, dword [0x51a43c]
je 0x464617
push eax
call fcn.004013aa
add esi, 0xfffffff4
cmp esi, dword [0x51a43c]
je 0x464628
push esi
call fcn.004013aa
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x484]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x464643
push eax
call fcn.004013aa
inc dword [ebp - 0x478]
mov eax, dword [ebp - 0x478]
cmp eax, dword [ebp - 0x488]
jl 0x464490
mov esi, dword [ebp - 0x488]
and dword [ebp - 0x478], 0
test esi, esi
jle 0x46472b
push dword [ebp - 0x478]
mov eax, dword [0x51a438]
push dword [ebp - 0x47c]
mov dword [ebp + 8], eax
mov dword [ebp - 0x488], eax
lea eax, [ebp + 8]
push str._s_03d.ttbl
push eax
call fcn.004060d6
add esp, 0x10
push 0x4fdb78
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x490]
push eax
call fcn.004033e6
mov edi, eax
lea eax, [ebp - 0x488]
call fcn.00403223
mov eax, dword [ebp - 0x490]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x4646d4
push eax
call fcn.004013aa
mov edi, dword [ebp - 0x488]
mov eax, edi
call fcn.0040408d
test eax, eax
mov ebx, dword [ebp + 8]
je 0x4646f7
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [edi - 0xc]
cmp eax, dword [0x51a43c]
je 0x464708
push eax
call fcn.004013aa
lea eax, [ebx - 0xc]
cmp eax, dword [0x51a43c]
je 0x464719
push eax
call fcn.004013aa
inc dword [ebp - 0x478]
cmp dword [ebp - 0x478], esi
jl 0x464670
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov word [ebp - 0x224], ax
push 0x4fdb68
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp + 8]
push eax
mov word [ebp - 0x1c], 0x5c
call fcn.004033e6
mov eax, dword [eax]
lea ebx, [ebp - 0x474]
call fcn.0040e51d
mov edi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x464778
push eax
call fcn.004013aa
test edi, edi
je 0x464835
lea ecx, [ebp + 8]
lea eax, [ebp - 0x474]
call fcn.0040e43f
mov eax, dword [eax]
or dword [ebp - 0x48c], 1
lea ecx, [ebp - 0x478]
push ecx
push str._d.ttbl
push eax
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0xc
cmp eax, 1
jne 0x4647c7
cmp dword [ebp - 0x478], 0
jl 0x4647c7
cmp dword [ebp - 0x478], esi
jge 0x4647c7
mov bl, al
jmp 0x4647c9
xor bl, bl
test byte [ebp - 0x48c], 1
je 0x4647ed
mov eax, dword [ebp + 8]
and dword [ebp - 0x48c], 0xfffffffe
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x4647ed
push eax
call fcn.004013aa
test bl, bl
jne 0x464822
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0x474]
call fcn.0040e489
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x490]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x464822
push eax
call fcn.004013aa
lea eax, [ebp - 0x474]
call fcn.0040e5d3
test eax, eax
jne 0x464780
push str..ttbl.tmp
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.004033e6
mov eax, dword [eax]
lea ebx, [ebp - 0x474]
call fcn.0040e51d
mov esi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x46486d
push eax
call fcn.004013aa
pop edi
test esi, esi
pop esi
pop ebx
je 0x4648ae
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x474]
call fcn.0040e489
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x46489f
push eax
call fcn.004013aa
lea eax, [ebp - 0x474]
call fcn.0040e5d3
test eax, eax
jne 0x464874
lea eax, [ebp - 0x474]
call fcn.0040e5fc
mov eax, dword [ebp - 0x47c]
add eax, 0xfffffff4
cmp eax, dword [0x51a43c]
je 0x4648d0
push eax
call fcn.004013aa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004eae3c
leave
ret 4