Function at 0x453410
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4faa4c
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x542488]
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 esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc8], ebx
call fcn.00454400
test al, al
jne 0x45346c
xor eax, eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x453838
lea eax, [ebp - 0x88]
push eax
call fcn.004540b0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x453483
mov eax, dword [eax]
push str.explorer.exe
push eax
call fcn.004c1b49
mov edx, dword [ebp - 0x74]
add esp, 8
test eax, eax
sete al
mov byte [ebp - 0xb9], al
cmp edx, 8
jb 0x4534df
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4534cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x453858
push edx
push ecx
call fcn.004b5e6a
mov al, byte [ebp - 0xb9]
add esp, 8
test al, al
jne 0x45356d
lea eax, [ebp - 0xb8]
push eax
call fcn.004540b0
mov edi, eax
add esp, 4
mov dword [ebp - 0xcc], edi
mov ebx, 2
mov dword [ebp - 4], 0
mov dword [ebp - 0xc8], ebx
call fcn.00454620
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
call fcn.00454620
push edi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xc0], eax
push ecx
mov ecx, eax
call fcn.00405030
mov edi, dword [ebp - 0x2c]
cmp byte [edi + 0xd], 0
jne 0x453556
mov ecx, dword [ebp - 0xc0]
lea eax, [edi + 0x10]
push eax
push dword [ebp - 0xcc]
call fcn.00405720
test al, al
je 0x45355e
mov eax, dword [ebp - 0xc0]
mov edi, dword [eax]
mov byte [ebp - 0xba], 1
cmp edi, dword [ebp - 0xc4]
je 0x453574
mov byte [ebp - 0xba], 0
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x45358b
lea ecx, [ebp - 0xb8]
call fcn.00402400
xor eax, eax
cmp byte [ebp - 0xba], al
je 0x4535a7
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x453838
push 7
push str.modpath
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00407d30
push 0x31
xor eax, eax
mov dword [ebp - 4], 1
push str.SoftwareKingsoftOffice6.0pluginskappinsguard
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00407d30
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00453ed0
add esp, 0xc
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x453648
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45363e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45385d
push edx
push ecx
call fcn.004b5e6a
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x45369a
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x453690
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45385d
push edx
push ecx
call fcn.004b5e6a
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x18], eax
je 0x4537b9
cmp byte [ebp - 0xb9], al
jne 0x453825
push str.onver
lea ecx, [ebp - 0xb8]
call fcn.00402260
push str.SoftwareKingsoftOffice6.0pluginskappinsguard
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.00402260
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00453ed0
add esp, 0xc
lea ecx, [ebp - 0xa0]
call fcn.00402400
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xa
call fcn.00402400
mov eax, dword fs:[0x2c]
mov ecx, dword [0x54c638]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x54af84]
cmp eax, dword [ecx + 4]
jg 0x453862
push 0x54af6c
lea ecx, [ebp - 0x88]
call fcn.00402970
cmp dword [ebp - 0x60], 0
je 0x4537a2
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x88]
lea eax, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x88]
cmp dword [ebp - 0x5c], 8
push ecx
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.004c1b49
add esp, 8
test eax, eax
jne 0x4537a2
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00405390
lea ecx, [ebp - 0x88]
call fcn.00402400
lea ecx, [ebp - 0x70]
call fcn.00402400
jmp 0x453830
lea ecx, [ebp - 0x88]
call fcn.00402400
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.00402400
lea eax, [ebp - 0x70]
push eax
call fcn.0048b0c0
push str._addonskappinsguardkappinsguard.dll
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xc
push eax
call fcn.00401db0
add esp, 0x10
lea ecx, [ebp - 0x28]
push eax
call fcn.00402500
lea ecx, [ebp - 0xa0]
call fcn.00402400
lea ecx, [ebp - 0x70]
call fcn.00402400
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x453825
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00405390
lea ecx, [ebp - 0x28]
call fcn.00402400
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.004b5e78
mov esp, ebp
pop ebp
ret 4
call fcn.004c19b9
call fcn.004c19b9
push 0x54af84
call fcn.004b6104
add esp, 4
cmp dword [0x54af84], 0xffffffff
jne 0x45373f
push 0x54af6c
lea ecx, [ebp - 0xb9]
mov byte [ebp - 4], 0xb
call fcn.004538b0
push 0x502420
call fcn.004b6416
push 0x54af84
mov byte [ebp - 4], 0xa
call fcn.004b60ba
add esp, 8
jmp 0x45373f