Function at 0x417f20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
push esi
mov esi, ecx
push edi
mov ecx, dword [eax]
mov eax, dword [0x559348]
cmp eax, dword [ecx + 4]
jg 0x418379
cmp dword [0x5531c4], 0
je 0x417f77
push 0x5531b4
mov ecx, esi
call fcn.00402f60
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x248], 0
push eax
push 0x5010a0
lea ecx, [ebp - 0x258]
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
call fcn.00403e30
lea eax, [ebp - 0x258]
mov edx, 0x501790
push eax
push str.UninstallString
mov ecx, SysReAllocString
call fcn.0040ffe0
add esp, 8
test eax, eax
jne 0x418033
push eax
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 7
push 0x5010a0
mov word [esi], ax
call fcn.00403e30
mov edx, dword [ebp - 0x244]
cmp edx, 8
jb 0x418021
mov ecx, dword [ebp - 0x258]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418017
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418374
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004c05c0
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x258]
add esp, 0xc
cmp dword [ebp - 0x244], 8
cmovae eax, dword [ebp - 0x258]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
push str.......
lea eax, [ebp - 0x210]
push eax
call edi
push str.componentshuabao_
lea eax, [ebp - 0x210]
push eax
call edi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4180ca
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.....
lea eax, [ebp - 0x210]
push eax
call edi
push str.huabao_
lea eax, [ebp - 0x210]
push eax
call edi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41816b
push 0x208
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004c05c0
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.0040eb10
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
push str.360se6Applicationcomponentshuabao_
lea eax, [ebp - 0x210]
push eax
call edi
mov edx, dword [ebp - 0x214]
cmp edx, 8
jb 0x41816b
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418161
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4183c3
push edx
push ecx
call fcn.004bdd39
add esp, 8
xor eax, eax
mov dword [ebp - 0x230], 0
push eax
push 0x5010a0
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
call fcn.00403e30
xor eax, eax
mov dword [ebp - 0x218], 0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4181c0
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.00403e30
lea edx, [ebp - 0x240]
lea ecx, [ebp - 0x228]
call fcn.00417d10
mov edx, dword [ebp - 0x214]
cmp edx, 8
jb 0x418233
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418229
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4183c8
push edx
push ecx
call fcn.004bdd39
add esp, 8
cmp dword [ebp - 0x230], 0
je 0x4182a7
push 0x5010bc
lea edx, [ebp - 0x240]
lea ecx, [ebp - 0x228]
call fcn.004048c0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x41825d
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
mov edx, dword [ebp - 0x214]
cmp edx, 8
jb 0x4182a7
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41829d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4183cd
push edx
push ecx
call fcn.004bdd39
add esp, 8
lea edx, [ebp - 0x210]
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4182b0
sub edx, edi
lea eax, [ebp - 0x210]
sar edx, 1
mov ecx, 0x5531b4
push edx
push eax
call fcn.00403e30
push 0x5531b4
mov ecx, esi
call fcn.00402f60
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x418319
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41830f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418374
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov edx, dword [ebp - 0x244]
xor eax, eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
cmp edx, 8
jb 0x418021
mov ecx, dword [ebp - 0x258]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418017
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418017
call fcn.004c8da3
push 0x559348
call fcn.004be1ad
add esp, 4
cmp dword [0x559348], 0xffffffff
jne 0x417f50
push 0
push 0x5010a0
mov ecx, 0x5531b4
call fcn.00403e30
push 0x4e6830
call fcn.004bdff8
add esp, 4
push 0x559348
call fcn.004be163
add esp, 4
jmp 0x417f50
call fcn.004c8da3
call fcn.004c8da3
call fcn.004c8da3
int3