Function at 0x7eed14
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x7eed1d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x7ef195
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, 0x7ef1b4
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp + 8]
call sub.rtl140.bpl__Sysutils_Format_qqrx20System_UnicodeStringpx14System_TVarRecxi
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 8]
mov byte [edx + 0xc], al
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, 0x7ef1d4
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp + 8]
call sub.rtl140.bpl__Sysutils_Format_qqrx20System_UnicodeStringpx14System_TVarRecxi
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], eax
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x7ef1f8
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp + 8]
call sub.rtl140.bpl__Sysutils_Format_qqrx20System_UnicodeStringpx14System_TVarRecxi
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
add eax, 0x1c
call sub.rtl140.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x30]
push eax
mov eax, 0x7ef220
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp + 8]
call sub.rtl140.bpl__Sysutils_Format_qqrx20System_UnicodeStringpx14System_TVarRecxi
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 0x24], eax
push 0xa
lea eax, [ebp - 0x34]
push eax
mov eax, 0x7ef244
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp + 8]
call sub.rtl140.bpl__Sysutils_Format_qqrx20System_UnicodeStringpx14System_TVarRecxi
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, 0x7ef268
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp + 8]
call sub.rtl140.bpl__Sysutils_Format_qqrx20System_UnicodeStringpx14System_TVarRecxi
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 0x2c], eax
push 0
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x7ef290
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp + 8]
call sub.rtl140.bpl__Sysutils_Format_qqrx20System_UnicodeStringpx14System_TVarRecxi
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 8]
mov byte [edx + 0x30], al
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, 0x7ef2bc
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp + 8]
call sub.rtl140.bpl__Sysutils_Format_qqrx20System_UnicodeStringpx14System_TVarRecxi
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 4]
xor ebx, ebx
cmp dword [ebp - 4], 0
je 0x7eeef5
mov eax, dword [ebp - 4]
call sub.rtl140.bpl__Classes_GetClass_qqrx20System_UnicodeString
mov ebx, eax
test ebx, ebx
jne 0x7eef08
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.007ee0dc
jmp 0x7eefd8
mov esi, dword [0x9f05b0]
mov esi, dword [esi]
mov eax, ebx
call esi
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.007ee0bc
mov edx, ebx
call sub.vcl140.bpl__Graphics_TPicture_SetGraphic_qqrp17Graphics_TGraphic
mov eax, ebx
call sub.rtl140.bpl__System_TObject_Free_qqrv
mov dl, 1
mov eax, dword [0x634e9c]
call sub.rtl140.bpl__System_TObject__bctr_qqrv
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, 0x7ef2e4
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp + 8]
call sub.rtl140.bpl__Sysutils_Format_qqrx20System_UnicodeStringpx14System_TVarRecxi
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.007e095c
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 4]
mov ecx, 0
call sub.rtl140.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x14]
call fcn.007b6e6c
push 0
push 0
mov eax, dword [ebp - 0x14]
call sub.rtl140.bpl__Classes_TStream_SetPosition_qqrxj
xor eax, eax
push ebp
push 0x7eefbc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.007ee0bc
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7eefd0
mov eax, dword [ebp - 0x14]
call sub.rtl140.bpl__System_TObject_Free_qqrv
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x7ef300
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp + 8]
call sub.rtl140.bpl__Sysutils_Format_qqrx20System_UnicodeStringpx14System_TVarRecxi
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 4]
cmp dword [ebp - 4], 0
jne 0x7ef01b
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.007ee6b8
jmp 0x7ef02d
mov eax, dword [ebp - 8]
call fcn.007ee698
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.007e0c80
mov eax, dword [ebp - 8]
movzx edx, byte [0x7ef30c]
mov byte [eax + 0x38], dl
push 1
lea eax, [ebp - 0x50]
push eax
mov eax, 0x7ef31c
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp + 8]
call sub.rtl140.bpl__Sysutils_Format_qqrx20System_UnicodeStringpx14System_TVarRecxi
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.007e0770
test al, al
je 0x7ef072
mov eax, dword [ebp - 8]
or byte [eax + 0x38], 1
push 1
lea eax, [ebp - 0x54]
push eax
mov eax, 0x7ef340
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp + 8]
call sub.rtl140.bpl__Sysutils_Format_qqrx20System_UnicodeStringpx14System_TVarRecxi
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.007e0770
test al, al
je 0x7ef0aa
mov eax, dword [ebp - 8]
or byte [eax + 0x38], 2
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, 0x7ef364
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp + 8]
call sub.rtl140.bpl__Sysutils_Format_qqrx20System_UnicodeStringpx14System_TVarRecxi
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 4]
mov dl, 1
mov eax, dword [0x634e9c]
call sub.rtl140.bpl__System_TObject__bctr_qqrv
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 4]
mov ecx, 0
call sub.rtl140.bpl__System__LStrFromUStr_qqrr27System__AnsiStringT_us_i0__x20System_UnicodeStringus
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x14]
call fcn.007b6e6c
push 0
push 2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
call sub.rtl140.bpl__System___lldiv_qqrv
mov edx, eax
mov eax, dword [ebp - 8]
add eax, 0x20
call sub.rtl140.bpl__System__UStrSetLength_qqrr20System_UnicodeStringi
push 0
push 0
mov eax, dword [ebp - 0x14]
call sub.rtl140.bpl__Classes_TStream_SetPosition_qqrxj
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0x14]
call sub.rtl140.bpl__Classes_TStream_ReadBuffer_qqrpvi
mov eax, dword [ebp - 0x14]
call sub.rtl140.bpl__System_TObject_Free_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7ef19c
lea eax, [ebp - 0x5c]
call sub.rtl140.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x58]
mov edx, 4
call sub.rtl140.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x48]
call sub.rtl140.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 0x44]
mov edx, 9
call sub.rtl140.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x18]
call sub.rtl140.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 4]
call sub.rtl140.bpl__System__UStrClr_qqrpv
ret