Function at 0x458447
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ce66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push esi
push edi
mov dword [ebp - 0x238], ecx
lea ecx, [ebp - 0x234]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
push str.CSpritPanel::RefreshItemIcons
push 0x4a29e0
lea eax, [ebp - 0x234]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.00402e50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call sub.MFC42.DLL_CString::CString
push 0x30
push 0
mov ecx, dword [ebp - 0x238]
add ecx, 4
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x238]
cmp dword [edx + 0x21440], 1
jl 0x458504
mov eax, dword [ebp - 0x238]
mov eax, dword [eax + 0x21440]
sub eax, 1
cdq
mov ecx, 0xc
idiv ecx
add eax, 1
mov edx, dword [ebp - 0x238]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x238]
mov edx, dword [eax + 0x34]
cmp edx, dword [ecx + 0x38]
jg 0x45852d
mov eax, dword [ebp - 0x238]
mov ecx, dword [eax + 0x34]
sub ecx, 1
mov edx, dword [ebp - 0x238]
mov dword [edx + 0x38], ecx
mov dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x238]
cmp dword [eax + 0x21440], 0
jle 0x45855c
mov esi, dword [ebp - 0x238]
add esi, 0x40
mov ecx, 0x85
lea edi, [ebp - 0x224]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], 0
jmp 0x45856e
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx + 0x21440]
jge 0x458673
mov dword [ebp - 0x230], 0
jmp 0x45859e
mov ecx, dword [ebp - 0x230]
add ecx, 1
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp - 0x238]
mov eax, dword [edx + 0x21440]
sub eax, 1
cmp dword [ebp - 0x230], eax
jge 0x45866e
mov ecx, dword [ebp - 0x230]
imul ecx, ecx, 0x214
mov edx, dword [ebp - 0x230]
add edx, 1
imul edx, edx, 0x214
mov eax, dword [ebp - 0x238]
mov esi, dword [ebp - 0x238]
mov ecx, dword [eax + ecx + 0x48]
cmp ecx, dword [esi + edx + 0x48]
jge 0x458669
mov edx, dword [ebp - 0x230]
add edx, 1
imul edx, edx, 0x214
mov eax, dword [ebp - 0x238]
lea esi, [eax + edx + 0x40]
mov ecx, 0x85
lea edi, [ebp - 0x224]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x230]
imul ecx, ecx, 0x214
mov edx, dword [ebp - 0x238]
lea esi, [edx + ecx + 0x40]
mov eax, dword [ebp - 0x230]
add eax, 1
imul eax, eax, 0x214
mov ecx, dword [ebp - 0x238]
lea edi, [ecx + eax + 0x40]
mov ecx, 0x85
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x230]
imul edx, edx, 0x214
mov eax, dword [ebp - 0x238]
lea edi, [eax + edx + 0x40]
mov ecx, 0x85
lea esi, [ebp - 0x224]
rep movsd dword es:[edi], dword [esi]
jmp 0x45858f
jmp 0x458565
mov ecx, dword [ebp - 0x238]
mov edx, dword [ecx + 0x38]
imul edx, edx, 0xc
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], 0
jmp 0x4586af
mov eax, dword [ebp - 0x228]
add eax, 1
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x22c]
add ecx, 1
mov dword [ebp - 0x22c], ecx
cmp dword [ebp - 0x22c], 0xc
jge 0x4586cc
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x228]
cmp eax, dword [edx + 0x21440]
jl 0x4586ce
jmp 0x4586f6
mov ecx, dword [ebp - 0x228]
imul ecx, ecx, 0x214
mov edx, dword [ebp - 0x238]
lea eax, [edx + ecx + 0x40]
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x238]
mov dword [edx + ecx*4 + 4], eax
jmp 0x458691
mov eax, dword [ebp - 0x238]
mov dword [eax + 0x21444], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret