Function at 0x50e0f4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x50e0fd
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x50e2f5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x50e308
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
push 0x50e320
push esi
call sub.kernel32.dll_GetProcAddress
mov dword [ebx + 0x2c], eax
push 0x50e32c
push esi
call sub.kernel32.dll_GetProcAddress
mov dword [ebx + 0x30], eax
push 0x50e33c
push esi
call sub.kernel32.dll_GetProcAddress
mov dword [ebx + 0x34], eax
push 0x50e348
push esi
call sub.kernel32.dll_GetProcAddress
mov dword [ebx + 0x38], eax
push 0x50e364
push esi
call sub.kernel32.dll_GetProcAddress
mov dword [ebx + 0x3c], eax
call dword [ebx + 0x2c]
lea edx, [ebp - 0x10]
mov eax, dword [sym.P_Interface.bpl__Publicutil_GL_ExeName]
mov eax, dword [eax]
call sub.rtl70.bpl__Sysutils_ExtractFilePath_qqrx17System_AnsiString
push dword [ebp - 0x10]
mov eax, dword [sym.P_Interface.bpl__Publicutil_GL_STRNSDJH]
push dword [eax]
push 0x50e388
lea eax, [ebp - 0xc]
mov edx, 3
call sub.rtl70.bpl__System__LStrCatN_qqrv
mov eax, dword [ebp - 0xc]
call sub.rtl70.bpl__Sysutils_FileExists_qqrx17System_AnsiString
test al, al
jne 0x50e1ea
push 0x50e39c
lea edx, [ebp - 0x18]
mov eax, dword [sym.P_Interface.bpl__Publicutil_GL_ExeName]
mov eax, dword [eax]
call sub.rtl70.bpl__Sysutils_ExtractFilePath_qqrx17System_AnsiString
push dword [ebp - 0x18]
mov eax, dword [sym.P_Interface.bpl__Publicutil_GL_STRNSDJH]
push dword [eax]
push 0x50e388
lea eax, [ebp - 0x14]
mov edx, 4
call sub.rtl70.bpl__System__LStrCatN_qqrv
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov eax, 0x50e3c0
call sym.P_Interface.bpl__Publicutil_MessageBox_qqr17System_AnsiStringt1o
jmp 0x50e2da
lea edx, [ebp - 0x20]
mov eax, dword [sym.P_Interface.bpl__Publicutil_GL_ExeName]
mov eax, dword [eax]
call sub.rtl70.bpl__Sysutils_ExtractFilePath_qqrx17System_AnsiString
push dword [ebp - 0x20]
mov eax, dword [sym.P_Interface.bpl__Publicutil_GL_STRNSDJH]
push dword [eax]
push 0x50e388
lea eax, [ebp - 0x1c]
mov edx, 3
call sub.rtl70.bpl__System__LStrCatN_qqrv
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [sym.imp.rtl70.bpl__Inifiles_TIniFile_]
call sub.rtl70.bpl__Inifiles_TCustomIniFile__bctr_qqrx17System_AnsiString
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x50e2d3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x50e3d0
mov edx, 0x50e3e4
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x1c]
call sub.rtl70.bpl__System__LStrAsg_qqrpvpxv
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x50e3f8
mov edx, 0x50e3e4
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x20]
call sub.rtl70.bpl__System__LStrAsg_qqrpvpxv
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x50e408
mov edx, 0x50e3e4
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0x24]
call sub.rtl70.bpl__System__LStrAsg_qqrpvpxv
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x50e424
mov edx, 0x50e3e4
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x28]
call sub.rtl70.bpl__System__LStrAsg_qqrpvpxv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50e2da
mov eax, dword [ebp - 8]
call sub.rtl70.bpl__System_TObject_Free_qqrv
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50e2fc
lea eax, [ebp - 0x30]
mov edx, 0xa
call sub.rtl70.bpl__System__LStrArrayClr_qqrpvi
ret