Function at 0x42f2b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov esi, esp
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42f306
xor eax, eax
jmp 0x42f4b8
mov esi, esp
push str.LoadLibraryExA
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 8], eax
push 0x4bd8c0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00496640
add esp, 8
test eax, eax
je 0x42f376
cmp dword [ebp - 8], 0
je 0x42f355
mov esi, esp
push 8
push 0
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 8]
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 0x1c], eax
jmp 0x42f36b
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 4], ecx
jmp 0x42f4b5
cmp dword [ebp - 8], 0
je 0x42f3b7
mov esi, esp
push str.AddDllDirectory
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00485c0f
test eax, eax
je 0x42f3b7
mov esi, esp
push 0x800
push 0
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 8]
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 4], eax
jmp 0x42f4b5
mov esi, esp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42f4b5
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048f060
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
lea ecx, [eax + edx + 1]
mov esi, esp
push ecx
call dword [section..data]
add esp, 4
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42f49f
mov esi, esp
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp esi, esp
call fcn.00485c0f
test eax, eax
je 0x42f49f
push 0x4bd8d4
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0048f060
add esp, 4
add eax, dword [ebp - 0x18]
push eax
call fcn.004952f0
add esp, 8
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x18]
push eax
call fcn.0048f060
add esp, 4
add eax, dword [ebp - 0x18]
push eax
call fcn.004952f0
add esp, 8
cmp dword [ebp - 8], 0
je 0x42f483
mov esi, esp
push 8
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [ebp - 8]
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 0x20], eax
jmp 0x42f499
mov esi, esp
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp esi, esp
call fcn.00485c0f
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov esi, esp
mov ecx, dword [ebp - 0x18]
push ecx
call dword [0x4bc004]
add esp, 4
cmp esi, esp
call fcn.00485c0f
mov eax, dword [ebp - 4]
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.00485c0f
mov esp, ebp
pop ebp
ret