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

Disassembly:
sub esp, 0x410
mov dl, byte [0x4a0834]
push ebx
push ebp
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], dl
mov byte [esp + 0x218], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x219]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x4a28f8]
test eax, eax
je 0x4738c7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x410
ret
mov ebp, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x10]
push 0x104
push eax
call ebp
mov edi, 0x452158
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 8
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push eax
and ecx, 3
lea eax, [esp + 0x18]
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
mov dword [0x4a2934], eax
je 0x473af3
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x452140
push eax
call ebx
mov ecx, dword [0x4a2934]
push 0x452124
push ecx
mov dword [fcn.004a292c], eax
call ebx
mov edx, dword [0x4a2934]
push 0x452100
push edx
mov dword [fcn.004a28f4], eax
call ebx
mov dword [fcn.004a2900], eax
mov eax, dword [0x4a2934]
push 0x4520e0
push eax
call ebx
lea ecx, [esp + 0x218]
push 0x104
push ecx
mov dword [fcn.004a2908], eax
call ebp
mov edi, 0x4520d4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x218]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 8
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push eax
and ecx, 3
lea eax, [esp + 0x220]
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
mov dword [0x4a28f0], eax
je 0x473af3
push 0x4520c4
push eax
call ebx
mov ecx, dword [0x4a28f0]
push 0x4520b4
push ecx
mov dword [fcn.004a28ec], eax
call ebx
mov edx, dword [0x4a28f0]
push 0x4520a4
push edx
mov dword [fcn.004a290c], eax
call ebx
mov dword [fcn.004a2940], eax
mov eax, dword [0x4a28f0]
push 0x45208c
push eax
call ebx
mov ecx, dword [0x4a28f0]
push 0x452078
push ecx
mov dword [fcn.004a291c], eax
call ebx
mov edx, dword [0x4a28f0]
push 0x452060
push edx
mov dword [fcn.004a2914], eax
call ebx
mov dword [fcn.004a2928], eax
mov eax, dword [0x4a28f0]
push 0x452050
push eax
call ebx
mov ecx, dword [0x4a28f0]
push 0x45203c
push ecx
mov dword [0x4a2910], eax
call ebx
mov edx, dword [0x4a28f0]
push 0x452020
push edx
mov dword [0x4a2918], eax
call ebx
mov dword [0x4a2930], eax
mov eax, dword [0x4a28f0]
push 0x452010
push eax
call ebx
mov ecx, dword [0x4a28f0]
push 0x451ffc
push ecx
mov dword [0x4a28fc], eax
call ebx
mov edx, dword [0x4a28f0]
push 0x451fec
push edx
mov dword [0x4a2904], eax
call ebx
mov dword [fcn.004a2920], eax
mov eax, dword [0x4a28f0]
push 0x451fd8
push eax
call ebx
mov ecx, dword [0x4a28f0]
push 0x451fc4
push ecx
mov dword [0x4a293c], eax
call ebx
mov edx, dword [0x4a28f0]
push 0x451fac
push edx
mov dword [0x4a2924], eax
call ebx
mov dword [0x4a2938], eax
pop edi
mov eax, 1
pop esi
pop ebp
mov dword [0x4a28f8], eax
pop ebx
add esp, 0x410
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x410
ret