Function at 0x45adbc
Capabilities:
Check os version
Get common file path
Link many functions at runtime

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff20
lea ebx, [esp + 0x44]
mov edi, dword [0x48d2b0]
call fcn.0045ad4c
call fcn.004027fc
push esp
call sub.kernel32.dll_GetSystemTimeAsFileTime
mov eax, dword [esp]
call fcn.0040fd30
mov eax, dword [esp + 4]
mov dword [esp + 0xd8], eax
xor eax, eax
mov dword [esp + 0xdc], eax
fild qword [esp + 0xd8]
faddp st(1)
add esp, 0xfffffff8
fistp qword [esp]
wait
call fcn.0040fdac
mov edx, dword [0x48daa0]
mov dword [edx], eax
mov dword [ebx], 0x94
push ebx
call sub.kernel32.dll_GetVersionExA
cmp dword [ebx + 0x10], 2
sete byte [edi]
mov eax, dword [ebx + 4]
cmp eax, 4
jne 0x45ae3a
cmp dword [ebx + 8], 0xa
jae 0x45ae3f
cmp eax, 4
jbe 0x45ae44
cmp byte [edi], 0
je 0x45ae48
xor eax, eax
jmp 0x45ae4a
mov al, 1
mov edx, dword [0x48d3dc]
mov byte [edx], al
cmp byte [edi], 0
jne 0x45ae69
mov eax, dword [0x48d3dc]
cmp byte [eax], 1
je 0x45ae6d
cmp word [ebx + 0xc], 0x3e8
ja 0x45ae6d
xor eax, eax
jmp 0x45ae6f
mov al, 1
mov edx, dword [0x48d514]
mov byte [edx], al
cmp byte [edi], 0
je 0x45ae82
cmp dword [ebx + 4], 4
ja 0x45ae86
xor eax, eax
jmp 0x45ae88
mov al, 1
mov edx, dword [0x48d81c]
mov byte [edx], al
mov eax, dword [0x48d81c]
cmp byte [eax], 0
je 0x45aea6
cmp dword [ebx + 4], 5
ja 0x45aeaa
cmp dword [ebx + 8], 0
ja 0x45aeaa
xor eax, eax
jmp 0x45aeac
mov al, 1
mov edx, dword [0x48d46c]
mov byte [edx], al
mov eax, dword [0x48d3dc]
cmp byte [eax], 1
jne 0x45aeca
cmp dword [ebx + 8], 0x5a
jae 0x45aece
cmp dword [ebx + 4], 5
ja 0x45aece
xor eax, eax
jmp 0x45aed0
mov al, 1
mov edx, dword [0x48d8e4]
mov byte [edx], al
mov eax, dword [0x48d81c]
cmp byte [eax], 0
jne 0x45aefa
mov eax, dword [0x48d46c]
cmp byte [eax], 0
jne 0x45aefa
mov eax, dword [0x48d8e4]
cmp byte [eax], 0
jne 0x45aefa
xor eax, eax
jmp 0x45aefc
mov al, 1
mov edx, dword [0x48d47c]
mov byte [edx], al
mov eax, dword [0x48db18]
mov edx, dword [ebx + 4]
mov dword [eax], edx
mov eax, dword [0x48d4e0]
mov edx, dword [ebx + 8]
mov dword [eax], edx
mov eax, dword [0x48d7b4]
mov edx, dword [ebx + 0xc]
mov dword [eax], edx
cmp byte [edi], 0
je 0x45af33
mov eax, dword [0x48d330]
mov word [eax], 0x3e8
jmp 0x45af3d
mov eax, dword [0x48d330]
mov word [eax], 0x1f4
mov eax, dword [0x48d46c]
mov al, byte [eax]
mov edx, dword [0x48d9f4]
mov byte [edx], al
mov eax, dword [0x48d46c]
cmp byte [eax], 0
je 0x45af85
push 0x45b280
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
push 0x45b28c
push ebx
call sub.kernel32.dll_GetProcAddress
mov ebp, eax
mov esi, ebp
test ebp, ebp
je 0x45af7f
call esi
mov edx, dword [0x48d9f4]
mov byte [edx], al
push ebx
call sub.kernel32.dll_FreeLibrary_1
push 0x45b29c
call sub.kernel32.dll_GetModuleHandleA_1
mov edx, dword [0x48d738]
mov dword [edx], eax
push 0x45b2a8
call sub.kernel32.dll_GetModuleHandleA_1
mov edx, dword [0x48d2f4]
mov dword [edx], eax
cmp byte [edi], 0
jne 0x45b034
push 0x45b2b8
mov eax, dword [0x48d2f4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [0x48d3d8]
mov dword [edx], eax
push 0x45b2d4
mov eax, dword [0x48d2f4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [0x48daf8]
mov dword [edx], eax
push 0x45b2e4
mov eax, dword [0x48d2f4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [0x48d7c0]
mov dword [edx], eax
push 0x45b2f4
mov eax, dword [0x48d2f4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [0x48d4c4]
mov dword [edx], eax
push 0x45b304
mov eax, dword [0x48d2f4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetProcAddress
mov edx, dword [0x48dbac]
mov dword [edx], eax
mov eax, dword [0x48d838]
mov eax, dword [eax + 0x18]
call fcn.00412904
call fcn.00405e78
mov edx, dword [0x48d430]
mov dword [edx], eax
mov eax, dword [0x48d838]
mov eax, dword [eax + 0x20]
call fcn.00412904
call fcn.00405e78
mov edx, dword [0x48da7c]
mov dword [edx], eax
mov edx, dword [0x48da7c]
mov edx, dword [edx]
mov eax, dword [0x48d3fc]
call fcn.00405c48
mov edx, 0x45b314
mov eax, dword [0x48dbdc]
call fcn.00405c48
push 0xff
mov eax, dword [0x48da44]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, dword [0x48da44]
call fcn.0040fb40
call fcn.00405e78
mov edx, dword [0x48d3d4]
mov dword [edx], eax
push 4
call sub.user32.dll_GetSystemMetrics
mov edx, dword [0x48d904]
mov byte [edx], al
push 0xf
call sub.user32.dll_GetSystemMetrics
mov edx, dword [0x48d22c]
mov byte [edx], al
push 0x20
call sub.user32.dll_GetSystemMetrics
mov edx, dword [0x48d3f8]
mov byte [edx], al
push 0x33
call sub.user32.dll_GetSystemMetrics
mov edx, dword [0x48d780]
mov byte [edx], al
push 2
call sub.user32.dll_GetSystemMetrics
mov edx, dword [0x48d5e4]
mov byte [edx], al
push 1
call sub.user32.dll_GetSystemMetrics
mov edx, dword [0x48d870]
mov dword [edx], eax
push 0
call sub.user32.dll_GetSystemMetrics
mov edx, dword [0x48d724]
mov dword [edx], eax
mov eax, dword [0x48d870]
cmp dword [eax], 0x1e2
jge 0x45b130
mov eax, dword [0x48db74]
mov byte [eax], 1
jmp 0x45b194
mov eax, dword [0x48d870]
cmp dword [eax], 0x25a
jge 0x45b147
mov eax, dword [0x48db74]
mov byte [eax], 2
jmp 0x45b194
mov eax, dword [0x48d870]
cmp dword [eax], 0x302
jge 0x45b15e
mov eax, dword [0x48db74]
mov byte [eax], 3
jmp 0x45b194
mov eax, dword [0x48d870]
cmp dword [eax], 0x362
jge 0x45b175
mov eax, dword [0x48db74]
mov byte [eax], 4
jmp 0x45b194
mov eax, dword [0x48d870]
cmp dword [eax], 0x4b0
jge 0x45b18c
mov eax, dword [0x48db74]
mov byte [eax], 5
jmp 0x45b194
mov eax, dword [0x48db74]
mov byte [eax], 6
call fcn.00446b28
mov eax, dword [0x48d3f4]
mov eax, dword [eax]
push eax
push 0
push 0
call sub.gdi32.dll_CreatePen
mov edx, dword [0x48dae8]
mov dword [edx], eax
mov eax, dword [0x48d2e4]
mov eax, dword [eax]
push eax
push 0
push 0
call sub.gdi32.dll_CreatePen
mov edx, dword [0x48da24]
mov dword [edx], eax
push 0xf
call sub.user32.dll_GetSysColorBrush
mov edx, dword [0x48d5a4]
mov dword [edx], eax
mov eax, dword [0x48d340]
mov edx, 0x20
call fcn.00405a9c
mov eax, dword [0x48d1c8]
mov edx, 0x80
call fcn.00405a9c
lea eax, [esp + 8]
push eax
push 0x3c
push 0x10
call sub.gdi32.dll_GetStockObject
push eax
call sub.gdi32.dll_GetObjectA
cmp dword [esp + 8], 0xf
mov eax, dword [0x48da78]
setg byte [eax]
call fcn.00410eb8
call fcn.0045a824
mov eax, dword [0x48d550]
cmp byte [eax + 0x18d5], 0
je 0x45b23c
mov eax, dword [0x48d7d4]
mov dword [eax], 3
mov eax, dword [0x48d550]
cmp byte [eax + 0x18ee], 0
je 0x45b252
mov eax, dword [0x48d88c]
mov byte [eax], 0x18
mov eax, dword [0x48d550]
cmp byte [eax + 0x193c], 0
je 0x45b26a
mov eax, dword [0x48d7dc]
mov byte [eax], 0x19
jmp 0x45b272
mov eax, dword [0x48d7dc]
mov byte [eax], 0
add esp, 0xe0
pop ebp
pop edi
pop esi
pop ebx
ret