Function at 0x4c56d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x4c56d9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
lea ebx, [ebp - 0x7c]
xor eax, eax
push ebp
push 0x4c59f9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov edx, edi
mov eax, esi
call fcn.004c52c8
lea ecx, [ebp - 0xc]
mov edx, edi
mov eax, esi
call fcn.004c5440
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x34]
call sub.rtl160.bpl__System_Sysutils_UpperCase_qqrx20System_UnicodeString
call sub.rtl160.bpl__System_Sysutils_TEncoding_GetUnicode_qqrv
lea ecx, [ebp - 0x80]
mov edx, dword [ebp - 0x28]
call sub.rtl160.bpl__System_Sysutils_TEncoding_GetBytes_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x1c]
mov ecx, dword [0x410568]
call sub.rtl160.bpl__System__DynArrayAsg_qqrrpvpvt2
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [0x410568]
call sub.rtl160.bpl__System__DynArrayAsg_qqrrpvpvt2
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
call sub.rtl160.bpl__System_Sysutils_UpperCase_qqrx20System_UnicodeString
call sub.rtl160.bpl__System_Sysutils_TEncoding_GetUnicode_qqrv
lea ecx, [ebp - 0x84]
mov edx, dword [ebp - 0x2c]
call sub.rtl160.bpl__System_Sysutils_TEncoding_GetBytes_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0x20]
mov ecx, dword [0x410568]
call sub.rtl160.bpl__System__DynArrayAsg_qqrrpvpvt2
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov ecx, dword [0x410568]
call sub.rtl160.bpl__System__DynArrayAsg_qqrrpvpvt2
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x3c]
call sub.rtl160.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
call sub.rtl160.bpl__System_Sysutils_TEncoding_GetUnicode_qqrv
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0x30]
call sub.rtl160.bpl__System_Sysutils_TEncoding_GetBytes_qqrx20System_UnicodeString
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x24]
mov ecx, dword [0x410568]
call sub.rtl160.bpl__System__DynArrayAsg_qqrrpvpvt2
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov ecx, dword [0x410568]
call sub.rtl160.bpl__System__DynArrayAsg_qqrrpvpvt2
mov eax, ebx
mov ecx, 8
mov edx, dword [0x4dc278]
call sub.rtl160.bpl__System_Sysutils_StrPLCopy_qqrpcx27System__AnsiStringT_us_i0__ui
mov dword [ebx + 8], 3
mov eax, dword [ebp - 8]
call sub.rtl160.bpl__System__DynArrayLength_qqrpxv
mov word [ebx + 0xc], ax
mov dword [ebx + 0x10], 0x40
mov eax, dword [ebp - 0xc]
call sub.rtl160.bpl__System__DynArrayLength_qqrpxv
mov word [ebx + 0x14], ax
movzx eax, word [ebx + 0xc]
add eax, dword [ebx + 0x10]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x10]
call sub.rtl160.bpl__System__DynArrayLength_qqrpxv
mov word [ebx + 0x1c], ax
movzx eax, word [ebx + 0x14]
add eax, dword [ebx + 0x18]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x18]
call sub.rtl160.bpl__System__DynArrayLength_qqrpxv
mov word [ebx + 0x24], ax
movzx eax, word [ebx + 0x1c]
add eax, dword [ebx + 0x20]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0x14]
call sub.rtl160.bpl__System__DynArrayLength_qqrpxv
mov word [ebx + 0x2c], ax
movzx eax, word [ebx + 0x24]
add eax, dword [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov word [ebx + 0x34], 0
movzx eax, word [ebx + 0x24]
movzx edx, word [ebx + 0x2c]
add eax, edx
mov dword [ebx + 0x38], eax
mov eax, dword [0x4dc274]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 8]
call fcn.0045b7b8
mov dword [ebx + 8], eax
movzx eax, word [ebx + 0xc]
call fcn.0045b7b4
mov esi, eax
mov word [ebx + 0xc], si
mov word [ebx + 0xe], si
mov eax, dword [ebx + 0x10]
call fcn.0045b7b8
mov dword [ebx + 0x10], eax
movzx eax, word [ebx + 0x14]
call fcn.0045b7b4
mov esi, eax
mov word [ebx + 0x14], si
mov word [ebx + 0x16], si
mov eax, dword [ebx + 0x18]
call fcn.0045b7b8
mov dword [ebx + 0x18], eax
movzx eax, word [ebx + 0x1c]
call fcn.0045b7b4
mov esi, eax
mov word [ebx + 0x1c], si
mov word [ebx + 0x1e], si
mov eax, dword [ebx + 0x20]
call fcn.0045b7b8
mov dword [ebx + 0x20], eax
movzx eax, word [ebx + 0x24]
call fcn.0045b7b4
mov esi, eax
mov word [ebx + 0x24], si
mov word [ebx + 0x26], si
mov eax, dword [ebx + 0x28]
call fcn.0045b7b8
mov dword [ebx + 0x28], eax
movzx eax, word [ebx + 0x2c]
call fcn.0045b7b4
mov esi, eax
mov word [ebx + 0x2c], si
mov word [ebx + 0x2e], si
mov eax, dword [ebx + 0x30]
call fcn.0045b7b8
mov dword [ebx + 0x30], eax
movzx eax, word [ebx + 0x34]
call fcn.0045b7b4
mov esi, eax
mov word [ebx + 0x34], si
mov word [ebx + 0x36], si
mov eax, dword [ebx + 0x38]
call fcn.0045b7b8
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x3c]
call fcn.0045b7b8
mov dword [ebx + 0x3c], eax
lea ecx, [ebp - 4]
mov eax, ebx
mov edx, 0x40
call fcn.0045de30
push 0xffffffffffffffff
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.0045e3c8
push 0xffffffffffffffff
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.0045e3c8
push 0xffffffffffffffff
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
call fcn.0045e3c8
push 0xffffffffffffffff
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0x18]
call fcn.0045e3c8
push 0xffffffffffffffff
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
call fcn.0045e3c8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov eax, dword [0x489eb8]
call fcn.0048924c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5a00
lea eax, [ebp - 0x88]
mov edx, dword [0x410568]
mov ecx, 3
call sub.rtl160.bpl__System__FinalizeArray_qqrpvt1ui
lea eax, [ebp - 0x30]
mov edx, 3
call sub.rtl160.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp - 0x24]
mov edx, dword [0x410568]
mov ecx, 9
call sub.rtl160.bpl__System__FinalizeArray_qqrpvt1ui
ret