Function at 0x426d10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c4921
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x190
mov eax, dword [0x4fee70]
push ebx
push esi
mov dword [esp + 0x190], eax
mov esi, ecx
mov eax, dword [esi + 0x1a8]
dec eax
push edi
je 0x427107
dec eax
jne 0x427480
call dword [sym.imp.winmm.dll_timeGetTime]
sub eax, dword [esi + 0x1b4]
test eax, eax
mov dword [esp + 0x184], eax
fild dword [esp + 0x184]
jge 0x426d7a
fadd qword [0x4d5928]
fmul qword [0x4d5920]
fst dword [esp + 0x20]
fcomp dword [0x4d178c]
fnstsw ax
test ah, 0x41
jne 0x426d99
mov dword [esp + 0x20], 0x3f800000
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xdc]
push ecx
lea edx, [esp + 0xdc]
push edx
lea eax, [esp + 0xd0]
push eax
mov dword [esp + 0xe8], 0
mov dword [esp + 0xe4], 0x3f800000
mov dword [esp + 0xd4], 0x3f800000
call fcn.00403500
fstp dword [esp + 0x24]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0xa8]
push edx
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0xa8]
push ecx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xac], 0x3f800000
call fcn.00403500
fstp dword [esp + 0x3c]
add esp, 0x20
mov ecx, esi
call dword [sym.imp.uitoolkit.dll_public:_long_int___thiscall_csComponent::GetBoundHeight_void_]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul dword [esp + 0x14]
call fcn.004c0068
fld dword [esp + 0x1c]
fmul dword [0x4d5918]
mov dword [esi + 0x1b0], eax
call fcn.004c0068
mov edx, dword [esi + 0x1ac]
mov byte [esi + 0x1b8], al
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xa0]
mov dword [esp + 0x40], edx
push ecx
lea edx, [esp + 0x4c]
mov edi, 0x2b
push edx
mov dword [esp + 0xa8], 0x130
mov dword [esp + 0x50], edi
call fcn.004034e0
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x1b0]
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x5c]
mov dword [esp + 0xdc], eax
push edx
lea eax, [esp + 0xb8]
push eax
mov dword [esp + 0x64], 0x40
mov dword [esp + 0xbc], edi
call fcn.004034e0
add esp, 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x12
lea edi, [esi + 0x154]
mov ecx, dword [esi + 0x1b0]
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0xd4]
mov dword [esp + 0x58], ecx
push eax
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0xdc], 0x40
mov dword [esp + 0x68], 0xa
call fcn.004034e0
mov edx, dword [esi + 0x1ac]
mov ebx, eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0xb8]
mov dword [esp + 0xb8], edx
push ecx
lea edx, [esp + 0x74]
mov dword [esp + 0xec], eax
push edx
lea eax, [esp + 0xf0]
push eax
mov dword [esp + 0x7c], 0x130
call fcn.004034e0
mov ecx, dword [edi]
mov edx, dword [esp + 0x28]
mov dword [ecx + 0x64], eax
mov dword [ecx + 0x68], ebx
mov eax, dword [edi]
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x70], edx
mov dword [eax + 0x6c], ecx
mov cl, byte [esi + 0x1b8]
mov eax, dword [edi]
add esp, 0x18
lea edx, [esp + 0x134]
mov byte [eax + 0x84], cl
mov ecx, dword [edi]
push edx
call fcn.004281c0
cmp word [eax], 0
lea ecx, [esp + 0x134]
setne bl
call fcn.00415d10
test bl, bl
je 0x4270c2
mov ecx, dword [edi]
lea eax, [esp + 0x10c]
push eax
call fcn.004281c0
xor ecx, ecx
mov cx, word [eax]
mov dword [esp + 0x1a4], 1
push ecx
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, 0x608
mov eax, dword [eax + 4]
push 1
lea edx, [esp + 0x188]
push edx
push eax
call dword [sym.imp.engine.dll_class_Xenesis2::Foundation::Memory::xEncryptMemory____cdecl_Xenesis2::Foundation::Memory::theEncryptMemory_void_]
mov ecx, eax
call fcn.004067e0
movzx ebx, word [esp + 0x184]
lea ecx, [esp + 0x10c]
mov dword [esp + 0x1a4], 0xffffffff
call fcn.00415d10
mov ecx, dword [esi + 0x1ac]
mov edx, ebx
imul edx, edx, 0x2f
sub edx, 4
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], ecx
push eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0x78], edx
push ecx
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0xc0], 0x130
call fcn.004034e0
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x1b0]
lea ecx, [esp + 0xec]
push ecx
lea edx, [esp + 0x8c]
mov dword [esp + 0xf0], eax
push edx
lea eax, [esp + 0xd0]
push eax
mov dword [esp + 0x94], 0x40
mov dword [esp + 0xd4], 0x2b
call fcn.004034e0
imul ebx, ebx, 0x46
add esp, 0x18
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
mov dword [esp + 0x2c], eax
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
sub ebx, 6
push ecx
mov ecx, dword [edi]
mov dword [esp + 0x3c], 0x40
mov dword [esp + 0x34], ebx
call fcn.00425210
mov eax, dword [esp + 0x14]
add eax, 0x2f
add edi, 4
cmp eax, 0x12c
mov dword [esp + 0x14], eax
jl 0x426ee2
fld dword [esp + 0x20]
fcomp dword [0x4d178c]
fnstsw ax
test ah, 1
jne 0x427480
mov ecx, dword [esi + 0x148]
push esi
push 0x18c
call dword [sym.imp.uitoolkit.dll_public:_void____thiscall_csComponent::SendCommand_int__void__]
jmp 0x427480
call dword [sym.imp.winmm.dll_timeGetTime]
sub eax, dword [esi + 0x1b4]
test eax, eax
mov dword [esp + 0x184], eax
fild dword [esp + 0x184]
jge 0x42712b
fadd qword [0x4d5928]
fmul qword [0x4d5920]
fst dword [esp + 0x14]
fcomp dword [0x4d178c]
fnstsw ax
test ah, 0x41
jne 0x42714a
mov dword [esp + 0x14], 0x3f800000
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x40], 0x3f800000
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.00403500
fstp dword [esp + 0x20]
add esp, 0x10
mov ecx, esi
call dword [sym.imp.uitoolkit.dll_public:_long_int___thiscall_csComponent::GetBoundWidth_void_]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [esp + 0x10]
call fcn.004c0068
mov ecx, esi
mov dword [esi + 0x1ac], eax
call dword [sym.imp.uitoolkit.dll_public:_long_int___thiscall_csComponent::GetBoundHeight_void_]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [esp + 0x10]
call fcn.004c0068
fld dword [esp + 0x10]
fmul dword [0x4d5918]
mov dword [esi + 0x1b0], eax
call fcn.004c0068
mov byte [esi + 0x1b8], al
mov eax, dword [esi + 0x1ac]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x4c]
mov dword [esp + 0x44], eax
push edx
lea eax, [esp + 0x58]
mov edi, 0x2b
push eax
mov dword [esp + 0x54], 0x130
mov dword [esp + 0x5c], edi
call fcn.004034e0
mov ecx, dword [esi + 0x1b0]
lea edx, [esp + 0x64]
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x70]
mov dword [esp + 0x68], ecx
push eax
lea ecx, [esp + 0x7c]
push ecx
mov dword [esp + 0x78], 0x40
mov dword [esp + 0x80], edi
call fcn.004034e0
add esp, 0x18
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], 0x12
lea edi, [esi + 0x154]
lea ebx, [ebx]
mov edx, dword [esi + 0x1b0]
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], edx
push ecx
lea edx, [esp + 0x88]
push edx
mov dword [esp + 0x84], 0x40
mov dword [esp + 0x8c], 0xa
call fcn.004034e0
mov ecx, dword [esp + 0x1c]
mov ebx, eax
mov eax, dword [esi + 0x1ac]
lea edx, [esp + 0x94]
mov dword [esp + 0x94], eax
push edx
lea eax, [esp + 0xa0]
mov dword [esp + 0xa8], ecx
push eax
lea ecx, [esp + 0xac]
push ecx
mov dword [esp + 0xa8], 0x130
call fcn.004034e0
mov ecx, dword [edi]
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x64], eax
mov dword [ecx + 0x68], ebx
mov eax, dword [edi]
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x6c], edx
mov dword [eax + 0x70], ecx
mov eax, dword [edi]
mov dl, byte [esi + 0x1b8]
mov byte [eax + 0x84], dl
mov ecx, dword [edi]
add esp, 0x18
lea eax, [esp + 0x15c]
push eax
call fcn.004281c0
cmp word [eax], 0
lea ecx, [esp + 0x15c]
setne bl
call fcn.00415d10
test bl, bl
je 0x42744c
mov ecx, dword [edi]
lea edx, [esp + 0xe4]
push edx
call fcn.004281c0
movzx eax, word [eax]
push eax
mov dword [esp + 0x1a8], 0
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 edx, dword [eax + 0x60c]
add eax, 0x608
push 1
lea ecx, [esp + 0x190]
push ecx
push edx
call dword [sym.imp.engine.dll_class_Xenesis2::Foundation::Memory::xEncryptMemory____cdecl_Xenesis2::Foundation::Memory::theEncryptMemory_void_]
mov ecx, eax
call fcn.004067e0
movzx ebx, word [esp + 0x18c]
lea ecx, [esp + 0xe4]
mov dword [esp + 0x1a4], 0xffffffff
call fcn.00415d10
mov eax, dword [esi + 0x1ac]
mov ecx, ebx
imul ecx, ecx, 0x2f
sub ecx, 4
lea edx, [esp + 0xa0]
mov dword [esp + 0xa0], eax
push edx
lea eax, [esp + 0xac]
mov dword [esp + 0xb4], ecx
push eax
lea ecx, [esp + 0xb8]
push ecx
mov dword [esp + 0xb4], 0x130
call fcn.004034e0
mov edx, dword [esi + 0x1b0]
mov dword [esp + 0x190], eax
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0xc8], edx
push ecx
lea edx, [esp + 0xdc]
push edx
mov dword [esp + 0xd8], 0x40
mov dword [esp + 0xe0], 0x2b
call fcn.004034e0
imul ebx, ebx, 0x46
add esp, 0x18
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [edi]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x190]
sub ebx, 6
push eax
mov dword [esp + 0x34], 0x40
mov dword [esp + 0x3c], ebx
call fcn.00425210
mov eax, dword [esp + 0x10]
add eax, 0x2f
add edi, 4
cmp eax, 0x12c
mov dword [esp + 0x10], eax
jl 0x427250
fld dword [esp + 0x14]
fcomp dword [0x4d178c]
fnstsw ax
test ah, 1
jne 0x427480
mov dword [esi + 0x1a8], 0
mov ecx, dword [esp + 0x19c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x194]
call fcn.004c0057
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret