Function at 0x45c8a0
Capabilities:
Check if file exists
Check os version
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x468d41
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebp
mov ebp, ecx
mov eax, dword [ebp]
mov edx, dword [eax + 8]
call edx
test eax, eax
je 0x45c8e2
xor eax, eax
pop ebp
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
add esp, 0xb0
ret
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x45c90e
cmp dword [esp + 0x24], 2
jne 0x45c90e
cmp dword [esp + 0x18], 5
jne 0x45c90e
cmp dword [esp + 0x1c], 1
jbe 0x45c929
mov eax, 0x80004001
pop ebp
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
add esp, 0xb0
ret
mov edx, dword [0x47fe44]
mov eax, dword [edx + 0xc]
push esi
mov ecx, 0x47fe44
call eax
lea esi, [eax + 0x10]
mov dword [esp + 8], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0xb4], 0
jge 0x45c972
push 0x104
lea ecx, [esp + 0xc]
call fcn.0040207d
mov esi, dword [esp + 8]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [0x47fe44]
mov eax, dword [edx + 0xc]
mov ecx, 0x47fe44
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
push str.driversApiMon.sys
push esi
lea ecx, [esp + 0x14]
mov byte [esp + 0xbc], 1
call fcn.0040e69a
test esi, esi
jne 0x45c9b4
xor eax, eax
jmp 0x45c9d1
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x45c9c0
sub eax, edx
js 0x45cb4e
cmp eax, dword [esi - 8]
jg 0x45cb4e
push edi
mov edi, dword [esp + 0x10]
mov dword [esi - 0xc], eax
push edi
mov byte [eax + esi], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x45ca58
mov byte [esp + 0xb8], al
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ca14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0xb8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ca3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov eax, 0x80004001
pop ebp
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
add esp, 0xb0
ret
mov ecx, dword [str.ApiMon]
push edi
push ecx
lea ecx, [esp + 0x1c]
call fcn.0045dc50
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 2
call fcn.0045d940
test eax, eax
jne 0x45ca91
push 1
push 3
lea ecx, [esp + 0x1c]
call fcn.0045d670
mov esi, eax
test esi, esi
jl 0x45caad
lea ecx, [esp + 0x14]
call fcn.0045db20
test eax, eax
jne 0x45caea
lea ecx, [esp + 0x14]
call fcn.0045d9b0
mov esi, eax
test esi, esi
jge 0x45caea
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 1
call fcn.00411530
lea ecx, [esp + 0x10]
call fcn.00402073
lea ecx, [esp + 0xc]
call fcn.00402073
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
add esp, 0xb0
ret
mov edx, dword [str..ApiMon]
push 0
push 0
push 0x40000000
push 3
push 3
push 0xc0000000
push edx
lea ecx, [ebp + 4]
call fcn.0040abeb
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0xb8], 1
call fcn.00411530
lea ecx, [esp + 0x10]
call fcn.00402073
lea ecx, [esp + 0xc]
call fcn.00402073
test esi, esi
jl 0x45cad0
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0xb0
ret
push 0x80070057
call fcn.0040109c
int3