Function at 0x4568f0
Capabilities:
Get common file path
Link many functions at runtime
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x5d189b
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x613ad0]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
push edi
mov eax, dword [0x613ad0]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x170], 0
jne 0x456b45
mov eax, dword [0x615414]
add eax, 0xfffffff0
push eax
call fcn.00401a60
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
mov ecx, dword [0x6152f8]
mov edx, dword [ecx + 0x20]
push 0
lea eax, [esp + 0x14]
push eax
push 0x2656
push edx
mov dword [esp + 0x238], 0
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x14]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push ecx
call ebx
push str.IPX32_53.DLL
lea ecx, [esp + 0x14]
call fcn.00407200
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x170], eax
jne 0x4569ea
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x228], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4569e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x456b4a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ipxAttachIPIX
push eax
call edi
test eax, eax
mov ecx, dword [esi + 0x170]
mov dword [esi + 0x150], eax
jne 0x456a30
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x228], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4569d7
push str.ipxClose
push ecx
call edi
test eax, eax
mov dword [esi + 0x154], eax
jne 0x456a5f
mov edx, dword [esi + 0x170]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x10]
call fcn.00401f40
xor eax, eax
jmp 0x456b4a
mov eax, dword [esi + 0x170]
push str.ipxDetachIPIX
push eax
call edi
test eax, eax
mov dword [esi + 0x15c], eax
jne 0x456a94
mov ecx, dword [esi + 0x170]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x10]
call fcn.00401f40
xor eax, eax
jmp 0x456b4a
mov edx, dword [esi + 0x170]
push str.ipxLoad
push edx
call edi
test eax, eax
mov dword [esi + 0x160], eax
jne 0x456ac9
mov eax, dword [esi + 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x10]
call fcn.00401f40
xor eax, eax
jmp 0x456b4a
mov ecx, dword [esi + 0x170]
push str.ipxGetIPIXInfo2
push ecx
call edi
test eax, eax
mov dword [esi + 0x158], eax
je 0x456a42
mov eax, dword [esi + 0x170]
push str.ipxGetIPIXInfo
push eax
call edi
test eax, eax
mov dword [esi + 0x164], eax
je 0x456a77
mov edx, dword [esi + 0x170]
push str.ipxSetNotification
push edx
call edi
test eax, eax
mov dword [esi + 0x168], eax
je 0x456aac
mov ecx, dword [esi + 0x170]
push str.ipxGetDestDibAddr
push ecx
call edi
test eax, eax
mov dword [esi + 0x16c], eax
je 0x456a42
lea eax, [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x10]
call fcn.00401f40
mov eax, 1
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.005aac48
add esp, 0x21c
ret