Function at 0x40ecd8
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, 0x46deec
push edi
lea edi, [ebp - 0x208]
mov esi, 0x46ba24
mov ebx, 0x46be36
rep movsd dword es:[edi], dword [esi]
pop edi
mov ecx, 0x82
push edi
lea edi, [ebp - 0x410]
mov esi, 0x46bc2d
rep movsd dword es:[edi], dword [esi]
cmp dword [0x46dee8], 0
pop edi
je 0x40ed29
mov eax, 1
jmp 0x40ef50
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.00405b58
add esp, 8
lea edx, [ebp - 0x208]
push 8
push 0
push edx
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov dword [0x46def0], esi
test esi, esi
je 0x40edc7
lea eax, [ebx + 0x91]
push eax
push esi
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46de9c], eax
lea edx, [ebx + 0xa6]
push edx
mov ecx, dword [0x46def0]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46dea0], eax
lea eax, [ebx + 0xc2]
push eax
mov edx, dword [0x46def0]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46dea4], eax
lea ecx, [ebx + 0xe3]
push ecx
mov eax, dword [0x46def0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46dea8], eax
jmp 0x40edce
xor eax, eax
jmp 0x40ef50
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.00405b58
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 0x40ef3d
lea eax, [ebx + 0x109]
push eax
push esi
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46deac], eax
lea edx, [ebx + 0x119]
push edx
mov ecx, dword [edi]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46deb0], eax
lea eax, [ebx + 0x129]
push eax
mov edx, dword [edi]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46deb4], eax
lea ecx, [ebx + 0x139]
push ecx
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46deb8], eax
lea edx, [ebx + 0x14f]
push edx
mov ecx, dword [edi]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46debc], eax
lea eax, [ebx + 0x162]
push eax
mov edx, dword [edi]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46dec0], eax
lea ecx, [ebx + 0x179]
push ecx
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46dec4], eax
lea edx, [ebx + 0x188]
push edx
mov ecx, dword [edi]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46dec8], eax
lea eax, [ebx + 0x19b]
push eax
mov edx, dword [edi]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46decc], eax
lea ecx, [ebx + 0x1b4]
push ecx
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46ded0], eax
lea edx, [ebx + 0x1c3]
push edx
mov ecx, dword [edi]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46ded4], eax
lea eax, [ebx + 0x1d6]
push eax
mov edx, dword [edi]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46ded8], eax
lea ecx, [ebx + 0x1e3]
push ecx
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46dedc], eax
lea edx, [ebx + 0x1f6]
push edx
mov ecx, dword [edi]
push ecx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46dee0], eax
lea eax, [ebx + 0x208]
push eax
mov edx, dword [edi]
push edx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x46dee4], eax
jmp 0x40ef41
xor eax, eax
jmp 0x40ef50
mov dword [0x46dee8], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret