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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7bee
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x4e0214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
mov dword [ebp - 4], ebx
cmp dword [0x4e1d34], ebx
je 0x412036
push 0x4d0048
lea edx, [ebp - 0x64]
push 0x4e1d24
push edx
call fcn.004078b0
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.00401ca0
jmp 0x412086
lea ecx, [ebp - 0x64]
call fcn.00408d00
push eax
mov eax, str.cacheupdate_temp_
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.0041d060
add esp, 4
mov edi, eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.00401ca0
cmp dword [ebp - 0x34], 8
jb 0x412076
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004790ec
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x50], 8
jb 0x41209b
mov eax, dword [ebp - 0x64]
push eax
call fcn.004790ec
add esp, 4
cmp dword [ebp - 0x88], 8
mov eax, dword [ebp - 0x9c]
jae 0x4120b0
lea eax, [ebp - 0x9c]
push eax
call fcn.00408f00
add esp, 4
test byte [0x4e4944], 1
jne 0x4120db
or dword [0x4e4944], 1
call section..text
push 0x4b86a0
call fcn.004793ba
add esp, 4
sub esp, 0x1c
mov edi, esp
mov ecx, 7
lea esi, [ebp - 0x9c]
rep movsd dword es:[edi], dword [esi]
push str.EnsurePathCreate__S.
push ebx
mov esi, 0x4e4928
call fcn.00401150
mov esi, dword [ebp - 0xa4]
add esp, 0x24
add esi, 0x1c
push 0x1b
mov eax, str.http:__url.3u.com_update_v
call fcn.00403870
cmp dword [0x4e40b0], ebx
je 0x412167
mov esi, dword [ebp - 0xa4]
push 0x1d
mov eax, str.http:__url.3u.com_ueAbaeaa_v
add esi, 0x1c
call fcn.00403870
test byte [0x4e4944], 1
jne 0x412154
or dword [0x4e4944], 1
call section..text
push 0x4b86a0
call fcn.004793ba
add esp, 4
push str.Used_Develop_Url.
push ebx
mov esi, 0x4e4928
call fcn.00401150
add esp, 8
mov esi, dword [ebp - 0xa4]
add esi, 0x1c
cmp dword [esi + 0x14], 8
jb 0x412178
mov esi, dword [esi]
test byte [0x4e4944], 1
jne 0x41219a
or dword [0x4e4944], 1
call section..text
push 0x4b86a0
call fcn.004793ba
add esp, 4
push esi
push str.Fill_with_Ver___S.
push ebx
mov esi, 0x4e4928
call fcn.00401150
add esp, 0xc
mov edi, 7
cmp dword [0x4e40b4], ebx
je 0x4122bd
cmp dword [0x4e1d18], ebx
jne 0x4122bd
xor ecx, ecx
push 0x22
mov eax, str.cacheupdate_templocalconfig.xml
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
call fcn.00403870
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.00408d00
mov ecx, eax
lea edx, [ebp - 0x48]
push edx
mov eax, esi
mov byte [ebp - 4], 5
call fcn.00409fc0
add esp, 4
cmp dword [ebp - 0x50], 8
jb 0x412218
mov eax, dword [ebp - 0x64]
push eax
call fcn.004790ec
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
mov esi, 8
mov byte [ebp - 4], 8
cmp dword [ebp - 0x18], esi
jb 0x41223e
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004790ec
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x34], esi
jae 0x412255
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4122ac
push ebx
lea ecx, [ebp - 0x48]
push ecx
or eax, 0xffffffff
mov ecx, 0x4e1d08
call fcn.00403470
test byte [0x4e4944], 1
jne 0x412294
or dword [0x4e4944], 1
call section..text
push 0x4b86a0
call fcn.004793ba
add esp, 4
push str.LocalConfig.xml_already_download__load_it_directly.
push ebx
mov esi, 0x4e4928
call fcn.00401150
add esp, 8
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x4122bd
mov edx, dword [ebp - 0x48]
push edx
call fcn.004790ec
add esp, 4
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
mov byte [ebp - 4], 9
cmp dword [0x4e40b4], ebx
je 0x412516
cmp dword [0x4e1d18], ebx
je 0x412516
test byte [0x4e4944], 1
jne 0x412308
or dword [0x4e4944], 1
call section..text
push 0x4b86a0
call fcn.004793ba
add esp, 4
push str.Loading_local_config.
push ebx
mov esi, 0x4e4928
call fcn.00401150
add esp, 8
xor eax, eax
push ebx
mov word [ebp - 0x2c], ax
push 0x4e1d08
or eax, 0xffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
call fcn.00403470
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x412348
lea eax, [ebp - 0x2c]
push eax
lea esi, [ebp - 0x64]
call fcn.004095a0
add esp, 4
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xb
call fcn.0040a1d0
cmp dword [ebp - 0x50], 0x10
jb 0x412373
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004790ec
add esp, 4
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x412383
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], esi
jb 0x41239f
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004790ec
add esp, 4
test byte [0x4e4944], 1
jne 0x4123c1
or dword [0x4e4944], 1
call section..text
push 0x4b86a0
call fcn.004793ba
add esp, 4
push str.Parsing_config...
push ebx
mov esi, 0x4e4928
call fcn.00401150
add esp, 8
xor ecx, ecx
mov edi, 7
push 0x12
mov eax, str.pro_parsing_config
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
call fcn.00403870
mov byte [ebp - 4], 0xf
test byte [0x4e494c], 1
jne 0x412432
or dword [0x4e494c], 1
lea edx, [ebp - 0xa5]
push edx
mov byte [ebp - 4], 0x10
call fcn.00401e10
mov byte [ebp - 4], 0x11
call fcn.004013f0
push 0x4b86b0
call fcn.004793ba
add esp, 4
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x48]
mov ecx, 0x4e48fc
call fcn.00401890
mov esi, 8
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x14], esi
jb 0x412453
mov eax, dword [eax]
push eax
call fcn.00405300
add esp, 4
cmp dword [ebp - 0x50], esi
jb 0x41246d
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004790ec
add esp, 4
xor edx, edx
mov byte [ebp - 4], 9
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x34], esi
jb 0x41248e
mov eax, dword [ebp - 0x48]
push eax
call fcn.004790ec
add esp, 4
mov ecx, dword [ebp + 0xc]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xa0], esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x80]
mov edi, 0xf
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push edx
mov byte [ecx], bl
call fcn.00403b30
mov ecx, dword [ebp - 0xa4]
call fcn.00419ca0
cmp dword [ebp - 0x6c], 0x10
mov esi, eax
jb 0x4124d5
mov eax, dword [ebp - 0x80]
push eax
call fcn.004790ec
add esp, 4
cmp dword [ebp - 0x88], 8
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
jb 0x4124f6
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004790ec
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004790f7
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0xa0], ebx
lea esp, [esp]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0xa4]
add eax, 0x1c
push ebx
push eax
mov esi, 7
or eax, 0xffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
call fcn.00403470
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x6c], 0x10
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x70], ebx
jae 0x41255a
lea eax, [ebp - 0x80]
mov edi, dword [ebp - 0xa0]
mov byte [eax], bl
cmp dword [0x4e1cfc], ebx
je 0x4125db
mov eax, 0x55555556
imul edi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
sub eax, ecx
je 0x4125db
xor edx, edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
push 4
lea esi, [ebp - 0x48]
mov word [ebp - 0x48], dx
cmp eax, 1
jne 0x4125a7
mov eax, str.d1
call fcn.00403870
mov byte [ebp - 4], 0xd
jmp 0x4125b5
mov eax, str.d2
call fcn.00403870
mov byte [ebp - 4], 0xe
push ebx
lea eax, [ebp - 0x48]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x2c]
call fcn.00407b90
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x34], 8
jb 0x4125db
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004790ec
add esp, 4
mov eax, dword [ebp - 0x2c]
xor edx, edx
cmp edi, 2
setl dl
cmp dword [ebp - 0x18], 8
mov dword [0x4e40bc], edx
jae 0x4125f5
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
call fcn.0040ae90
mov esi, dword [ebp - 0x2c]
add esp, 4
cmp dword [ebp - 0x18], 8
mov edi, eax
jae 0x41260f
lea esi, [ebp - 0x2c]
test byte [0x4e4944], 1
jne 0x412631
or dword [0x4e4944], 1
call section..text
push 0x4b86a0
call fcn.004793ba
add esp, 4
push edi
push esi
push str.Downloading__S_result__d_.
push ebx
mov esi, 0x4e4928
call fcn.00401150
add esp, 0x10
mov byte [ebp - 4], 9
cmp edi, ebx
je 0x4126b7
cmp dword [ebp - 0x18], 8
jb 0x412660
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004790ec
add esp, 4
mov eax, dword [ebp - 0xa0]
inc eax
mov dword [ebp - 0xa0], eax
cmp eax, 6
jl 0x412520
cmp dword [ebp - 0x6c], 0x10
jb 0x412688
mov edx, dword [ebp - 0x80]
push edx
call fcn.004790ec
add esp, 4
cmp dword [ebp - 0x88], 8
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
jb 0x4126ad
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004790ec
add esp, 4
mov eax, 0x3e9
jmp 0x4124f8
cmp dword [ebp - 0x18], 8
jb 0x41239f
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x412397