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

Disassembly:
push 0xffffffffffffffff
push 0x46fd3e
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x4a2a04]
xor eax, esp
mov dword [esp + 0x4ac], eax
push ebx
push ebp
push esi
mov eax, dword [0x4a2a04]
xor eax, esp
push eax
lea eax, [esp + 0x4c0]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xb6]
push ecx
mov word [esp + 0xb8], ax
call fcn.00456530
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x2be]
push eax
mov word [esp + 0x2c0], dx
call fcn.00456530
mov esi, 8
add esp, 0xc
cmp dword [edi + 0x3c4], esi
jb 0x402d1f
mov ecx, dword [edi + 0x3b0]
jmp 0x402d25
lea ecx, [edi + 0x3b0]
cmp dword [edi + 0x3a8], esi
jb 0x402d35
mov eax, dword [edi + 0x394]
jmp 0x402d3b
lea eax, [edi + 0x394]
push ecx
push eax
lea ecx, [esp + 0xb4]
push str.Ver_s._s
push ecx
call fcn.004516d5
add esp, 0x10
cmp dword [edi + 0x3a8], esi
jb 0x402d62
mov eax, dword [edi + 0x394]
jmp 0x402d68
lea eax, [edi + 0x394]
push eax
lea edx, [esp + 0x2b8]
push str.Ver_s
push edx
call fcn.004516d5
add esp, 0xc
lea ebp, [edi + 0x374]
push ebp
mov ebx, str.update.xml
lea esi, [esp + 0x54]
call fcn.00404ea0
mov ebx, 8
add esp, 4
cmp dword [eax + 0x18], ebx
jb 0x402da5
mov eax, dword [eax + 4]
jmp 0x402da8
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
cmp dword [esp + 0x68], ebx
jb 0x402dc4
mov eax, dword [esp + 0x54]
push eax
call fcn.00444c3b
add esp, 4
test esi, esi
je 0x402e06
push ebp
mov ebx, str.update.xml
lea esi, [esp + 0x54]
call fcn.00404ea0
mov esi, 8
add esp, 4
cmp dword [eax + 0x18], esi
jb 0x402de9
mov eax, dword [eax + 4]
jmp 0x402dec
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x68], esi
jb 0x402e06
mov ecx, dword [esp + 0x54]
push ecx
call fcn.00444c3b
add esp, 4
xor eax, eax
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], eax
mov byte [esp + 0x94], al
push eax
push ebp
mov ebx, str.update.xml
lea esi, [esp + 0x58]
mov dword [esp + 0x4d0], eax
call fcn.00404ea0
sub esp, 0x18
mov byte [esp + 0x4e8], 1
mov edx, esp
mov dword [esp + 0x8c], esp
push edx
mov ecx, eax
call fcn.0040b8a0
sub esp, 0x18
mov ecx, esp
mov byte [esp + 0x504], 2
xor ebx, ebx
mov eax, str.http:__down.wannianli365.com_update_wnl.xml
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov dword [esp + 0xac], esp
mov byte [ecx + 4], bl
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x402e80
sub eax, esi
push eax
push str.http:__down.wannianli365.com_update_wnl.xml
call fcn.00406710
mov byte [esp + 0x504], 1
call fcn.0040b010
mov byte [esp + 0x4c8], bl
cmp dword [esp + 0x68], 8
mov byte [esp + 0x17], al
jb 0x402ec0
mov eax, dword [esp + 0x54]
push eax
call fcn.00444c3b
add esp, 4
cmp byte [esp + 0x17], bl
je 0x4031f6
push ebp
mov ebx, str.update.xml
lea esi, [esp + 0x78]
call fcn.00404ea0
add esp, 4
mov byte [esp + 0x4c8], 3
cmp dword [esp + 0x8c], 8
mov ecx, dword [esp + 0x78]
jae 0x402ef6
lea ecx, [esp + 0x78]
push edi
call fcn.004034e0
xor ebp, ebp
mov ebx, 7
test eax, eax
je 0x4031a9
xor ecx, ecx
lea eax, [esp + 0xac]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x402f24
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xb0]
lea esi, [esp + 0x1c]
call fcn.00404400
mov byte [esp + 0x4c8], 4
mov ecx, dword [edi + 0x31c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
mov eax, esi
push eax
call edx
mov byte [esp + 0x4c8], 3
cmp dword [esp + 0x30], 8
mov esi, eax
jb 0x402f7a
mov eax, dword [esp + 0x1c]
push eax
call fcn.00444c3b
add esp, 4
xor ecx, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], cx
cmp esi, ebp
jne 0x402fe8
lea eax, [esp + 0x2b4]
lea ecx, [esp + 0x34]
call fcn.004041d0
mov byte [esp + 0x4c8], 5
mov ecx, dword [edi + 0x31c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
lea eax, [esp + 0x34]
push eax
call edx
mov byte [esp + 0x4c8], 3
cmp dword [esp + 0x4c], 8
mov esi, eax
jb 0x402fd5
mov eax, dword [esp + 0x38]
push eax
call fcn.00444c3b
add esp, 4
xor ecx, ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebp
mov word [esp + 0x38], cx
cmp esi, ebp
je 0x403058
mov ebx, dword [esi + 0x18]
add esi, 4
cmp ebx, 8
jb 0x402ff7
mov eax, dword [esi]
jmp 0x402ff9
mov eax, esi
mov ecx, str.nothing
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x403026
cmp dx, bp
je 0x403022
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x403026
add eax, 4
add ecx, 4
cmp dx, bp
jne 0x403000
xor eax, eax
jmp 0x40302b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebp
jne 0x403053
cmp ebx, 8
jb 0x403038
mov eax, dword [esi]
jmp 0x40303a
mov eax, esi
lea edx, [edi + 0x358]
push edx
call fcn.00404240
mov ebx, 7
lea esi, [ebx + 1]
jmp 0x403180
mov ebx, 7
xor eax, eax
mov word [esp + 0x38], ax
push 6
mov eax, str.NewVer
lea esi, [esp + 0x38]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebp
call fcn.00404400
mov byte [esp + 0x4c8], 6
mov ecx, dword [edi + 0x31c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
mov eax, esi
push eax
lea eax, [esp + 0x1c]
push eax
call edx
push 0xffffffffffffffff
push ebp
lea ecx, [edi + 0x320]
mov byte [esp + 0x4d0], 7
call fcn.00404350
mov esi, 8
cmp dword [esp + 0x30], esi
jb 0x4030c2
mov eax, dword [esp + 0x1c]
push eax
call fcn.00444c3b
add esp, 4
xor ecx, ecx
mov byte [esp + 0x4c8], 3
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], cx
cmp dword [esp + 0x4c], esi
jb 0x4030ec
mov edx, dword [esp + 0x38]
push edx
call fcn.00444c3b
add esp, 4
xor eax, eax
mov word [esp + 0x38], ax
push 9
mov eax, str.NewMinVer
lea esi, [esp + 0x38]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebp
call fcn.00404400
mov byte [esp + 0x4c8], 8
mov ecx, dword [edi + 0x31c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
mov eax, esi
push eax
lea eax, [esp + 0x1c]
push eax
call edx
push 0xffffffffffffffff
push ebp
lea ecx, [edi + 0x33c]
mov byte [esp + 0x4d0], 9
call fcn.00404350
mov esi, 8
cmp dword [esp + 0x30], esi
jb 0x403156
mov eax, dword [esp + 0x1c]
push eax
call fcn.00444c3b
add esp, 4
xor ecx, ecx
mov byte [esp + 0x4c8], 3
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], cx
cmp dword [esp + 0x4c], esi
jb 0x403180
mov edx, dword [esp + 0x38]
push edx
call fcn.00444c3b
add esp, 4
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x8c], esi
jae 0x403191
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [edi + 0x318]
cmp ecx, ebp
je 0x4031a9
push ebp
call dword [0x47f93c]
cmp dword [esp + 0x8c], 8
jb 0x4031c0
mov eax, dword [esp + 0x78]
push eax
call fcn.00444c3b
add esp, 4
xor ecx, ecx
cmp dword [esp + 0xa8], 0x10
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], ebp
mov word [esp + 0x78], cx
jb 0x4031ef
mov edx, dword [esp + 0x94]
push edx
call fcn.00444c3b
add esp, 4
mov eax, 1
jmp 0x403212
cmp dword [esp + 0xa8], 0x10
jb 0x403210
mov eax, dword [esp + 0x94]
push eax
call fcn.00444c3b
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x4c0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4ac]
xor ecx, esp
call fcn.004516c6
add esp, 0x4bc
ret