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

Disassembly:
sub esp, 0x410
mov dl, byte [0x46563c]
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 [0x466c88]
test eax, eax
je 0x4641f7
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, 0x452ccc
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 [0x466cc4], eax
je 0x464423
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x452cb4
push eax
call ebx
mov ecx, dword [0x466cc4]
push 0x452c98
push ecx
mov dword [fcn.00466cbc], eax
call ebx
mov edx, dword [0x466cc4]
push 0x452c74
push edx
mov dword [fcn.00466c84], eax
call ebx
mov dword [fcn.00466c90], eax
mov eax, dword [0x466cc4]
push 0x452c54
push eax
call ebx
lea ecx, [esp + 0x218]
push 0x104
push ecx
mov dword [fcn.00466c98], eax
call ebp
mov edi, 0x452c48
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 [0x466c80], eax
je 0x464423
push 0x452c38
push eax
call ebx
mov ecx, dword [0x466c80]
push 0x452c28
push ecx
mov dword [fcn.00466c7c], eax
call ebx
mov edx, dword [0x466c80]
push 0x452c18
push edx
mov dword [fcn.00466c9c], eax
call ebx
mov dword [fcn.00466cd0], eax
mov eax, dword [0x466c80]
push 0x452c00
push eax
call ebx
mov ecx, dword [0x466c80]
push 0x452bec
push ecx
mov dword [fcn.00466cac], eax
call ebx
mov edx, dword [0x466c80]
push 0x452bd4
push edx
mov dword [fcn.00466ca4], eax
call ebx
mov dword [fcn.00466cb8], eax
mov eax, dword [0x466c80]
push 0x452bc4
push eax
call ebx
mov ecx, dword [0x466c80]
push 0x452bb0
push ecx
mov dword [0x466ca0], eax
call ebx
mov edx, dword [0x466c80]
push 0x452b94
push edx
mov dword [0x466ca8], eax
call ebx
mov dword [0x466cc0], eax
mov eax, dword [0x466c80]
push 0x452b84
push eax
call ebx
mov ecx, dword [0x466c80]
push 0x452b70
push ecx
mov dword [0x466c8c], eax
call ebx
mov edx, dword [0x466c80]
push 0x452b60
push edx
mov dword [0x466c94], eax
call ebx
mov dword [fcn.00466cb0], eax
mov eax, dword [0x466c80]
push 0x452b4c
push eax
call ebx
mov ecx, dword [0x466c80]
push 0x452b38
push ecx
mov dword [0x466ccc], eax
call ebx
mov edx, dword [0x466c80]
push 0x452b20
push edx
mov dword [0x466cb4], eax
call ebx
mov dword [0x466cc8], eax
pop edi
mov eax, 1
pop esi
pop ebp
mov dword [0x466c88], eax
pop ebx
add esp, 0x410
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x410
ret