Function at 0x451750
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c8d71
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x4fee70]
push ebx
push ebp
push esi
mov dword [esp + 0x68], eax
mov esi, ecx
xor eax, eax
mov ax, word [esi + 0x154]
push edi
movzx edi, byte [esi + 0x188]
or edi, 0x96dcff00
push eax
call dword [sym.imp.entitiesmp.dll_class_CConstItemData____cdecl_GetItemSetupData_void_]
mov ecx, eax
call dword [sym.imp.entitiesmp.dll_public:_struct__StatusData____thiscall_CConstItemData::GetItemInfo_unsigned_short_int_]
mov ebp, dword [sym.imp.msvcr71.dll_sprintf]
mov ebx, eax
lea ecx, [ebx + 0xc]
push ecx
lea edx, [esp + 0x30]
push 0x4da9cc
push edx
mov dword [esp + 0x28], 0x10
call ebp
add esp, 0xc
push 0x3f800000
push 0xffffffffffffffff
push 0xf
push 0x38
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call dword [sym.imp.uitoolkit.dll_public:_void___thiscall_csComponent::Text_char_const___long_int__long_int__unsigned_long_int__float_]
lea ecx, [esp + 0x18]
push 0x319
push ecx
call dword [sym.imp.entitiesmp.dll_class_CTString___cdecl_GetLanguageStr_unsigned_long_int_]
add esp, 8
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x60c]
push 1
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x84], 0
call dword [sym.imp.engine.dll_class_Xenesis2::Foundation::Memory::xEncryptMemory____cdecl_Xenesis2::Foundation::Memory::theEncryptMemory_void_]
mov ecx, eax
call fcn.004067e0
movzx ecx, word [esp + 0x24]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x34]
push ecx
call ebp
add esp, 0xc
lea ecx, [esp + 0x18]
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.engine.dll_public:_void___thiscall_CTString::destructor_void_]
push 0x3f800000
push 0xffffffffffffffff
push 0x23
push 0x38
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call dword [sym.imp.uitoolkit.dll_public:_void___thiscall_csComponent::Text_char_const___long_int__long_int__unsigned_long_int__float_]
movzx eax, word [esi + 0x154]
lea ebx, [esi + 0x1d4]
push ebx
push eax
call fcn.00401700
add esp, 8
test eax, eax
je 0x451885
push 1
push 0xffffffffffffffff
push 0x25
push 0x25
push 0xf
push 0xf
push ebx
mov ecx, esi
call dword [sym.imp.uitoolkit.dll_public:_void___thiscall_csComponent::DrawTexture_class_CTextureObject___long_int__long_int__long_int__long_int__unsigned_long_int__int_]
mov eax, dword [esi + 0x234]
test eax, eax
jne 0x451897
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x18]
push 0x310
push ecx
call dword [sym.imp.entitiesmp.dll_class_CTString___cdecl_GetLanguageStr_unsigned_long_int_]
add esp, 8
mov ecx, eax
mov dword [esp + 0x78], 1
call dword [sym.imp.engine.dll_public:_char_const____thiscall_CTString::operator_char_const__void_const]
push eax
lea edx, [esp + 0x14]
push 1
push edx
call dword [sym.imp.engine.dll_public:_void___cdecl_CTString::constructor_long_int__char_const__]
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 3
call dword [sym.imp.engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov ecx, dword [esi + 0xb0]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.engine.dll_public:_unsigned_long_int___thiscall_CDrawPort::GetTextWidth_class_CTString_const__const]
mov ecx, esi
call dword [sym.imp.uitoolkit.dll_public:_long_int___thiscall_csComponent::GetBoundWidth_void_]
mov ecx, dword [esp + 0x10]
mov ebp, eax
push ecx
push ebp
call fcn.00404390
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x234]
add esp, 8
cmp eax, 1
lea ebx, [ebp - 0x64]
jne 0x451918
lea ebx, [ebp - 0x32]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esi]
push edi
mov edi, dword [esp + 0x24]
push eax
push ebx
push 0x5a
xor ebp, ebp
push edi
mov ecx, esi
mov dword [esp + 0x2c], ebp
call dword [edx]
push eax
call fcn.00404150
add esp, 0x1c
lea ecx, [esp + 0x10]
call dword [sym.imp.engine.dll_public:_void___thiscall_CTString::Clear_void_]
lea eax, [esp + 0x14]
push 0x311
push eax
call dword [sym.imp.entitiesmp.dll_class_CTString___cdecl_GetLanguageStr_unsigned_long_int_]
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 4
call dword [0x4d04f4]
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 3
call dword [sym.imp.engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push ecx
push 0xffffffffffffffff
push edx
mov edx, dword [esi]
push ebx
add eax, 0x87
push eax
push edi
mov ecx, esi
mov dword [esp + 0x38], ebp
call dword [edx]
push eax
call fcn.00404150
add esp, 0x1c
lea ecx, [esp + 0x10]
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x60]
pop ebx
call fcn.004c0057
add esp, 0x6c
ret