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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cac5c
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x50c3e4]
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]
mov dword [ebp - 0xc0], 0
mov eax, dword [0x5131d0]
mov dword [ebp - 0xc4], esi
test al, 1
jne 0x435162
or eax, 1
mov dword [0x5131d0], eax
lea ecx, [ebp - 0xb9]
mov dword [ebp - 4], 0
call fcn.00434f40
mov byte [0x5131cc], al
mov dword [ebp - 4], 0xffffffff
jmp 0x435167
mov al, byte [0x5131cc]
test al, al
jne 0x435183
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x435544
lea eax, [ebp - 0x88]
push eax
call fcn.00435840
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x43519a
mov eax, dword [eax]
push str.explorer.exe
push eax
call fcn.0049e8f5
mov edx, dword [ebp - 0x74]
add esp, 8
test eax, eax
sete bl
mov byte [ebp - 0xb9], bl
cmp edx, 8
jb 0x4351f0
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4351e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435564
push edx
push ecx
call fcn.0048d1e5
add esp, 8
test bl, bl
jne 0x435268
lea eax, [ebp - 0xb8]
push eax
call fcn.00435840
mov edi, eax
add esp, 4
mov dword [ebp - 0xc8], edi
mov dword [ebp - 4], 1
mov dword [ebp - 0xc0], 2
call fcn.00435e80
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
call fcn.00435e80
mov ebx, eax
lea eax, [ebp - 0x34]
push edi
push eax
mov ecx, ebx
call fcn.00407a70
mov edi, dword [ebp - 0x2c]
cmp byte [edi + 0xd], 0
jne 0x43525a
lea eax, [edi + 0x10]
mov ecx, ebx
push eax
push dword [ebp - 0xc8]
call fcn.00408700
test al, al
je 0x43525c
mov edi, dword [ebx]
cmp edi, dword [ebp - 0xc4]
jne 0x435268
mov bl, 1
jmp 0x43526a
xor bl, bl
test byte [ebp - 0xc0], 2
mov dword [ebp - 4], 0xffffffff
je 0x435285
lea ecx, [ebp - 0xb8]
call fcn.00402320
xor eax, eax
test bl, bl
je 0x43529d
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
jmp 0x435544
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.004025c0
push 0x31
xor eax, eax
mov dword [ebp - 4], 2
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.004025c0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00435660
add esp, 0xc
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x43533e
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435334
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435569
push edx
push ecx
call fcn.0048d1e5
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], 6
cmp edx, 8
jb 0x435390
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435386
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435569
push edx
push ecx
call fcn.0048d1e5
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 0x4354c5
cmp byte [ebp - 0xb9], al
jne 0x435531
push str.onver
lea ecx, [ebp - 0xb8]
call fcn.00403650
push str.SoftwareKingsoftOffice6.0pluginskappinsguard
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
call fcn.00403650
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00435660
add esp, 0xc
lea ecx, [ebp - 0xa0]
call fcn.00402320
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xb
call fcn.00402320
mov eax, dword [0x5131a0]
test al, 1
jne 0x43544b
or eax, 1
mov dword [0x5131a0], eax
push 0x513188
lea ecx, [ebp - 0xb9]
mov byte [ebp - 4], 0xc
call fcn.004349e0
push 0x4d3340
call fcn.0048d42f
add esp, 4
mov byte [ebp - 4], 0xb
push 0x513188
lea ecx, [ebp - 0x88]
call fcn.004035b0
cmp dword [ebp - 0x60], 0
je 0x4354ae
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.0049e8f5
add esp, 8
test eax, eax
jne 0x4354ae
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00403560
lea ecx, [ebp - 0x88]
call fcn.00402320
lea ecx, [ebp - 0x70]
call fcn.00402320
jmp 0x43553c
lea ecx, [ebp - 0x88]
call fcn.00402320
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.00402320
lea eax, [ebp - 0x70]
push eax
call fcn.0047b110
push str._addonskappinsguardkappinsguard.dll
push eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0xd
push eax
call fcn.00403080
add esp, 0x10
lea ecx, [ebp - 0x28]
push eax
call fcn.00403810
lea ecx, [ebp - 0xa0]
call fcn.00402320
lea ecx, [ebp - 0x70]
call fcn.00402320
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 0x435531
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.00403560
lea ecx, [ebp - 0x28]
call fcn.00402320
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.0048d444
mov esp, ebp
pop ebp
ret 4
call fcn.00498b39
call fcn.00498b39
int3