Function at 0x451160
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c8d07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x4fee70]
push ebx
push ebp
mov dword [esp + 0x64], eax
push esi
mov esi, ecx
movzx eax, byte [esi + 0x188]
mov ebx, eax
mov ecx, eax
or eax, 0xa8a8a8ff
mov dword [esp + 0x24], eax
xor eax, eax
mov ax, word [esi + 0x154]
push edi
or ecx, 0x96dcff00
or ebx, 0xffcc0000
mov dword [esp + 0x18], ecx
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 edi, eax
lea ecx, [edi + 0xc]
push ecx
lea edx, [esp + 0x30]
push 0x4da9d0
push edx
mov ebp, 0x10
call dword [sym.imp.msvcr71.dll_sprintf]
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_]
movzx ecx, word [esi + 0x154]
lea eax, [esi + 0x1d4]
push eax
push ecx
call fcn.00401700
add esp, 8
test eax, eax
je 0x45122f
push 1
push 0xffffffffffffffff
push 0x25
push 0x25
push 0xf
push 0xf
lea eax, [esi + 0x1d4]
push eax
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 dword [esp + 0x20], 0x3d
mov dword [esp + 0x14], 0xa0
call fcn.004031e0
test eax, eax
je 0x451255
mov dword [esp + 0x14], 0x94
mov ebp, 1
mov al, byte [edi + 0x28]
cmp al, 1
jne 0x4512d8
lea edx, [esp + 0x18]
push 0x146
push edx
call dword [sym.imp.entitiesmp.dll_class_CTString___cdecl_GetLanguageStr_unsigned_long_int_]
add esp, 8
push 0x3f800000
push 0xf2bf5dff
push 0x3d
push ebp
mov ecx, eax
mov dword [esp + 0x88], 0
call dword [sym.imp.engine.dll_public:_char_const____thiscall_CTString::operator_char_const__void_const]
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]
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov eax, dword [edi + 0x20]
push eax
lea ecx, [esp + 0x30]
push 0x4da9d4
push ecx
call dword [sym.imp.msvcr71.dll_sprintf]
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0x3f800000
push ebx
push 0x3d
push edx
lea eax, [esp + 0x3c]
push eax
jmp 0x45135b
cmp al, 2
jne 0x451363
lea ecx, [esp + 0x10]
push 0x17f
push ecx
call dword [sym.imp.entitiesmp.dll_class_CTString___cdecl_GetLanguageStr_unsigned_long_int_]
add esp, 8
mov edx, dword [esp + 0x18]
push 0x3f800000
push edx
push 0x3d
push ebp
mov ecx, eax
mov dword [esp + 0x88], 1
call dword [sym.imp.engine.dll_public:_char_const____thiscall_CTString::operator_char_const__void_const]
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 + 0x10]
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.engine.dll_public:_void___thiscall_CTString::destructor_void_]
mov eax, dword [edi + 0x24]
push eax
lea ecx, [esp + 0x30]
push 0x4da9dc
push ecx
call dword [sym.imp.msvcr71.dll_sprintf]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add esp, 0xc
push 0x3f800000
push edx
push 0x3d
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call dword [sym.imp.uitoolkit.dll_public:_void___thiscall_csComponent::TextR_char_const___long_int__long_int__unsigned_long_int__float_]
mov al, byte [edi + 0x28]
cmp al, 1
jne 0x45140a
lea edx, [esp + 0x10]
push 0x147
push edx
mov dword [esp + 0x28], 0x4c
call dword [sym.imp.entitiesmp.dll_class_CTString___cdecl_GetLanguageStr_unsigned_long_int_]
add esp, 8
push 0x3f800000
push 0xf2bf5dff
push 0x4c
push ebp
mov ecx, eax
mov dword [esp + 0x88], 2
call dword [sym.imp.engine.dll_public:_char_const____thiscall_CTString::operator_char_const__void_const]
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 + 0x10]
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.engine.dll_public:_void___thiscall_CTString::destructor_void_]
fild dword [edi + 0x20]
mov eax, dword [edi + 0x20]
test eax, eax
jge 0x4513d4
fadd dword [0x4d1954]
fmul dword [0x4d3374]
call fcn.004c0068
push eax
lea ecx, [esp + 0x30]
push 0x4da9e4
push ecx
call dword [sym.imp.msvcr71.dll_sprintf]
mov edx, dword [esp + 0x20]
add esp, 0xc
push 0x3f800000
push ebx
push 0x4c
push edx
lea eax, [esp + 0x3c]
push eax
jmp 0x4514a9
cmp al, 2
jne 0x4514b1
lea ecx, [esp + 0x10]
push 0x147
push ecx
mov dword [esp + 0x28], 0x4c
call dword [sym.imp.entitiesmp.dll_class_CTString___cdecl_GetLanguageStr_unsigned_long_int_]
add esp, 8
push 0x3f800000
push 0xf2bf5dff
push 0x4c
push ebp
mov ecx, eax
mov dword [esp + 0x88], 3
call dword [sym.imp.engine.dll_public:_char_const____thiscall_CTString::operator_char_const__void_const]
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 + 0x10]
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.engine.dll_public:_void___thiscall_CTString::destructor_void_]
fild dword [edi + 0x24]
mov edx, dword [edi + 0x24]
test edx, edx
jge 0x451478
fadd dword [0x4d1954]
fmul dword [0x4d9e68]
call fcn.004c0068
push eax
lea eax, [esp + 0x30]
push 0x4da9ec
push eax
call dword [sym.imp.msvcr71.dll_sprintf]
mov ecx, dword [esp + 0x20]
add esp, 0xc
push 0x3f800000
push ebx
push 0x4c
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call dword [sym.imp.uitoolkit.dll_public:_void___thiscall_csComponent::TextR_char_const___long_int__long_int__unsigned_long_int__float_]
xor eax, eax
mov ax, word [esi + 0x154]
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_]
add eax, 0x2f8
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.engine.dll_public:_void___thiscall_CTString::constructor_char_const__]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 0xb0]
mov dword [esp + 0x7c], 4
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 edx, dword [esp + 0x1c]
mov edi, eax
push edx
push edi
call fcn.00404390
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x234]
add esp, 8
add ecx, 0x4b
test edx, edx
lea eax, [edi - 0x32]
jne 0x451521
lea eax, [edi - 0x64]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [esi]
push ecx
push ebp
mov ecx, esi
mov dword [esp + 0x3c], 0
call dword [eax]
push eax
call fcn.00404150
add esp, 0x1c
lea ecx, [esp + 0x1c]
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