Function at 0x40e5a8
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf0
mov ecx, 0x82
push ebx
push esi
push edi
mov edi, 0x453fa0
push edi
lea edi, [ebp - 0x208]
mov esi, 0x452aa8
mov ebx, 0x452eba
rep movsd dword es:[edi], dword [esi]
pop edi
mov ecx, 0x82
push edi
lea edi, [ebp - 0x410]
mov esi, 0x452cb1
rep movsd dword es:[edi], dword [esi]
cmp dword [0x453f9c], 0
pop edi
je 0x40e5f9
mov eax, 1
jmp 0x40e820
push 0x104
lea edx, [ebp - 0x208]
push edx
call sub.KERNEL32.DLL_GetSystemDirectoryA
lea ecx, [ebx + 0x83]
push ecx
lea eax, [ebp - 0x208]
push eax
call fcn.00405ba8
add esp, 8
lea edx, [ebp - 0x208]
push 8
push 0
push edx
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov dword [0x453fa4], esi
test esi, esi
je 0x40e697
lea eax, [ebx + 0x91]
push eax
push esi
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x453f50], eax
lea edx, [ebx + 0xa6]
push edx
mov ecx, dword [0x453fa4]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x453f54], eax
lea eax, [ebx + 0xc2]
push eax
mov edx, dword [0x453fa4]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x453f58], eax
lea ecx, [ebx + 0xe3]
push ecx
mov eax, dword [0x453fa4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x453f5c], eax
jmp 0x40e69e
xor eax, eax
jmp 0x40e820
push 0x104
lea edx, [ebp - 0x410]
push edx
call sub.KERNEL32.DLL_GetSystemDirectoryA
lea ecx, [ebx + 0x100]
push ecx
lea eax, [ebp - 0x410]
push eax
call fcn.00405ba8
add esp, 8
lea edx, [ebp - 0x410]
push 8
push 0
push edx
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov dword [edi], esi
test esi, esi
je 0x40e80d
lea eax, [ebx + 0x109]
push eax
push esi
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x453f60], eax
lea edx, [ebx + 0x119]
push edx
mov ecx, dword [edi]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x453f64], eax
lea eax, [ebx + 0x129]
push eax
mov edx, dword [edi]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x453f68], eax
lea ecx, [ebx + 0x139]
push ecx
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x453f6c], eax
lea edx, [ebx + 0x14f]
push edx
mov ecx, dword [edi]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x453f70], eax
lea eax, [ebx + 0x162]
push eax
mov edx, dword [edi]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x453f74], eax
lea ecx, [ebx + 0x179]
push ecx
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x453f78], eax
lea edx, [ebx + 0x188]
push edx
mov ecx, dword [edi]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x453f7c], eax
lea eax, [ebx + 0x19b]
push eax
mov edx, dword [edi]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x453f80], eax
lea ecx, [ebx + 0x1b4]
push ecx
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x453f84], eax
lea edx, [ebx + 0x1c3]
push edx
mov ecx, dword [edi]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x453f88], eax
lea eax, [ebx + 0x1d6]
push eax
mov edx, dword [edi]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x453f8c], eax
lea ecx, [ebx + 0x1e3]
push ecx
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x453f90], eax
lea edx, [ebx + 0x1f6]
push edx
mov ecx, dword [edi]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x453f94], eax
lea eax, [ebx + 0x208]
push eax
mov edx, dword [edi]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x453f98], eax
jmp 0x40e811
xor eax, eax
jmp 0x40e820
mov dword [0x453f9c], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret