Function at 0x46fb00
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63326a
mov eax, dword fs:[0]
push eax
sub esp, 0x3e4
mov eax, dword [0x6a73e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.005fc2a0
add esp, 4
mov eax, esp
mov dword [eax], 0x63fd28
mov dword [eax + 4], 9
lea eax, [ebp - 0x294]
push eax
call fcn.00459160
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x46fb76
mov eax, dword [eax]
push str.usercenter.set
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [ebp - 0x280]
cmp edx, 8
jb 0x46fbc9
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46fbbf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47009a
push edx
push ecx
call fcn.005bb0db
add esp, 8
lea eax, [ebp - 0x21c]
xor edi, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47007a
mov dword [ebp - 0x254], edi
mov dword [ebp - 0x250], 0xf
mov byte [ebp - 0x264], 0
lea eax, [ebp - 0x264]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0046f780
add esp, 8
test eax, eax
je 0x46fe0c
xorps xmm0, xmm0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b4]
movups xmmword [ebp - 0x2b4], xmm0
movups xmmword [ebp - 0x2a4], xmm0
call fcn.00491780
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 2
call fcn.00493490
xorps xmm0, xmm0
lea ecx, [ebp - 0x27c]
push edi
mov esi, eax
movq qword [ebp - 0x26c], xmm0
movups xmmword [ebp - 0x27c], xmm0
call fcn.0048c900
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
cmp dword [ebp - 0x250], 0x10
lea edx, [ebp - 0x264]
mov eax, dword [esi]
cmovae edx, dword [ebp - 0x264]
mov ecx, edx
mov byte [ebp - 4], 4
mov eax, dword [eax + 4]
mov dword [ebp - 0x2b8], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x2bc], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46fcb0
sub ecx, dword [ebp - 0x2bc]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [edx + ecx]
mov ecx, esi
push eax
push edx
call dword [ebp - 0x2b8]
test al, al
je 0x46fdd6
cmp dword [ebp - 0x224], 0
jne 0x46fdd6
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movq qword [ebp - 0x23c], xmm0
movups xmmword [ebp - 0x24c], xmm0
push 4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.user
mov byte [ecx], 0
call fcn.0040b9b0
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00459b90
add esp, 0x20
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 5
call fcn.0048e390
test al, al
je 0x46fd88
lea ecx, [ebp - 0x24c]
call fcn.0048ccf0
lea ecx, [ebp - 0x234]
call fcn.00407b80
lea ecx, [ebp - 0x27c]
call fcn.0048ccf0
lea ecx, [ebp - 0x2b4]
call fcn.004918a0
lea ecx, [ebp - 0x264]
call fcn.00407b80
xor eax, eax
jmp 0x47007c
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x27c]
call fcn.0048f980
cmp dword [ebp - 0x284], 0
mov byte [ebp - 4], 6
je 0x46fdb9
mov ecx, dword [ebp - 0x2c0]
lea eax, [ebp - 0x294]
push eax
call fcn.0046d2c0
lea ecx, [ebp - 0x294]
mov edi, 1
call fcn.00407b80
lea ecx, [ebp - 0x24c]
call fcn.0048ccf0
jmp 0x46fde3
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
lea ecx, [ebp - 0x234]
call fcn.00407b80
lea ecx, [ebp - 0x27c]
call fcn.0048ccf0
lea ecx, [ebp - 0x2b4]
call fcn.004918a0
mov edx, dword [ebp - 0x250]
cmp edx, 0x10
jb 0x47007a
mov ecx, dword [ebp - 0x264]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x470070
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47009f
jmp 0x470070
push edx
push ecx
call fcn.005bb0db
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005bb391
mov esp, ebp
pop ebp
ret 4
call fcn.005ffa79
call fcn.005ffa79
int3