Function at 0x459880
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x46f524
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
mov eax, dword [esp + 0xe0]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push eax
push 0x4806b4
lea edi, [esi + 0x74]
push edi
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x34]
push edi
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0xe8], ebx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0xf4]
mov ecx, dword [esi + 0xa4]
cmp eax, ebx
mov byte [esp + 0xe8], 1
mov dword [esi + 0x9c], ebx
mov dword [esp + 0x24], ecx
jne 0x459901
mov dword [esp + 0x24], 0x7a
cmp dword [esp + 0x24], ebx
jle 0x459c0c
lea edx, [ebx + ebx*2]
lea ecx, [esi + 0x74]
mov eax, dword [esi + edx*8 + 0xac]
lea edi, [esi + edx*8]
push eax
call sub.MFC42.DLL_CString::Find_2
mov ebp, eax
cmp ebp, 0xffffffff
je 0x459bff
mov eax, dword [esi + 0x9c]
cmp eax, 0x32
jge 0x459c0c
cmp ebp, 0x10
mov dword [esp + 0x20], 0
jle 0x459958
cmp ebp, 0x14
jge 0x459958
mov ecx, 0x14
sub ecx, ebp
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x20]
lea edx, [eax*8]
sub edx, eax
add ecx, ebp
mov dword [esp + 0x28], ecx
mov dword [esi + edx*8 + 0x18ac], ecx
mov eax, dword [edi + 0xbc]
xor ecx, ecx
cmp eax, ecx
jne 0x45999f
cmp ebx, 0x32
jge 0x45999f
mov eax, dword [esi + 0x9c]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [edi + 0xb0]
mov dword [esi + edx*8 + 0x18a8], eax
cmp dword [edi + 0xbc], 1
jne 0x459a79
mov eax, dword [esi + 0x9c]
lea edx, [eax*8]
sub edx, eax
lea eax, [esi + edx*8 + 0x18a8]
mov dword [eax + 0x34], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
lea ecx, [eax + 0x10]
call sub.CLUINewEngine.dll_public:_void___thiscall_CxImage::Release_void_
lea eax, [esp + 0x2c]
push eax
call fcn.00463fe7
add esp, 4
push str...Reschatemotion_
lea ecx, [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0xf4], 2
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x38]
mov byte [esp + 0xe8], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0xe8], 1
call sub.MFC42.DLL_CString::CString
lea edx, [edi + 0xb8]
lea ecx, [esp + 0x14]
push edx
call fcn.0046334c
mov eax, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push eax
call ebx
mov eax, dword [esi + 0x9c]
mov ecx, dword [esp + 0x14]
add eax, 0x71
push 0
push 0
push 0
lea edx, [eax*8]
push ecx
sub edx, eax
lea ecx, [esi + edx*8]
call sub.CLUINewEngine.dll_public:_bool___thiscall_CxImage::CreateImageFromFile_char_const___struct_IDisplay::_SELECT_PARA___unsigned_int__unsigned_long_int__
test al, al
jne 0x459a79
push str.Error_Create_Image
call ebx
mov eax, dword [esi + 0x9c]
mov edx, dword [edi + 0xbc]
lea ecx, [eax*8]
sub ecx, eax
mov dword [esi + ecx*8 + 0x18dc], edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe8], 4
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
mov byte [esp + 0xe8], 5
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Empty
test ebp, ebp
jle 0x459afe
lea eax, [esp + 0x30]
push ebp
push eax
lea ecx, [esi + 0x74]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xec], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x30]
mov byte [esp + 0xe8], 5
call sub.MFC42.DLL_CString::CString
mov ecx, dword [edi + 0xac]
mov edx, dword [esi + 0x74]
lea ebx, [esi + 0x74]
mov eax, dword [ecx - 8]
mov ecx, dword [edx - 8]
mov dword [esp + 0x10], eax
add eax, ebp
dec ecx
cmp eax, ecx
jge 0x459b4b
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, ebx
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xec], 7
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe8], 5
call sub.MFC42.DLL_CString::CString
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x20]
lea ecx, [edi + 4]
test ecx, ecx
jle 0x459b7e
mov edx, ecx
mov eax, 0x20202020
lea edi, [esp + 0x40]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x40]
push eax
push ecx
push edx
push str._s_s_s
push ebx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
cmp ebp, 0x22
jge 0x459bda
mov eax, dword [esi + 0x9c]
xor edx, edx
test eax, eax
jle 0x459bd4
lea ecx, [esi + 0x18ac]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x28]
cmp eax, ebx
jle 0x459bc6
sub eax, dword [esp + 0x10]
lea eax, [eax + edi + 4]
mov dword [ecx], eax
mov eax, dword [esi + 0x9c]
inc edx
add ecx, 0x38
cmp edx, eax
jl 0x459bb2
inc dword [esi + 0x9c]
lea ecx, [esp + 0x1c]
or ebx, 0xffffffff
mov byte [esp + 0xe8], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0xe8], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x45990b
mov edx, dword [esi + 0x74]
cmp dword [edx - 8], 0x14
jle 0x459d3c
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x60]
push 0x7f
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x64]
push edx
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea edx, [esp + 0x60]
mov ecx, esi
push 0x14
push edx
call fcn.00458430
mov ebp, eax
lea eax, [esp + 0x10]
lea ebx, [esi + 0x74]
push ebp
push eax
mov ecx, ebx
call sub.MFC42.DLL_CString::Mid
lea edi, [esi + 0x70]
push eax
mov ecx, edi
mov byte [esp + 0xec], 8
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0xe8], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
push ebp
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, ebx
mov byte [esp + 0xec], 9
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0xe8], 1
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebx]
cmp dword [edx - 8], 0x14
jge 0x459cbd
push 0x4863e0
mov ecx, ebx
call fcn.0046307c
mov eax, dword [edi]
cmp dword [eax - 8], 0x12
jle 0x459d49
lea eax, [ebp + 0x11]
lea ecx, [esp + 0x60]
push eax
push ecx
mov ecx, esi
call fcn.00458430
lea edx, [esp + 0x28]
push 0x11
push edx
mov ecx, edi
call sub.MFC42.DLL_CString::Left
push 0x483718
push eax
lea eax, [esp + 0x18]
mov bl, 0xa
push eax
mov byte [esp + 0xf4], bl
call sub.MFC42.DLL_operator_1
push eax
mov ecx, edi
mov byte [esp + 0xec], 0xb
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0xe8], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0xe8], 1
call sub.MFC42.DLL_CString::CString
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x459d49
push 0x4872c8
lea ecx, [esi + 0x70]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0xe8], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov dword [esp + 0xe8], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xdc
ret 8