Function at 0x4690f0
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x4690f8
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4696b4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
xor eax, eax
call sub.rtl120.bpl__System_ParamStr_qqri
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call sub.rtl120.bpl__Sysutils_ExtractFilePath_qqrx20System_UnicodeString
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x4696d0
call sub.rtl120.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0046a64c
push 0x469700
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x469738
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x10]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0x469700
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x469780
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x14]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0x4697d8
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x469828
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x18]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 1
mov ecx, 0x469888
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x1c], al
push 1
mov ecx, 0x4698d4
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x1d], al
push 1
mov ecx, 0x469928
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x1e], al
push 1
mov ecx, 0x469984
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x1f], al
push 0x4699d0
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x469a3c
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x20]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0x469a7c
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x469ae8
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x24]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0xa
mov ecx, 0x469b2c
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x28], eax
push 7
mov ecx, 0x469b74
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x2c], eax
push 7
mov ecx, 0x469bc4
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x30], eax
push 0xa
mov ecx, 0x469c18
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x34], eax
push 7
mov ecx, 0x469c60
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x38], eax
push 7
mov ecx, 0x469cac
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x3c], eax
push 0
mov ecx, 0x469cfc
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x40], eax
push 7
mov ecx, 0x469cfc
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x44], eax
push 7
mov ecx, 0x469cfc
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x48], eax
push 0xa
mov ecx, 0x469d44
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x4c], eax
push 7
mov ecx, 0x469d88
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x50], eax
push 7
mov ecx, 0x469dd4
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x54], eax
push 0xa
mov ecx, 0x469e24
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x58], eax
push 7
mov ecx, 0x469e78
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x5c], eax
push 7
mov ecx, 0x469ed0
mov edx, 0x46976c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x60], eax
push 0x469f2c
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x469f8c
mov edx, 0x469fb4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x64]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0x469fd4
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x46a038
mov edx, 0x469fb4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x68]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0x1e
mov ecx, 0x46a068
mov edx, 0x46a090
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x6c], eax
push 0xf
mov ecx, 0x46a068
mov edx, 0x46a090
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x70], eax
push 1
mov ecx, 0x46a0ac
mov edx, 0x46a0e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x74], al
push 1
mov ecx, 0x46a108
mov edx, 0x46a0e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x75], al
push 1
mov ecx, 0x46a15c
mov edx, 0x46a0e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x76], al
push 1
mov ecx, 0x46a1b4
mov edx, 0x46a0e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x77], al
push 0xe
mov ecx, 0x46a20c
mov edx, 0x46a0e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x78], eax
push 0x1e
mov ecx, 0x46a250
mov edx, 0x46a0e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x7c], eax
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x46a2a0
mov edx, 0x46a0e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0x80]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x46a2f8
mov edx, 0x46a0e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x84]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x46a354
mov edx, 0x46a0e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x88]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x46a3ac
mov edx, 0x46a0e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x38]
lea eax, [ebx + 0x8c]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x46a400
mov edx, 0x46a0e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x3c]
lea eax, [ebx + 0x90]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x46a45c
mov edx, 0x46a0e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x40]
lea eax, [ebx + 0x94]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x46a4b8
mov edx, 0x46a0e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x98]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
mov ecx, 0x46a518
mov edx, 0x46a548
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x9c], al
push 0x46a564
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x46a578
mov edx, 0x46a548
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x48]
lea eax, [ebx + 0xa0]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0x1e
mov ecx, 0x46a5a0
mov edx, 0x46a548
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0xa4], eax
push 1
mov ecx, 0x46a5c8
mov edx, 0x46a600
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0xa8], al
push 0
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x46a618
mov edx, 0x46a600
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x4c]
lea eax, [ebx + 0xac]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x46a62c
mov edx, 0x46a600
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x50]
lea eax, [ebx + 0xb0]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
push 0
lea eax, [ebp - 0x54]
push eax
mov ecx, 0x46a640
mov edx, 0x46a600
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x54]
lea eax, [ebx + 0xb4]
call sub.rtl120.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4696bb
lea eax, [ebp - 0x54]
mov edx, 0x15
call sub.rtl120.bpl__System__UStrArrayClr_qqrpvi
ret