Function at 0x4359a0
Capabilities:
Delete file
Move file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b020
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x4cc06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x50], vtable.StringStorage.0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x40], vtable.StringStorage.0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00421760
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
mov byte [ebp - 4], 3
mov edi, 4
movups xmm0, xmmword [str._s_s._d.log]
mov ax, word [0x4b5e08]
mov word [ebp - 0x18], ax
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x54], edi
movq xmm0, qword [0x4b5e00]
movq qword [ebp - 0x20], xmm0
nop dword [eax + eax]
push edi
push dword [esi + 0x38]
lea eax, [ebp - 0x30]
push dword [esi + 0x28]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0043a5e0
add esp, 0x14
lea eax, [edi + 1]
push eax
push dword [esi + 0x38]
lea eax, [ebp - 0x30]
push dword [esi + 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043a5e0
mov esi, dword [ebp - 0x3c]
add esp, 0x14
mov edi, dword [ebp - 0x4c]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x58]
dec edi
mov dword [ebp - 0x54], edi
test edi, edi
jg 0x435ab0
push dword [esi + 0x38]
lea eax, [ebp - 0x50]
push dword [esi + 0x28]
push 0x4b0e60
push eax
call fcn.0043a5e0
push 1
push dword [esi + 0x38]
lea eax, [ebp - 0x30]
push dword [esi + 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0043a5e0
mov esi, dword [ebp - 0x3c]
add esp, 0x24
mov edi, dword [ebp - 0x4c]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], vtable.StringStorage.0
test edx, edx
je 0x435b94
mov ecx, dword [ebp - 0x34]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x435b75
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435bee
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], vtable.StringStorage.0
test edx, edx
je 0x435bce
mov ecx, dword [ebp - 0x44]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x435bc4
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435bf3
push ecx
push edx
call fcn.00471cb1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00471ca0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.0047d9a1
call fcn.0047d9a1
int3