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

Disassembly:
sub esp, 0x410
mov dl, byte [0x4a2cd4]
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 [0x4a4d94]
test eax, eax
je 0x46d1f7
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, 0x450fc0
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 [0x4a4dd0], eax
je 0x46d423
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x450fa8
push eax
call ebx
mov ecx, dword [0x4a4dd0]
push 0x450f8c
push ecx
mov dword [fcn.004a4dc8], eax
call ebx
mov edx, dword [0x4a4dd0]
push 0x450f68
push edx
mov dword [fcn.004a4d90], eax
call ebx
mov dword [fcn.004a4d9c], eax
mov eax, dword [0x4a4dd0]
push 0x450f48
push eax
call ebx
lea ecx, [esp + 0x218]
push 0x104
push ecx
mov dword [fcn.004a4da4], eax
call ebp
mov edi, 0x450f3c
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 [0x4a4d8c], eax
je 0x46d423
push 0x450f2c
push eax
call ebx
mov ecx, dword [0x4a4d8c]
push 0x450f1c
push ecx
mov dword [fcn.004a4d88], eax
call ebx
mov edx, dword [0x4a4d8c]
push 0x450f0c
push edx
mov dword [fcn.004a4da8], eax
call ebx
mov dword [fcn.004a4ddc], eax
mov eax, dword [0x4a4d8c]
push 0x450ef4
push eax
call ebx
mov ecx, dword [0x4a4d8c]
push 0x450ee0
push ecx
mov dword [fcn.004a4db8], eax
call ebx
mov edx, dword [0x4a4d8c]
push 0x450ec8
push edx
mov dword [fcn.004a4db0], eax
call ebx
mov dword [fcn.004a4dc4], eax
mov eax, dword [0x4a4d8c]
push 0x450eb8
push eax
call ebx
mov ecx, dword [0x4a4d8c]
push 0x450ea4
push ecx
mov dword [0x4a4dac], eax
call ebx
mov edx, dword [0x4a4d8c]
push 0x450e88
push edx
mov dword [0x4a4db4], eax
call ebx
mov dword [0x4a4dcc], eax
mov eax, dword [0x4a4d8c]
push 0x450e78
push eax
call ebx
mov ecx, dword [0x4a4d8c]
push 0x450e64
push ecx
mov dword [0x4a4d98], eax
call ebx
mov edx, dword [0x4a4d8c]
push 0x450e54
push edx
mov dword [0x4a4da0], eax
call ebx
mov dword [fcn.004a4dbc], eax
mov eax, dword [0x4a4d8c]
push 0x450e40
push eax
call ebx
mov ecx, dword [0x4a4d8c]
push 0x450e2c
push ecx
mov dword [0x4a4dd8], eax
call ebx
mov edx, dword [0x4a4d8c]
push 0x450e14
push edx
mov dword [0x4a4dc0], eax
call ebx
mov dword [0x4a4dd4], eax
pop edi
mov eax, 1
pop esi
pop ebp
mov dword [0x4a4d94], eax
pop ebx
add esp, 0x410
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x410
ret