Function at 0x45c1d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3a3d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4ce4bc]
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 edi, ecx
push 0x11
xor eax, eax
mov dword [ebp - 0x40], 0
push str.EnableNetworkHook
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
mov dword [edi], 0
mov byte [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00404580
push 0x23
xor eax, eax
mov dword [ebp - 0x28], 0
push str.SoftwareKingsoftOffice6.0Common
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404580
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
push 0x80000001
call fcn.0041bcc0
mov edx, dword [ebp - 0x14]
add esp, 0x10
test eax, eax
mov byte [ebp - 4], 1
setne bl
cmp edx, 8
jb 0x45c2ce
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c2c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c311
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x45c321
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c317
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45c317
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
test bl, bl
je 0x45c399
lea eax, [ebp - 0x70]
push 1
push eax
call fcn.00490900
mov ebx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x70]
push dword [ebp - 0x60]
mov esi, dword [ebp - 0x70]
lea eax, [ebp + 0x10]
cmp ebx, 8
mov byte [ebp - 4], 3
cmovae ecx, esi
cmp dword [ebp + 0x24], 8
push ecx
cmovae eax, dword [ebp + 0x10]
push 0
push dword [ebp + 0x20]
push eax
call fcn.00405110
add esp, 0x1c
cmp eax, 0xffffffff
jne 0x45c3d7
cmp ebx, 8
jb 0x45c399
lea ebx, [ebx*2 + 2]
mov eax, esi
cmp ebx, 0x1000
jb 0x45c38f
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c693
push ebx
push esi
call fcn.00499aee
add esp, 8
mov edx, dword [ebp + 0x24]
cmp edx, 8
jb 0x45c6a3
mov ecx, dword [ebp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c699
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45c699
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp dword [ebp + 0x20], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
je 0x45c41a
push 0x25
push str._addonsknetworkhookknetworkhook.dll
lea ecx, [ebp + 0x10]
call fcn.00401cd0
cmp dword [ebp + 0x24], 8
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push eax
call esi
test eax, eax
je 0x45c41a
cmp dword [ebp + 0x24], 8
lea eax, [ebp + 0x10]
cmovae eax, dword [ebp + 0x10]
push eax
call ebx
mov dword [edi], eax
mov eax, dword [edi]
test eax, eax
jne 0x45c62c
cmp byte [ebp + 0xc], al
je 0x45c65b
lea eax, [ebp - 0x58]
push eax
call fcn.0045caf0
add esp, 4
cmp dword [ebp - 0x48], 0
mov byte [ebp - 4], 4
je 0x45c5bf
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call esi
test eax, eax
je 0x45c5bf
push 8
push str.office6
lea ecx, [ebp - 0x58]
call fcn.00401cd0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.00401900
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x45c4b6
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c4ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c616
push edx
push ecx
call fcn.00499aee
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
push str._addonsknetworkhookknetworkhook.dll
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041d400
add esp, 0xc
cmp dword [ebp - 0x30], 0
mov byte [ebp - 4], 6
je 0x45c537
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
test eax, eax
je 0x45c537
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x45c537
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.00401f70
call fcn.0045c950
add esp, 0x18
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
mov dword [edi], eax
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x45c571
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c567
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45c5b9
push edx
push ecx
call fcn.00499aee
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x45c626
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c61c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45c61c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x45c4b6
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45c4ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45c4ac
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
mov eax, dword [edi]
test eax, eax
je 0x45c65b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Hook
push eax
call esi
push str.UnHook
push dword [edi]
mov dword [edi + 8], eax
call esi
cmp byte [ebp + 8], 0
mov dword [edi + 0xc], eax
je 0x45c65b
mov eax, dword [edi + 8]
test eax, eax
je 0x45c65b
call eax
mov byte [edi + 4], al
mov ebx, dword [ebp - 0x5c]
cmp ebx, 8
jb 0x45c399
mov esi, dword [ebp - 0x70]
lea ebx, [ebx*2 + 2]
mov eax, esi
cmp ebx, 0x1000
jb 0x45c38f
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45c38f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00499aee
add esp, 8
mov eax, edi
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.00499afc
mov esp, ebp
pop ebp
ret 0x20