Function at 0x475d26
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e35b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push esi
mov dword [ebp - 0x108], ecx
mov eax, dword [ebp + 8]
push eax
push 0x4a5d04
mov ecx, dword [ebp - 0x108]
add ecx, 0x74
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov edx, dword [ebp - 0x108]
add edx, 0x74
push edx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x108]
mov dword [eax + 0x9c], 0
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx + 0xa4]
mov dword [ebp - 0x18], edx
cmp dword [ebp + 0xc], 0
jne 0x475db7
mov dword [ebp - 0x18], 0x7a
mov dword [ebp - 0x14], 0
jmp 0x475dc9
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x18]
jge 0x476216
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x18
mov eax, dword [ebp - 0x108]
lea ecx, [eax + edx + 0xac]
call fcn.00402e50
push eax
mov ecx, dword [ebp - 0x108]
add ecx, 0x74
call sub.MFC42.DLL_CString::Find_2
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x476211
mov ecx, dword [ebp - 0x108]
cmp dword [ecx + 0x9c], 0x32
jl 0x475e1d
jmp 0x476216
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x20], 0x10
jle 0x475e3b
cmp dword [ebp - 0x20], 0x14
jge 0x475e3b
mov edx, 0x14
sub edx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx + 0x9c]
imul edx, edx, 0x38
mov ecx, dword [ebp - 0x108]
mov dword [ecx + edx + 0x18ac], eax
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x18
mov eax, dword [ebp - 0x108]
cmp dword [eax + edx + 0xbc], 0
jne 0x475ea8
cmp dword [ebp - 0x14], 0x32
jge 0x475ea8
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0x108]
mov eax, dword [edx + 0x9c]
imul eax, eax, 0x38
mov edx, dword [ebp - 0x108]
mov esi, dword [ebp - 0x108]
mov ecx, dword [esi + ecx + 0xb0]
mov dword [edx + eax + 0x18a8], ecx
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x18
mov eax, dword [ebp - 0x108]
cmp dword [eax + edx + 0xbc], 1
jne 0x475fd2
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx + 0x9c]
imul edx, edx, 0x38
mov eax, dword [ebp - 0x108]
lea ecx, [eax + edx + 0x18a8]
call fcn.00476da0
push str...Reschatemotion_
lea ecx, [ebp - 0xe8]
push ecx
call fcn.00483c27
add esp, 4
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x110]
push eax
lea ecx, [ebp - 0xec]
push ecx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xec]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0x108]
lea eax, [edx + ecx + 0xb8]
push eax
lea ecx, [ebp - 0x10]
call fcn.00482f60
lea ecx, [ebp - 0x10]
call fcn.00402e50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.00402e50
push eax
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx + 0x9c]
imul edx, edx, 0x38
mov eax, dword [ebp - 0x108]
lea ecx, [eax + edx + 0x18b8]
call sub.CLUINewEngine.dll_public:_bool___thiscall_CxImage::CreateImageFromFile_char_const___struct_IDisplay::_SELECT_PARA___unsigned_int__unsigned_long_int__
and eax, 0xff
test eax, eax
jne 0x475fd2
push str.Error_Create_Image
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x18
mov edx, dword [ebp - 0x108]
mov eax, dword [edx + 0x9c]
imul eax, eax, 0x38
mov edx, dword [ebp - 0x108]
mov esi, dword [ebp - 0x108]
mov ecx, dword [esi + ecx + 0xbc]
mov dword [edx + eax + 0x18dc], ecx
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::Empty
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::Empty
cmp dword [ebp - 0x20], 0
jle 0x47607c
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0x108]
add ecx, 0x74
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x120]
push edx
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xf0]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x18
mov ecx, dword [ebp - 0x108]
lea ecx, [ecx + eax + 0xac]
call fcn.00405e40
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x20]
add esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x108]
add ecx, 0x74
call fcn.00405e40
sub eax, 1
cmp esi, eax
jge 0x476102
mov edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0x108]
add ecx, 0x74
call sub.MFC42.DLL_CString::Mid
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x128], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x128]
push edx
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xf4]
call sub.MFC42.DLL_CString::CString
push 0x20
push 0
lea eax, [ebp - 0x48]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x50], 0
jmp 0x476124
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x28]
add edx, 4
cmp dword [ebp - 0x50], edx
jge 0x476139
mov eax, dword [ebp - 0x50]
mov byte [ebp + eax - 0x48], 0x20
jmp 0x47611b
mov ecx, dword [ebp - 0x54]
push ecx
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x4c]
push eax
push str._s_s_s
mov ecx, dword [ebp - 0x108]
add ecx, 0x74
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
cmp dword [ebp - 0x20], 0x22
jge 0x4761f2
mov dword [ebp - 0x58], 0
jmp 0x476178
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [eax + 0x9c]
jge 0x4761d7
mov edx, dword [ebp - 0x58]
imul edx, edx, 0x38
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x108]
cmp dword [ecx + edx + 0x18ac], eax
jle 0x4761d5
mov edx, dword [ebp - 0x58]
imul edx, edx, 0x38
mov eax, dword [ebp - 0x28]
add eax, 4
sub eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx + edx + 0x18ac]
add edx, eax
mov eax, dword [ebp - 0x58]
imul eax, eax, 0x38
mov ecx, dword [ebp - 0x108]
mov dword [ecx + eax + 0x18ac], edx
jmp 0x47616f
mov edx, dword [ebp - 0x108]
mov eax, dword [edx + 0x9c]
add eax, 1
mov ecx, dword [ebp - 0x108]
mov dword [ecx + 0x9c], eax
mov dword [ebp - 0x14], 0xffffffff
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString
jmp 0x475dc0
mov ecx, dword [ebp - 0x108]
add ecx, 0x74
call fcn.00405e40
cmp eax, 0x14
jle 0x476449
push 0x80
push 0
lea edx, [ebp - 0xd8]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x7f
mov ecx, dword [ebp - 0x108]
add ecx, 0x74
call fcn.00402e50
push eax
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov dword [ebp - 0xdc], 0x14
mov ecx, dword [ebp - 0xdc]
push ecx
lea edx, [ebp - 0xd8]
push edx
mov ecx, dword [ebp - 0x108]
call fcn.00474705
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
push eax
lea ecx, [ebp - 0xf8]
push ecx
mov ecx, dword [ebp - 0x108]
add ecx, 0x74
call sub.MFC42.DLL_CString::Mid
mov dword [ebp - 0x12c], eax
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x130], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x108]
add ecx, 0x70
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xdc]
push ecx
lea edx, [ebp - 0xfc]
push edx
mov ecx, dword [ebp - 0x108]
add ecx, 0x74
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x108]
add ecx, 0x74
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xfc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x108]
add ecx, 0x74
call fcn.00405e40
cmp eax, 0x14
jge 0x47635f
push 0x4a5d38
mov ecx, dword [ebp - 0x108]
add ecx, 0x74
call fcn.00482c8a
mov ecx, dword [ebp - 0x108]
add ecx, 0x70
call fcn.00405e40
cmp eax, 0x12
jle 0x476447
mov edx, dword [ebp - 0xdc]
add edx, 0x11
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0x108]
call fcn.00474705
mov dword [ebp - 0xe0], eax
push 0x4a5d3c
push 0x11
lea edx, [ebp - 0x100]
push edx
mov ecx, dword [ebp - 0x108]
add ecx, 0x70
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x140]
push ecx
lea edx, [ebp - 0x104]
push edx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x148], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x148]
push ecx
mov ecx, dword [ebp - 0x108]
add ecx, 0x70
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x104]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x100]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0x108]
add ecx, 0x70
call fcn.00402e50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x47645c
push 0x4f72b0
mov ecx, dword [ebp - 0x108]
add ecx, 0x70
call sub.MFC42.DLL_CString::operator_2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8