Function at 0x40e960
Capabilities:
Check if file exists
Delete file
Get file attributes

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 0x52f211
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x368
mov eax, dword [0x57c06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x370], ecx
mov esi, dword [ebx + 0x10]
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x378], eax
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x374], edi
jb 0x40e9c6
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40ea82
push 0x17
xor eax, eax
mov dword [ebp - 0x1c], 0
push str.FilePath_Not_Exist__0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.0040b450
push 0x126
push str.t_netConfigManager.cpp
lea ecx, [ebp - 0x300]
mov dword [ebp - 4], 0
call fcn.00411450
mov edi, eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov dword [edi + 0x64], 0
cmp edi, eax
je 0x40ea3e
cmp dword [ebp - 0x18], 8
mov ecx, eax
push dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push ecx
mov ecx, edi
call fcn.0040b450
push esi
mov ecx, edi
call fcn.00411a50
lea ecx, [ebp - 0x300]
call fcn.00411690
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040b3f0
mov ecx, dword [ebp - 0x370]
mov eax, dword [ecx]
add eax, 0x18
push eax
push dword [ebp - 0x374]
push dword [ebp - 0x378]
call fcn.0040d990
jmp 0x40ec54
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x40ea8c
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x298]
call fcn.004ad210
mov dword [ebp - 4], 2
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x40eaa9
mov ecx, dword [esi]
xorps xmm0, xmm0
lea edx, [ebp - 0x24]
movups xmmword [ebp - 0x24], xmm0
call fcn.0040cc70
test al, al
je 0x40ec28
lea ecx, [ebp - 0x170]
call fcn.004ad0c0
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x170]
call fcn.0040cbc0
lea ecx, [ebp - 0x170]
call fcn.004ad940
cmp byte [ebp - 0x17c], 0
lea ecx, [ebp - 0x28c]
mov edi, dword [ebp - 0x168]
lea eax, [ebp - 0x164]
cmove ecx, dword [ebp - 0x290]
cmp byte [ebp - 0x54], 0
cmove eax, edi
add ecx, 4
add eax, 4
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40eb37
test dx, dx
je 0x40eb33
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40eb37
add eax, 4
add ecx, 4
test dx, dx
jne 0x40eb11
xor eax, eax
jmp 0x40eb3c
sbb eax, eax
or eax, 1
test eax, eax
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
sete al
cmp byte [ebp - 0x54], 0
mov byte [ebp - 0x369], al
jne 0x40eb70
lea ecx, [ebp - 0x164]
cmp edi, ecx
je 0x40eb70
push edi
call fcn.004e4a56
mov al, byte [ebp - 0x369]
add esp, 4
test al, al
je 0x40ec28
push 0x11
xor eax, eax
mov dword [ebp - 0x34], 0
push str.Md5_not_match_0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.0040b450
push 0x12f
push str.t_netConfigManager.cpp
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], 3
call fcn.00411450
mov edi, eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
mov dword [edi + 0x64], 0
cmp edi, eax
je 0x40ebdd
cmp dword [ebp - 0x30], 8
mov ecx, eax
push dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x44]
push ecx
mov ecx, edi
call fcn.0040b450
push esi
mov ecx, edi
call fcn.00411a50
lea ecx, [ebp - 0x368]
call fcn.00411690
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0040b3f0
cmp dword [esi + 0x14], 8
jb 0x40ec04
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x370]
mov eax, dword [ecx]
add eax, 0x18
push eax
push dword [ebp - 0x374]
push dword [ebp - 0x378]
call fcn.0040d990
cmp byte [ebp - 0x17c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x40ec54
mov eax, dword [ebp - 0x290]
lea ecx, [ebp - 0x28c]
cmp eax, ecx
je 0x40ec54
push eax
call fcn.004e4a56
add esp, 4
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.004e24d7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc