Function at 0x40b32c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call sub.rtl120.bpl__System__UStrAddRef_qqrpv
mov eax, dword [ebp - 8]
call sub.rtl120.bpl__System__UStrAddRef_qqrpv
mov eax, dword [ebp + 0x10]
call sub.rtl120.bpl__System__UStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x40b54e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
xor edx, edx
call sub.rtl120.bpl__System__UStrLAsg_qqrr20System_UnicodeStringx20System_UnicodeString
cmp byte [ebp + 0xc], 0
je 0x40b3bd
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x28]
mov ecx, 1
mov eax, 0x40b56c
call fcn.00407918
mov eax, dword [ebp - 0x18]
call sub.rtl120.bpl__System__UStrToPWChar_qqrx20System_UnicodeString
push eax
call sub.kernel32.dll_OutputDebugStringW
cmp dword [0x56c01c], 0
je 0x40b51b
mov eax, dword [0x56c01c]
cmp byte [eax + 0x40], 0
je 0x40b51b
mov eax, dword [0x56c01c]
cmp byte [eax + 0x41], 0
je 0x40b51b
xor eax, eax
push ebp
push 0x40b419
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00407988
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0xc]
mov eax, 0x40b5a8
call fcn.004079a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x40b430
lea eax, [ebp - 0x14]
push eax
call sub.kernel32.dll_GetCurrentThreadId
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.00407768
mov eax, dword [ebp - 0x2c]
mov ecx, 4
mov edx, 1
call sub.rtl120.bpl__System__UStrCopy_qqrx20System_UnicodeStringii
cmp dword [ebp + 0x10], 0
je 0x40b47a
push 0x40b5ec
push dword [ebp + 0x10]
push 0x40b5fc
push dword [ebp - 8]
lea eax, [ebp - 8]
mov edx, 4
call sub.rtl120.bpl__System__UStrCatN_qqrv
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0x11
mov eax, dword [0x56c020]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0x11
mov eax, dword [ebp - 4]
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0x11
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0x11
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0x11
lea edx, [ebp - 0x54]
mov ecx, 4
mov eax, 0x40b60c
call fcn.00407918
lea edx, [ebp - 0x58]
mov eax, dword [ebp + 8]
call fcn.00407760
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
call sub.rtl120.bpl__System__UStrCat3_qqrr20System_UnicodeStringx20System_UnicodeStringt2
call 0x40a7fc
test al, al
je 0x40b51b
xor eax, eax
push ebp
push 0x40b514
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [0x56c03c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b51b
call fcn.0040a840
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b555
lea eax, [ebp - 0x58]
call sub.rtl120.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x2c]
call sub.rtl120.bpl__System__UStrClr_qqrpv
lea eax, [ebp - 0x18]
mov edx, 6
call sub.rtl120.bpl__System__UStrArrayClr_qqrpvi
lea eax, [ebp + 0x10]
call sub.rtl120.bpl__System__UStrClr_qqrpv
ret