Function at 0x496e68
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 0x496e70
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x49742c
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, 0x497448
call sub.rtl120.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004983c4
push 0x497478
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x4974b0
mov edx, 0x4974e4
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 0x497478
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4974f8
mov edx, 0x4974e4
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 0x497550
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x4975a0
mov edx, 0x4974e4
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, 0x497600
mov edx, 0x4974e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x1c], al
push 1
mov ecx, 0x49764c
mov edx, 0x4974e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x1d], al
push 1
mov ecx, 0x4976a0
mov edx, 0x4974e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x1e], al
push 1
mov ecx, 0x4976fc
mov edx, 0x4974e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x1f], al
push 0x497748
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x4977b4
mov edx, 0x4974e4
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 0x4977f4
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x497860
mov edx, 0x4974e4
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, 0x4978a4
mov edx, 0x4974e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x28], eax
push 7
mov ecx, 0x4978ec
mov edx, 0x4974e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x2c], eax
push 7
mov ecx, 0x49793c
mov edx, 0x4974e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x30], eax
push 0xa
mov ecx, 0x497990
mov edx, 0x4974e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x34], eax
push 7
mov ecx, 0x4979d8
mov edx, 0x4974e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x38], eax
push 7
mov ecx, 0x497a24
mov edx, 0x4974e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x3c], eax
push 0
mov ecx, 0x497a74
mov edx, 0x4974e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x40], eax
push 7
mov ecx, 0x497a74
mov edx, 0x4974e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x44], eax
push 7
mov ecx, 0x497a74
mov edx, 0x4974e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x48], eax
push 0xa
mov ecx, 0x497abc
mov edx, 0x4974e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x4c], eax
push 7
mov ecx, 0x497b00
mov edx, 0x4974e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x50], eax
push 7
mov ecx, 0x497b4c
mov edx, 0x4974e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x54], eax
push 0xa
mov ecx, 0x497b9c
mov edx, 0x4974e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x58], eax
push 7
mov ecx, 0x497bf0
mov edx, 0x4974e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x5c], eax
push 7
mov ecx, 0x497c48
mov edx, 0x4974e4
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x60], eax
push 0x497ca4
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x497d04
mov edx, 0x497d2c
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 0x497d4c
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x497db0
mov edx, 0x497d2c
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, 0x497de0
mov edx, 0x497e08
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x6c], eax
push 0xf
mov ecx, 0x497de0
mov edx, 0x497e08
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x70], eax
push 1
mov ecx, 0x497e24
mov edx, 0x497e5c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x74], al
push 1
mov ecx, 0x497e80
mov edx, 0x497e5c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x75], al
push 1
mov ecx, 0x497ed4
mov edx, 0x497e5c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x76], al
push 1
mov ecx, 0x497f2c
mov edx, 0x497e5c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x77], al
push 0xe
mov ecx, 0x497f84
mov edx, 0x497e5c
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0x78], eax
push 0x1e
mov ecx, 0x497fc8
mov edx, 0x497e5c
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, 0x498018
mov edx, 0x497e5c
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, 0x498070
mov edx, 0x497e5c
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, 0x4980cc
mov edx, 0x497e5c
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, 0x498124
mov edx, 0x497e5c
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, 0x498178
mov edx, 0x497e5c
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, 0x4981d4
mov edx, 0x497e5c
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, 0x498230
mov edx, 0x497e5c
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, 0x498290
mov edx, 0x4982c0
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 0x10]
mov byte [ebx + 0x9c], al
push 0x4982dc
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x4982f0
mov edx, 0x4982c0
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, 0x498318
mov edx, 0x4982c0
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
call dword [esi + 8]
mov dword [ebx + 0xa4], eax
push 1
mov ecx, 0x498340
mov edx, 0x498378
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, 0x498390
mov edx, 0x498378
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, 0x4983a4
mov edx, 0x498378
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, 0x4983b8
mov edx, 0x498378
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 0x497433
lea eax, [ebp - 0x54]
mov edx, 0x15
call sub.rtl120.bpl__System__UStrArrayClr_qqrpvi
ret