Function at 0x4992d0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b9718
push eax
mov eax, dword [0x50d0a8]
mov dword fs:[0], esp
sub esp, 0x14
test eax, eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
je 0x4992fa
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x4993d0
xor ebp, ebp
lea esi, [edi + 0x20]
mov ebx, dword [edi + 0xa0]
mov ecx, dword [esi]
mov eax, dword [esi + 0x18]
mov edx, ebx
sub edx, dword [edi + 0x9c]
sub eax, ecx
imul eax, edx
cdq
idiv ebx
add eax, ecx
mov dword [esi - 0x18], eax
mov ebx, dword [edi + 0xa0]
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0x1c]
mov edx, ebx
sub eax, ecx
sub edx, dword [edi + 0x9c]
imul eax, edx
cdq
idiv ebx
add eax, ecx
lea ecx, [esp + 0x10]
mov dword [esi - 0x14], eax
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esi + 0x18]
mov eax, dword [esi - 0x18]
mov edx, dword [esi + 0x1c]
cmp eax, ecx
mov dword [esp + 0x2c], 0
jne 0x49939f
mov ecx, dword [esi - 0x14]
cmp ecx, edx
jne 0x49939f
push ecx
push eax
push ebp
lea eax, [esp + 0x1c]
push str.miniGame:Equal___d_X_is__d_Y_is__d
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004ac05e
inc ebp
add esi, 8
cmp ebp, 3
jl 0x499319
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
mov eax, dword [edi + 4]
lea esi, [edi + 0x74]
test eax, eax
push 0
mov ecx, esi
je 0x499497
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ebx, dword [esp + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
sub eax, ebx
push 0
sub eax, 0xfd
cdq
sub eax, edx
shr ecx, 1
sar eax, 1
sub eax, ecx
mov ecx, esi
mov dword [edi + 8], eax
mov eax, dword [esp + 0x24]
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
mov dword [edi + 0xc], eax
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ebx, dword [esp + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x1c]
push 0
sub eax, ebx
sub eax, 0xfd
cdq
sub eax, edx
sar eax, 1
sub eax, ecx
mov ecx, esi
sub eax, 0x64
mov dword [edi + 0x10], eax
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetHeight_unsigned_int_
mov edx, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x20]
push 0
sub eax, edx
cdq
sub eax, edx
sar eax, 1
sub eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x20]
sub eax, ecx
mov ecx, esi
sub eax, 0xfd
cdq
sub eax, edx
sar eax, 1
add eax, 0x64
mov dword [edi + 0x18], eax
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetHeight_unsigned_int_
mov ebp, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x20]
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
sub eax, ecx
jmp 0x49954d
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ebx, dword [esp + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
sub eax, ebx
push 0
sub eax, 0x1b
cdq
sub eax, edx
shr ecx, 1
sar eax, 1
sub eax, ecx
mov ecx, esi
add eax, 0x1e
mov dword [edi + 8], eax
mov eax, dword [esp + 0x24]
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
add eax, 0xc
mov dword [edi + 0xc], eax
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ebx, dword [esp + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x1c]
push 0
sub eax, ebx
sub eax, 0x1b
cdq
sub eax, edx
sar eax, 1
sub eax, ecx
mov ecx, esi
sub eax, 0xa
mov dword [edi + 0x10], eax
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetHeight_unsigned_int_
mov ebp, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x20]
push 0
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
sub eax, ecx
mov ecx, dword [esp + 0x18]
add eax, 0x14
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x20]
sub eax, ecx
mov ecx, esi
sub eax, 0x1b
cdq
sub eax, edx
sar eax, 1
add eax, 0x50
mov dword [edi + 0x18], eax
call sub.CLRenderNewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetHeight_unsigned_int_
mov ebp, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x20]
sub eax, ebp
cdq
sub eax, edx
sar eax, 1
sub eax, ecx
add eax, 0x14
mov ecx, dword [esp + 0x24]
mov dword [edi + 0x1c], eax
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret