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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
mov ebx, 1
cmp dword [0x489f18], 0
jne 0x418ec0
push 0x8000
call dword [sym.imp.KERNEL32.DLL_SetErrorMode]
push 0x48a338
mov eax, 0x489e14
push eax
call fcn.0047165c
add esp, 8
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov dword [0x489f18], eax
cmp dword [0x489f18], ebx
sbb ecx, ecx
inc ecx
mov ebx, ecx
cmp cx, 1
jne 0x418ec0
push 0x48a4a0
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b41c], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a496
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b40c], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a486
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b420], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a475
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b318], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a467
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b32c], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a458
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b31c], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a444
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b324], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a431
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b414], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a427
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b410], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a40c
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b328], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a3fa
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b35c], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a3e9
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b320], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a3d9
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b358], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a3c8
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b334], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a3bd
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b34c], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a3ac
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b348], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a3a1
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b418], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a398
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b344], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a38a
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b340], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a37d
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b33c], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a36e
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b338], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a363
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b354], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a35a
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b350], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a34f
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b330], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
push 0x48a343
push dword [0x489f18]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x49b360], eax
neg eax
sbb eax, eax
neg eax
and bx, ax
test bx, bx
jne 0x418e33
mov eax, 0x489e14
push eax
push 0x48a4ab
call fcn.00432a39
add esp, 8
jmp 0x418eb6
lea eax, [ebp - 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
push 0x48a4ea
push 0x48a4dd
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0043b500
add esp, 0xc
push eax
call fcn.00474618
add esp, 8
mov dword [0x498228], eax
neg eax
sbb eax, eax
neg eax
test ax, ax
je 0x418e8d
mov eax, 0x498224
push eax
call dword [0x49b420]
add esp, 4
call dword [0x49b41c]
mov esi, eax
mov ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
mov ebx, ecx
test cx, cx
jne 0x418eb6
push esi
push 0x489e14
push 0x48a4ec
call fcn.00455073
add esp, 0xc
test bx, bx
jne 0x418ec0
call fcn.00418ec8
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret