Function at 0x480824
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4af550]
push ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp + 0xc], eax
push edi
lea eax, [ebp - 0x18]
push 0xf1
mov ebx, ecx
push eax
call fcn.0047e9b1
lea eax, [ebp - 0x14]
push 0x6d
push eax
mov ecx, ebx
call fcn.0047e9b1
push str._s__d__s__d
lea ecx, [ebp - 0x10]
call fcn.00403927
push dword [ebx + 0x390]
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
inc ecx
push dword [ebp - 0x14]
push ecx
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403d66
add esp, 0x18
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea eax, [ebp - 0x5c]
push eax
push ecx
lea eax, [ebp - 0xc]
mov ecx, esp
push eax
call fcn.004038b5
mov eax, ebx
lea ecx, [ebx + 0x1c]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, ebx
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0047d500
fld qword [ebx + 0x358]
push dword [ebp + 0xc]
fstp qword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_SaveDC]
fild dword [ebp - 0x58]
fdiv qword [ebp - 0x30]
fchs
call fcn.0049d290
fild dword [ebp - 0x5c]
mov dword [ebp - 0x10], eax
fdiv qword [ebp - 0x30]
fchs
call fcn.0049d290
push dword [ebp - 0x50]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_IntersectClipRect]
xor edi, edi
cmp dword [0x4c3194], edi
jne 0x480929
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0x1025
push dword [ebx + 0x478]
call esi
push eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp + 0xc]
call fcn.0041ba8f
jmp 0x480940
lea eax, [ebp - 0x5c]
push 0xffffff
push eax
lea ecx, [ebp + 0xc]
call fcn.0041ba8f
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [0x4c3194], edi
je 0x480985
mov eax, dword [ebx + 0x478]
push edi
push edi
push 0x1000
push eax
mov dword [ebp - 4], eax
call esi
push 0xffffff
push edi
push 0x1001
mov dword [ebp - 0x28], eax
push dword [ebp - 4]
call esi
call fcn.0042d7b0
test al, al
je 0x480985
push edi
push dword [ebx + 0x478]
call fcn.0042d7ec
pop ecx
pop ecx
mov ecx, dword [ebx + 0x474]
mov eax, dword [ebp + 8]
cmp eax, ecx
mov dword [ebp - 0x20], ecx
jae 0x480b2d
mov edx, dword [ebx + 0x470]
lea eax, [eax + eax*2]
lea edi, [ebp - 0x4c]
mov ecx, dword [ebx + 0x478]
lea esi, [edx + eax*4]
mov dword [ebp - 4], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push edi
push 0x1004
push ecx
call esi
push edi
push edi
push 0x1027
mov dword [ebp - 0x1c], eax
push dword [ebp - 4]
call esi
push edi
push edi
mov edi, 0x1013
push edi
push dword [ebp - 4]
call esi
mov eax, dword [ebp - 0x1c]
push 0
dec eax
push eax
push edi
push dword [ebp - 4]
mov dword [ebp - 0x1c], eax
call esi
mov eax, dword [ebp - 0x20]
cmp eax, 1
jle 0x480b0f
dec eax
cmp dword [ebp + 8], eax
jne 0x480a7c
mov eax, dword [ebx + 0x460]
mov edx, dword [ebx + 0x468]
lea esi, [ebx + 0x45c]
sub edx, eax
push 0
push edx
mov ecx, dword [esi]
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
push ecx
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea edi, [ebp - 0x6c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fild dword [ebp - 0x68]
fmul qword [ebp - 0x30]
call fcn.0049d290
fild dword [ebp - 0x6c]
mov esi, eax
fmul qword [ebp - 0x30]
call fcn.0049d290
fild dword [ebp - 0x60]
mov edi, eax
fmul qword [ebp - 0x30]
call fcn.0049d290
fild dword [ebp - 0x64]
mov dword [ebp - 0x60], eax
fmul qword [ebp - 0x30]
call fcn.0049d290
mov ecx, dword [ebp - 0x60]
add esi, dword [ebp - 0x58]
add ecx, dword [ebp - 0x58]
add edi, dword [ebp - 0x5c]
add eax, dword [ebp - 0x5c]
push ecx
jmp 0x480af8
mov eax, dword [ebx + 0x450]
mov edx, dword [ebx + 0x458]
lea esi, [ebx + 0x44c]
sub edx, eax
push 0
push edx
mov ecx, dword [esi]
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
push ecx
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea edi, [ebp - 0x6c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fild dword [ebp - 0x68]
fmul qword [ebp - 0x30]
call fcn.0049d290
fild dword [ebp - 0x6c]
mov esi, eax
fmul qword [ebp - 0x30]
call fcn.0049d290
fild dword [ebp - 0x60]
mov edi, eax
fmul qword [ebp - 0x30]
call fcn.0049d290
fild dword [ebp - 0x64]
mov dword [ebp - 0x60], eax
fmul qword [ebp - 0x30]
call fcn.0049d290
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x10]
add dword [ebp - 0x60], ecx
add edi, dword [ebp - 0x5c]
push dword [ebp - 0x60]
add edx, ecx
add esi, edx
add eax, dword [ebp - 0x5c]
push eax
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_IntersectClipRect]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, 0x1013
push 0
push dword [ebp - 0x1c]
push edi
push dword [ebp - 4]
call esi
push 0
push dword [ebp - 0x48]
push edi
push dword [ebp - 4]
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push edi
push dword [ebp - 0x10]
push dword [ebp - 0x24]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_OffsetWindowOrgEx]
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_GetWindowExtEx]
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_GetViewportExtEx]
push 8
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SetMapMode]
push dword [ebx + 0x58]
mov eax, dword [0x4af550]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push dword [ebx + 0x54]
push str._d__d__n
push eax
call fcn.00403d66
add esp, 0x10
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x38]
imul eax, eax, 0x258
fild dword [ebp - 0x40]
fmul qword [ebp - 0x30]
fmul qword [0x4aae78]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
imul eax, eax, 0x258
mov dword [ebp - 0x34], eax
call fcn.0049d290
fild dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
fmul qword [ebp - 0x30]
fmul qword [0x4aae78]
call fcn.0049d290
push edi
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SetWindowExtEx]
push edi
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SetViewportExtEx]
cmp dword [ebx + 0x5c], edi
je 0x480bfa
push 4
push dword [ebp + 0xc]
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov eax, dword [ebx + 0x478]
push edi
push edi
push 0x101f
push eax
mov dword [ebp + 8], eax
call esi
test eax, eax
je 0x480c2e
cmp dword [ebx + 0x448], edi
je 0x480c2e
push edi
push edi
push 0x101f
push dword [ebp + 8]
call esi
push edi
push dword [ebp + 0xc]
push 0xf
push eax
call esi
push edi
push dword [ebp + 0xc]
push 0xf
push dword [ebx + 0x478]
call esi
cmp dword [0x4c3194], edi
je 0x480c6d
push dword [ebp - 0x28]
push edi
push 0x1001
push dword [ebx + 0x478]
call esi
call fcn.0042d7b0
test al, al
je 0x480c6d
push 1
push dword [ebx + 0x478]
call fcn.0042d7ec
pop ecx
pop ecx
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
pop edi
pop esi
mov al, 1
pop ebx
leave
ret 8