Function at 0x43ea00
Capabilities:
Check if file exists

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 0x48bfdf
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x660
mov eax, dword [0x4b701c]
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
sub esp, 0x18
lea edi, [esi + 0x140]
mov ecx, esp
push edi
call fcn.00404570
lea eax, [ebp - 0x2c]
push eax
call fcn.004854d0
add esp, 0x1c
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
jne 0x43ea98
push 0
lea eax, [ebp - 0x44]
push 0xa
push eax
call fcn.00483c80
add esp, 0xc
lea ecx, [ebp - 0x2c]
push eax
call fcn.00417060
lea ecx, [ebp - 0x44]
call fcn.004087f0
cmp dword [ebp - 0x1c], 0
je 0x43ef72
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ef72
sub esp, 0x18
mov ecx, esp
push 0x16
push str.Clear_Unuse_File_Begin
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.00408440
call fcn.0043f4d0
add esp, 0x18
lea eax, [esi + 0x80]
lea ecx, [ebp - 0x74]
push eax
call fcn.00404570
mov byte [ebp - 4], 1
cmp dword [esi + 0x150], 0
je 0x43eb23
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00404570
lea eax, [ebp - 0x44]
push eax
call fcn.004853a0
add esp, 0x1c
lea ecx, [ebp - 0x74]
push eax
call fcn.00417060
lea ecx, [ebp - 0x44]
call fcn.004087f0
cmp dword [ebp - 0x64], 0
je 0x43eb75
lea ecx, [ebp - 0x200]
call fcn.004430c0
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0xf8]
mov ecx, esp
push eax
call fcn.00404570
lea eax, [ebp - 0x44]
push eax
call fcn.004853a0
add esp, 0x1c
lea ecx, [ebp - 0x74]
push eax
call fcn.00417060
lea ecx, [ebp - 0x44]
call fcn.004087f0
lea ecx, [ebp - 0x200]
mov byte [ebp - 4], 1
call fcn.0040f5a0
lea ecx, [ebp - 0x668]
call fcn.00427370
mov edi, 0x7ffffffe
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1c]
mov eax, edi
sub eax, ecx
cmp eax, 2
jb 0x43efc6
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 2
cmovae eax, dword [ebp - 0x2c]
push 0x4a9a2c
push ecx
push eax
push ecx
push dword [ebp - 0x66c]
lea ecx, [ebp - 0x44]
call fcn.004243b2
mov byte [ebp - 4], 4
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x668]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.00427590
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
mov esi, eax
call fcn.004087f0
test esi, esi
je 0x43ee6b
nop dword [eax]
lea ecx, [ebp - 0x668]
call fcn.004274e0
test eax, eax
jne 0x43ee58
lea eax, [ebp - 0x66c]
push eax
lea ecx, [ebp - 0x668]
call fcn.00427400
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x66c]
cmp dword [eax - 0xc], 0
jl 0x43ec49
push 0x4a52b0
push eax
call fcn.00455261
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x66c]
test ecx, ecx
je 0x43ec49
sub ecx, eax
sar ecx, 1
je 0x43ee3c
mov edx, eax
lea esi, [edx + 2]
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43ec50
mov ecx, dword [ebp - 0x64]
lea edi, [ebp - 0x74]
sub edx, esi
sar edx, 1
cmp dword [ebp - 0x60], 8
cmovae edi, dword [ebp - 0x74]
cmp ecx, edx
jne 0x43ec95
mov esi, ecx
mov edx, eax
test esi, esi
je 0x43ec91
sub edi, eax
nop dword [eax + eax]
mov cx, word [edi + edx]
cmp cx, word [edx]
jne 0x43ec95
add edx, 2
sub esi, 1
jne 0x43ec80
mov cl, 1
jmp 0x43ec97
xor cl, cl
mov edi, 0x7ffffffe
test cl, cl
jne 0x43ee3c
mov ecx, dword [ebp - 0x1c]
mov eax, edi
sub eax, ecx
cmp eax, 1
jb 0x43efc6
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 1
cmovae eax, dword [ebp - 0x2c]
push 0x4a5b00
push ecx
push eax
push ecx
push dword [ebp - 0x670]
lea ecx, [ebp - 0x44]
call fcn.004243b2
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x66c]
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43ece6
sub edx, esi
lea ecx, [ebp - 0x44]
sar edx, 1
push edx
push eax
call fcn.00404760
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x43ed61
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ed57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efd0
push edx
push ecx
call fcn.00453c42
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.004855d0
push 0
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 9
call fcn.00484e70
sub esp, 0x18
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
call fcn.00404570
lea ecx, [ebp - 0xc4]
call fcn.004857b0
mov edx, dword [ebp - 0x4c]
sub esp, 0x18
mov eax, edi
mov ecx, esp
sub eax, edx
mov dword [ebp - 0x670], ecx
cmp eax, 0xc
jb 0x43efc6
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push edx
cmovae eax, dword [ebp - 0x5c]
push eax
push 0xc
push str.delete_File:
push ecx
push dword [ebp - 0x670]
call fcn.004243b2
call fcn.0043f4d0
add esp, 0x18
lea ecx, [ebp - 0xc4]
call fcn.00485620
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x43ee36
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ee2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efd0
push edx
push ecx
call fcn.00453c42
add esp, 8
mov eax, dword [ebp - 0x66c]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ee58
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x668]
call fcn.004276f0
test eax, eax
jne 0x43ebf0
mov ecx, dword [ebp - 0x1c]
sub edi, ecx
cmp edi, 0xc
jb 0x43efcb
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0xc
cmovae eax, dword [ebp - 0x2c]
push str.UpdateFiles
push ecx
push eax
push ecx
push dword [ebp - 0x670]
lea ecx, [ebp - 0x8c]
call fcn.004243b2
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ef27
lea ecx, [ebp - 0xc4]
call fcn.004855d0
push 0
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0xb
call fcn.00484e70
sub esp, 0x18
lea eax, [ebp - 0x8c]
mov ecx, esp
push eax
call fcn.00404570
lea ecx, [ebp - 0xc4]
call fcn.004857b0
sub esp, 0x18
lea eax, [ebp - 0x8c]
mov ecx, esp
mov edx, str.delete_Folder:
push eax
call fcn.004249cc
add esp, 4
call fcn.0043f4d0
add esp, 0x18
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xc4]
call fcn.00485620
sub esp, 0x18
mov ecx, esp
push 0x14
push str.Clear_Unuse_File_End
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.00408440
call fcn.0043f4d0
add esp, 0x18
lea ecx, [ebp - 0x8c]
call fcn.004087f0
lea ecx, [ebp - 0x668]
call fcn.004273b0
lea ecx, [ebp - 0x74]
call fcn.004087f0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x43efa8
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43ef9e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43efd0
push edx
push ecx
call fcn.00453c42
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.00453c11
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00408170
call fcn.00408170
call fcn.004584af
int3